Definition at line 21 of file hash_table_test.cc.
◆ Hash() [1/2]
static uword dart::TestTraits::Hash |
( |
const char * |
key | ) |
|
|
inlinestatic |
◆ Hash() [2/2]
static uword dart::TestTraits::Hash |
( |
const Object & |
obj | ) |
|
|
inlinestatic |
◆ IsMatch() [1/2]
static bool dart::TestTraits::IsMatch |
( |
const char * |
key, |
|
|
const Object & |
obj |
|
) |
| |
|
inlinestatic |
◆ IsMatch() [2/2]
static bool dart::TestTraits::IsMatch |
( |
const Object & |
a, |
|
|
const Object & |
b |
|
) |
| |
|
inlinestatic |
Definition at line 30 of file hash_table_test.cc.
30 {
31 return a.IsString() &&
b.IsString() &&
32 String::Cast(
a).Equals(String::Cast(
b));
33 }
◆ Name()
static const char * dart::TestTraits::Name |
( |
| ) |
|
|
inlinestatic |
◆ NewKey()
static ObjectPtr dart::TestTraits::NewKey |
( |
const char * |
key | ) |
|
|
inlinestatic |
Definition at line 35 of file hash_table_test.cc.
static StringPtr New(const char *cstr, Heap::Space space=Heap::kNew)
◆ ReportStats()
static bool dart::TestTraits::ReportStats |
( |
| ) |
|
|
inlinestatic |
The documentation for this class was generated from the following file: