/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/utils/ |
probability_utils.h | 27 static AK_FORCE_INLINE int backoff(const int unigramProbability) { function in class:latinime::ProbabilityUtils 29 // For some reason, applying the backoff weight gives bad results in tests. To apply the 30 // backoff weight, we divide the probability by 2, which in our storing format means
|
forgetting_curve_utils.h | 105 static int backoff(const int unigramProbability);
|
forgetting_curve_utils.cpp | 94 return std::min(backoff(unigramProbability), MAX_PROBABILITY); 153 // See comments in ProbabilityUtils::backoff(). 154 /* static */ int ForgettingCurveUtils::backoff(const int unigramProbability) { function in class:latinime::ForgettingCurveUtils
|
/frameworks/base/services/core/java/com/android/server/content/ |
SyncQueue.java | 65 final Pair<Long, Long> backoff = mSyncStorageEngine.getBackoff(info); local 81 backoff != null ? backoff.first : 0L, 100 backoff != null ? backoff.first : 0, 194 op.backoff = 0L; 199 public void onBackoffChanged(SyncStorageEngine.EndPoint target, long backoff) { 201 // backoff and effectiveStartTime 204 op.backoff = backoff; [all...] |
SyncOperation.java | 79 public long backoff; field in class:SyncOperation 84 * Depends on max(backoff, latestRunTime, and delayUntil). 94 Bundle extras, long runTimeFromNow, long flexTime, long backoff, 97 reason, source, extras, runTimeFromNow, flexTime, backoff, delayUntil, 102 Bundle extras, long runTimeFromNow, long flexTime, long backoff, 105 runTimeFromNow, flexTime, backoff, delayUntil, true /* allowParallelSyncs */); 109 long runTimeFromNow, long flexTime, long backoff, long delayUntil, 117 this.backoff = backoff; 145 other.backoff, [all...] |
SyncManager.java | 591 Pair<Long, Long> backoff = mSyncStorageEngine.getBackoff(info); local 593 final long backoffTime = backoff != null ? backoff.first : 0; 763 Pair<Long, Long> backoff = mSyncStorageEngine.getBackoff(info); local 947 final long backoff = now + newDelayInMs; local 2278 final Pair<Long, Long> backoff = local [all...] |
/external/chromium_org/google_apis/gaia/ |
ubertoken_fetcher.cc | 56 // Calculate an exponential backoff with randomness of less than 1 sec. 57 double backoff = base::RandDouble() + (1 << retry_number_); local 61 base::TimeDelta::FromSecondsD(backoff),
|
oauth2_token_service.cc | 284 base::TimeDelta backoff = base::TimeDelta::FromMilliseconds( local 289 backoff, 299 // Returns an exponential backoff in milliseconds including randomness less than 305 // Returns a backoff with randomness < 1000ms
|
/external/compiler-rt/lib/tsan/rtl/ |
tsan_mutex.cc | 182 class Backoff { 184 Backoff() 232 for (Backoff backoff; backoff.Do();) { 238 StatInc(cur_thread(), stat_type_, backoff.Contention()); 262 for (Backoff backoff; backoff.Do();) { 266 StatInc(cur_thread(), stat_type_, backoff.Contention()) [all...] |
/frameworks/ex/common/java/com/android/common/ |
OperationScheduler.java | 29 * exponential backoff, periodic rescheduling, event-driven triggering, 61 "OperationScheduler.Options[backoff=%.1f+%.1f+%.1f max=%.1f min=%.1f period=%.1f]", 68 "OperationScheduler.Options[backoff=%.1f+%.1f max=%.1f min=%.1f period=%.1f]", 91 * backoff=(fixed)+(incremental)[+(exponential)] max=(maxmoratorium) min=(mintrigger) [period=](interval) 98 * The default options: <code>backoff=0+5 max=86400 min=0 period=0</code><br> 99 * Fractions are OK: <code>backoff=+2.5 period=10.0</code><br> 111 if (param.startsWith("backoff=")) { 114 throw new IllegalArgumentException("bad value for backoff: [" + spec + "]"); 183 long backoff = options.backoffFixedMillis + local 187 // Treat backoff like a moratorium: don't let the backof [all...] |
/external/chromium_org/remoting/webapp/browser_test/ |
invalid_pin_browser_test.js | 27 // Sleep for two seconds to allow the host backoff timer to reset.
|
update_pin_browser_test.js | 34 // Sleep for two seconds to allow for the login backoff logic to reset.
|
/external/chromium_org/chrome/browser/signin/ |
easy_unlock_service_signin_chromeos.cc | 21 // The maximum allowed backoff interval when waiting for cryptohome to start. 28 // Calculates the backoff interval that should be used next. 29 // |backoff| The last backoff interval used. 30 uint32 GetNextBackoffInterval(uint32 backoff) { 31 if (backoff == 0u) 33 return backoff * 2; 45 // |LoadDataForUser| call with some backoff. If no further retires are allowed,
|
/external/chromium_org/components/translate/content/browser/ |
content_translate_driver.cc | 63 int backoff = attempt * kMaxTranslateLoadCheckAttempts; local 70 base::TimeDelta::FromMilliseconds(backoff));
|
/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)
|
/frameworks/base/services/tests/servicestests/src/com/android/server/content/ |
SyncOperationTest.java | 170 eightSeconds /* backoff */, fourSeconds /* delayUntil */, true); 184 assertTrue("A rescheduled op should honour the old op's backoff.", 185 copy.backoff == eightSeconds);
|
/external/chromium_org/v8/test/webkit/ |
dfg-constant-fold-misprediction.js | 44 // and recompilation with exponential backoff) to take effect so that the next
|
/art/runtime/ |
profiler.cc | 161 const double kMaxBackoffSecs = 24*60*60; // Max backoff time. 172 double backoff = 1.0; local 180 uint64_t delay_secs = profiler->options_.GetPeriodS() * backoff; 196 // Expand the backoff by its coefficient, but don't go beyond the max. 197 backoff = std::min(backoff * profiler->options_.GetBackoffCoefficient(), kMaxBackoffSecs);
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/v2/ |
patricia_trie_policy.cpp | 293 return ProbabilityUtils::backoff(unigramProbability);
|
/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;
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/backward/v402/ |
ver4_patricia_trie_policy.cpp | 128 return ProbabilityUtils::backoff(unigramProbability);
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/v4/ |
ver4_patricia_trie_policy.cpp | 118 return ProbabilityUtils::backoff(unigramProbability);
|
/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...] |
/external/chromium_org/sync/engine/ |
sync_scheduler_unittest.cc | 100 // Test harness for the SyncScheduler. Test the delays and backoff timers used 913 // backoff. 922 // retry. Expect that this clears the backoff state. 934 // that this clears the backoff state. 1083 const TimeDelta backoff = TimeDelta::FromMilliseconds(10); local [all...] |