OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:kSlotCount
(Results
1 - 3
of
3
) sorted by null
/system/chre/apps/chqts/src/shared/
dumb_allocator.h
61
* This will allow up to
kSlotCount
allocations of up to kAllocSize bytes
62
* each, and costs (
kSlotCount
* kAllocSize) bytes of underlying storage.
64
template<size_t kAllocSize, size_t
kSlotCount
>
68
: DumbAllocatorBase(kAllocSize,
kSlotCount
, mRawMemoryArray) {}
71
* If "bytes" <= kAllocSize, and there are less than
kSlotCount
allocations,
99
uint8_t mRawMemoryArray[kAllocSize *
kSlotCount
];
101
static_assert(
kSlotCount
<= MaxSlotCount(), "
kSlotCount
is too high");
dumb_allocator_test.cc
22
static constexpr size_t
kSlotCount
= 5;
24
typedef nanoapp_testing::DumbAllocator<kAllocSize,
kSlotCount
> DA;
40
void *ptrs[
kSlotCount
];
41
for (size_t i = 0; i <
kSlotCount
; i++) {
52
constexpr size_t kFreeIndex =
kSlotCount
/ 2;
59
for (size_t i = 0; i <
kSlotCount
; i++) {
/external/v8/src/
frames.h
75
static const int
kSlotCount
= kSize >> kPointerSizeLog2;
[
all
...]
Completed in 1571 milliseconds