/external/leveldb/util/ |
D | histogram.cc | 174 num_ = 0; in Clear() 191 num_++; in Add() 199 num_ += other.num_; in Merge() 210 double threshold = num_ * (p / 100.0); in Percentile() 231 if (num_ == 0.0) return 0; in Average() 232 return sum_ / num_; in Average() 236 if (num_ == 0.0) return 0; in StandardDeviation() 237 double variance = (sum_squares_ * num_ - sum_ * sum_) / (num_ * num_); in StandardDeviation() 245 num_, Average(), StandardDeviation()); in ToString() 248 (num_ == 0.0 ? 0.0 : min_), Median(), max_); in ToString() [all …]
|
D | histogram.h | 35 double num_; variable
|
/external/tensorflow/tensorflow/core/lib/histogram/ |
D | histogram.cc | 78 num_ = proto.num(); in DecodeFromProto() 94 num_ = 0; in Clear() 111 num_++; in Add() 127 if (num_ == 0.0) return 0.0; in Percentile() 129 double threshold = num_ * (p / 100.0); in Percentile() 160 if (num_ == 0.0) return 0; in Average() 161 return sum_ / num_; in Average() 165 if (num_ == 0.0) return 0; in StandardDeviation() 166 double variance = (sum_squares_ * num_ - sum_ * sum_) / (num_ * num_); in StandardDeviation() 173 snprintf(buf, sizeof(buf), "Count: %.0f Average: %.4f StdDev: %.2f\n", num_, in ToString() [all …]
|
D | histogram.h | 90 double num_; variable
|
/external/tensorflow/tensorflow/core/lib/random/ |
D | distribution_sampler.h | 55 int idx = rand->Uniform(num_); in Sample() 62 int num() const { return num_; } in num() 66 DCHECK_LT(idx, num_); in prob() 71 DCHECK_LT(idx, num_); in alt() 76 DCHECK_LT(idx, num_); in set_prob() 81 DCHECK_LT(idx, num_); in set_alt() 85 int num_; variable
|
D | distribution_sampler.cc | 28 num_ = n; in DistributionSampler()
|
/external/leveldb/benchmarks/ |
D | db_bench_tree_db.cc | 135 int num_; member in leveldb::Benchmark 158 std::fprintf(stdout, "Entries: %d\n", num_); in PrintHeader() 160 ((static_cast<int64_t>(kKeySize + FLAGS_value_size) * num_) / in PrintHeader() 164 (((kKeySize + FLAGS_value_size * FLAGS_compression_ratio) * num_) / in PrintHeader() 298 num_(FLAGS_num), in Benchmark() 345 Write(write_sync, SEQUENTIAL, FRESH, num_, FLAGS_value_size, 1); in Run() 348 Write(write_sync, RANDOM, FRESH, num_, FLAGS_value_size, 1); in Run() 351 Write(write_sync, RANDOM, EXISTING, num_, FLAGS_value_size, 1); in Run() 355 Write(write_sync, RANDOM, FRESH, num_ / 100, FLAGS_value_size, 1); in Run() 359 Write(write_sync, SEQUENTIAL, FRESH, num_ / 100, FLAGS_value_size, 1); in Run() [all …]
|
D | db_bench_sqlite3.cc | 168 int num_; member in leveldb::Benchmark 187 std::fprintf(stdout, "Entries: %d\n", num_); in PrintHeader() 189 ((static_cast<int64_t>(kKeySize + FLAGS_value_size) * num_) / in PrintHeader() 321 num_(FLAGS_num), in Benchmark() 368 Write(write_sync, SEQUENTIAL, FRESH, num_, FLAGS_value_size, 1); in Run() 371 Write(write_sync, SEQUENTIAL, FRESH, num_, FLAGS_value_size, 1000); in Run() 374 Write(write_sync, RANDOM, FRESH, num_, FLAGS_value_size, 1); in Run() 377 Write(write_sync, RANDOM, FRESH, num_, FLAGS_value_size, 1000); in Run() 380 Write(write_sync, RANDOM, EXISTING, num_, FLAGS_value_size, 1); in Run() 383 Write(write_sync, RANDOM, EXISTING, num_, FLAGS_value_size, 1000); in Run() [all …]
|
D | db_bench.cc | 374 int num_; member in leveldb::Benchmark 391 std::fprintf(stdout, "Entries: %d\n", num_); in PrintHeader() 393 ((static_cast<int64_t>(kKeySize + FLAGS_value_size) * num_) / in PrintHeader() 397 (((kKeySize + FLAGS_value_size * FLAGS_compression_ratio) * num_) / in PrintHeader() 468 num_(FLAGS_num), in Benchmark() 510 num_ = FLAGS_num; in Run() 522 num_ /= 10000; in Run() 523 if (num_ < 1) num_ = 1; in Run() 539 num_ /= 1000; in Run() 544 num_ /= 1000; in Run() [all …]
|
/external/libcxx/test/std/containers/sequences/list/list.ops/ |
D | sort_comp.pass.cpp | 25 throwingLess() : num_(1) {} in throwingLess() 26 throwingLess(int num) : num_(num) {} in throwingLess() 30 if ( --num_ == 0) throw 1; in operator ()() 34 mutable int num_; member
|
/external/brotli/c/enc/ |
D | hash_longest_match_inc.h | 51 uint16_t* num_; /* uint16_t[bucket_size]; */ member 71 self->num_ = (uint16_t*)common->extra; in FN() 72 self->buckets_ = (uint32_t*)(&self->num_[self->bucket_size_]); in FN() 81 uint16_t* BROTLI_RESTRICT num = self->num_; in FN() 112 const size_t minor_ix = self->num_[key] & self->block_mask_; in FN() 115 ++self->num_[key]; in FN() 166 uint16_t* BROTLI_RESTRICT num = self->num_; in FN()
|
D | hash_longest_match64_inc.h | 54 uint16_t* num_; /* uint16_t[bucket_size]; */ member 74 self->num_ = (uint16_t*)common->extra; in FN() 75 self->buckets_ = (uint32_t*)&self->num_[self->bucket_size_]; in FN() 81 uint16_t* BROTLI_RESTRICT num = self->num_; in FN() 112 uint16_t* BROTLI_RESTRICT num = self->num_; in FN() 170 uint16_t* BROTLI_RESTRICT num = self->num_; in FN()
|
/external/cronet/buildtools/third_party/libc++/trunk/test/std/containers/sequences/list/list.ops/ |
D | sort_comp.pass.cpp | 28 throwingLess() : num_(1) {} in throwingLess() 29 throwingLess(int num) : num_(num) {} in throwingLess() 33 if ( --num_ == 0) throw 1; in operator ()() 37 mutable int num_; member
|
/external/cronet/third_party/brotli/enc/ |
D | hash_longest_match_inc.h | 51 uint16_t* num_; /* uint16_t[bucket_size]; */ member 67 self->num_ = (uint16_t*)common->extra[0]; in FN() 77 uint16_t* BROTLI_RESTRICT num = self->num_; in FN() 108 const size_t minor_ix = self->num_[key] & self->block_mask_; in FN() 111 ++self->num_[key]; in FN() 162 uint16_t* BROTLI_RESTRICT num = self->num_; in FN()
|
D | hash_longest_match64_inc.h | 54 uint16_t* num_; /* uint16_t[bucket_size]; */ member 74 self->num_ = (uint16_t*)common->extra[0]; in FN() 81 uint16_t* BROTLI_RESTRICT num = self->num_; in FN() 112 uint16_t* BROTLI_RESTRICT num = self->num_; in FN() 170 uint16_t* BROTLI_RESTRICT num = self->num_; in FN()
|
/external/leveldb/table/ |
D | filter_block.cc | 79 : policy_(policy), data_(nullptr), offset_(nullptr), num_(0), base_lg_(0) { in FilterBlockReader() 87 num_ = (n - 5 - last_word) / 4; in FilterBlockReader() 92 if (index < num_) { in KeyMayMatch()
|
D | filter_block.h | 62 size_t num_; // Number of entries in offset array variable
|
/external/mesa3d/src/gallium/auxiliary/driver_rbug/ |
D | rbug_screen.h | 73 scr->num_##name++; \ 81 scr->num_##name--; \
|
/external/grpc-grpc/src/csharp/Grpc.Examples/ |
D | Math.cs | 518 num_ = other.num_; in Num() 529 private long num_; field in Math.Num 532 get { return num_; } 534 num_ = value;
|
/external/rust/crates/quiche/deps/boringssl/src/crypto/bio/ |
D | pair.c | 227 static int bio_write(BIO *bio, const char *buf, int num_) { in bio_write() argument 228 size_t num = num_; in bio_write()
|
/external/boringssl/src/crypto/bio/ |
D | pair.c | 228 static int bio_write(BIO *bio, const char *buf, int num_) { in bio_write() argument 229 size_t num = num_; in bio_write()
|
/external/cronet/third_party/boringssl/src/crypto/bio/ |
D | pair.c | 228 static int bio_write(BIO *bio, const char *buf, int num_) { in bio_write() argument 229 size_t num = num_; in bio_write()
|
/external/freetype/src/cff/ |
D | cffparse.c | 1124 FT_FIELD_OFFSET( num_ ## name ) \ 1178 FT_FIELD_OFFSET( num_ ## name ), \
|
/external/freetype/include/freetype/internal/ |
D | psaux.h | 300 FT_FIELD_OFFSET( num_ ## _fname ), \
|
/external/python/cffi/c/ |
D | parse_c_type.c | 475 ctx->num_##FIELD, search, search_len); \
|