Flutter Engine
The Flutter Engine
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 14579 of file object.cc.

Member Function Documentation

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

◆ Name()

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

Definition at line 14581 of file object.cc.

14581{ return "LibraryLookupTraits"; }

◆ NewKey()

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

Definition at line 14594 of file object.cc.

14594{ return str.ptr(); }

◆ ReportStats()

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

Definition at line 14582 of file object.cc.

14582{ return false; }

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