Flutter Engine
The Flutter Engine
Static Public Member Functions | List of all members
dart::LibraryPrefixMapTraits Class Reference

Static Public Member Functions

static bool ReportStats ()
 
static const char * Name ()
 
static bool IsMatch (const Object &a, const Object &b)
 
static uword Hash (const Object &obj)
 

Detailed Description

Definition at line 1716 of file isolate.cc.

Member Function Documentation

◆ Hash()

static uword dart::LibraryPrefixMapTraits::Hash ( const Object obj)
inlinestatic

Definition at line 1728 of file isolate.cc.

1728 {
1729 auto& prefix = LibraryPrefix::Cast(obj);
1730 return String::Hash(prefix.name());
1731 }
uword Hash() const
Definition: object.h:10216

◆ IsMatch()

static bool dart::LibraryPrefixMapTraits::IsMatch ( const Object a,
const Object b 
)
inlinestatic

Definition at line 1721 of file isolate.cc.

1721 {
1722 if (!a.IsLibraryPrefix() || !b.IsLibraryPrefix()) {
1723 return false;
1724 }
1725 return a.ptr() == b.ptr();
1726 }
static bool b
struct MyStruct a[10]

◆ Name()

static const char * dart::LibraryPrefixMapTraits::Name ( )
inlinestatic

Definition at line 1719 of file isolate.cc.

1719{ return "LibraryPrefixMapTraits"; }

◆ ReportStats()

static bool dart::LibraryPrefixMapTraits::ReportStats ( )
inlinestatic

Definition at line 1718 of file isolate.cc.

1718{ return false; }

The documentation for this class was generated from the following file: