Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Static Public Member Functions | Static Public Attributes | List of all members
SkContainerAllocatorTestingPeer Struct Reference

Static Public Member Functions

static size_t RoundUpCapacity (const SkContainerAllocator &a, int64_t capacity)
 
static size_t GrowthFactorCapacity (const SkContainerAllocator &a, int capacity, double growthFactor)
 

Static Public Attributes

static constexpr int64_t kCapacityMultiple = SkContainerAllocator::kCapacityMultiple
 

Detailed Description

Definition at line 13 of file SkContainersTest.cpp.

Member Function Documentation

◆ GrowthFactorCapacity()

static size_t SkContainerAllocatorTestingPeer::GrowthFactorCapacity ( const SkContainerAllocator a,
int  capacity,
double  growthFactor 
)
inlinestatic

Definition at line 18 of file SkContainersTest.cpp.

19 {
20 return a.growthFactorCapacity(capacity, growthFactor);
21 }
struct MyStruct a[10]

◆ RoundUpCapacity()

static size_t SkContainerAllocatorTestingPeer::RoundUpCapacity ( const SkContainerAllocator a,
int64_t  capacity 
)
inlinestatic

Definition at line 14 of file SkContainersTest.cpp.

14 {
15 return a.roundUpCapacity(capacity);
16 }

Member Data Documentation

◆ kCapacityMultiple

constexpr int64_t SkContainerAllocatorTestingPeer::kCapacityMultiple = SkContainerAllocator::kCapacityMultiple
staticconstexpr

Definition at line 23 of file SkContainersTest.cpp.


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