#include <object.h>
Definition at line 10150 of file object.h.
◆ CanonicalizeHash()
uint32_t dart::Symbol::CanonicalizeHash |
( |
Thread * |
thread, |
|
|
const Instance & |
instance |
|
) |
| |
|
static |
Definition at line 20299 of file object.cc.
20299 {
20301
20302 auto zone = thread->zone();
20303 auto object_store = thread->isolate_group()->object_store();
20304
20305 const auto& symbol_name_field =
20307 ASSERT(!symbol_name_field.IsNull());
20308
20309
20312 const uint32_t arbitrary_prime = 664597;
20313 return 0x1fffffff & (arbitrary_prime *
name.CanonicalizeHash());
20314}
static bool IsSymbolCid(Thread *thread, classid_t class_id)
◆ IsSymbolCid()
Definition at line 20293 of file object.cc.
20293 {
20294 auto object_store = thread->isolate_group()->object_store();
20296}
intptr_t GetClassId() const
The documentation for this class was generated from the following files:
- third_party/dart-lang/sdk/runtime/vm/object.h
- third_party/dart-lang/sdk/runtime/vm/object.cc