Definition at line 14579 of file object.cc.
◆ Hash()
static uword dart::LibraryLookupTraits::Hash |
( |
const Object & |
key | ) |
|
|
inlinestatic |
Definition at line 14592 of file object.cc.
14592{
return String::Cast(
key).Hash(); }
◆ IsMatch()
static bool dart::LibraryLookupTraits::IsMatch |
( |
const Object & |
a, |
|
|
const Object & |
b |
|
) |
| |
|
inlinestatic |
Definition at line 14584 of file object.cc.
14584 {
14585 const String& a_str = String::Cast(
a);
14586 const String& b_str = String::Cast(
b);
14587
14588 ASSERT(a_str.HasHash() && b_str.HasHash());
14589 return a_str.Equals(b_str);
14590 }
◆ Name()
static const char * dart::LibraryLookupTraits::Name |
( |
| ) |
|
|
inlinestatic |
Definition at line 14581 of file object.cc.
14581{ return "LibraryLookupTraits"; }
◆ NewKey()
Definition at line 14594 of file object.cc.
14594{ 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