Searched refs:paddingValueCount (Results 1 – 1 of 1) sorted by relevance
/third_party/protobuf/csharp/src/Google.Protobuf.Benchmarks/ |
D | ParseRawPrimitivesBenchmark.cs | 69 const int paddingValueCount = 100; in GlobalSetup() 74 … CreateBufferWithRandomVarints(random, BytesToParse / encodedSize, encodedSize, paddingValueCount); in GlobalSetup() 78 …utBuffer = CreateBufferWithRandomDoubles(random, BytesToParse / sizeof(double), paddingValueCount); in GlobalSetup() 79 …nputBuffer = CreateBufferWithRandomFloats(random, BytesToParse / sizeof(float), paddingValueCount); in GlobalSetup() 80 …= CreateBufferWithRandomData(random, BytesToParse / sizeof(long), sizeof(long), paddingValueCount); in GlobalSetup() 374 …reateBufferWithRandomVarints(Random random, int valueCount, int encodedSize, int paddingValueCount) in CreateBufferWithRandomVarints() argument 378 for (int i = 0; i < valueCount + paddingValueCount; i++) in CreateBufferWithRandomVarints() 385 if (buffer.Length != encodedSize * (valueCount + paddingValueCount)) in CreateBufferWithRandomVarints() 392 …te static byte[] CreateBufferWithRandomFloats(Random random, int valueCount, int paddingValueCount) in CreateBufferWithRandomFloats() argument 396 for (int i = 0; i < valueCount + paddingValueCount; i++) in CreateBufferWithRandomFloats() [all …]
|