/external/tensorflow/tensorflow/core/kernels/boosted_trees/quantiles/ |
D | weighted_quantiles_summary.h | 196 void Compress(int64 size_hint, double min_eps = 0) { 198 size_hint = std::max(size_hint, int64{2}); 199 if (entries_.size() <= size_hint) { 204 double eps_delta = TotalWeight() * std::max(1.0 / size_hint, min_eps); 214 add_accumulator += size_hint;
|
/external/tensorflow/tensorflow/contrib/boosted_trees/lib/quantiles/ |
D | weighted_quantiles_summary.h | 188 void Compress(int64 size_hint, double min_eps = 0) { 190 size_hint = std::max(size_hint, int64{2}); 191 if (entries_.size() <= size_hint) { 196 double eps_delta = TotalWeight() * std::max(1.0 / size_hint, min_eps); 206 add_accumulator += size_hint;
|
/external/brotli/c/enc/ |
D | quality.h | 125 } else if (params->quality == 4 && params->size_hint >= (1 << 20)) { in ChooseHasher() 131 } else if (params->size_hint >= (1 << 20) && params->lgwin >= 19) { in ChooseHasher()
|
D | params.h | 36 size_t size_hint; member
|
D | encode.c | 162 state->params.size_hint = value; in BrotliEncoderSetParameter() 386 size_t start_pos, size_t length, size_t mask, int quality, size_t size_hint, in ShouldUseComplexStaticContextMap() argument 408 if (size_hint < (1 << 20)) { in ShouldUseComplexStaticContextMap() 466 size_t start_pos, size_t length, size_t mask, int quality, size_t size_hint, in DecideOverLiteralContextModeling() argument 471 input, start_pos, length, mask, quality, size_hint, in DecideOverLiteralContextModeling() 601 params->size_hint, &num_literal_contexts, in WriteMetaBlockInternal() 715 params->size_hint = 0; in BrotliEncoderInitParams() 1742 if (s->params.size_hint == 0) { in UpdateSizeHint() 1752 s->params.size_hint = total; in UpdateSizeHint()
|
/external/google-breakpad/src/common/ |
D | memory.h | 199 wasteful_vector(PageAllocator* allocator, unsigned size_hint = 16) 201 std::vector<T, PageStdAllocator<T> >::reserve(size_hint);
|
/external/protobuf/ruby/ext/google/protobuf_c/ |
D | encode_decode.c | 134 size_t size_hint) { in DEFINE_APPEND_HANDLER() 145 size_t size_hint) { in appendbytes_handler() argument 156 size_t size_hint) { in str_handler() argument 168 size_t size_hint) { in bytes_handler() argument 339 size_t size_hint) { in DEFINE_ONEOF_HANDLER() 352 size_t size_hint) { in oneofbytes_handler() argument 793 static void *stringsink_start(void *_sink, const void *hd, size_t size_hint) { in stringsink_start() argument
|
D | upb.h | 4506 size_t size_hint); 5926 bool StartString(Handlers::Selector s, size_t size_hint, Sink* sub); 5973 bool Start(size_t size_hint, void **subc); 6023 UPB_INLINE bool upb_bytessink_start(upb_bytessink *s, size_t size_hint, 6034 size_hint); 6176 size_t size_hint, upb_sink *sub) { 6187 sub->closure = startstr(s->closure, hd, size_hint); 6274 inline bool Sink::StartString(Handlers::Selector sel, size_t size_hint, 6276 return upb_sink_startstr(this, sel, size_hint, sub); 6307 inline bool BytesSink::Start(size_t size_hint, void **subc) { [all …]
|
D | upb.c | 9028 void *upb_pbdecoder_startbc(void *closure, const void *pc, size_t size_hint) { in upb_pbdecoder_startbc() argument 9030 UPB_UNUSED(size_hint); in upb_pbdecoder_startbc() 9040 void *upb_pbdecoder_startjit(void *closure, const void *hd, size_t size_hint) { in upb_pbdecoder_startjit() argument 9043 UPB_UNUSED(size_hint); in upb_pbdecoder_startjit() 9602 static void *encode_startstr(void *c, const void *hd, size_t size_hint) { in encode_startstr() argument 9603 UPB_UNUSED(size_hint); in encode_startstr() 10026 size_t size_hint) { in textprinter_startstr() argument 10029 UPB_UNUSED(size_hint); in textprinter_startstr() 12460 size_t size_hint) { in scalar_startstr() argument 12463 UPB_UNUSED(size_hint); in scalar_startstr() [all …]
|
/external/perfetto/src/tracing/core/ |
D | shared_memory_arbiter_impl.cc | 64 size_t size_hint) { in GetNewChunk() argument 65 PERFETTO_DCHECK(size_hint == 0); // Not implemented yet. in GetNewChunk()
|
D | shared_memory_arbiter_impl.h | 73 size_t size_hint = 0);
|
/external/protobuf/php/ext/google/protobuf/ |
D | message.c | 88 static void *stringsink_start(void *_sink, const void *hd, size_t size_hint) { in stringsink_start() argument
|
D | upb.h | 3810 size_t size_hint); 5491 bool StartString(Handlers::Selector s, size_t size_hint, Sink* sub); 5538 bool Start(size_t size_hint, void **subc); 5588 UPB_INLINE bool upb_bytessink_start(upb_bytessink *s, size_t size_hint, 5599 size_hint); 5741 size_t size_hint, upb_sink *sub) { 5752 sub->closure = startstr(s->closure, hd, size_hint); 5839 inline bool Sink::StartString(Handlers::Selector sel, size_t size_hint, 5841 return upb_sink_startstr(this, sel, size_hint, sub); 5872 inline bool BytesSink::Start(size_t size_hint, void **subc) { [all …]
|
D | upb.c | 8317 void *upb_pbdecoder_startbc(void *closure, const void *pc, size_t size_hint) { in upb_pbdecoder_startbc() argument 8319 UPB_UNUSED(size_hint); in upb_pbdecoder_startbc() 8329 void *upb_pbdecoder_startjit(void *closure, const void *hd, size_t size_hint) { in upb_pbdecoder_startjit() argument 8332 UPB_UNUSED(size_hint); in upb_pbdecoder_startjit() 8891 static void *encode_startstr(void *c, const void *hd, size_t size_hint) { in encode_startstr() argument 8892 UPB_UNUSED(size_hint); in encode_startstr() 9352 size_t size_hint) { in textprinter_startstr() argument 9355 UPB_UNUSED(size_hint); in textprinter_startstr() 11643 size_t size_hint) { in scalar_startstr() argument 11646 UPB_UNUSED(size_hint); in scalar_startstr() [all …]
|
/external/python/cpython3/Modules/_io/ |
D | textio.c | 1671 textiowrapper_read_chunk(textio *self, Py_ssize_t size_hint) in textiowrapper_read_chunk() argument 1731 if (size_hint > 0) { in textiowrapper_read_chunk() 1732 size_hint = (Py_ssize_t)(Py_MAX(self->b2cratio, 1.0) * size_hint); in textiowrapper_read_chunk() 1734 chunk_size = PyLong_FromSsize_t(Py_MAX(self->chunk_size, size_hint)); in textiowrapper_read_chunk()
|
/external/brotli/c/tools/ |
D | brotli.c | 956 uint32_t size_hint = context->input_file_length < (1 << 30) ? in CompressFiles() local 958 BrotliEncoderSetParameter(s, BROTLI_PARAM_SIZE_HINT, size_hint); in CompressFiles()
|
/external/tensorflow/tensorflow/core/grappler/optimizers/ |
D | function_optimizer.cc | 491 int size_hint = 0) { in GetActiveOutputs() argument 493 active_outputs.reserve(static_cast<size_t>(size_hint)); in GetActiveOutputs()
|