|
MemCacheClient
|
Byte buffer management. More...
Go to the source code of this file.
Functions | |
| static size_t | roundup (size_t nValue, size_t nBlock) |
| static size_t roundup | ( | size_t | nValue, |
| size_t | nBlock | ||
| ) | [inline, static] |
round a value up to the nearest multiple of the block
| nValue | value to be rounded up |
| nBlock | block size to round the value to |
Definition at line 107 of file ReadWriteBuffer.cpp.
Referenced by ReadWriteBuffer::GetWriteBuffer(), and ReadWriteBuffer::SetInternalBuffer().
1.7.3