/libcore/luni/src/main/java/java/util/concurrent/ |
Exchanger.java | 162 * range of test machines. Spins and yields entail some limited 169 * mean time it cannot cancel the offer, so instead spins/yields. 258 * The bound for spins while waiting for a match. The actual 262 private static final int SPINS = 1 << 10; 286 int hash; // Pseudo-random for spins 353 for (int h = p.hash, spins = SPINS;;) { 361 else if (spins > 0) { 364 h = SPINS | (int)t.getId(); 366 (--spins & ((SPINS >>> 1) - 1)) == 0 461 int spins = (NCPU > 1) ? SPINS : 1; local [all...] |
SynchronousQueue.java | 375 * Spins/blocks until node s is matched by a fulfill operation. 392 * preceded by spins to avoid blocking when producers and 407 int spins = (shouldSpin(s) ? local 422 if (spins > 0) 423 spins = shouldSpin(s) ? (spins-1) : 0; 699 * Spins/blocks until node s is fulfilled. 711 int spins = ((head.next == s) ? local 726 if (spins > 0) 727 --spins; [all...] |
LinkedTransferQueue.java | 294 * spins a bit before blocking. In either case, before blocking 301 * of less-contended queues. During spins threads check their 306 * systems. We also use smaller (1/2) spins for nodes that are 308 * blocked -- these "chained" spins avoid artifacts of 313 * chained spins, reflecting longer paths typically required to 399 * base average frequency for yielding during spins. Must be a 657 * Spins/yields/blocks until node s is matched or caller gives up. 671 int spins = -1; // initialized after first item and cancel checks local [all...] |
Phaser.java | 1012 int spins = SPINS_PER_ARRIVAL; local [all...] |
ForkJoinPool.java | 1250 int spins = PL_SPINS, ps, nps; local [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nouveau/ |
nouveau_fence.c | 187 uint32_t spins = 0; local 206 spins++; 208 if (!(spins % 8)) /* donate a few cycles */ 211 } while (spins < NOUVEAU_FENCE_MAX_SPINS);
|
/external/mesa3d/src/gallium/drivers/nouveau/ |
nouveau_fence.c | 187 uint32_t spins = 0; local 206 spins++; 208 if (!(spins % 8)) /* donate a few cycles */ 211 } while (spins < NOUVEAU_FENCE_MAX_SPINS);
|
/external/fio/ |
goptions.c | 56 GtkWidget *spins[GOPT_RANGE_SPIN]; member in struct:gopt_range 662 if (GTK_SPIN_BUTTON(r->spins[i]) == spin) { 674 GtkWidget *mspin = r->spins[changed + 1]; 676 val = gtk_spin_button_get_value_as_int(GTK_SPIN_BUTTON(r->spins[changed])); 681 GtkWidget *mspin = r->spins[changed - 1]; 683 val = gtk_spin_button_get_value_as_int(GTK_SPIN_BUTTON(r->spins[changed])); 703 gtk_spin_button_set_value(GTK_SPIN_BUTTON(r->spins[i]), vals[i]); 743 r->spins[i] = gtk_spin_button_new_with_range(o->minval, maxval, interval); 744 gtk_spin_button_set_update_policy(GTK_SPIN_BUTTON(r->spins[i]), GTK_UPDATE_IF_VALID); 745 gtk_box_pack_start(GTK_BOX(r->gopt.box), r->spins[i], FALSE, FALSE, 0) [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeonsi/ |
radeonsi_pipe.c | 552 unsigned spins = 0; local 573 if (++spins % 256)
|
/external/mesa3d/src/gallium/drivers/radeonsi/ |
radeonsi_pipe.c | 552 unsigned spins = 0; local 573 if (++spins % 256)
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r600/ |
r600_pipe.c | 738 unsigned spins = 0; local 759 if (++spins % 256)
|
/external/mesa3d/src/gallium/drivers/r600/ |
r600_pipe.c | 738 unsigned spins = 0; local 759 if (++spins % 256)
|
/bionic/libc/upstream-dlmalloc/ |
malloc.c | 1879 int spins = 0; local 1931 int spins = 0; local [all...] |
/external/chromium_org/third_party/openssl/openssl/crypto/bn/asm/ |
ia64-mont.pl | 235 // This loop spins in 4*(n+7) ticks on Itanium 2 and should spin in
|
/external/openssl/crypto/bn/asm/ |
ia64-mont.pl | 235 // This loop spins in 4*(n+7) ticks on Itanium 2 and should spin in
|