Home
last modified time | relevance | path

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

/third_party/protobuf/csharp/src/Google.Protobuf.Test/
DReadOnlySequenceFactory.cs47 …public static ReadOnlySequence<byte> CreateWithContent(byte[] data, int segmentSize = 1, bool addE… in CreateWithContent() argument
60 while (segment.Count < segmentSize && currentIndex < data.Length) in CreateWithContent()
/third_party/uboot/u-boot-2020.01/lib/zstd/
Dhuf_decompress.c243 const size_t segmentSize = (dstSize + 3) / 4; in HUF_decompress4X2_usingDTable_internal() local
244 BYTE *const opStart2 = ostart + segmentSize; in HUF_decompress4X2_usingDTable_internal()
245 BYTE *const opStart3 = opStart2 + segmentSize; in HUF_decompress4X2_usingDTable_internal()
246 BYTE *const opStart4 = opStart3 + segmentSize; in HUF_decompress4X2_usingDTable_internal()
702 size_t const segmentSize = (dstSize + 3) / 4; in HUF_decompress4X4_usingDTable_internal() local
703 BYTE *const opStart2 = ostart + segmentSize; in HUF_decompress4X4_usingDTable_internal()
704 BYTE *const opStart3 = opStart2 + segmentSize; in HUF_decompress4X4_usingDTable_internal()
705 BYTE *const opStart4 = opStart3 + segmentSize; in HUF_decompress4X4_usingDTable_internal()
/third_party/gptfdisk/
Dgpt.cc2285 uint64_t start, firstBlock, lastBlock, segmentSize, selectedSize = 0, selectedSegment = 0; in FindFirstInLargest() local
2292 segmentSize = lastBlock - firstBlock + UINT32_C(1); in FindFirstInLargest()
2293 if (segmentSize > selectedSize) { in FindFirstInLargest()
2294 selectedSize = segmentSize; in FindFirstInLargest()
2354 uint64_t segmentSize; // size of segment in blocks in FindFreeBlocks() local
2363 segmentSize = lastBlock - firstBlock + UINT64_C(1); in FindFreeBlocks()
2364 if (segmentSize > *largestSegment) { in FindFreeBlocks()
2365 *largestSegment = segmentSize; in FindFreeBlocks()
2367 totalFound += segmentSize; in FindFreeBlocks()
Dbasicmbr.cc1094 uint64_t segmentSize; // size of segment in blocks in MakeBiggestPart() local
1104 segmentSize = lastBlock - firstBlock + UINT64_C(1); in MakeBiggestPart()
1105 if (segmentSize > selectedSize) { in MakeBiggestPart()
1106 selectedSize = segmentSize; in MakeBiggestPart()
/third_party/protobuf/csharp/src/Google.Protobuf.Benchmarks/
DParseRawPrimitivesBenchmark.cs93 …ted.Add(encodedSize, ReadOnlySequenceFactory.CreateWithContent(buffer, segmentSize: 128, addEmptyS… in GlobalSetup()