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

Detailed Description

Definition at line 14 of file closure_functions_cache.cc.

Member Function Documentation

◆ Hash()

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

Definition at line 21 of file closure_functions_cache.cc.

21{ return Function::Cast(key).Hash(); }

◆ IsMatch()

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

Definition at line 18 of file closure_functions_cache.cc.

18 {
19 return a.ptr() == b.ptr();
20 }
static bool b
struct MyStruct a[10]

◆ Name()

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

Definition at line 16 of file closure_functions_cache.cc.

16{ return "FunctionMapTraits"; }

◆ ReportStats()

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

Definition at line 17 of file closure_functions_cache.cc.

17{ return false; }

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