/external/webrtc/rtc_base/numerics/ |
D | moving_max_counter.h | 42 void Add(const T& sample, int64_t current_time_ms); 46 absl::optional<T> Max(int64_t current_time_ms); 70 void MovingMaxCounter<T>::Add(const T& sample, int64_t current_time_ms) { in Add() argument 71 RollWindow(current_time_ms); in Add() 82 if (samples_.empty() || samples_.back().first < current_time_ms) { in Add() 83 samples_.emplace_back(std::make_pair(current_time_ms, sample)); in Add() 88 absl::optional<T> MovingMaxCounter<T>::Max(int64_t current_time_ms) { in Max() argument 89 RollWindow(current_time_ms); in Max()
|
/external/icing/icing/result/ |
D | result-state-manager.cc | 46 const ResultRetrieverV2& result_retriever, int64_t current_time_ms) { in CacheAndRetrieveFirstPage() argument 60 result_retriever.RetrieveNextPage(*result_state, current_time_ms); in CacheAndRetrieveFirstPage() 88 current_time_ms); in CacheAndRetrieveFirstPage() 92 next_page_token = Add(std::move(result_state), current_time_ms); in CacheAndRetrieveFirstPage() 99 int64_t current_time_ms) { in Add() argument 104 token_queue_.push(std::make_pair(new_token, current_time_ms)); in Add() 112 int64_t current_time_ms) { in GetNextPage() argument 120 current_time_ms); in GetNextPage() 132 result_retriever.RetrieveNextPage(*result_state, current_time_ms); in GetNextPage() 237 int64_t result_state_ttl, int64_t current_time_ms) { in InternalInvalidateExpiredResultStates() argument [all …]
|
D | result-state-manager.h | 80 const ResultRetrieverV2& result_retriever, int64_t current_time_ms) 97 int64_t current_time_ms) ICING_LOCKS_EXCLUDED(mutex_); 145 int64_t current_time_ms) ICING_EXCLUSIVE_LOCKS_REQUIRED(mutex_); 173 int64_t current_time_ms)
|
D | result-retriever-v2.cc | 104 int64_t current_time_ms) const { in ShouldBeRemoved() 107 scored_document_hit.document_id(), current_time_ms); in ShouldBeRemoved() 157 ResultStateV2& result_state, int64_t current_time_ms) const { in RetrieveNextPage() 176 current_time_ms)) { in RetrieveNextPage()
|
/external/tensorflow/tensorflow/examples/speech_commands/ |
D | recognize_commands.cc | 36 const int64_t current_time_ms, in ProcessLatestResults() argument 47 (current_time_ms < previous_results_.front().first)) { in ProcessLatestResults() 51 current_time_ms, " that was earlier than the previous one of ", in ProcessLatestResults() 56 previous_results_.push_back({current_time_ms, latest_results}); in ProcessLatestResults() 59 const int64_t time_limit = current_time_ms - average_window_duration_ms_; in ProcessLatestResults() 68 const int64_t samples_duration = current_time_ms - earliest_time; in ProcessLatestResults() 111 time_since_last_top = current_time_ms - previous_top_label_time_; in ProcessLatestResults() 117 previous_top_label_time_ = current_time_ms; in ProcessLatestResults()
|
D | recognize_commands.py | 113 def process_latest_result(self, latest_results, current_time_ms, argument 137 current_time_ms < self._previous_results[0][0]): 141 current_time_ms, self._previous_results[0][0])) 144 self._previous_results.append([current_time_ms, latest_results]) 147 time_limit = current_time_ms - self._average_window_duration_ms 154 sample_duration = current_time_ms - earliest_time 185 time_since_last_top = current_time_ms - self._previous_top_time 190 self._previous_top_time = current_time_ms
|
D | recognize_commands_test.cc | 50 int64_t current_time_ms = 0 + (i * 100); in TEST() local 52 results, current_time_ms, &found_command, &score, &is_new_command)); in TEST() 69 int64_t current_time_ms = 1000 + (i * 100); in TEST() local 71 results, current_time_ms, &found_command, &score, &is_new_command)); in TEST()
|
D | test_streaming_accuracy.py | 151 current_time_ms = int(audio_data_offset * 1000 / sample_rate) 153 recognize_commands.process_latest_result(outputs, current_time_ms, 161 [recognize_element.founded_command, current_time_ms]) 163 stats.calculate_accuracy_stats(all_found_words, current_time_ms, 172 current_time_ms, recognize_element.founded_command,
|
D | test_streaming_accuracy.cc | 264 const int64_t current_time_ms = (audio_data_offset * 1000) / sample_rate; in main() local 269 outputs[0], current_time_ms, &found_command, &score, &is_new_command); in main() 276 all_found_words.push_back({found_command, current_time_ms}); in main() 280 current_time_ms, time_tolerance_ms, in main() 298 LOG(INFO) << current_time_ms << "ms: " << found_command << ": " << score in main()
|
/external/webrtc/common_video/ |
D | bitrate_adjuster.cc | 77 uint32_t current_time_ms = rtc::TimeMillis(); in Update() local 78 bitrate_tracker_.Update(frame_size, current_time_ms); in Update() 79 UpdateBitrate(current_time_ms); in Update() 112 void BitrateAdjuster::UpdateBitrate(uint32_t current_time_ms) { in UpdateBitrate() argument 114 current_time_ms - last_bitrate_update_time_ms_; in UpdateBitrate() 123 bitrate_tracker_.Rate(current_time_ms).value_or(target_bitrate_bps); in UpdateBitrate() 154 last_bitrate_update_time_ms_ = current_time_ms; in UpdateBitrate()
|
/external/icing/icing/query/ |
D | query-processor.cc | 144 int64_t current_time_ms) { in ParseSearch() argument 157 ParseAdvancedQuery(search_spec, ranking_strategy, current_time_ms)); in ParseSearch() 160 results, ParseRawQuery(search_spec, ranking_strategy, current_time_ms)); in ParseSearch() 178 options, current_time_ms); in ParseSearch() 185 int64_t current_time_ms) const { in ParseAdvancedQuery() 211 needs_term_frequency_info, current_time_ms); in ParseAdvancedQuery() 220 int64_t current_time_ms) { in ParseRawQuery() argument 346 options, current_time_ms); in ParseRawQuery() 404 std::move(section_restricts), current_time_ms); in ParseRawQuery()
|
D | query-processor.h | 71 int64_t current_time_ms); 91 int64_t current_time_ms) const; 105 int64_t current_time_ms);
|
/external/icing/icing/scoring/ |
D | scorer-factory.cc | 114 double default_score, int64_t current_time_ms) in UsageScorer() argument 118 current_time_ms_(current_time_ms) {} in UsageScorer() 177 int64_t current_time_ms, const JoinChildrenFetcher* join_children_fetcher) { in Create() argument 202 document_store, section_weights.get(), current_time_ms); in Create() 220 default_score, current_time_ms); in Create() 227 schema_store, current_time_ms, in Create()
|
/external/icing/icing/store/ |
D | document-store.cc | 1059 int64_t current_time_ms = clock_.GetSystemTimeMilliseconds(); in Get() local 1061 GetAliveDocumentFilterData(document_id, current_time_ms); in Get() 1124 int64_t current_time_ms = clock_.GetSystemTimeMilliseconds(); in GetAllNamespaces() local 1137 if (GetAliveDocumentFilterData(document_id, current_time_ms)) { in GetAllNamespaces() 1151 DocumentId document_id, int64_t current_time_ms) const { in GetAliveDocumentFilterData() 1155 return GetNonExpiredDocumentFilterData(document_id, current_time_ms); in GetAliveDocumentFilterData() 1176 int64_t current_time_ms) const { in GetNonExpiredDocumentFilterData() 1189 if (current_time_ms >= document_filter_data.expiration_timestamp_ms()) { in GetNonExpiredDocumentFilterData() 1197 int64_t current_time_ms) { in Delete() argument 1206 return Delete(document_id_or.ValueOrDie(), current_time_ms); in Delete() [all …]
|
D | document-store.h | 233 int64_t current_time_ms); 248 int64_t current_time_ms); 344 DocumentId document_id, int64_t current_time_ms) const; 352 DocumentId document_id, int64_t current_time_ms) const; 719 DocumentId document_id, int64_t current_time_ms) const;
|
/external/icing/icing/scoring/advanced_scoring/ |
D | advanced-scorer.cc | 33 const SchemaStore* schema_store, int64_t current_time_ms, in Create() argument 50 current_time_ms); in Create() 53 join_children_fetcher, current_time_ms); in Create()
|
D | score-expression.h | 223 int64_t current_time_ms); 238 int64_t current_time_ms) in DocumentFunctionScoreExpression() argument 243 current_time_ms_(current_time_ms) {} in DocumentFunctionScoreExpression() 322 const SectionWeights* section_weights, int64_t current_time_ms); 336 const SectionWeights* section_weights, int64_t current_time_ms) in PropertyWeightsFunctionScoreExpression() argument 339 current_time_ms_(current_time_ms) {} in PropertyWeightsFunctionScoreExpression()
|
/external/liburing/test/ |
D | 35fa71a030ca.c | 39 static uint64_t current_time_ms(void) in current_time_ms() function 103 uint64_t start = current_time_ms(); in event_timedwait() 113 now = current_time_ms(); in event_timedwait() 251 uint64_t start = current_time_ms(); in loop() 256 if (current_time_ms() - start < 5 * 1000) in loop()
|
D | a4c0b3decb33.c | 31 static uint64_t current_time_ms(void) in current_time_ms() function 121 uint64_t start = current_time_ms(); in loop() 126 if (current_time_ms() - start < 5 * 1000) in loop()
|
D | sqpoll-cancel-hang.c | 14 static uint64_t current_time_ms(void) in current_time_ms() function 145 uint64_t start = current_time_ms(); in main() 147 if (current_time_ms() - start < 1000) { in main()
|
D | sqpoll-disable-exit.c | 32 static uint64_t current_time_ms(void) in current_time_ms() function 163 uint64_t start = current_time_ms(); in loop() 168 if (current_time_ms() - start < 5000) { in loop()
|
D | pollfree.c | 35 static uint64_t current_time_ms(void) in current_time_ms() function 99 uint64_t start = current_time_ms(); in event_timedwait() 109 now = current_time_ms(); in event_timedwait() 328 uint64_t start = current_time_ms(); in loop() 333 if (current_time_ms() - start < 5000) in loop()
|
/external/icing/icing/query/advanced_query_parser/ |
D | query-visitor.h | 57 bool needs_term_frequency_info, int64_t current_time_ms) in QueryVisitor() argument 62 /*processing_not=*/false, current_time_ms) {} in QueryVisitor() 115 int64_t current_time_ms) in QueryVisitor() argument 129 current_time_ms_(current_time_ms) { in QueryVisitor()
|
/external/webrtc/rtc_base/ |
D | rate_tracker.cc | 114 void RateTracker::AddSamplesAtTime(int64_t current_time_ms, in AddSamplesAtTime() argument 121 current_time_ms >= in AddSamplesAtTime() 132 ((current_time_ms - bucket_start_time_milliseconds_) / in AddSamplesAtTime()
|
/external/icing/icing/join/ |
D | join-processor.h | 41 int64_t current_time_ms) in JoinProcessor() argument 45 current_time_ms_(current_time_ms) {} in JoinProcessor()
|