GIF89; GIF89; %PDF- %PDF-
__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
// 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_NAME_PROVIDER_H_
#define INCLUDE_CPPGC_NAME_PROVIDER_H_
#include "v8config.h" // NOLINT(build/include_directory)
namespace cppgc {
/**
* NameProvider allows for providing a human-readable name for garbage-collected
* objects.
*
* There's two cases of names to distinguish:
* a. Explicitly specified names via using NameProvider. Such names are always
* preserved in the system.
* b. Internal names that Oilpan infers from a C++ type on the class hierarchy
* of the object. This is not necessarily the type of the actually
* instantiated object.
*
* Depending on the build configuration, Oilpan may hide names, i.e., represent
* them with kHiddenName, of case b. to avoid exposing internal details.
*/
class V8_EXPORT NameProvider {
public:
/**
* Name that is used when hiding internals.
*/
static constexpr const char kHiddenName[] = "InternalNode";
/**
* Name that is used in case compiler support is missing for composing a name
* from C++ types.
*/
static constexpr const char kNoNameDeducible[] = "<No name>";
/**
* Indicating whether the build supports extracting C++ names as object names.
*
* @returns true if C++ names should be hidden and represented by kHiddenName.
*/
static constexpr bool SupportsCppClassNamesAsObjectNames() {
#if CPPGC_SUPPORTS_OBJECT_NAMES
return true;
#else // !CPPGC_SUPPORTS_OBJECT_NAMES
return false;
#endif // !CPPGC_SUPPORTS_OBJECT_NAMES
}
virtual ~NameProvider() = default;
/**
* Specifies a name for the garbage-collected object. Such names will never
* be hidden, as they are explicitly specified by the user of this API.
*
* @returns a human readable name for the object.
*/
virtual const char* GetHumanReadableName() const = 0;
};
} // namespace cppgc
#endif // INCLUDE_CPPGC_NAME_PROVIDER_H_
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| internal | Folder | 0755 |
|
|
| allocation.h | File | 11.61 KB | 0644 |
|
| common.h | File | 643 B | 0644 |
|
| cross-thread-persistent.h | File | 14.81 KB | 0644 |
|
| custom-space.h | File | 2.4 KB | 0644 |
|
| default-platform.h | File | 2.18 KB | 0644 |
|
| ephemeron-pair.h | File | 804 B | 0644 |
|
| explicit-management.h | File | 3.29 KB | 0644 |
|
| garbage-collected.h | File | 3.11 KB | 0644 |
|
| heap-consistency.h | File | 11.74 KB | 0644 |
|
| heap-handle.h | File | 1.26 KB | 0644 |
|
| heap-state.h | File | 2.57 KB | 0644 |
|
| heap-statistics.h | File | 3.89 KB | 0644 |
|
| heap.h | File | 5.7 KB | 0644 |
|
| liveness-broker.h | File | 2.34 KB | 0644 |
|
| macros.h | File | 1.31 KB | 0644 |
|
| member.h | File | 23.55 KB | 0644 |
|
| name-provider.h | File | 1.99 KB | 0644 |
|
| object-size-trait.h | File | 1.6 KB | 0644 |
|
| persistent.h | File | 13.61 KB | 0644 |
|
| platform.h | File | 5.9 KB | 0644 |
|
| prefinalizer.h | File | 2.88 KB | 0644 |
|
| process-heap-statistics.h | File | 1009 B | 0644 |
|
| sentinel-pointer.h | File | 1.18 KB | 0644 |
|
| source-location.h | File | 414 B | 0644 |
|
| testing.h | File | 2.96 KB | 0644 |
|
| trace-trait.h | File | 3.4 KB | 0644 |
|
| type-traits.h | File | 8.45 KB | 0644 |
|
| visitor.h | File | 18.08 KB | 0644 |
|