Linux vps-61133.fhnet.fr 4.9.0-19-amd64 #1 SMP Debian 4.9.320-2 (2022-06-30) x86_64
Apache/2.4.25 (Debian)
Server IP : 93.113.207.21 & Your IP : 216.73.216.35
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
include /
node /
cppgc /
Delete
Unzip
Name
Size
Permission
Date
Action
internal
[ DIR ]
drwxr-xr-x
2024-03-12 22:00
allocation.h
5.55
KB
-rw-r--r--
2023-02-16 16:16
common.h
824
B
-rw-r--r--
2023-02-16 16:16
custom-space.h
1.53
KB
-rw-r--r--
2023-02-16 16:16
garbage-collected.h
6.48
KB
-rw-r--r--
2023-02-16 16:16
heap.h
1.61
KB
-rw-r--r--
2023-02-16 16:16
liveness-broker.h
1.33
KB
-rw-r--r--
2023-02-16 16:16
macros.h
863
B
-rw-r--r--
2023-02-16 16:16
member.h
7.16
KB
-rw-r--r--
2023-02-16 16:16
persistent.h
11.14
KB
-rw-r--r--
2023-02-16 16:16
platform.h
921
B
-rw-r--r--
2023-02-16 16:16
prefinalizer.h
2.25
KB
-rw-r--r--
2023-02-16 16:16
source-location.h
1.82
KB
-rw-r--r--
2023-02-16 16:16
trace-trait.h
1.67
KB
-rw-r--r--
2023-02-16 16:16
type-traits.h
3.06
KB
-rw-r--r--
2023-02-16 16:16
visitor.h
4.85
KB
-rw-r--r--
2023-02-16 16:16
Save
Rename
// 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_PREFINALIZER_H_ #define INCLUDE_CPPGC_PREFINALIZER_H_ #include "cppgc/internal/accessors.h" #include "cppgc/internal/compiler-specific.h" #include "cppgc/internal/prefinalizer-handler.h" #include "cppgc/liveness-broker.h" #include "cppgc/macros.h" namespace cppgc { namespace internal { template <typename T> class PrefinalizerRegistration final { public: explicit PrefinalizerRegistration(T* self) { static_assert(sizeof(&T::InvokePreFinalizer) > 0, "USING_PRE_FINALIZER(T) must be defined."); cppgc::internal::PreFinalizerRegistrationDispatcher::RegisterPrefinalizer( internal::GetHeapFromPayload(self), {self, T::InvokePreFinalizer}); } void* operator new(size_t, void* location) = delete; void* operator new(size_t) = delete; }; } // namespace internal #define CPPGC_USING_PRE_FINALIZER(Class, PreFinalizer) \ public: \ static bool InvokePreFinalizer(const LivenessBroker& liveness_broker, \ void* object) { \ static_assert(internal::IsGarbageCollectedTypeV<Class>, \ "Only garbage collected objects can have prefinalizers"); \ Class* self = static_cast<Class*>(object); \ if (liveness_broker.IsHeapObjectAlive(self)) return false; \ self->Class::PreFinalizer(); \ return true; \ } \ \ private: \ CPPGC_NO_UNIQUE_ADDRESS internal::PrefinalizerRegistration<Class> \ prefinalizer_dummy_{this}; \ friend class internal::__thisIsHereToForceASemicolonAfterThisMacro } // namespace cppgc #endif // INCLUDE_CPPGC_PREFINALIZER_H_