HomeSort by relevance Sort by last modified time
    Searched refs:counts_ (Results 1 - 7 of 7) sorted by null

  /external/libtextclassifier/lang_id/
language-identifier-features.cc 37 counts_.assign(ngram_id_dimension_, 0);
48 // Invariant 1: counts_.size() == ngram_id_dimension_. Holds at the end of
49 // the constructor. After that, no method changes counts_.size().
50 TC_DCHECK_EQ(counts_.size(), ngram_id_dimension_);
95 // Hence, by Invariant 1 (above), the access counts_[ngram_id] is safe.
96 int &ref_to_count_for_ngram = counts_[ngram_id];
127 const float weight = counts_[ngram_id] / norm;
131 // Clear up counts_, for the next invocation of Evaluate().
132 counts_[ngram_id] = 0;
language-identifier-features.h 55 // Auxiliary for Evaluate(). Fills counts_ and non_zero_count_indices_ (see
59 // counts_[i] is the count of all ngrams with id i. Work data for Evaluate().
62 mutable std::vector<int> counts_; member in class:libtextclassifier::nlp_core::lang_id::ContinuousBagOfNgramsFunction
64 // Indices of non-zero elements of counts_. See comments for counts_.
  /external/libchrome/base/metrics/
sample_vector.cc 21 counts_(&local_counts_[0]),
33 counts_(counts),
44 subtle::NoBarrier_AtomicIncrement(&counts_[bucket_index], count);
51 return subtle::NoBarrier_Load(&counts_[bucket_index]);
57 count += subtle::NoBarrier_Load(&counts_[i]);
64 return subtle::NoBarrier_Load(&counts_[bucket_index]);
69 new SampleVectorIterator(counts_, counts_size_, bucket_ranges_));
86 &counts_[index], op == HistogramSamples::ADD ? count : -count);
131 : counts_(&(*counts)[0]),
143 : counts_(counts)
    [all...]
sample_vector.h 65 HistogramBase::AtomicCount* counts_; member in class:base::SampleVector
96 const HistogramBase::AtomicCount* counts_; member in class:base::SampleVectorIterator
histogram_unittest.cc 492 snapshot->counts_[3] += 100; // Sample count won't match redundant count.
495 snapshot->counts_[2] -= 200;
500 snapshot->counts_[1] += 100;
  /external/v8/src/
basic-block-profiler.cc 13 : n_blocks_(n_blocks), block_ids_(n_blocks_), counts_(n_blocks_, 0) {}
47 return &counts_[offset];
53 counts_[i] = 0;
104 os << "block " << d.block_ids_[i] << " : " << d.counts_[i] << std::endl;
basic-block-profiler.h 24 const uint32_t* counts() const { return &counts_[0]; }
44 std::vector<uint32_t> counts_; member in class:v8::internal::BasicBlockProfiler::Data

Completed in 1943 milliseconds