Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 323 for atomic (1.9 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureFallbackAtomicHelperTest.java

    import com.google.common.collect.ImmutableSet;
    import java.lang.reflect.Method;
    import java.lang.reflect.Modifier;
    import java.net.URLClassLoader;
    import java.util.Set;
    import java.util.concurrent.atomic.AtomicReferenceFieldUpdater;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests our AtomicHelper fallback strategies in AbstractFuture.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/cache/Striped64.java

       *
       * Table entries are of class Cell; a variant of AtomicLong padded
       * to reduce cache contention on most processors. Padding is
       * overkill for most Atomics because they are usually irregularly
       * scattered in memory and thus don't interfere much with each
       * other. But Atomic objects residing in arrays will tend to be
       * placed adjacent to each other, and so will most often share
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jan 15 22:17:15 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  3. android/guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java

    import java.util.Collections;
    import java.util.HashMap;
    import java.util.Iterator;
    import java.util.List;
    import java.util.Map;
    import java.util.Map.Entry;
    import java.util.Set;
    import java.util.concurrent.atomic.AtomicBoolean;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    import org.jspecify.annotations.Nullable;
    
    /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu May 22 16:18:11 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  4. cmd/iam.go

    	err := sys.store.LoadIAMCache(ctx, firstTime)
    	if err != nil {
    		atomic.AddUint64(&sys.TotalRefreshFailures, 1)
    		return err
    	}
    	loadDuration := time.Since(loadStartTime)
    
    	atomic.StoreUint64(&sys.LastRefreshDurationMilliseconds, uint64(loadDuration.Milliseconds()))
    	atomic.StoreUint64(&sys.LastRefreshTimeUnixNano, uint64(loadStartTime.Add(loadDuration).UnixNano()))
    	atomic.AddUint64(&sys.TotalRefreshSuccesses, 1)
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 75.3K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java

    import java.lang.Thread.UncaughtExceptionHandler;
    import java.util.Map;
    import java.util.Set;
    import java.util.concurrent.ConcurrentMap;
    import java.util.concurrent.CountDownLatch;
    import java.util.concurrent.atomic.AtomicReference;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * @author Charles Fry
     */
    @NullUnmarked
    public class LocalLoadingCacheTest extends TestCase {
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/SequentialExecutor.java

         * the lock to check again. Since an IDLE state was observed inside the preceding synchronized
         * block, and reference field assignment is atomic, this may save reacquiring the lock when
         * another thread or the worker task has cleared the count and set the state.
         *
         * <p>When {@link #executor} is a directExecutor(), the value written to
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java

    import java.lang.ref.ReferenceQueue;
    import java.lang.ref.WeakReference;
    import java.net.ServerSocket;
    import java.net.URL;
    import java.net.URLClassLoader;
    import java.util.Set;
    import java.util.concurrent.atomic.AtomicBoolean;
    import org.jspecify.annotations.NullUnmarked;
    import org.jspecify.annotations.Nullable;
    import org.junit.After;
    import org.junit.Test;
    import org.junit.runner.RunWith;
    import org.junit.runners.JUnit4;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java

    import java.lang.ref.ReferenceQueue;
    import java.lang.ref.WeakReference;
    import java.net.ServerSocket;
    import java.net.URL;
    import java.net.URLClassLoader;
    import java.util.Set;
    import java.util.concurrent.atomic.AtomicBoolean;
    import org.jspecify.annotations.NullUnmarked;
    import org.jspecify.annotations.Nullable;
    import org.junit.After;
    import org.junit.Test;
    import org.junit.runner.RunWith;
    import org.junit.runners.JUnit4;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/rdma/RdmaBufferManager.java

     */
    package jcifs.internal.smb2.rdma;
    
    import java.io.IOException;
    import java.nio.ByteBuffer;
    import java.util.EnumSet;
    import java.util.concurrent.ConcurrentLinkedQueue;
    import java.util.concurrent.atomic.AtomicLong;
    
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    /**
     * RDMA buffer manager for efficient memory region pooling.
     *
     * Manages pools of pre-registered memory regions to avoid the overhead
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/TimeoutFuture.java

       * addListener/SES.schedule. The later racy write in cancel() is not guaranteed to be observed,
       * however that is fine since the correctness is based on the atomic state in our base class. The
       * initial write to timer is never definitely visible to Fire.run since it is assigned after
       * SES.schedule is called. Therefore Fire.run has to check for null. However, it should be visible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 8K bytes
    - Viewed (0)
Back to top