- Sort Score
- Num 10 results
- Language All
Results 31 - 36 of 36 for compareAndSet (0.06 seconds)
-
android/guava/src/com/google/common/util/concurrent/Striped.java
if (existing != null) { return existing; } L created = supplier.get(); ArrayReference<L> newRef = new ArrayReference<>(created, index, queue); while (!locks.compareAndSet(index, existingRef, newRef)) { // we raced, we need to re-read and try again existingRef = locks.get(index); existing = existingRef == null ? null : existingRef.get();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 16 22:01:32 GMT 2025 - 20.6K bytes - Click Count (0) -
src/main/java/jcifs/util/SmbCircuitBreaker.java
while (responseTimeMs < currentMin) { if (minResponseTime.compareAndSet(currentMin, responseTimeMs)) { break; } currentMin = minResponseTime.get(); } long currentMax = maxResponseTime.get(); while (responseTimeMs > currentMax) { if (maxResponseTime.compareAndSet(currentMax, responseTimeMs)) { break; }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 33.4K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/fs/FileSystemClient.java
* @return the response data * @throws CrawlingAccessException if the request fails */ protected ResponseData processRequest(final String uri, final boolean includeContent) { if (isInit.compareAndSet(false, true)) { init(); } // start AccessTimeoutTarget accessTimeoutTarget = null; TimeoutTask accessTimeoutTask = null; if (accessTimeout != null) {Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Sun Nov 23 12:19:14 GMT 2025 - 15.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/thumbnail/impl/CommandGenerator.java
if (logger.isDebugEnabled()) { logger.debug("Process {} is not alive.", p); } return; } if (executed.compareAndSet(false, true)) { if (logger.isDebugEnabled()) { logger.debug("Interrupting a stream thread."); } ist.interrupt();
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jan 01 12:47:47 GMT 2026 - 16.6K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/ClosingFuture.java
"Expected status to be %s, but it was %s", oldStatus, newStatus); } boolean compareAndUpdateStatus(Status oldStatus, Status newStatus) { return status.compareAndSet(oldStatus, newStatus); } void close() { logger.get().log(FINER, "closing {0}", closingFutureToString()); closeables.close(); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 101.7K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt
val ifNoneMatch = AtomicReference<String?>() client = client .newBuilder() .addNetworkInterceptor( Interceptor { chain: Interceptor.Chain -> ifNoneMatch.compareAndSet(null, chain.request().header("If-None-Match")) chain.proceed(chain.request()) }, ).build() // Confirm the value is cached and intercepted.
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Mar 20 09:13:37 GMT 2026 - 121K bytes - Click Count (0)