MySQL 8.0.40
Source Code Documentation
|
#include <allocator.h>
Static Public Member Functions | |
static size_t | block_size (size_t number_of_blocks, size_t n_bytes_requested) |
Given the current number of allocated blocks by the allocator, and number of bytes actually requested by the client code, calculate the new block size. More... | |
|
inlinestatic |
Given the current number of allocated blocks by the allocator, and number of bytes actually requested by the client code, calculate the new block size.
[in] Current number of allocated blocks. [in] Number of bytes requested by the client code.