Home
last modified time | relevance | path

Searched refs:DELAY (Results 1 – 25 of 35) sorted by relevance

12

/external/python/cpython2/Lib/test/
Dtest_dummy_thread.py15 DELAY = 0 # Set > 0 when testing a module other than dummy_thread, such as variable
74 _thread.start_new_thread(delay_unlock,(self.lock, DELAY))
78 "(approx. %s sec.) ***" % DELAY
83 self.assertGreaterEqual(end_time - start_time, DELAY,
156 "(will take approx. %s to %s sec.) ***" % (DELAY, thread_count)
158 if DELAY:
164 time.sleep(DELAY)
169 (thread_count, DELAY))
172 global _thread, DELAY
175 DELAY = 2
/external/apache-commons-lang/src/test/java/org/apache/commons/lang3/concurrent/locks/
DLockingVisitorsTest.java37 private static final Duration DELAY = Duration.ofMillis(1500); field in LockingVisitorsTest
39 private static final Duration TOTAL_DELAY = DELAY.multipliedBy(NUMBER_OF_THREADS);
94 runTest(DELAY, true, millis -> assertTrue(millis >= TOTAL_DELAY.toMillis()), booleanValues, in testReentrantReadWriteLockExclusive()
105 runTest(DELAY, false, millis -> assertTrue(millis < TOTAL_DELAY.toMillis()), booleanValues, in testReentrantReadWriteLockNotExclusive()
128 runTest(DELAY, true, millis -> assertTrue(millis >= TOTAL_DELAY.toMillis()), booleanValues, in testStampedLockExclusive()
139 runTest(DELAY, false, millis -> assertTrue(millis < TOTAL_DELAY.toMillis()), booleanValues, in testStampedLockNotExclusive()
/external/linux-kselftest/tools/testing/selftests/timers/
Dposix_timers.c19 #define DELAY 2 macro
69 if (abs(diff - DELAY * USECS_PER_SEC) > USECS_PER_SEC / 2) { in check_diff()
82 .it_value.tv_sec = DELAY, in check_itimer()
144 .it_value.tv_sec = DELAY, in check_timer_create()
/external/curl/tests/data/
Dtest15018 DELAY
17 DELAY LIST 2
18 DELAY TYPE 2
Dtest1907 DELAY
14 DELAY CWD 60
Dtest15235 DELAY
Dtest15135 DELAY
Dtest15555 DELAY
Dtest15409 DELAY
Dtest1606 DELAY
Dtest10747 DELAY
Dtest2667 DELAY
Dtest12388 DELAY
Dtest11167 DELAY
Dtest11177 DELAY
/external/python/cpython2/Demo/pdist/
Dcvslock.py81 DELAY = 10 variable
112 def __init__(self, repository = ".", delay = DELAY):
189 def __init__(self, repository, delay = DELAY):
206 def __init__(self, repository, delay = DELAY):
231 def MultipleWriteLock(repositories, delay = DELAY):
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DAbstractScheduledServiceTest.java371 private static final int DELAY = 20; field in AbstractScheduledServiceTest.SchedulerTest
387 assertEquals(DELAY, delay); in assertSingleCallWithCorrectParameters()
393 Scheduler schedule = Scheduler.newFixedRateSchedule(INITIAL_DELAY, DELAY, UNIT); in testFixedRateSchedule()
410 Scheduler schedule = newFixedDelaySchedule(INITIAL_DELAY, DELAY, UNIT); in testFixedDelaySchedule()
538 Thread.sleep(UNIT.toMillis(3 * DELAY)); in testCustomSchedulerServiceStop()
625 return new Schedule(DELAY, UNIT); in scheduler()
674 return new Schedule(DELAY, UNIT); in scheduler()
/external/guava/android/guava-tests/test/com/google/common/util/concurrent/
DAbstractScheduledServiceTest.java371 private static final int DELAY = 20; field in AbstractScheduledServiceTest.SchedulerTest
387 assertEquals(DELAY, delay); in assertSingleCallWithCorrectParameters()
393 Scheduler schedule = Scheduler.newFixedRateSchedule(INITIAL_DELAY, DELAY, UNIT); in testFixedRateSchedule()
410 Scheduler schedule = newFixedDelaySchedule(INITIAL_DELAY, DELAY, UNIT); in testFixedDelaySchedule()
538 Thread.sleep(UNIT.toMillis(3 * DELAY)); in testCustomSchedulerServiceStop()
625 return new Schedule(DELAY, UNIT); in scheduler()
674 return new Schedule(DELAY, UNIT); in scheduler()
/external/ltp/testcases/realtime/func/pi-tests/
Dsbrk_mutex.c51 #define DELAY 1000 /* how long to sleep in the worker thread in us */ macro
90 usleep(DELAY); in worker_thread()
/external/cronet/net/third_party/quiche/src/quiche/quic/core/congestion_control/
Dhybrid_slow_start.h65 DELAY, // Too much increase in the round's min_rtt was observed. enumerator
Dhybrid_slow_start.cc95 hystart_found_ = DELAY; in ShouldExitSlowStart()
/external/aac/libSACenc/src/
Dsacenc_delay.h124 typedef struct DELAY *HANDLE_DELAY;
Dsacenc_delay.cpp117 struct DELAY { struct
171 FDK_ALLOCATE_MEMORY_1D(*phDelay, 1, struct DELAY); in fdk_sacenc_delay_Open() argument
/external/aac/libFDK/include/
DFDK_decorrelate.h155 DELAY, /**< Reverb bands just contains delay elements and no allpass filters. enumerator
/external/autotest/server/site_tests/cellular_StaleModemReboot/
Dcontrol.att44 WAIT DELAY STATES (Waits for a maximum of 120 seconds for the modem to get

12