Linux iad1-shared-b7-18 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
Apache
: 67.205.6.31 | : 216.73.216.47
Cant Read [ /etc/named.conf ]
8.2.29
fernandoquevedo
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
share /
swig4.0 /
octave /
[ HOME SHELL ]
Name
Size
Permission
Action
attribute.i
34
B
-rw-r--r--
boost_shared_ptr.i
20.88
KB
-rw-r--r--
carrays.i
129
B
-rw-r--r--
cdata.i
30
B
-rw-r--r--
cmalloc.i
32
B
-rw-r--r--
director.swg
3.32
KB
-rw-r--r--
exception.i
427
B
-rw-r--r--
factory.i
32
B
-rw-r--r--
implicit.i
287
B
-rw-r--r--
octave.swg
222
B
-rw-r--r--
octcomplex.swg
2.31
KB
-rw-r--r--
octcontainer.swg
15.78
KB
-rw-r--r--
octfragments.swg
1
B
-rw-r--r--
octheaders.hpp
3.96
KB
-rw-r--r--
octiterators.swg
8.91
KB
-rw-r--r--
octopers.swg
2.56
KB
-rw-r--r--
octprimtypes.swg
5.79
KB
-rw-r--r--
octrun.swg
48.65
KB
-rw-r--r--
octruntime.swg
14.21
KB
-rw-r--r--
octstdcommon.swg
5.82
KB
-rw-r--r--
octtypemaps.swg
2.4
KB
-rw-r--r--
octuserdir.swg
1.77
KB
-rw-r--r--
std_alloc.i
27
B
-rw-r--r--
std_basic_string.i
1.61
KB
-rw-r--r--
std_carray.i
0
B
-rw-r--r--
std_char_traits.i
33
B
-rw-r--r--
std_common.i
2.27
KB
-rw-r--r--
std_complex.i
584
B
-rw-r--r--
std_container.i
59
B
-rw-r--r--
std_deque.i
678
B
-rw-r--r--
std_except.i
35
B
-rw-r--r--
std_list.i
676
B
-rw-r--r--
std_map.i
4.61
KB
-rw-r--r--
std_pair.i
3.43
KB
-rw-r--r--
std_shared_ptr.i
68
B
-rw-r--r--
std_string.i
35
B
-rw-r--r--
std_vector.i
700
B
-rw-r--r--
std_wstring.i
35
B
-rw-r--r--
stl.i
291
B
-rw-r--r--
typemaps.i
33
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : std_map.i
// Maps %include <octcontainer.swg> %fragment("StdMapCommonTraits","header",fragment="StdSequenceTraits") { namespace swig { template <class ValueType> struct from_key_oper { typedef const ValueType& argument_type; typedef octave_value result_type; result_type operator()(argument_type v) const { return swig::from(v.first); } }; template <class ValueType> struct from_value_oper { typedef const ValueType& argument_type; typedef octave_value result_type; result_type operator()(argument_type v) const { return swig::from(v.second); } }; template<class OutIterator, class FromOper, class ValueType = typename OutIterator::value_type> struct OctMapIterator_T : OctSwigIteratorClosed_T<OutIterator, ValueType, FromOper> { OctMapIterator_T(OutIterator curr, OutIterator first, OutIterator last, octave_value seq) : OctSwigIteratorClosed_T<OutIterator,ValueType,FromOper>(curr, first, last, seq) { } }; template<class OutIterator, class FromOper = from_key_oper<typename OutIterator::value_type> > struct OctMapKeyIterator_T : OctMapIterator_T<OutIterator, FromOper> { OctMapKeyIterator_T(OutIterator curr, OutIterator first, OutIterator last, octave_value seq) : OctMapIterator_T<OutIterator, FromOper>(curr, first, last, seq) { } }; template<typename OutIter> inline OctSwigIterator* make_output_key_iterator(const OutIter& current, const OutIter& begin, const OutIter& end, octave_value seq = octave_value()) { return new OctMapKeyIterator_T<OutIter>(current, begin, end, seq); } template<class OutIterator, class FromOper = from_value_oper<typename OutIterator::value_type> > struct OctMapValueIterator_T : OctMapIterator_T<OutIterator, FromOper> { OctMapValueIterator_T(OutIterator curr, OutIterator first, OutIterator last, octave_value seq) : OctMapIterator_T<OutIterator, FromOper>(curr, first, last, seq) { } }; template<typename OutIter> inline OctSwigIterator* make_output_value_iterator(const OutIter& current, const OutIter& begin, const OutIter& end, octave_value seq = 0) { return new OctMapValueIterator_T<OutIter>(current, begin, end, seq); } } } %fragment("StdMapTraits","header",fragment="StdMapCommonTraits") { namespace swig { template <class OctSeq, class K, class T > inline void assign(const OctSeq& octseq, std::map<K,T > *map) { typedef typename std::map<K,T>::value_type value_type; typename OctSeq::const_iterator it = octseq.begin(); for (;it != octseq.end(); ++it) { map->insert(value_type(it->first, it->second)); } } template <class K, class T> struct traits_asptr<std::map<K,T> > { typedef std::map<K,T> map_type; static int asptr(octave_value obj, map_type **val) { /* int res = SWIG_ERROR; if (PyDict_Check(obj)) { SwigVar_PyObject items = PyObject_CallMethod(obj,(char *)"items",NULL); res = traits_asptr_stdseq<std::map<K,T>, std::pair<K, T> >::asptr(items, val); } else { map_type *p; swig_type_info *descriptor = swig::type_info<map_type>(); res = descriptor ? SWIG_ConvertPtr(obj, (void **)&p, descriptor, 0) : SWIG_ERROR; if (SWIG_IsOK(res) && val) *val = p; } return res; */ return SWIG_ERROR; } }; template <class K, class T > struct traits_from<std::map<K,T> > { typedef std::map<K,T> map_type; typedef typename map_type::const_iterator const_iterator; typedef typename map_type::size_type size_type; static octave_value from(const map_type& map) { /* swig_type_info *desc = swig::type_info<map_type>(); if (desc && desc->clientdata) { return SWIG_NewPointerObj(new map_type(map), desc, SWIG_POINTER_OWN); } else { size_type size = map.size(); int pysize = (size <= (size_type) INT_MAX) ? (int) size : -1; if (pysize < 0) { SWIG_PYTHON_THREAD_BEGIN_BLOCK; PyErr_SetString(PyExc_OverflowError, "map size not valid in python"); SWIG_PYTHON_THREAD_END_BLOCK; return NULL; } PyObject *obj = PyDict_New(); for (const_iterator i= map.begin(); i!= map.end(); ++i) { swig::SwigVar_PyObject key = swig::from(i->first); swig::SwigVar_PyObject val = swig::from(i->second); PyDict_SetItem(obj, key, val); } return obj; } */ return octave_value(); } }; } } %define %swig_map_common(Map...) %swig_sequence_iterator(Map); %swig_container_methods(Map); %enddef %define %swig_map_methods(Map...) %swig_map_common(Map) %enddef %include <std/std_map.i>
Close