Home
last modified time | relevance | path

Searched refs:arena_size (Results 1 – 3 of 3) sorted by relevance

/external/tensorflow/tensorflow/lite/experimental/micro/
Dsimple_tensor_allocator_test.cc99 constexpr size_t arena_size = 1024; in TF_LITE_MICRO_TEST() local
100 uint8_t arena[arena_size]; in TF_LITE_MICRO_TEST()
101 tflite::SimpleTensorAllocator allocator(arena, arena_size); in TF_LITE_MICRO_TEST()
120 constexpr size_t arena_size = 1024; in TF_LITE_MICRO_TEST() local
121 uint8_t arena[arena_size]; in TF_LITE_MICRO_TEST()
122 tflite::SimpleTensorAllocator allocator(arena, arena_size); in TF_LITE_MICRO_TEST()
136 constexpr size_t arena_size = 1024; in TF_LITE_MICRO_TEST() local
137 uint8_t arena[arena_size]; in TF_LITE_MICRO_TEST()
138 tflite::SimpleTensorAllocator allocator(arena, arena_size); in TF_LITE_MICRO_TEST()
140 uint8_t* result = allocator.AllocateMemory(arena_size, 1); in TF_LITE_MICRO_TEST()
[all …]
/external/grpc-grpc/src/core/lib/iomgr/
Derror.cc203 if ((*err)->arena_size + slots > (*err)->arena_capacity) { in get_placement()
206 if ((*err)->arena_size + slots > (*err)->arena_capacity) { in get_placement()
222 uint8_t placement = (*err)->arena_size; in get_placement()
223 (*err)->arena_size = static_cast<uint8_t>((*err)->arena_size + slots); in get_placement()
346 err->arena_size = 0; in grpc_error_create()
418 if (in->arena_capacity - in->arena_size < in copy_error_and_unref()
432 sizeof(*in) + (in->arena_size * sizeof(intptr_t)) - skip); in copy_error_and_unref()
Derror_internal.h56 uint8_t arena_size; member