/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/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 | 29 // 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/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/chrome/browser/translate/ |
chrome_translate_client.cc | 481 int backoff = attempt * kMaxTranslateLoadCheckAttempts; local 488 base::TimeDelta::FromMilliseconds(backoff));
|
/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);
|
/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/google_apis/gaia/ |
oauth2_token_service.cc | 275 base::TimeDelta backoff = base::TimeDelta::FromMilliseconds( local 280 backoff, 290 // Returns an exponential backoff in milliseconds including randomness less than 296 // Returns a backoff with randomness < 1000ms
|
/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 | 923 // backoff. 932 // retry. Expect that this clears the backoff state. 1096 const TimeDelta backoff = TimeDelta::FromMilliseconds(5); local [all...] |
/development/ndk/platforms/android-9/arch-mips/include/asm/sn/sn0/ |
hubmd.h | 436 backoff: 2, 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
|
/prebuilts/ndk/8/platforms/android-9/arch-mips/usr/include/asm/sn/sn0/ |
hubmd.h | 436 backoff: 2, member in struct:proto_error_reg
|