Home
last modified time | relevance | path

Searched refs:sleepCount (Results 1 – 25 of 32) sorted by relevance

12

/dports/java/eclipse-ecj/eclipse-ecj-4.4.2_1/org/eclipse/jdt/internal/compiler/
H A DProcessTaskManager.java26 volatile int currentIndex, availableIndex, size, sleepCount; field in ProcessTaskManager
38 this.sleepCount = 0; // 0 is no one, +1 is the processing thread & -1 is the writing/main thread in ProcessTaskManager()
53 this.sleepCount = 1; in addNextUnit()
59 this.sleepCount = 0; in addNextUnit()
65 if (this.sleepCount <= -1) in addNextUnit()
87 this.sleepCount = -1; in removeNextUnit()
93 this.sleepCount = 0; in removeNextUnit()
101 if (this.sleepCount >= 1 && ++this.sleepCount > 4) { in removeNextUnit()
103 yield = this.sleepCount > 8; in removeNextUnit()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.jdt.core/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/
H A DProcessTaskManager.java29 volatile int currentIndex, availableIndex, size, sleepCount; field in ProcessTaskManager
41 this.sleepCount = 0; // 0 is no one, +1 is the processing thread & -1 is the writing/main thread in ProcessTaskManager()
56 this.sleepCount = 1; in addNextUnit()
62 this.sleepCount = 0; in addNextUnit()
68 if (this.sleepCount <= -1) in addNextUnit()
90 this.sleepCount = -1; in removeNextUnit()
96 this.sleepCount = 0; in removeNextUnit()
104 if (this.sleepCount >= 1 && ++this.sleepCount > 4) { in removeNextUnit()
106 yield = this.sleepCount > 8; in removeNextUnit()
/dports/graphics/pecl-imagick/imagick-3.5.1/tests/
H A D283_ini_settings_set_falsy_zero.phpt18 $sleepCount = ini_get('imagick.shutdown_sleep_count');
21 if ($sleepCount != 0) {
22 …echo "imagick.shutdown_sleep_count is not set to 10 but instead " . var_export($sleepCount, true) …
26 …echo "imagick.set_single_thread setting is not false but instead " . var_export($sleepCount, true)…
H A D281_ini_settings_default.phpt14 $sleepCount = ini_get('imagick.shutdown_sleep_count');
17 if ($sleepCount != 10) {
18 …echo "imagick.shutdown_sleep_count is not set to 10 but instead " . var_export($sleepCount, true) …
H A D284_ini_settings_set_truthy_number.phpt18 $sleepCount = intval(ini_get('imagick.shutdown_sleep_count'));
21 if ($sleepCount != 20) {
22 …echo "imagick.shutdown_sleep_count is not set to 10 but instead " . var_export($sleepCount, true) …
H A D285_ini_settings_set_truthy_string.phpt18 $sleepCount = intval(ini_get('imagick.shutdown_sleep_count'));
21 if ($sleepCount != 1) {
22 …echo "imagick.shutdown_sleep_count is not set to 1 but instead " . var_export($sleepCount, true) .…
H A D282_ini_settings_set_falsy_string.phpt24 //$sleepCount = ini_get('imagick.shutdown_sleep_count');
25 //if ($sleepCount !== 0) {
26 // echo "imagick.shutdown_sleep_count is not set to 0 but instead " . var_export($sleepCount, tr…
/dports/graphics/pecl-imagick-im7/imagick-3.5.1/tests/
H A D283_ini_settings_set_falsy_zero.phpt18 $sleepCount = ini_get('imagick.shutdown_sleep_count');
21 if ($sleepCount != 0) {
22 …echo "imagick.shutdown_sleep_count is not set to 10 but instead " . var_export($sleepCount, true) …
26 …echo "imagick.set_single_thread setting is not false but instead " . var_export($sleepCount, true)…
H A D281_ini_settings_default.phpt14 $sleepCount = ini_get('imagick.shutdown_sleep_count');
17 if ($sleepCount != 10) {
18 …echo "imagick.shutdown_sleep_count is not set to 10 but instead " . var_export($sleepCount, true) …
H A D284_ini_settings_set_truthy_number.phpt18 $sleepCount = intval(ini_get('imagick.shutdown_sleep_count'));
21 if ($sleepCount != 20) {
22 …echo "imagick.shutdown_sleep_count is not set to 10 but instead " . var_export($sleepCount, true) …
H A D285_ini_settings_set_truthy_string.phpt18 $sleepCount = intval(ini_get('imagick.shutdown_sleep_count'));
21 if ($sleepCount != 1) {
22 …echo "imagick.shutdown_sleep_count is not set to 1 but instead " . var_export($sleepCount, true) .…
H A D282_ini_settings_set_falsy_string.phpt24 //$sleepCount = ini_get('imagick.shutdown_sleep_count');
25 //if ($sleepCount !== 0) {
26 // echo "imagick.shutdown_sleep_count is not set to 0 but instead " . var_export($sleepCount, tr…
/dports/devel/libzookeeper/apache-zookeeper-3.7.0/zookeeper-server/src/test/java/org/apache/zookeeper/server/quorum/
H A DDIFFSyncConsistencyTest.java140 int sleepCount = 0; in testInconsistentDueToUncommittedLog() local
142 ++sleepCount; in testInconsistentDueToUncommittedLog()
143 if (sleepCount > 100) { in testInconsistentDueToUncommittedLog()
186 int sleepCount = 0; in testInconsistentDueToUncommittedLog() local
188 ++sleepCount; in testInconsistentDueToUncommittedLog()
189 if (sleepCount > 100) { in testInconsistentDueToUncommittedLog()
/dports/devel/hadoop2/hadoop-2.7.2-src/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/src/test/java/org/apache/hadoop/mapred/
H A DUtilsForTests.java618 long sleepCount = 0; in runJobSucceed() local
621 if (sleepCount > 300) { // 30 seconds in runJobSucceed()
625 sleepCount++; in runJobSucceed()
643 long sleepCount = 0; in runJobFail() local
646 if (sleepCount > 300) { // 30 seconds in runJobFail()
650 sleepCount++; in runJobFail()
668 long sleepCount = 0; in runJobKill() local
671 if (sleepCount > 300) { // 30 seconds in runJobKill()
675 sleepCount++; in runJobKill()
681 sleepCount = 0; in runJobKill()
[all …]
/dports/converters/wkhtmltopdf/qt-5db36ec/src/3rdparty/clucene/src/CLucene/store/
H A DLock.cpp15 int sleepCount = 0; in CL_NS_DEF() local
17 if (sleepCount++ == maxSleepCount) { in CL_NS_DEF()
/dports/textproc/luceneplusplus/LucenePlusPlus-rel_3.0.8/src/core/store/
H A DLock.cpp25 int32_t sleepCount = 0; in obtain() local
27 if (lockWaitTimeout != LOCK_OBTAIN_WAIT_FOREVER && sleepCount++ >= maxSleepCount) { in obtain()
/dports/lang/mono/mono-5.10.1.57/external/api-doc-tools/external/Lucene.Net.Light/src/core/Store/
H A DLock.cs84 long sleepCount = 0; in Obtain()
87 if (lockWaitTimeout != LOCK_OBTAIN_WAIT_FOREVER && sleepCount++ >= maxSleepCount) in Obtain()
/dports/textproc/clucene/clucene-core-2.3.3.4/src/core/CLucene/store/
H A DLock.cpp40 int64_t sleepCount = 0; in obtain() local
43 if ( lockWaitTimeout != LOCK_OBTAIN_WAIT_FOREVER && sleepCount++ == maxSleepCount ) { in obtain()
/dports/japanese/uim-mozc/macuim-0.6.16.2.1/Sources/
H A DMacUIMPrefPane.m561 int sleepCount = 0;
577 && (sleepCount < 2000000)) {
578 sleepCount += 250000;
586 sleepCount = 0;
588 && (sleepCount < 2000000)) {
589 sleepCount += 250000;
/dports/games/tremulous/tremulous/tremulous-1.1.0-src/src/win32/
H A Dwin_main.c809 int sleepCount; in Sys_StreamedRead() local
826 sleepCount = 0; in Sys_StreamedRead()
833 if ( sleepCount == 1 ) { in Sys_StreamedRead()
836 if ( ++sleepCount > 100 ) { in Sys_StreamedRead()
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/test/jdk/java/net/httpclient/
H A DForbiddenHeadTest.java218 static final AtomicLong sleepCount = new AtomicLong(); field in ForbiddenHeadTest
231 long count = sleepCount.incrementAndGet(); in test()
H A DProxySelectorTest.java207 static final AtomicLong sleepCount = new AtomicLong(); field in ProxySelectorTest
220 long count = sleepCount.incrementAndGet(); in test()
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/test/jdk/java/net/httpclient/
H A DForbiddenHeadTest.java218 static final AtomicLong sleepCount = new AtomicLong(); field in ForbiddenHeadTest
231 long count = sleepCount.incrementAndGet(); in test()
H A DProxySelectorTest.java207 static final AtomicLong sleepCount = new AtomicLong(); field in ProxySelectorTest
220 long count = sleepCount.incrementAndGet(); in test()
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/test/jdk/java/net/httpclient/
H A DProxySelectorTest.java207 static final AtomicLong sleepCount = new AtomicLong(); field in ProxySelectorTest
220 long count = sleepCount.incrementAndGet(); in test()

12