Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Static Public Member Functions | List of all members
dart::LibraryLookupTraits Class Reference

Static Public Member Functions

static const char * Name ()
 
static bool ReportStats ()
 
static bool IsMatch (const Object &a, const Object &b)
 
static uword Hash (const Object &key)
 
static ObjectPtr NewKey (const String &str)
 

Detailed Description

Definition at line 14626 of file object.cc.

Member Function Documentation

◆ 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 }
#define ASSERT(E)
static bool b
struct MyStruct a[10]

◆ Name()

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

Definition at line 14628 of file object.cc.

14628{ return "LibraryLookupTraits"; }

◆ NewKey()

static ObjectPtr dart::LibraryLookupTraits::NewKey ( const String str)
inlinestatic

Definition at line 14641 of file object.cc.

14641{ return str.ptr(); }

◆ ReportStats()

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

Definition at line 14629 of file object.cc.

14629{ return false; }

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