HomeSort by relevance Sort by last modified time
    Searched refs:backoff (Results 1 - 25 of 33) sorted by null

1 2

  /packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/utils/
probability_utils.h 28 static AK_FORCE_INLINE int backoff(const int unigramProbability) { function in class:latinime::ProbabilityUtils
30 // For some reason, applying the backoff weight gives bad results in tests. To apply the
31 // backoff weight, we divide the probability by 2, which in our storing format means
forgetting_curve_utils.h 97 static int backoff(const int unigramProbability);
forgetting_curve_utils.cpp 54 return backoff(decodeProbability(encodedUnigramProbability));
134 // See comments in ProbabilityUtils::backoff().
135 /* static */ int ForgettingCurveUtils::backoff(const int unigramProbability) { function in class:latinime::ForgettingCurveUtils
  /external/chromium_org/sync/notifier/
ack_tracker.h 70 Entry(scoped_ptr<net::BackoffEntry> backoff, const ObjectIdSet& ids);
73 scoped_ptr<net::BackoffEntry> backoff; member in struct:syncer::AckTracker::Entry
ack_tracker.cc 30 // requests before backoff starts, or how much we delay the first request
31 // after backoff starts.
51 // is the first delay once we start exponential backoff.
69 AckTracker::Entry::Entry(scoped_ptr<net::BackoffEntry> backoff,
71 : backoff(backoff.Pass()), ids(ids) {
107 entry->backoff->InformOfRequest(false /* succeeded */);
108 const base::TimeTicks release_time = entry->backoff->GetReleaseTime();
181 it->second->backoff->InformOfRequest(false /* succeeded */);
187 queue_.insert(std::make_pair((*it)->backoff->GetReleaseTime(), *it))
    [all...]
  /frameworks/base/services/java/com/android/server/content/
SyncOperation.java 74 public Long backoff; field in class:SyncOperation
79 * Depends on max(backoff, latestRunTime, and delayUntil).
86 Bundle extras, long runTimeFromNow, long flexTime, long backoff,
98 this.backoff = backoff;
153 this.backoff = other.backoff;
261 * creation time of sync), delayUntil (specified by SyncAdapter), or backoff (specified by
265 // Regardless of whether we're in backoff or honouring a delayUntil, we still incorporate
269 Math.max(Math.max(latestRunTime, delayUntil), backoff);
    [all...]
SyncQueue.java 65 final Pair<Long, Long> backoff = mSyncStorageEngine.getBackoff( local
76 0 /* delay */, 0 /* flex */, backoff != null ? backoff.first : 0,
167 public void onBackoffChanged(Account account, int userId, String providerName, long backoff) {
169 // backoff and effectiveStartTime
173 op.backoff = backoff;
SyncManager.java 702 Pair<Long, Long> backoff = mSyncStorageEngine local
706 final long backoffTime = backoff != null ? backoff.first : 0;
861 final long backoff = now + newDelayInMs; local
2086 final Pair<Long, Long> backoff = mSyncStorageEngine.getBackoff( local
    [all...]
  /external/compiler-rt/lib/tsan/rtl/
tsan_mutex.cc 169 class Backoff {
171 Backoff()
219 for (Backoff backoff; backoff.Do();) {
225 StatInc(cur_thread(), stat_type_, backoff.Contention());
249 for (Backoff backoff; backoff.Do();) {
253 StatInc(cur_thread(), stat_type_, backoff.Contention())
    [all...]
  /frameworks/ex/common/java/com/android/common/
OperationScheduler.java 28 * exponential backoff, periodic rescheduling, event-driven triggering,
60 "OperationScheduler.Options[backoff=%.1f+%.1f+%.1f max=%.1f min=%.1f period=%.1f]",
67 "OperationScheduler.Options[backoff=%.1f+%.1f max=%.1f min=%.1f period=%.1f]",
90 * backoff=(fixed)+(incremental)[+(exponential)] max=(maxmoratorium) min=(mintrigger) [period=](interval)
97 * The default options: <code>backoff=0+5 max=86400 min=0 period=0</code><br>
98 * Fractions are OK: <code>backoff=+2.5 period=10.0</code><br>
110 if (param.startsWith("backoff=")) {
113 throw new IllegalArgumentException("bad value for backoff: [" + spec + "]");
182 long backoff = options.backoffFixedMillis + local
186 // Treat backoff like a moratorium: don't let the backof
    [all...]
  /external/dnsmasq/src/
tftp.c 155 transfer->backoff = 1;
396 transfer->backoff = 0;
422 transfer->backoff = 100;
432 transfer->timeout += 1 + (1<<transfer->backoff);
442 else if (++transfer->backoff > 5)
  /external/chromium_org/v8/test/webkit/
dfg-constant-fold-misprediction.js 44 // and recompilation with exponential backoff) to take effect so that the next
  /external/chromium_org/chrome/browser/signin/
oauth2_token_service.cc 229 int64 backoff = ComputeExponentialBackOffMilliseconds(retry_number_); local
233 base::TimeDelta::FromMilliseconds(backoff),
243 // Returns an exponential backoff in milliseconds including randomness less than
249 // Returns a backoff with randomness < 1000ms
  /external/chromium_org/chrome/browser/translate/
translate_manager.cc 463 int backoff = attempt * max_reload_check_attempts_; local
468 base::TimeDelta::FromMilliseconds(backoff));
  /packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/
dynamic_patricia_trie_policy.cpp 170 return ProbabilityUtils::backoff(unigramProbability);
patricia_trie_policy.cpp 327 return ProbabilityUtils::backoff(unigramProbability);
  /external/chromium/chrome/browser/sync/engine/
syncer_thread2_unittest.cc 655 // Test that exponential backoff is properly triggered.
696 // Test that no polls or extraneous nudges occur when in backoff.
755 // Test that backoff is shaping traffic properly with consecutive errors.
798 const TimeDelta backoff = TimeDelta::FromMilliseconds(100); local
805 EXPECT_CALL(*delay(), GetDelay(_)).WillOnce(Return(backoff));
807 // Optimal start for the post-backoff poll party.
808 TimeTicks optimal_start = TimeTicks::Now() + poll + backoff;
    [all...]
  /external/chromium_org/sync/engine/
sync_scheduler_unittest.cc 832 // backoff.
841 // retry. Expect that this clears the backoff state.
853 // that this clears the backoff state.
865 // Expect this will leave the scheduler in backoff.
878 // updates. Expect this will leave the scheduler in backoff.
902 // Test that no polls or extraneous nudges occur when in backoff.
918 // This nudge should fail and put us into backoff. Thanks to our mock
919 // GetDelay() setup above, this will be a long backoff.
998 const TimeDelta backoff = TimeDelta::FromMilliseconds(5); local
    [all...]
  /external/openfst/src/include/fst/extensions/ngram/
ngram-fst.h 159 // State 0 has no parent, thus no backoff.
433 Weight* backoff = reinterpret_cast<Weight*>(data + offset); local
445 backoff[context_arc] = Weight::Zero();
474 backoff[context_arc] = arc.weight;
  /external/chromium_org/chrome/common/extensions/docs/examples/extensions/gmail/
background.js 269 localStorage.requestFailureCount = 0; // used for exponential backoff
  /external/chromium_org/net/third_party/nss/ssl/
dtlscon.c 833 /* Restart a timer with optional backoff
838 dtls_RestartTimer(sslSocket *ss, PRBool backoff, DTLSTimerCb cb)
840 if (backoff) {
919 * (effectively resetting the PMTU backoff value).
    [all...]
  /bionic/libc/kernel/arch-mips/asm/sn/sn0/
hubmd.h 436 backoff: 2, member in struct:proto_error_reg
  /development/ndk/platforms/android-9/arch-mips/include/asm/sn/sn0/
hubmd.h 436 backoff: 2, member in struct:proto_error_reg
  /external/kernel-headers/original/asm-mips/sn/sn0/
hubmd.h 585 backoff: 2, /* 49-48: backoff control */ member in struct:proto_error_reg
  /prebuilts/ndk/8/platforms/android-14/arch-mips/usr/include/asm/sn/sn0/
hubmd.h 436 backoff: 2, member in struct:proto_error_reg

Completed in 1674 milliseconds

1 2