/external/python/cpython2/Lib/test/ |
D | test_dummy_thread.py | 15 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/ |
D | LockingVisitorsTest.java | 37 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/ |
D | posix_timers.c | 19 #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/ |
D | test1501 | 8 DELAY 17 DELAY LIST 2 18 DELAY TYPE 2
|
D | test190 | 7 DELAY 14 DELAY CWD 60
|
D | test1523 | 5 DELAY
|
D | test1513 | 5 DELAY
|
D | test1555 | 5 DELAY
|
D | test1540 | 9 DELAY
|
D | test160 | 6 DELAY
|
D | test1074 | 7 DELAY
|
D | test266 | 7 DELAY
|
D | test1238 | 8 DELAY
|
D | test1116 | 7 DELAY
|
D | test1117 | 7 DELAY
|
/external/python/cpython2/Demo/pdist/ |
D | cvslock.py | 81 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/ |
D | AbstractScheduledServiceTest.java | 371 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/ |
D | AbstractScheduledServiceTest.java | 371 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/ |
D | sbrk_mutex.c | 51 #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/ |
D | hybrid_slow_start.h | 65 DELAY, // Too much increase in the round's min_rtt was observed. enumerator
|
D | hybrid_slow_start.cc | 95 hystart_found_ = DELAY; in ShouldExitSlowStart()
|
/external/aac/libSACenc/src/ |
D | sacenc_delay.h | 124 typedef struct DELAY *HANDLE_DELAY;
|
D | sacenc_delay.cpp | 117 struct DELAY { struct 171 FDK_ALLOCATE_MEMORY_1D(*phDelay, 1, struct DELAY); in fdk_sacenc_delay_Open() argument
|
/external/aac/libFDK/include/ |
D | FDK_decorrelate.h | 155 DELAY, /**< Reverb bands just contains delay elements and no allpass filters. enumerator
|
/external/autotest/server/site_tests/cellular_StaleModemReboot/ |
D | control.att | 44 WAIT DELAY STATES (Waits for a maximum of 120 seconds for the modem to get
|