Home
last modified time | relevance | path

Searched refs:BytesToWrite (Results 1 - 3 of 3) sorted by relevance

/third_party/protobuf/csharp/src/Google.Protobuf.Benchmarks/
H A DWriteRawPrimitivesBenchmark.cs77 outputBuffer = new byte[BytesToWrite]; in GlobalSetup()
85 varint32Values.Add(encodedSize, CreateRandomVarints32(random, BytesToWrite / encodedSize, encodedSize)); in GlobalSetup()
87 varint64Values.Add(encodedSize, CreateRandomVarints64(random, BytesToWrite / encodedSize, encodedSize)); in GlobalSetup()
90 doubleValues = CreateRandomDoubles(random, BytesToWrite / sizeof(double)); in GlobalSetup()
91 floatValues = CreateRandomFloats(random, BytesToWrite / sizeof(float)); in GlobalSetup()
98 stringValues.Add(encodedSize, CreateStrings(BytesToWrite / encodedSize, encodedSize)); in GlobalSetup()
99 byteStringValues.Add(encodedSize, CreateByteStrings(BytesToWrite / encodedSize, encodedSize)); in GlobalSetup()
105 nonAsciiStringValues.Add(encodedSize, CreateNonAsciiStrings(BytesToWrite / encodedSize, encodedSize)); in GlobalSetup()
114 public int BytesToWrite { get; set; } property in Google.Protobuf.Benchmarks.WriteRawPrimitivesBenchmark
205 for (int i = 0; i < BytesToWrite / encodedSiz in WriteFixed32_CodedOutputStream()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/
H A Draw_ostream.cpp239 size_t BytesToWrite = Size - (Size % NumBytes); in write() local
240 write_impl(Ptr, BytesToWrite); in write()
241 size_t BytesRemaining = Size - BytesToWrite; in write()
244 return write(Ptr + BytesToWrite, BytesRemaining); in write()
246 copy_to_buffer(Ptr + BytesToWrite, BytesRemaining); in write()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
H A Draw_ostream.cpp262 size_t BytesToWrite = Size - (Size % NumBytes); in write() local
263 write_impl(Ptr, BytesToWrite); in write()
264 size_t BytesRemaining = Size - BytesToWrite; in write()
267 return write(Ptr + BytesToWrite, BytesRemaining); in write()
269 copy_to_buffer(Ptr + BytesToWrite, BytesRemaining); in write()

Completed in 5 milliseconds