- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 44 for AtomicReference (0.07 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/AutobahnTester.kt
*/ package okhttp3 import java.util.concurrent.CountDownLatch import java.util.concurrent.TimeUnit import java.util.concurrent.atomic.AtomicLong import java.util.concurrent.atomic.AtomicReference import okhttp3.internal.USER_AGENT import okio.ByteString /** * Exercises the web socket implementation against the * [Autobahn Testsuite](http://autobahn.ws/testsuite/). */ class AutobahnTester {Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 4.6K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/DefaultMavenTest.java
@Singleton @Named("WsrClassCatcher") private static final class WsrClassCatcher extends AbstractMavenLifecycleParticipant { private final AtomicReference<Class<?>> wsrClassRef = new AtomicReference<>(null); @Override public void afterProjectsRead(MavenSession session) throws MavenExecutionException {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Mar 21 04:56:21 UTC 2025 - 4.3K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/TransformedArtifact.java
import java.io.File; import java.io.IOException; import java.nio.file.Files; import java.nio.file.Path; import java.util.List; import java.util.Objects; import java.util.concurrent.atomic.AtomicReference; import java.util.function.Supplier; import org.apache.maven.api.services.ModelBuilderException; import org.apache.maven.api.services.ModelSource; import org.apache.maven.artifact.DefaultArtifact;
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Nov 06 18:32:25 UTC 2025 - 4.8K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/Tags.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3.internal import java.util.concurrent.atomic.AtomicReference import kotlin.reflect.KClass /** * An immutable collection of key-value pairs implemented as a singly-linked list. *
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Oct 24 11:37:46 UTC 2025 - 3.9K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/util/CrawlingParameterUtilTest.java
// Test in a different thread final CountDownLatch latch = new CountDownLatch(1); final AtomicReference<String> otherThreadUrlQueueSessionId = new AtomicReference<>(); final AtomicReference<String> otherThreadContextSessionId = new AtomicReference<>(); Thread otherThread = new Thread(() -> { try {Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 14.6K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/InterruptibleTask.java
// Since this class only needs CAS on one field, we can avoid this bug by extending AtomicReference // instead of using an AtomicReferenceFieldUpdater. This reference stores Thread instances // and DONE/INTERRUPTED - they have a common ancestor of Runnable. abstract class InterruptibleTask<T extends @Nullable Object> extends AtomicReference<@Nullable Runnable> implements Runnable { static {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 10K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/exception/DefaultExceptionHandlerTest.java
} @Test void testHandleExceptionLoopInCause() { // Some broken exception that does return "this" as getCause AtomicReference<Throwable> causeRef = new AtomicReference<>(null); Exception cause2 = new RuntimeException("loop") { @Override public synchronized Throwable getCause() { return causeRef.get();Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.3K bytes - Viewed (0) -
src/main/java/jcifs/util/SimpleCircuitBreaker.java
public enum State { CLOSED, // Normal operation OPEN, // Failing, requests blocked HALF_OPEN // Testing recovery } private final String name; private final AtomicReference<State> state = new AtomicReference<>(State.CLOSED); private final AtomicInteger consecutiveFailures = new AtomicInteger(0); private final AtomicInteger halfOpenSuccesses = new AtomicInteger(0);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 11.3K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/WholeOperationTimeoutTest.kt
import java.io.InterruptedIOException import java.net.HttpURLConnection import java.time.Duration import java.util.concurrent.CountDownLatch import java.util.concurrent.TimeUnit import java.util.concurrent.atomic.AtomicReference import kotlin.test.assertFailsWith import mockwebserver3.MockResponse import mockwebserver3.MockWebServer import mockwebserver3.junit5.StartStop import okhttp3.MediaType.Companion.toMediaTypeOrNull
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 10.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java
assertThat(segment.recencyQueue.isEmpty()).isFalse(); } public void testRecursiveComputation() throws InterruptedException { AtomicReference<LoadingCache<Integer, String>> cacheRef = new AtomicReference<>(); CacheLoader<Integer, String> recursiveLoader = new CacheLoader<Integer, String>() { @Override public String load(Integer key) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 13.3K bytes - Viewed (0)