Searched refs:kDesiredGrowth (Results 1 – 8 of 8) sorted by relevance
/dports/devel/fbthrift/fbthrift-2021.12.27.00/thrift/lib/cpp2/protocol/nimble/ |
H A D | BufferingNimbleEncoder.h | 77 constexpr size_t kDesiredGrowth = (1 << 14) - 64; in flushBuffer() local 79 auto controlPair = controlBuf_->preallocate(1, kDesiredGrowth); in flushBuffer() 80 auto dataPair = dataBuf_->preallocate(kMaxBytesPerBlock, kDesiredGrowth); in flushBuffer()
|
/dports/devel/fbthrift/fbthrift-2021.12.27.00/thrift/lib/cpp/util/test/ |
H A D | VarintBenchmark.cpp | 86 constexpr size_t kDesiredGrowth = 1 << 14; in testWrite() local 87 folly::io::QueueAppender c(&q, kDesiredGrowth); in testWrite() 97 constexpr size_t kDesiredGrowth = 1 << 14; in testWrite() local 98 folly::io::QueueAppender c(&q, kDesiredGrowth); in testWrite() 110 constexpr size_t kDesiredGrowth = 1 << 14; \ 111 folly::io::QueueAppender c(&iobufQueue, kDesiredGrowth); \
|
/dports/devel/fbthrift/fbthrift-2021.12.27.00/thrift/conformance/cpp2/ |
H A D | AnySerializerTest.cpp | 32 constexpr size_t kDesiredGrowth = (1 << 14) - 64; in encode() local 33 serializer.encode(value, folly::io::QueueAppender(&queue, kDesiredGrowth)); in encode()
|
H A D | AnyRegistry.cpp | 148 constexpr size_t kDesiredGrowth = (1 << 14) - 64; in store() local 149 serializer.encode(value, folly::io::QueueAppender(&queue, kDesiredGrowth)); in store()
|
/dports/devel/fbthrift/fbthrift-2021.12.27.00/thrift/lib/cpp2/protocol/ |
H A D | DebugProtocol.cpp | 156 constexpr size_t kDesiredGrowth = (1 << 14) - 64; in setOutput() local 157 out_.reset(storage, std::min(kDesiredGrowth, maxGrowth)); in setOutput()
|
H A D | JSONProtocolCommon.h | 86 constexpr size_t kDesiredGrowth = (1 << 14) - 64; variable 87 out_.reset(queue, std::min(maxGrowth, kDesiredGrowth));
|
H A D | BinaryProtocol.h | 77 constexpr size_t kDesiredGrowth = (1 << 14) - 64; variable 78 out_.reset(queue, std::min(maxGrowth, kDesiredGrowth));
|
H A D | CompactProtocol.h | 89 constexpr size_t kDesiredGrowth = (1 << 14) - 64; variable 90 out_.reset(storage, std::min(kDesiredGrowth, maxGrowth));
|