#include <object.h>
Definition at line 10129 of file object.h.
◆ CanonicalizeHash()
uint32_t dart::Symbol::CanonicalizeHash |
( |
Thread * |
thread, |
|
|
const Instance & |
instance |
|
) |
| |
|
static |
Definition at line 20340 of file object.cc.
20340 {
20342
20343 auto zone = thread->zone();
20344 auto object_store = thread->isolate_group()->object_store();
20345
20346 const auto& symbol_name_field =
20348 ASSERT(!symbol_name_field.IsNull());
20349
20350
20353 const uint32_t arbitrary_prime = 664597;
20354 return 0x1fffffff & (arbitrary_prime *
name.CanonicalizeHash());
20355}
static bool IsSymbolCid(Thread *thread, classid_t class_id)
◆ IsSymbolCid()
Definition at line 20334 of file object.cc.
20334 {
20335 auto object_store = thread->isolate_group()->object_store();
20337}
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