Home
last modified time | relevance | path

Searched refs:kInitialBufferSize (Results 1 – 5 of 5) sorted by relevance

/haiku/src/kits/app/
H A DLinkSender.cpp32 static const size_t kWatermark = kInitialBufferSize - 24;
234 if (newSize <= kInitialBufferSize) in AdjustBuffer()
235 newSize = kInitialBufferSize; in AdjustBuffer()
238 else if (newSize > kInitialBufferSize) in AdjustBuffer()
H A Dlink_message.h17 static const size_t kInitialBufferSize = 2048; variable
H A DLinkReceiver.cpp166 if (kInitialBufferSize == kMaxBufferSize) { in AdjustReplyBuffer()
172 fRecvBuffer = (char *)malloc(kInitialBufferSize); in AdjustReplyBuffer()
176 fRecvBufferSize = kInitialBufferSize; in AdjustReplyBuffer()
194 if (bufferSize <= (ssize_t)kInitialBufferSize) in AdjustReplyBuffer()
195 bufferSize = (ssize_t)kInitialBufferSize; in AdjustReplyBuffer()
/haiku/src/tests/add-ons/kernel/file_systems/shared/consistency_check/
H A Dconsistency_check.cpp33 const size_t kInitialBufferSize = 1 * 1024 * 1024; variable
40 : AdaptiveBuffering(kInitialBufferSize, kMaxBufferSize, 3), in SHAProcessor()
H A Dgenerate_hashs.cpp33 const size_t kInitialBufferSize = 1 * 1024 * 1024; variable
40 : AdaptiveBuffering(kInitialBufferSize, kMaxBufferSize, 3), in SHAProcessor()