Definition at line 14626 of file object.cc.
◆ Hash()
static uword dart::LibraryLookupTraits::Hash |
( |
const Object & |
key | ) |
|
|
inlinestatic |
Definition at line 14639 of file object.cc.
14639{
return String::Cast(
key).Hash(); }
◆ IsMatch()
static bool dart::LibraryLookupTraits::IsMatch |
( |
const Object & |
a, |
|
|
const Object & |
b |
|
) |
| |
|
inlinestatic |
Definition at line 14631 of file object.cc.
14631 {
14632 const String& a_str = String::Cast(
a);
14633 const String& b_str = String::Cast(
b);
14634
14635 ASSERT(a_str.HasHash() && b_str.HasHash());
14636 return a_str.Equals(b_str);
14637 }
◆ Name()
static const char * dart::LibraryLookupTraits::Name |
( |
| ) |
|
|
inlinestatic |
Definition at line 14628 of file object.cc.
14628{ return "LibraryLookupTraits"; }
◆ NewKey()
Definition at line 14641 of file object.cc.
14641{ return str.ptr(); }
◆ ReportStats()
static bool dart::LibraryLookupTraits::ReportStats |
( |
| ) |
|
|
inlinestatic |
The documentation for this class was generated from the following file:
- third_party/dart-lang/sdk/runtime/vm/object.cc