Home
last modified time | relevance | path

Searched refs:num_ (Results 1 – 25 of 25) sorted by relevance

/external/leveldb/util/
Dhistogram.cc174 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 …]
Dhistogram.h35 double num_; variable
/external/tensorflow/tensorflow/core/lib/histogram/
Dhistogram.cc78 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 …]
Dhistogram.h90 double num_; variable
/external/tensorflow/tensorflow/core/lib/random/
Ddistribution_sampler.h55 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
Ddistribution_sampler.cc28 num_ = n; in DistributionSampler()
/external/leveldb/benchmarks/
Ddb_bench_tree_db.cc135 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 …]
Ddb_bench_sqlite3.cc168 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 …]
Ddb_bench.cc374 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/
Dsort_comp.pass.cpp25 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/
Dhash_longest_match_inc.h51 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()
Dhash_longest_match64_inc.h54 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/
Dsort_comp.pass.cpp28 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/
Dhash_longest_match_inc.h51 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()
Dhash_longest_match64_inc.h54 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/
Dfilter_block.cc79 : 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()
Dfilter_block.h62 size_t num_; // Number of entries in offset array variable
/external/mesa3d/src/gallium/auxiliary/driver_rbug/
Drbug_screen.h73 scr->num_##name++; \
81 scr->num_##name--; \
/external/grpc-grpc/src/csharp/Grpc.Examples/
DMath.cs518 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/
Dpair.c227 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/
Dpair.c228 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/
Dpair.c228 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/
Dcffparse.c1124 FT_FIELD_OFFSET( num_ ## name ) \
1178 FT_FIELD_OFFSET( num_ ## name ), \
/external/freetype/include/freetype/internal/
Dpsaux.h300 FT_FIELD_OFFSET( num_ ## _fname ), \
/external/python/cffi/c/
Dparse_c_type.c475 ctx->num_##FIELD, search, search_len); \