Linux unitednationsplay.com 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
nginx/1.20.1
Server IP : 188.130.139.92 & Your IP : 18.117.197.188
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
unp-musonza /
node_modules /
nan /
Delete
Unzip
Name
Size
Permission
Date
Action
doc
[ DIR ]
drwxr-xr-x
2021-02-04 21:24
tools
[ DIR ]
drwxr-xr-x
2021-02-04 21:24
CHANGELOG.md
19.83
KB
-rw-r--r--
2018-09-29 08:04
LICENSE.md
1.19
KB
-rw-r--r--
2018-02-22 17:07
README.md
27.94
KB
-rw-r--r--
2018-09-29 08:04
include_dirs.js
55
B
-rw-r--r--
2017-04-05 22:07
nan-2.11.1.tgz
72.81
KB
-rw-r--r--
2018-09-29 08:09
nan.h
83.32
KB
-rw-r--r--
2018-09-29 08:05
nan_callbacks.h
3.02
KB
-rw-r--r--
2018-02-22 17:07
nan_callbacks_12_inl.h
17.13
KB
-rw-r--r--
2018-08-25 12:11
nan_callbacks_pre_12_inl.h
16.68
KB
-rw-r--r--
2018-02-22 17:07
nan_converters.h
2.06
KB
-rw-r--r--
2018-02-22 17:07
nan_converters_43_inl.h
1.69
KB
-rw-r--r--
2018-03-16 15:57
nan_converters_pre_43_inl.h
1.22
KB
-rw-r--r--
2018-02-22 17:07
nan_define_own_property_helper.h
1
KB
-rw-r--r--
2018-03-16 15:57
nan_implementation_12_inl.h
13.95
KB
-rw-r--r--
2018-09-29 08:02
nan_implementation_pre_12_inl.h
7.76
KB
-rw-r--r--
2018-02-22 17:07
nan_json.h
5.64
KB
-rw-r--r--
2018-02-22 17:07
nan_maybe_43_inl.h
12.29
KB
-rw-r--r--
2018-03-16 15:57
nan_maybe_pre_43_inl.h
8.04
KB
-rw-r--r--
2018-03-16 15:57
nan_new.h
8.58
KB
-rw-r--r--
2018-02-22 17:07
nan_object_wrap.h
4
KB
-rw-r--r--
2018-02-22 17:07
nan_persistent_12_inl.h
3.78
KB
-rw-r--r--
2018-02-22 17:07
nan_persistent_pre_12_inl.h
6.01
KB
-rw-r--r--
2018-02-22 17:07
nan_private.h
2.42
KB
-rw-r--r--
2018-02-22 17:07
nan_string_bytes.h
7.91
KB
-rw-r--r--
2017-04-05 22:07
nan_typedarray_contents.h
2.8
KB
-rw-r--r--
2018-02-22 17:07
nan_weak.h
14.65
KB
-rw-r--r--
2018-02-22 17:07
package.json
2.56
KB
-rw-r--r--
2021-02-04 21:24
Save
Rename
/********************************************************************* * NAN - Native Abstractions for Node.js * * Copyright (c) 2018 NAN contributors * * MIT License <https://github.com/nodejs/nan/blob/master/LICENSE.md> ********************************************************************/ #ifndef NAN_MAYBE_PRE_43_INL_H_ #define NAN_MAYBE_PRE_43_INL_H_ template<typename T> class MaybeLocal { public: inline MaybeLocal() : val_(v8::Local<T>()) {} template<typename S> # if NODE_MODULE_VERSION >= NODE_0_12_MODULE_VERSION inline MaybeLocal(v8::Local<S> that) : val_(that) {} // NOLINT(runtime/explicit) # else inline MaybeLocal(v8::Local<S> that) : // NOLINT(runtime/explicit) val_(*reinterpret_cast<v8::Local<T>*>(&that)) {} # endif inline bool IsEmpty() const { return val_.IsEmpty(); } template<typename S> inline bool ToLocal(v8::Local<S> *out) const { *out = val_; return !IsEmpty(); } inline v8::Local<T> ToLocalChecked() const { #if defined(V8_ENABLE_CHECKS) assert(!IsEmpty() && "ToLocalChecked is Empty"); #endif // V8_ENABLE_CHECKS return val_; } template<typename S> inline v8::Local<S> FromMaybe(v8::Local<S> default_value) const { return IsEmpty() ? default_value : v8::Local<S>(val_); } private: v8::Local<T> val_; }; template<typename T> class Maybe { public: inline bool IsNothing() const { return !has_value_; } inline bool IsJust() const { return has_value_; } inline T FromJust() const { #if defined(V8_ENABLE_CHECKS) assert(IsJust() && "FromJust is Nothing"); #endif // V8_ENABLE_CHECKS return value_; } inline T FromMaybe(const T& default_value) const { return has_value_ ? value_ : default_value; } inline bool operator==(const Maybe &other) const { return (IsJust() == other.IsJust()) && (!IsJust() || FromJust() == other.FromJust()); } inline bool operator!=(const Maybe &other) const { return !operator==(other); } private: Maybe() : has_value_(false) {} explicit Maybe(const T& t) : has_value_(true), value_(t) {} bool has_value_; T value_; template<typename U> friend Maybe<U> Nothing(); template<typename U> friend Maybe<U> Just(const U& u); }; template<typename T> inline Maybe<T> Nothing() { return Maybe<T>(); } template<typename T> inline Maybe<T> Just(const T& t) { return Maybe<T>(t); } inline MaybeLocal<v8::String> ToDetailString(v8::Handle<v8::Value> val) { return MaybeLocal<v8::String>(val->ToDetailString()); } inline MaybeLocal<v8::Uint32> ToArrayIndex(v8::Handle<v8::Value> val) { return MaybeLocal<v8::Uint32>(val->ToArrayIndex()); } inline Maybe<bool> Equals(v8::Handle<v8::Value> a, v8::Handle<v8::Value>(b)) { return Just<bool>(a->Equals(b)); } inline MaybeLocal<v8::Object> NewInstance(v8::Handle<v8::Function> h) { return MaybeLocal<v8::Object>(h->NewInstance()); } inline MaybeLocal<v8::Object> NewInstance( v8::Local<v8::Function> h , int argc , v8::Local<v8::Value> argv[]) { return MaybeLocal<v8::Object>(h->NewInstance(argc, argv)); } inline MaybeLocal<v8::Object> NewInstance(v8::Handle<v8::ObjectTemplate> h) { return MaybeLocal<v8::Object>(h->NewInstance()); } inline MaybeLocal<v8::Function> GetFunction(v8::Handle<v8::FunctionTemplate> t) { return MaybeLocal<v8::Function>(t->GetFunction()); } inline Maybe<bool> Set( v8::Handle<v8::Object> obj , v8::Handle<v8::Value> key , v8::Handle<v8::Value> value) { return Just<bool>(obj->Set(key, value)); } inline Maybe<bool> Set( v8::Handle<v8::Object> obj , uint32_t index , v8::Handle<v8::Value> value) { return Just<bool>(obj->Set(index, value)); } #include "nan_define_own_property_helper.h" // NOLINT(build/include) inline Maybe<bool> DefineOwnProperty( v8::Handle<v8::Object> obj , v8::Handle<v8::String> key , v8::Handle<v8::Value> value , v8::PropertyAttribute attribs = v8::None) { v8::PropertyAttribute current = obj->GetPropertyAttributes(key); return imp::DefineOwnPropertyHelper(current, obj, key, value, attribs); } NAN_DEPRECATED inline Maybe<bool> ForceSet( v8::Handle<v8::Object> obj , v8::Handle<v8::Value> key , v8::Handle<v8::Value> value , v8::PropertyAttribute attribs = v8::None) { return Just<bool>(obj->ForceSet(key, value, attribs)); } inline MaybeLocal<v8::Value> Get( v8::Handle<v8::Object> obj , v8::Handle<v8::Value> key) { return MaybeLocal<v8::Value>(obj->Get(key)); } inline MaybeLocal<v8::Value> Get( v8::Handle<v8::Object> obj , uint32_t index) { return MaybeLocal<v8::Value>(obj->Get(index)); } inline Maybe<v8::PropertyAttribute> GetPropertyAttributes( v8::Handle<v8::Object> obj , v8::Handle<v8::Value> key) { return Just<v8::PropertyAttribute>(obj->GetPropertyAttributes(key)); } inline Maybe<bool> Has( v8::Handle<v8::Object> obj , v8::Handle<v8::String> key) { return Just<bool>(obj->Has(key)); } inline Maybe<bool> Has( v8::Handle<v8::Object> obj , uint32_t index) { return Just<bool>(obj->Has(index)); } inline Maybe<bool> Delete( v8::Handle<v8::Object> obj , v8::Handle<v8::String> key) { return Just<bool>(obj->Delete(key)); } inline Maybe<bool> Delete( v8::Handle<v8::Object> obj , uint32_t index) { return Just<bool>(obj->Delete(index)); } inline MaybeLocal<v8::Array> GetPropertyNames(v8::Handle<v8::Object> obj) { return MaybeLocal<v8::Array>(obj->GetPropertyNames()); } inline MaybeLocal<v8::Array> GetOwnPropertyNames(v8::Handle<v8::Object> obj) { return MaybeLocal<v8::Array>(obj->GetOwnPropertyNames()); } inline Maybe<bool> SetPrototype( v8::Handle<v8::Object> obj , v8::Handle<v8::Value> prototype) { return Just<bool>(obj->SetPrototype(prototype)); } inline MaybeLocal<v8::String> ObjectProtoToString( v8::Handle<v8::Object> obj) { return MaybeLocal<v8::String>(obj->ObjectProtoToString()); } inline Maybe<bool> HasOwnProperty( v8::Handle<v8::Object> obj , v8::Handle<v8::String> key) { return Just<bool>(obj->HasOwnProperty(key)); } inline Maybe<bool> HasRealNamedProperty( v8::Handle<v8::Object> obj , v8::Handle<v8::String> key) { return Just<bool>(obj->HasRealNamedProperty(key)); } inline Maybe<bool> HasRealIndexedProperty( v8::Handle<v8::Object> obj , uint32_t index) { return Just<bool>(obj->HasRealIndexedProperty(index)); } inline Maybe<bool> HasRealNamedCallbackProperty( v8::Handle<v8::Object> obj , v8::Handle<v8::String> key) { return Just<bool>(obj->HasRealNamedCallbackProperty(key)); } inline MaybeLocal<v8::Value> GetRealNamedPropertyInPrototypeChain( v8::Handle<v8::Object> obj , v8::Handle<v8::String> key) { return MaybeLocal<v8::Value>( obj->GetRealNamedPropertyInPrototypeChain(key)); } inline MaybeLocal<v8::Value> GetRealNamedProperty( v8::Handle<v8::Object> obj , v8::Handle<v8::String> key) { return MaybeLocal<v8::Value>(obj->GetRealNamedProperty(key)); } inline MaybeLocal<v8::Value> CallAsFunction( v8::Handle<v8::Object> obj , v8::Handle<v8::Object> recv , int argc , v8::Handle<v8::Value> argv[]) { return MaybeLocal<v8::Value>(obj->CallAsFunction(recv, argc, argv)); } inline MaybeLocal<v8::Value> CallAsConstructor( v8::Handle<v8::Object> obj , int argc , v8::Local<v8::Value> argv[]) { return MaybeLocal<v8::Value>(obj->CallAsConstructor(argc, argv)); } inline MaybeLocal<v8::String> GetSourceLine(v8::Handle<v8::Message> msg) { return MaybeLocal<v8::String>(msg->GetSourceLine()); } inline Maybe<int> GetLineNumber(v8::Handle<v8::Message> msg) { return Just<int>(msg->GetLineNumber()); } inline Maybe<int> GetStartColumn(v8::Handle<v8::Message> msg) { return Just<int>(msg->GetStartColumn()); } inline Maybe<int> GetEndColumn(v8::Handle<v8::Message> msg) { return Just<int>(msg->GetEndColumn()); } inline MaybeLocal<v8::Object> CloneElementAt( v8::Handle<v8::Array> array , uint32_t index) { return MaybeLocal<v8::Object>(array->CloneElementAt(index)); } inline MaybeLocal<v8::Value> Call( v8::Local<v8::Function> fun , v8::Local<v8::Object> recv , int argc , v8::Local<v8::Value> argv[]) { return MaybeLocal<v8::Value>(fun->Call(recv, argc, argv)); } #endif // NAN_MAYBE_PRE_43_INL_H_