Home
last modified time | relevance | path

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 DBufferingNimbleEncoder.h77 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 DVarintBenchmark.cpp86 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 DAnySerializerTest.cpp32 constexpr size_t kDesiredGrowth = (1 << 14) - 64; in encode() local
33 serializer.encode(value, folly::io::QueueAppender(&queue, kDesiredGrowth)); in encode()
H A DAnyRegistry.cpp148 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 DDebugProtocol.cpp156 constexpr size_t kDesiredGrowth = (1 << 14) - 64; in setOutput() local
157 out_.reset(storage, std::min(kDesiredGrowth, maxGrowth)); in setOutput()
H A DJSONProtocolCommon.h86 constexpr size_t kDesiredGrowth = (1 << 14) - 64; variable
87 out_.reset(queue, std::min(maxGrowth, kDesiredGrowth));
H A DBinaryProtocol.h77 constexpr size_t kDesiredGrowth = (1 << 14) - 64; variable
78 out_.reset(queue, std::min(maxGrowth, kDesiredGrowth));
H A DCompactProtocol.h89 constexpr size_t kDesiredGrowth = (1 << 14) - 64; variable
90 out_.reset(storage, std::min(kDesiredGrowth, maxGrowth));