Linux evo.fastest-server.com 5.14.0-284.1101.el9.tuxcare.11.els11.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Aug 14 13:30:35 UTC 2026 x86_64
LiteSpeed
Server IP : 103.249.112.113 & Your IP : 216.73.217.135
Domains : 988 Domain
User : tanishks
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
opt /
alt /
alt-nodejs26 /
root /
usr /
include /
node /
Delete
Unzip
Name
Size
Permission
Date
Action
cppgc
[ DIR ]
drwxr-xr-x
2026-09-04 11:57
libplatform
[ DIR ]
drwxr-xr-x
2026-09-04 11:57
uv
[ DIR ]
drwxr-xr-x
2026-09-04 11:57
common.gypi
28.72
KB
-rw-r--r--
2026-08-10 10:34
config.gypi
20.71
KB
-rw-r--r--
2026-08-10 10:35
js_native_api.h
32.38
KB
-rw-r--r--
2026-08-10 10:35
js_native_api_types.h
8.14
KB
-rw-r--r--
2026-08-10 10:35
node.h
71.06
KB
-rw-r--r--
2026-08-10 10:35
node_api.h
10.13
KB
-rw-r--r--
2026-08-10 10:35
node_api_types.h
1.88
KB
-rw-r--r--
2026-08-10 10:35
node_buffer.h
3.6
KB
-rw-r--r--
2026-08-10 10:35
node_object_wrap.h
4.2
KB
-rw-r--r--
2026-08-10 10:35
node_version.h
4.14
KB
-rw-r--r--
2026-08-10 10:35
uv.h
71.33
KB
-rw-r--r--
2026-08-10 10:35
v8-array-buffer.h
22.63
KB
-rw-r--r--
2026-08-10 10:35
v8-callbacks.h
19.32
KB
-rw-r--r--
2026-08-10 10:35
v8-container.h
5.82
KB
-rw-r--r--
2026-08-10 10:35
v8-context.h
21.81
KB
-rw-r--r--
2026-08-10 10:35
v8-cppgc.h
5.83
KB
-rw-r--r--
2026-08-10 10:35
v8-data.h
1.88
KB
-rw-r--r--
2026-08-10 10:35
v8-date.h
1.41
KB
-rw-r--r--
2026-08-10 10:35
v8-debug.h
6.6
KB
-rw-r--r--
2026-08-10 10:35
v8-embedder-heap.h
1.62
KB
-rw-r--r--
2026-08-10 10:35
v8-embedder-state-scope.h
1.46
KB
-rw-r--r--
2026-08-10 10:35
v8-exception.h
9.6
KB
-rw-r--r--
2026-08-10 10:35
v8-extension.h
1.7
KB
-rw-r--r--
2026-08-10 10:35
v8-external.h
2.31
KB
-rw-r--r--
2026-08-10 10:35
v8-forward.h
1.65
KB
-rw-r--r--
2026-08-10 10:35
v8-function-callback.h
22.39
KB
-rw-r--r--
2026-08-10 10:35
v8-function.h
4.75
KB
-rw-r--r--
2026-08-10 10:35
v8-handle-base.h
4.81
KB
-rw-r--r--
2026-08-10 10:35
v8-initialization.h
12.38
KB
-rw-r--r--
2026-08-10 10:35
v8-internal.h
73.55
KB
-rw-r--r--
2026-08-10 10:35
v8-isolate.h
68.41
KB
-rw-r--r--
2026-08-10 10:35
v8-json.h
1.66
KB
-rw-r--r--
2026-08-10 10:35
v8-local-handle.h
27.8
KB
-rw-r--r--
2026-08-10 10:35
v8-locker.h
3.86
KB
-rw-r--r--
2026-08-10 10:35
v8-maybe.h
5.26
KB
-rw-r--r--
2026-08-10 10:35
v8-memory-span.h
8.66
KB
-rw-r--r--
2026-08-10 10:35
v8-message.h
6.43
KB
-rw-r--r--
2026-08-10 10:35
v8-microtask-queue.h
4.79
KB
-rw-r--r--
2026-08-10 10:35
v8-microtask.h
861
B
-rw-r--r--
2026-08-10 10:35
v8-object.h
43.08
KB
-rw-r--r--
2026-08-10 10:35
v8-persistent-handle.h
17.07
KB
-rw-r--r--
2026-08-10 10:35
v8-platform.h
55.4
KB
-rw-r--r--
2026-08-10 10:35
v8-primitive-object.h
2.53
KB
-rw-r--r--
2026-08-10 10:35
v8-primitive.h
35.3
KB
-rw-r--r--
2026-08-10 10:35
v8-profiler.h
46
KB
-rw-r--r--
2026-08-10 10:35
v8-promise.h
5.72
KB
-rw-r--r--
2026-08-10 10:35
v8-proxy.h
1.22
KB
-rw-r--r--
2026-08-10 10:35
v8-regexp.h
3.1
KB
-rw-r--r--
2026-08-10 10:35
v8-sandbox.h
7.23
KB
-rw-r--r--
2026-08-10 10:35
v8-script.h
33.74
KB
-rw-r--r--
2026-08-10 10:35
v8-snapshot.h
11.6
KB
-rw-r--r--
2026-08-10 10:35
v8-source-location.h
2.31
KB
-rw-r--r--
2026-08-10 10:35
v8-statistics.h
7.73
KB
-rw-r--r--
2026-08-10 10:35
v8-template.h
39.18
KB
-rw-r--r--
2026-08-10 10:35
v8-traced-handle.h
12.01
KB
-rw-r--r--
2026-08-10 10:35
v8-typed-array.h
11.16
KB
-rw-r--r--
2026-08-10 10:35
v8-unwinder.h
5.09
KB
-rw-r--r--
2026-08-10 10:35
v8-value-serializer.h
10.56
KB
-rw-r--r--
2026-08-10 10:35
v8-value.h
17.22
KB
-rw-r--r--
2026-08-10 10:35
v8-version.h
773
B
-rw-r--r--
2026-08-10 10:35
v8-wasm.h
10.38
KB
-rw-r--r--
2026-08-10 10:35
v8-weak-callback-info.h
2.72
KB
-rw-r--r--
2026-08-10 10:35
v8.h
3.69
KB
-rw-r--r--
2026-08-10 10:35
v8config.h
36.41
KB
-rw-r--r--
2026-08-10 10:35
Save
Rename
// Copyright Joyent, Inc. and other Node contributors. // // Permission is hereby granted, free of charge, to any person obtaining a // copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to permit // persons to whom the Software is furnished to do so, subject to the // following conditions: // // The above copyright notice and this permission notice shall be included // in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN // NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, // DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE // USE OR OTHER DEALINGS IN THE SOFTWARE. #ifndef SRC_NODE_OBJECT_WRAP_H_ #define SRC_NODE_OBJECT_WRAP_H_ #include <cassert> #include "node.h" namespace node { class ObjectWrap { public: ObjectWrap() { refs_ = 0; AddCleanupHook(); } virtual ~ObjectWrap() { RemoveCleanupHook(); if (persistent().IsEmpty()) return; persistent().ClearWeak(); persistent().Reset(); } template <class T> static inline T* Unwrap(v8::Local<v8::Object> handle) { assert(!handle.IsEmpty()); assert(handle->InternalFieldCount() > 0); // Cast to ObjectWrap before casting to T. A direct cast from void // to T won't work right when T has more than one base class. void* ptr = handle->GetAlignedPointerFromInternalField( 0, v8::kEmbedderDataTypeTagDefault); ObjectWrap* wrap = static_cast<ObjectWrap*>(ptr); return static_cast<T*>(wrap); } inline v8::Local<v8::Object> handle() { return handle(v8::Isolate::GetCurrent()); } inline v8::Local<v8::Object> handle(v8::Isolate* isolate) { return v8::Local<v8::Object>::New(isolate, persistent()); } // NOLINTNEXTLINE(runtime/v8_persistent) inline v8::Persistent<v8::Object>& persistent() { return handle_; } protected: inline void Wrap(v8::Local<v8::Object> handle) { assert(persistent().IsEmpty()); assert(handle->InternalFieldCount() > 0); handle->SetAlignedPointerInInternalField( 0, this, v8::kEmbedderDataTypeTagDefault); persistent().Reset(v8::Isolate::GetCurrent(), handle); MakeWeak(); } inline void MakeWeak() { persistent().SetWeak(this, WeakCallback, v8::WeakCallbackType::kParameter); } /* Ref() marks the object as being attached to an event loop. * Refed objects will not be garbage collected, even if * all references are lost. */ virtual void Ref() { assert(!persistent().IsEmpty()); persistent().ClearWeak(); refs_++; } /* Unref() marks an object as detached from the event loop. This is its * default state. When an object with a "weak" reference changes from * attached to detached state it will be freed. Be careful not to access * the object after making this call as it might be gone! * (A "weak reference" means an object that only has a * persistent handle.) * * DO NOT CALL THIS FROM DESTRUCTOR */ virtual void Unref() { assert(!persistent().IsEmpty()); assert(!persistent().IsWeak()); assert(refs_ > 0); if (--refs_ == 0) MakeWeak(); } int refs_; // ro private: static void WeakCallback( const v8::WeakCallbackInfo<ObjectWrap>& data) { ObjectWrap* wrap = data.GetParameter(); assert(wrap->refs_ == 0); wrap->handle_.Reset(); delete wrap; } void AddCleanupHook() { AddEnvironmentCleanupHook(v8::Isolate::GetCurrent(), CleanupHook, this); } void RemoveCleanupHook() { RemoveEnvironmentCleanupHook(v8::Isolate::GetCurrent(), CleanupHook, this); } static void CleanupHook(void* arg) { delete static_cast<ObjectWrap*>(arg); } // NOLINTNEXTLINE(runtime/v8_persistent) v8::Persistent<v8::Object> handle_; }; } // namespace node #endif // SRC_NODE_OBJECT_WRAP_H_