| 136 | class SimpleChunkPolicy { |
| 137 | public: |
| 138 | SimpleChunkPolicy(size_t chunk_cap = SONIC_ALLOCATOR_MAX_CHUNK_CAPACITY) |
| 139 | : min_chunk_size_(chunk_cap) {} |
| 140 | |
| 141 | inline size_t ChunkSize(size_t need_alloc_size) { |
| 142 | return min_chunk_size_ > need_alloc_size ? min_chunk_size_ |
nothing calls this directly
no outgoing calls
no test coverage detected