Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
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 1680 of file isolate.cc.

Member Function Documentation

◆ Hash()

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

Definition at line 1692 of file isolate.cc.

1692 {
1693 auto& prefix = LibraryPrefix::Cast(obj);
1694 return String::Hash(prefix.name());
1695 }
uword Hash() const
Definition object.h:10195

◆ IsMatch()

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

Definition at line 1685 of file isolate.cc.

1685 {
1686 if (!a.IsLibraryPrefix() || !b.IsLibraryPrefix()) {
1687 return false;
1688 }
1689 return a.ptr() == b.ptr();
1690 }
static bool b
struct MyStruct a[10]

◆ Name()

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

Definition at line 1683 of file isolate.cc.

1683{ return "LibraryPrefixMapTraits"; }

◆ ReportStats()

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

Definition at line 1682 of file isolate.cc.

1682{ return false; }

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