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

1 2

  /external/jemalloc/include/jemalloc/internal/
spin.h 23 void spin_init(spin_t *spin);
24 void spin_adaptive(spin_t *spin);
29 spin_init(spin_t *spin)
32 spin->iteration = 0;
36 spin_adaptive(spin_t *spin)
40 for (i = 0; i < (KQU(1) << spin->iteration); i++)
43 if (spin->iteration < 63)
44 spin->iteration++;
  /external/python/cpython2/Lib/idlelib/idle_test/
test_editmenu.py 25 cls.spin = tk.Spinbox(root)
31 del cls.text, cls.entry, cls.spin
81 spin = self.spin
83 spin.delete(0, 'end')
84 spin.insert(0, 'one')
85 spin.selection('range', 0, end) # see note
86 spin.event_generate('<<Paste>>')
87 self.assertEqual(spin.get(), ans)
91 spin = self.spi
    [all...]
  /external/valgrind/none/tests/x86/
yield.c 16 static int spin; variable
29 spin++;
46 // (ie. we're in a spin-wait loop)
77 printf("spin=%d rep_nop=%d rep_nop:spin ratio: %g\n",
78 spin, rep_nop, (float)rep_nop / spin);
80 if (spin > rep_nop)
83 printf("FAIL spin=%d rep_nop=%d rep_nop:spin ratio: %g\n",
    [all...]
  /external/fio/lib/
lfsr.h 22 unsigned int spin; member in struct:fio_lfsr
27 unsigned long seed, unsigned int spin);
lfsr.c 84 static inline void __lfsr_next(struct fio_lfsr *fl, unsigned int spin)
90 switch (spin) {
115 * b. Check if we have a spin value that produces a repeating subsequence.
117 * be > 0. If we do have such a spin:
120 * ii. If it reaches zero, add "+1" to the spin and reset the cycle_length
134 __lfsr_next(fl, fl->spin + 1);
137 __lfsr_next(fl, fl->spin);
177 * [1]: ((2^n - 1) * i) % (spin + 1) == 0,
178 * where "n" is LFSR's bits and "i" any number within the range [1,spin]
180 * It is important to know beforehand if a spin can cause a repetition of
    [all...]
  /external/skia/experimental/tools/
android_skp_capture.sh 31 spin() { function
32 case "$spin" in
38 spin=$(( ( ${spin:-0} + 1 ) % 4 ))
53 spin 0.05
73 spin 0.05
84 i=0; while [ $i -lt 10 ]; do spin 0.10; i=$(($i + 1)); done; echo
  /prebuilts/tools/linux-x86_64/kythe/web/ui/css/
style.css 92 -animation: spin 0.9s infinite linear;
93 -webkit-animation: spin-webkit 0.9s infinite linear;
96 @-webkit-keyframes spin-webkit {
101 @keyframes spin {
  /external/fio/t/
lfsr-test.c 16 printf("Usage: lfsr-test 0x<numbers> [seed] [spin] [verify]\n");
20 "spin: how many iterations before we produce a number\n"
33 unsigned int spin = 0; local
47 case 4: spin = atoi(argv[3]);
62 r = lfsr_init(fl, numbers, seed, spin);
75 printf("Spin is %u\n", fl->spin);
  /external/caliper/caliper/src/test/java/com/google/caliper/runner/
RuntimeInstrumentTest.java 158 dummy += spin();
166 dummy += spin();
172 return spin();
176 // busy spin for 10ms and return the elapsed time. N.B. we busy spin instead of sleeping so
178 private static long spin() { method in class:RuntimeInstrumentTest
252 return spin();
  /external/libdrm/
xf86drm.h 517 /* Simple spin locks */
518 #define DRM_SPINLOCK(spin,val) \
522 DRM_CAS(spin,0,val,__ret); \
523 if (__ret) while ((spin)->lock); \
527 #define DRM_SPINLOCK_TAKE(spin,val) \
532 cur = (*spin).lock; \
533 DRM_CAS(spin,cur,val,__ret); \
537 #define DRM_SPINLOCK_COUNT(spin,val,count,__ret) \
542 DRM_CAS(spin,0,val,__ret); \
543 if (__ret) for (;__i < count && (spin)->lock; __i++);
    [all...]
  /external/fio/
goptions.c 33 GtkWidget *spin; member in struct:gopt_int
48 GtkWidget *spin; member in struct:gopt_str_val
458 static void gopt_int_changed(GtkSpinButton *spin, gpointer data)
467 adj = gtk_spin_button_get_adjustment(spin);
479 cur_val = gtk_spin_button_get_value(GTK_SPIN_BUTTON(i_inv->spin));
481 g_signal_handler_block(G_OBJECT(i_inv->spin), i_inv->gopt.sig_handler);
482 gtk_spin_button_set_value(GTK_SPIN_BUTTON(i_inv->spin), cur_val);
483 g_signal_handler_unblock(G_OBJECT(i_inv->spin), i_inv->gopt.sig_handler);
497 gtk_spin_button_set_value(GTK_SPIN_BUTTON(i->spin), p);
535 i->spin = gtk_spin_button_new_with_range(o->minval, maxval, interval)
    [all...]
  /prebuilts/go/darwin-x86/misc/cgo/testsanitizers/
tsan9.go 19 void spin() {
64 go C.spin()
  /prebuilts/go/linux-x86/misc/cgo/testsanitizers/
tsan9.go 19 void spin() {
64 go C.spin()
  /device/linaro/bootloader/edk2/MdePkg/Library/BaseLib/Arm/
CpuPause.asm 24 ; systems to prevent memory starvation while waiting for a spin lock.
  /external/mesa3d/src/gallium/drivers/nouveau/nv50/
nv98_video_ppp.c 125 unsigned spin = 0; local
129 if ((spin++ & 0xff) == 0xff)
nv98_video_bsp.c 172 unsigned spin = 0; local
175 if ((spin++ & 0xff) == 0xff) {
nv98_video_vp.c 182 unsigned spin = 0; local
185 if ((spin++ & 0xff) == 0xff) {
  /external/mesa3d/src/gallium/drivers/nouveau/nvc0/
nvc0_video_ppp.c 125 unsigned spin = 0; local
129 if ((spin++ & 0xff) == 0xff)
nvc0_video_bsp.c 221 unsigned spin = 0; local
224 if ((spin++ & 0xff) == 0xff) {
  /prebuilts/go/darwin-x86/src/runtime/
lock_futex.go 69 // On multiprocessors, spin for ACTIVE_SPIN attempts.
70 spin := 0
72 spin = active_spin
76 for i := 0; i < spin; i++ {
lock_sema.go 49 // On multiprocessors, spin for ACTIVE_SPIN attempts.
50 spin := 0
52 spin = active_spin
64 if i < spin {
66 } else if i < spin+passive_spin {
  /prebuilts/go/linux-x86/src/runtime/
lock_futex.go 69 // On multiprocessors, spin for ACTIVE_SPIN attempts.
70 spin := 0
72 spin = active_spin
76 for i := 0; i < spin; i++ {
lock_sema.go 49 // On multiprocessors, spin for ACTIVE_SPIN attempts.
50 spin := 0
52 spin = active_spin
64 if i < spin {
66 } else if i < spin+passive_spin {
  /external/fmtlib/doc/bootstrap/
normalize.less 346 input[type="number"]::-webkit-inner-spin-button,
347 input[type="number"]::-webkit-outer-spin-button {
  /external/sonivox/jet_tools/JetCreator/
JetCtrls.py 31 """ Spin control """
45 """ Spin control that's one based """
412 self.spin = wx.SpinButton(parent, -1, (w, top), (h*2/3, h), wx.SP_VERTICAL)
413 self.spin.SetValue(1)
414 self.spin.SetRange(-999,999)
416 self.spin.Bind(wx.EVT_SPIN_UP, self.OnSpinUp, self.spin)
417 self.spin.Bind(wx.EVT_SPIN_DOWN, self.OnSpinDown, self.spin)
499 self.spin.Enable(enable)
    [all...]

Completed in 686 milliseconds

1 2