NCBI C++ ToolKit
Static Public Member Functions | List of all members
CCacheBufferResizeStrategy Class Reference

Search Toolkit Book for CCacheBufferResizeStrategy

Buffer resize strategy, to balance memory reallocs and heap consumption. More...

Static Public Member Functions

static size_t GetNewCapacity (size_t, size_t requested_size)
 

Detailed Description

Buffer resize strategy, to balance memory reallocs and heap consumption.

Definition at line 236 of file bdb_blobcache.cpp.

Member Function Documentation

◆ GetNewCapacity()

static size_t CCacheBufferResizeStrategy::GetNewCapacity ( size_t  ,
size_t  requested_size 
)
inlinestatic

Definition at line 239 of file bdb_blobcache.cpp.


The documentation for this class was generated from the following file:
Modified on Sun Apr 21 03:40:08 2024 by modify_doxy.py rev. 669887