Searched refs:backoff (Results 1 - 8 of 8) sorted by relevance
/third_party/skia/third_party/externals/swiftshader/src/Common/ |
H A D | MutexLock.hpp | 89 int backoff = 1; 93 if(backoff <= 64) 95 for(int i = 0; i < backoff; i++) 140 backoff *= 2; 146 backoff = 1;
|
/third_party/ltp/tools/genload/ |
H A D | stress.c | 41 /* By default, use this as backoff coefficient for good fork throughput. */ 145 } else if (strcmp(arg, "--backoff") == 0) { in main() 146 assert_arg("--backoff"); in main() 149 err(stderr, "invalid backoff factor: %i\n", in main() 153 dbg(stdout, "setting backoff coeffient to %dus\n", in main() 344 " --backoff n wait for factor of n us before starting work\n" in usage() 475 long backoff = global_backoff * forks; in hogcpu() local 477 dbg(stdout, "using backoff sleep of %lius for hogcpu\n", backoff); in hogcpu() 484 /* Use a backoff slee in hogcpu() 551 long backoff = global_backoff * forks; hogio() local 627 long backoff = global_backoff * forks; hogvm() local 750 long backoff = global_backoff * forks; hoghdd() local [all...] |
H A D | genload.c | 41 /* By default, use this as backoff coefficient for good fork throughput. */ 145 } else if (strcmp(arg, "--backoff") == 0) { in main() 146 assert_arg("--backoff"); in main() 149 err(stderr, "invalid backoff factor: %i\n", in main() 153 dbg(stdout, "setting backoff coeffient to %dus\n", in main() 344 " --backoff n wait for factor of n us before starting work\n" in usage() 475 long backoff = global_backoff * forks; in hogcpu() local 477 dbg(stdout, "using backoff sleep of %lius for hogcpu\n", backoff); in hogcpu() 484 /* Use a backoff slee in hogcpu() 551 long backoff = global_backoff * forks; hogio() local 627 long backoff = global_backoff * forks; hogvm() local 750 long backoff = global_backoff * forks; hoghdd() local [all...] |
/third_party/nghttp2/src/ |
H A D | shrpx_connect_blocker.cc | 67 // Use the similar backoff algorithm described in 68 // https://github.com/grpc/grpc/blob/master/doc/connection-backoff.md 91 auto backoff = in on_failure() local 95 << " times in a row; sleep for " << backoff << " seconds"; in on_failure() local 97 ev_timer_set(&timer_, backoff, 0.); in on_failure()
|
H A D | shrpx_live_check.cc | 167 // Use the similar backoff algorithm described in 168 // https://github.com/grpc/grpc/blob/master/doc/connection-backoff.md 183 auto backoff = in schedule() local 186 ev_timer_set(&backoff_timer_, backoff, 0.); in schedule()
|
H A D | shrpx_connection_handler.cc | 843 // Use the similar backoff algorithm described in 844 // https://github.com/grpc/grpc/blob/master/doc/connection-backoff.md 867 auto backoff = base_backoff + dist(gen_); in on_tls_ticket_key_network_error() local 871 << backoff << " seconds"; in on_tls_ticket_key_network_error() 873 ev_timer_set(w, backoff, 0.); in on_tls_ticket_key_network_error()
|
/third_party/python/Include/internal/ |
H A D | pycore_code.h | 493 * exponential backoff is used to reduce the number of specialization failures. 494 * The high 12 bits store the counter, the low 4 bits store the backoff exponent. 495 * On a specialization failure, the backoff exponent is incremented and the 496 * counter set to (2**backoff - 1). 497 * Backoff == 6 -> starting counter == 63, backoff == 10 -> starting counter == 1023. 500 /* With a 16-bit counter, we have 12 bits for the counter value, and 4 bits for the backoff */ 509 adaptive_counter_bits(int value, int backoff) { in adaptive_counter_bits() argument 511 (backoff & ((1<<ADAPTIVE_BACKOFF_BITS)-1)); in adaptive_counter_bits() 522 unsigned int backoff = counter & ((1<<ADAPTIVE_BACKOFF_BITS)-1); in adaptive_counter_backoff() local 523 backoff in adaptive_counter_backoff() [all...] |
/third_party/node/deps/npm/node_modules/graceful-fs/ |
H A D | polyfills.js | 101 var backoff = 0; 113 }, backoff) 114 if (backoff < 100) 115 backoff += 10;
|
Completed in 9 milliseconds