Module fixed_ring_buffer::fixed_buffer [−][src]
Structs
FixedBuffer | Fixed-capacity buffers, the underlying memory block of the buffer can be passed in from the outside. At this time, the recycling and release of the internal block is the responsibility of the allocator. If there is no external incoming memory block, the buffer will release the memory after all clone instances are destroyed. |
Constants
PAGE_BITS | |
PAGE_MASK | |
PAGE_SIZE |
Functions
align_size | Align size according to 4096 |
alloc_bytes_ptr | Allocate size of raw memory on the heap |
dealloc_bytes_ptr | Release size of heap memory |