Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Static Public Member Functions | List of all members
dart::RecordFieldNamesMapTraits 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 Array &arr)
 

Detailed Description

Definition at line 27963 of file object.cc.

Member Function Documentation

◆ Hash()

static uword dart::RecordFieldNamesMapTraits::Hash ( const Object key)
inlinestatic

Definition at line 27972 of file object.cc.

27972 {
27973 return Array::Cast(key).CanonicalizeHash();
27974 }

◆ IsMatch()

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

Definition at line 27968 of file object.cc.

27968 {
27969 return Array::Cast(a).CanonicalizeEquals(Array::Cast(b));
27970 }
static bool b
struct MyStruct a[10]

◆ Name()

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

Definition at line 27965 of file object.cc.

27965{ return "RecordFieldNamesMapTraits"; }

◆ NewKey()

static ObjectPtr dart::RecordFieldNamesMapTraits::NewKey ( const Array arr)
inlinestatic

Definition at line 27976 of file object.cc.

27976{ return arr.ptr(); }

◆ ReportStats()

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

Definition at line 27966 of file object.cc.

27966{ return false; }

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