Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for AtomicReference (0.15 sec)

  1. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultModelResolver.java

            }
        }
    
        @Override
        public ModelSource resolveModel(org.apache.maven.model.Parent parent) throws UnresolvableModelException {
            AtomicReference<org.apache.maven.api.model.Parent> resolvedParent = new AtomicReference<>();
            ModelSource result = resolveModel(parent.getDelegate(), resolvedParent);
            if (resolvedParent.get() != null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/FinalizableReferenceQueueClassLoaderUnloadingTest.java

        assertSame(sepLoader, sepStopwatchC.getClassLoader());
        AtomicReference<Object> sepStopwatchA =
            new AtomicReference<Object>(sepStopwatchC.getMethod("createUnstarted").invoke(null));
        AtomicReference<WeakReference<?>> sepStopwatchRef =
            new AtomicReference<WeakReference<?>>(
                (WeakReference<?>) sepFwrCons.newInstance(sepStopwatchA.get(), sepFrqA.get()));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  3. okhttp/src/test/java/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 okhttp3.MediaType.Companion.toMediaTypeOrNull
    import okhttp3.TestUtil.repeat
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

            new ThreadLocal<Integer>() {
              @Override
              protected Integer initialValue() {
                return 0;
              }
            };
        final AtomicReference<Throwable> throwableFromOtherThread = new AtomicReference<>(null);
        final Runnable incrementTask =
            new Runnable() {
              @Override
              public void run() {
                threadLocalCount.set(threadLocalCount.get() + 1);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/helper/SystemHelperTest.java

            assertEquals("ok", FileUtil.readText(fileList.get(0).toFile()));
        }
    
        public void test_updateSystemProperties() {
            final SystemHelper helper = new SystemHelper();
            final AtomicReference<String> appValue = new AtomicReference<>(StringUtil.EMPTY);
            ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() {
                private static final long serialVersionUID = 1L;
    
                @Override
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  6. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

            new ThreadLocal<Integer>() {
              @Override
              protected Integer initialValue() {
                return 0;
              }
            };
        final AtomicReference<Throwable> throwableFromOtherThread = new AtomicReference<>(null);
        final Runnable incrementTask =
            new Runnable() {
              @Override
              public void run() {
                threadLocalCount.set(threadLocalCount.get() + 1);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java

        assertSame(one, cache.getUnchecked(one));
        assertFalse(segment.recencyQueue.isEmpty());
      }
    
      public void testRecursiveComputation() throws InterruptedException {
        final AtomicReference<LoadingCache<Integer, String>> cacheRef = new AtomicReference<>();
        CacheLoader<Integer, String> recursiveLoader =
            new CacheLoader<Integer, String>() {
              @Override
              public String load(Integer key) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java

        assertSame(one, cache.getUnchecked(one));
        assertFalse(segment.recencyQueue.isEmpty());
      }
    
      public void testRecursiveComputation() throws InterruptedException {
        final AtomicReference<LoadingCache<Integer, String>> cacheRef = new AtomicReference<>();
        CacheLoader<Integer, String> recursiveLoader =
            new CacheLoader<Integer, String>() {
              @Override
              public String load(Integer key) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  10. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 10.1K bytes
    - Viewed (0)
Back to top