Linux ip-172-26-2-223 5.4.0-1018-aws #18-Ubuntu SMP Wed Jun 24 01:15:00 UTC 2020 x86_64
Apache
: 172.26.2.223 | : 18.225.72.113
Cant Read [ /etc/named.conf ]
8.1.13
www
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
BLACK DEFEND!
README
+ Create Folder
+ Create File
/
usr /
share /
swig4.0 /
ruby /
[ HOME SHELL ]
Name
Size
Permission
Action
Makefile.swig
942
B
-rw-r--r--
argcargv.i
1.2
KB
-rw-r--r--
attribute.i
34
B
-rw-r--r--
boost_shared_ptr.i
20.93
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--
cpointer.i
33
B
-rw-r--r--
cstring.i
32
B
-rw-r--r--
director.swg
6.91
KB
-rw-r--r--
embed.i
169
B
-rw-r--r--
exception.i
126
B
-rw-r--r--
extconf.rb
234
B
-rw-r--r--
factory.i
32
B
-rw-r--r--
file.i
642
B
-rw-r--r--
progargcargv.i
770
B
-rw-r--r--
ruby.swg
2.59
KB
-rw-r--r--
rubyapi.swg
801
B
-rw-r--r--
rubyautodoc.swg
4.26
KB
-rw-r--r--
rubyclasses.swg
11.08
KB
-rw-r--r--
rubycomplex.swg
3.77
KB
-rw-r--r--
rubycontainer.swg
28.13
KB
-rw-r--r--
rubycontainer_extended.swg
3.46
KB
-rw-r--r--
rubydef.swg
42
B
-rw-r--r--
rubyerrors.swg
3.63
KB
-rw-r--r--
rubyfragments.swg
552
B
-rw-r--r--
rubyhead.swg
4.74
KB
-rw-r--r--
rubyinit.swg
39
B
-rw-r--r--
rubyiterators.swg
22.29
KB
-rw-r--r--
rubykw.swg
1.15
KB
-rw-r--r--
rubymacros.swg
456
B
-rw-r--r--
rubyopers.swg
1.81
KB
-rw-r--r--
rubyprimtypes.swg
5.34
KB
-rw-r--r--
rubyrun.swg
13.76
KB
-rw-r--r--
rubyruntime.swg
423
B
-rw-r--r--
rubystdautodoc.swg
1.78
KB
-rw-r--r--
rubystdcommon.swg
4.8
KB
-rw-r--r--
rubystdcommon_forward.swg
542
B
-rw-r--r--
rubystdfunctors.swg
3.96
KB
-rw-r--r--
rubystrings.swg
1.53
KB
-rw-r--r--
rubytracking.swg
4.66
KB
-rw-r--r--
rubytypemaps.swg
1.77
KB
-rw-r--r--
rubyuserdir.swg
657
B
-rw-r--r--
rubywstrings.swg
2.03
KB
-rw-r--r--
std_alloc.i
27
B
-rw-r--r--
std_array.i
3.45
KB
-rw-r--r--
std_basic_string.i
2.6
KB
-rw-r--r--
std_char_traits.i
33
B
-rw-r--r--
std_common.i
2.28
KB
-rw-r--r--
std_complex.i
612
B
-rw-r--r--
std_container.i
60
B
-rw-r--r--
std_deque.i
731
B
-rw-r--r--
std_except.i
35
B
-rw-r--r--
std_functors.i
768
B
-rw-r--r--
std_ios.i
380
B
-rw-r--r--
std_iostream.i
227
B
-rw-r--r--
std_list.i
1.04
KB
-rw-r--r--
std_map.i
11.06
KB
-rw-r--r--
std_multimap.i
5.98
KB
-rw-r--r--
std_multiset.i
1.4
KB
-rw-r--r--
std_pair.i
5.41
KB
-rw-r--r--
std_queue.i
850
B
-rw-r--r--
std_set.i
6.38
KB
-rw-r--r--
std_shared_ptr.i
4.15
KB
-rw-r--r--
std_sstream.i
30
B
-rw-r--r--
std_stack.i
852
B
-rw-r--r--
std_streambuf.i
31
B
-rw-r--r--
std_string.i
153
B
-rw-r--r--
std_unordered_map.i
2.92
KB
-rw-r--r--
std_unordered_multimap.i
3.48
KB
-rw-r--r--
std_unordered_multiset.i
1.87
KB
-rw-r--r--
std_unordered_set.i
1.77
KB
-rw-r--r--
std_vector.i
1.19
KB
-rw-r--r--
std_vectora.i
950
B
-rw-r--r--
std_wstring.i
1.3
KB
-rw-r--r--
stl.i
291
B
-rw-r--r--
timeval.i
1.15
KB
-rw-r--r--
typemaps.i
11.05
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : std_set.i
/* Sets */ %fragment("StdSetTraits","header",fragment="<stddef.h>",fragment="StdSequenceTraits") %{ namespace swig { template <class RubySeq, class T> inline void assign(const RubySeq& rubyseq, std::set<T>* seq) { // seq->insert(rubyseq.begin(), rubyseq.end()); // not used as not always implemented typedef typename RubySeq::value_type value_type; typename RubySeq::const_iterator it = rubyseq.begin(); for (;it != rubyseq.end(); ++it) { seq->insert(seq->end(),(value_type)(*it)); } } template <class T> struct traits_asptr<std::set<T> > { static int asptr(VALUE obj, std::set<T> **s) { return traits_asptr_stdseq<std::set<T> >::asptr(obj, s); } }; template <class T> struct traits_from<std::set<T> > { static VALUE from(const std::set<T>& vec) { return traits_from_stdseq<std::set<T> >::from(vec); } }; /** * Set Iterator class for an iterator with no end() boundaries. * */ template<typename InOutIterator, typename ValueType = typename std::iterator_traits<InOutIterator>::value_type, typename FromOper = from_oper<ValueType>, typename AsvalOper = asval_oper<ValueType> > class SetIteratorOpen_T : public Iterator_T<InOutIterator> { public: FromOper from; AsvalOper asval; typedef InOutIterator nonconst_iter; typedef ValueType value_type; typedef Iterator_T<nonconst_iter> base; typedef SetIteratorOpen_T<InOutIterator, ValueType, FromOper, AsvalOper> self_type; public: SetIteratorOpen_T(nonconst_iter curr, VALUE seq = Qnil) : Iterator_T<InOutIterator>(curr, seq) { } virtual VALUE value() const { return from(static_cast<const value_type&>(*(base::current))); } // no setValue allowed Iterator *dup() const { return new self_type(*this); } }; /** * Set Iterator class for a iterator where begin() and end() boundaries are known. * */ template<typename InOutIterator, typename ValueType = typename std::iterator_traits<InOutIterator>::value_type, typename FromOper = from_oper<ValueType>, typename AsvalOper = asval_oper<ValueType> > class SetIteratorClosed_T : public Iterator_T<InOutIterator> { public: FromOper from; AsvalOper asval; typedef InOutIterator nonconst_iter; typedef ValueType value_type; typedef Iterator_T<nonconst_iter> base; typedef SetIteratorClosed_T<InOutIterator, ValueType, FromOper, AsvalOper> self_type; protected: virtual Iterator* advance(ptrdiff_t n) { std::advance( base::current, n ); if ( base::current == end ) throw stop_iteration(); return this; } public: SetIteratorClosed_T(nonconst_iter curr, nonconst_iter first, nonconst_iter last, VALUE seq = Qnil) : Iterator_T<InOutIterator>(curr, seq), begin(first), end(last) { } virtual VALUE value() const { if (base::current == end) { throw stop_iteration(); } else { return from(static_cast<const value_type&>(*(base::current))); } } // no setValue allowed Iterator *dup() const { return new self_type(*this); } private: nonconst_iter begin; nonconst_iter end; }; // Template specialization to construct a closed iterator for sets // this turns a nonconst iterator into a const one for ruby to avoid // allowing the user to change the value template< typename InOutIter > inline Iterator* make_set_nonconst_iterator(const InOutIter& current, const InOutIter& begin, const InOutIter& end, VALUE seq = Qnil) { return new SetIteratorClosed_T< InOutIter >(current, begin, end, seq); } // Template specialization to construct an open iterator for sets // this turns a nonconst iterator into a const one for ruby to avoid // allowing the user to change the value template< typename InOutIter > inline Iterator* make_set_nonconst_iterator(const InOutIter& current, VALUE seq = Qnil) { return new SetIteratorOpen_T< InOutIter >(current, seq); } } %} %define %swig_sequence_methods_extra_set(Sequence...) %extend { %alias reject_bang "delete_if"; Sequence* reject_bang() { if ( !rb_block_given_p() ) rb_raise( rb_eArgError, "no block given" ); for ( Sequence::iterator i = $self->begin(); i != $self->end(); ) { VALUE r = swig::from< Sequence::value_type >(*i); Sequence::iterator current = i++; if ( RTEST( rb_yield(r) ) ) $self->erase(current); } return self; } } %enddef %define %swig_set_methods(set...) %swig_sequence_methods_common(%arg(set)); %swig_sequence_methods_extra_set(%arg(set)); %fragment("RubyPairBoolOutputIterator","header",fragment=SWIG_From_frag(bool),fragment="RubySequence_Cont") {} // Redefine std::set iterator/reverse_iterator typemap %typemap(out,noblock=1) iterator, reverse_iterator { $result = SWIG_NewPointerObj(swig::make_set_nonconst_iterator(%static_cast($1,const $type &), self), swig::Iterator::descriptor(),SWIG_POINTER_OWN); } // Redefine std::set std::pair<iterator, bool> typemap %typemap(out,noblock=1,fragment="RubyPairBoolOutputIterator") std::pair<iterator, bool> { $result = rb_ary_new2(2); rb_ary_push($result, SWIG_NewPointerObj(swig::make_set_nonconst_iterator(%static_cast($1,$type &).first), swig::Iterator::descriptor(),SWIG_POINTER_OWN)); rb_ary_push($result, SWIG_From(bool)(%static_cast($1,const $type &).second)); } %extend { %alias push "<<"; value_type push(const value_type& x) { self->insert(x); return x; } bool __contains__(const value_type& x) { return self->find(x) != self->end(); } value_type __getitem__(difference_type i) const throw (std::out_of_range) { return *(swig::cgetpos(self, i)); } }; %enddef %mixin std::set "Enumerable"; %rename("delete") std::set::__delete__; %rename("reject!") std::set::reject_bang; %rename("map!") std::set::map_bang; %rename("empty?") std::set::empty; %rename("include?" ) std::set::__contains__ const; %rename("has_key?" ) std::set::has_key const; %alias std::set::push "<<"; %include <std/std_set.i>
Close