- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for compareAndSet (0.07 seconds)
-
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)