Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
TestKey Struct Reference
Inheritance diagram for TestKey:
SkResourceCache::Key SkResourceCache::Key

Public Member Functions

 TestKey (int sharedID, int32_t data)
 
- Public Member Functions inherited from SkResourceCache::Key
void init (void *nameSpace, uint64_t sharedID, size_t dataSize)
 
size_t size () const
 
void * getNamespace () const
 
uint64_t getSharedID () const
 
uint32_t hash () const
 
bool operator== (const Key &other) const
 

Public Attributes

int32_t fData
 

Detailed Description

Definition at line 229 of file SkResourceCacheTest.cpp.

Constructor & Destructor Documentation

◆ TestKey()

TestKey::TestKey ( int  sharedID,
int32_t  data 
)
inline

Definition at line 232 of file SkResourceCacheTest.cpp.

232 : fData(data) {
233 this->init(&gTestNamespace, sharedID, sizeof(fData));
234 }
static void * gTestNamespace
void init(void *nameSpace, uint64_t sharedID, size_t dataSize)

Member Data Documentation

◆ fData

int32_t TestKey::fData

Definition at line 230 of file SkResourceCacheTest.cpp.


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