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 /
java /
[ HOME SHELL ]
Name
Size
Permission
Action
arrays_java.i
13.37
KB
-rw-r--r--
boost_intrusive_ptr.i
19.68
KB
-rw-r--r--
boost_shared_ptr.i
8.57
KB
-rw-r--r--
director.swg
6.29
KB
-rw-r--r--
enums.swg
4.46
KB
-rw-r--r--
enumsimple.swg
2.51
KB
-rw-r--r--
enumtypesafe.swg
4.57
KB
-rw-r--r--
enumtypeunsafe.swg
2.66
KB
-rw-r--r--
java.swg
45.61
KB
-rw-r--r--
javahead.swg
4.08
KB
-rw-r--r--
javakw.swg
1.24
KB
-rw-r--r--
std_common.i
102
B
-rw-r--r--
std_deque.i
28
B
-rw-r--r--
std_except.i
1.88
KB
-rw-r--r--
std_map.i
2.28
KB
-rw-r--r--
std_pair.i
712
B
-rw-r--r--
std_shared_ptr.i
68
B
-rw-r--r--
std_string.i
3.32
KB
-rw-r--r--
std_vector.i
2.58
KB
-rw-r--r--
std_wstring.i
4.82
KB
-rw-r--r--
stl.i
291
B
-rw-r--r--
typemaps.i
16.64
KB
-rw-r--r--
various.i
4.31
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : std_vector.i
/* ----------------------------------------------------------------------------- * std_vector.i * ----------------------------------------------------------------------------- */ %include <std_common.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"); } } }; } %define specialize_std_vector(T) #warning "specialize_std_vector - specialization for type T no longer needed" %enddef
Close