Home
last modified time | relevance | path

Searched refs:sliceLen (Results 1 – 9 of 9) sorted by relevance

/third_party/skia/third_party/externals/brotli/research/
Dsieve.cc18 static TextIdx dryRun(TextIdx sliceLen, Slot* map, TextIdx* shortcut, in dryRun() argument
38 to = i + sliceLen; in dryRun()
48 static std::string createDictionary(const uint8_t* data, TextIdx sliceLen, in createDictionary() argument
69 to = i + sliceLen; in createDictionary()
87 TextIdx sliceLen = static_cast<TextIdx>(slice_len); in sieve_generate() local
88 if (sliceLen != slice_len) { in sieve_generate()
92 if (sliceLen < 1) { in sieve_generate()
128 if (total < sliceLen) { in sieve_generate()
139 TextIdx end = total - sliceLen; in sieve_generate()
152 for (TextIdx i = 0; i < sliceLen - 1; ++i) { in sieve_generate()
[all …]
Ddurchschlag.cc258 TextIdx sliceLen = static_cast<TextIdx>(slice_len); in durchschlag_prepare() local
259 if (sliceLen != slice_len) fatal("slice_len is too large"); in durchschlag_prepare()
260 if (sliceLen < 1) fatal("slice_len is too small"); in durchschlag_prepare()
276 if (total < sliceLen) fatal("slice_len is larger than corpus size"); in durchschlag_prepare()
277 TextIdx end = total - static_cast<TextIdx>(sliceLen) + 1; in durchschlag_prepare()
288 for (TextIdx i = 0; i < sliceLen - 1; ++i) { in durchschlag_prepare()
292 TextIdx lShiftX = (lShift * (sliceLen - 1)) % hashLen; in durchschlag_prepare()
301 TextIdx v = data[i + sliceLen - 1]; in durchschlag_prepare()
310 for (TextIdx j = 0; j < sliceLen; ++j) { in durchschlag_prepare()
330 return {total, sliceLen, static_cast<TextIdx>(map.size()), in durchschlag_prepare()
[all …]
Ddictionary_generator.cc129 size_t sliceLen = 16; in main() local
219 sliceLen = readInt(arg2); in main()
220 if (sliceLen < 4 || sliceLen > 256) { in main()
307 targetSize, sliceLen, sizes, data.data())); in main()
313 targetSize, sliceLen, blockSize, sizes, data.data())); in main()
315 durchschlag_distill(sliceLen, minimumPopulation, &sizes, data.data()); in main()
318 durchschlag_purify(sliceLen, minimumPopulation, sizes, data.data()); in main()
Ddurchschlag.h33 DurchschlagTextIdx sliceLen; member
/third_party/grpc/src/csharp/Grpc.Core/Internal/
DSliceBufferSafeHandle.cs117 …sharp_slice_buffer_slice_peek(this, new UIntPtr((ulong) i), out UIntPtr sliceLen, out IntPtr dataP… in ToByteArray()
118 slices[i] = new Slice(dataPtr, (int) sliceLen.ToUInt64()); in ToByteArray()
119 totalLen += (int) sliceLen.ToUInt64(); in ToByteArray()
DBatchContextSafeHandle.cs167 UIntPtr sliceLen; in IBufferReader.TryGetNextSlice()
170 …if (0 == Native.grpcsharp_batch_context_recv_message_next_slice_peek(this, out sliceLen, out slice… in IBufferReader.TryGetNextSlice()
175 slice = new Slice(sliceDataPtr, (int) sliceLen); in IBufferReader.TryGetNextSlice()
DNativeMethods.Generated.cs911 …essage_next_slice_peek_delegate(BatchContextSafeHandle ctx, out UIntPtr sliceLen, out IntPtr slice… in grpcsharp_batch_context_recv_message_next_slice_peek_delegate() argument
997 …_delegate(SliceBufferSafeHandle sliceBuffer, UIntPtr index, out UIntPtr sliceLen, out IntPtr slice… in grpcsharp_slice_buffer_slice_peek_delegate() argument
1037 …xt_recv_message_next_slice_peek(BatchContextSafeHandle ctx, out UIntPtr sliceLen, out IntPtr slice… in grpcsharp_batch_context_recv_message_next_slice_peek() argument
1295 …lice_peek(SliceBufferSafeHandle sliceBuffer, UIntPtr index, out UIntPtr sliceLen, out IntPtr slice… in grpcsharp_slice_buffer_slice_peek() argument
1357 …xt_recv_message_next_slice_peek(BatchContextSafeHandle ctx, out UIntPtr sliceLen, out IntPtr slice… in grpcsharp_batch_context_recv_message_next_slice_peek() argument
1615 …lice_peek(SliceBufferSafeHandle sliceBuffer, UIntPtr index, out UIntPtr sliceLen, out IntPtr slice… in grpcsharp_slice_buffer_slice_peek() argument
1677 …xt_recv_message_next_slice_peek(BatchContextSafeHandle ctx, out UIntPtr sliceLen, out IntPtr slice… in grpcsharp_batch_context_recv_message_next_slice_peek() argument
1935 …lice_peek(SliceBufferSafeHandle sliceBuffer, UIntPtr index, out UIntPtr sliceLen, out IntPtr slice… in grpcsharp_slice_buffer_slice_peek() argument
1997 …xt_recv_message_next_slice_peek(BatchContextSafeHandle ctx, out UIntPtr sliceLen, out IntPtr slice… in grpcsharp_batch_context_recv_message_next_slice_peek() argument
2255 …lice_peek(SliceBufferSafeHandle sliceBuffer, UIntPtr index, out UIntPtr sliceLen, out IntPtr slice… in grpcsharp_slice_buffer_slice_peek() argument
[all …]
/third_party/grpc/src/csharp/Grpc.Core.Tests/Internal/
DFakeBufferReaderManager.cs96 int sliceLen = ((byte[]) segment.Target).Length; in TryGetNextSlice()
97 slice = new Slice(segment.AddrOfPinnedObject(), sliceLen); in TryGetNextSlice()
/third_party/grpc/templates/src/csharp/Grpc.Core/Internal/
Dnative_methods.include9 …xt_recv_message_next_slice_peek(BatchContextSafeHandle ctx, out UIntPtr sliceLen, out IntPtr slice…
95 …lice_peek(SliceBufferSafeHandle sliceBuffer, UIntPtr index, out UIntPtr sliceLen, out IntPtr slice…