Home
last modified time | relevance | path

Searched refs:counter_ (Results 1 – 2 of 2) sorted by relevance

/frameworks/ml/nn/common/random/
Dphilox_random.h130 counter_[2] = static_cast<uint32>(seed_hi); in PhiloxRandom()
131 counter_[3] = static_cast<uint32>(seed_hi >> 32); in PhiloxRandom()
135 PhiloxRandom(ResultType counter, Key key) : counter_(counter), key_(key) {} in PhiloxRandom()
143 counter_[0] += count_lo; in Skip()
144 if (counter_[0] < count_lo) { in Skip()
148 counter_[1] += count_hi; in Skip()
149 if (counter_[1] < count_hi) { in Skip()
150 if (++counter_[2] == 0) { in Skip()
151 ++counter_[3]; in Skip()
159 ResultType counter = counter_; in operator()
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/io/
Dtokenizer_unittest.cc126 : array_stream_(data, size, block_size), counter_(0) {} in TestInputStream()
133 if (counter_ % 3 == 0 || counter_ % 5 == 0) { in Next()
136 ++counter_; in Next()
139 ++counter_; in Next()
150 int counter_; member in google::protobuf::io::__anon4cc70b290111::TestInputStream