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 | : 3.22.216.30
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
/
www /
server /
nodejs /
v20.11.1 /
include /
node /
cppgc /
[ HOME SHELL ]
Name
Size
Permission
Action
internal
[ DIR ]
drwxr-xr-x
allocation.h
11.61
KB
-rw-r--r--
common.h
643
B
-rw-r--r--
cross-thread-persistent.h
14.81
KB
-rw-r--r--
custom-space.h
2.4
KB
-rw-r--r--
default-platform.h
2.18
KB
-rw-r--r--
ephemeron-pair.h
804
B
-rw-r--r--
explicit-management.h
3.29
KB
-rw-r--r--
garbage-collected.h
3.11
KB
-rw-r--r--
heap-consistency.h
11.74
KB
-rw-r--r--
heap-handle.h
1.26
KB
-rw-r--r--
heap-state.h
2.57
KB
-rw-r--r--
heap-statistics.h
3.89
KB
-rw-r--r--
heap.h
5.7
KB
-rw-r--r--
liveness-broker.h
2.34
KB
-rw-r--r--
macros.h
1.31
KB
-rw-r--r--
member.h
22.75
KB
-rw-r--r--
name-provider.h
1.99
KB
-rw-r--r--
object-size-trait.h
1.6
KB
-rw-r--r--
persistent.h
13.5
KB
-rw-r--r--
platform.h
5.56
KB
-rw-r--r--
prefinalizer.h
2.88
KB
-rw-r--r--
process-heap-statistics.h
1009
B
-rw-r--r--
sentinel-pointer.h
935
B
-rw-r--r--
source-location.h
2.57
KB
-rw-r--r--
testing.h
2.96
KB
-rw-r--r--
trace-trait.h
3.14
KB
-rw-r--r--
type-traits.h
7.78
KB
-rw-r--r--
visitor.h
14.84
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : liveness-broker.h
// Copyright 2020 the V8 project authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef INCLUDE_CPPGC_LIVENESS_BROKER_H_ #define INCLUDE_CPPGC_LIVENESS_BROKER_H_ #include "cppgc/heap.h" #include "cppgc/member.h" #include "cppgc/sentinel-pointer.h" #include "cppgc/trace-trait.h" #include "v8config.h" // NOLINT(build/include_directory) namespace cppgc { namespace internal { class LivenessBrokerFactory; } // namespace internal /** * The broker is passed to weak callbacks to allow (temporarily) querying * the liveness state of an object. References to non-live objects must be * cleared when `IsHeapObjectAlive()` returns false. * * \code * class GCedWithCustomWeakCallback final * : public GarbageCollected<GCedWithCustomWeakCallback> { * public: * UntracedMember<Bar> bar; * * void CustomWeakCallbackMethod(const LivenessBroker& broker) { * if (!broker.IsHeapObjectAlive(bar)) * bar = nullptr; * } * * void Trace(cppgc::Visitor* visitor) const { * visitor->RegisterWeakCallbackMethod< * GCedWithCustomWeakCallback, * &GCedWithCustomWeakCallback::CustomWeakCallbackMethod>(this); * } * }; * \endcode */ class V8_EXPORT LivenessBroker final { public: template <typename T> bool IsHeapObjectAlive(const T* object) const { // - nullptr objects are considered alive to allow weakness to be used from // stack while running into a conservative GC. Treating nullptr as dead // would mean that e.g. custom collections could not be strongified on // stack. // - Sentinel pointers are also preserved in weakness and not cleared. return !object || object == kSentinelPointer || IsHeapObjectAliveImpl( TraceTrait<T>::GetTraceDescriptor(object).base_object_payload); } template <typename T> bool IsHeapObjectAlive(const WeakMember<T>& weak_member) const { return IsHeapObjectAlive<T>(weak_member.Get()); } template <typename T> bool IsHeapObjectAlive(const UntracedMember<T>& untraced_member) const { return IsHeapObjectAlive<T>(untraced_member.Get()); } private: LivenessBroker() = default; bool IsHeapObjectAliveImpl(const void*) const; friend class internal::LivenessBrokerFactory; }; } // namespace cppgc #endif // INCLUDE_CPPGC_LIVENESS_BROKER_H_
Close