Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 32 for AtomicLong (0.11 sec)

  1. guava/src/com/google/common/hash/LongAdder.java

     */
    
    package com.google.common.hash;
    
    import java.io.IOException;
    import java.io.ObjectInputStream;
    import java.io.ObjectOutputStream;
    import java.io.Serializable;
    import java.util.concurrent.atomic.AtomicLong;
    
    /**
     * One or more variables that together maintain an initially zero {@code long} sum. When updates
     * (method {@link #add}) are contended across threads, the set of variables may grow dynamically to
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 20 18:43:59 UTC 2021
    - 5.4K bytes
    - Viewed (0)
  2. guava/src/com/google/common/cache/LongAdder.java

    import com.google.common.annotations.GwtCompatible;
    import java.io.IOException;
    import java.io.ObjectInputStream;
    import java.io.ObjectOutputStream;
    import java.io.Serializable;
    import java.util.concurrent.atomic.AtomicLong;
    
    /**
     * One or more variables that together maintain an initially zero {@code long} sum. When updates
     * (method {@link #add}) are contended across threads, the set of variables may grow dynamically to
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 18:00:07 UTC 2021
    - 5.5K bytes
    - Viewed (0)
  3. docs/features/events.md

    ```java
    class PrintingEventListener extends EventListener {
      public static final Factory FACTORY = new Factory() {
        final AtomicLong nextCallId = new AtomicLong(1L);
    
        @Override public EventListener create(Call call) {
          long callId = nextCallId.getAndIncrement();
          System.out.printf("%04d %s%n", callId, call.request().url());
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 7.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/cache/Striped64.java

       * is a power of two. Indexing uses masked per-thread hash codes.
       * Nearly all declarations in this class are package-private,
       * accessed directly by subclasses.
       *
       * 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
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 14 17:55:55 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbTreeConnection.java

        private volatile boolean treeAcquired;
        private volatile boolean delegateAcquired;
    
        private SmbTransportInternal exclusiveTransport;
        private boolean nonPooled;
    
        private final AtomicLong usageCount = new AtomicLong();
    
        private static final Random RAND = new Random();
    
    
        protected SmbTreeConnection ( CIFSContext ctx ) {
            this.ctx = ctx;
            this.delegate = null;
        }
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 10:50:16 UTC 2020
    - 31K bytes
    - Viewed (0)
  6. src/main/java/jcifs/util/transport/Transport.java

        protected final Object inLock = new Object();
        protected final Object outLock = new Object();
    
        protected final Map<Long, Response> response_map = new ConcurrentHashMap<>(10);
        private final AtomicLong usageCount = new AtomicLong(1);
    
    
        /**
         * @return session increased usage count
         */
        public Transport acquire () {
            long usage = this.usageCount.incrementAndGet();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Nov 01 18:12:21 UTC 2020
    - 24.1K bytes
    - Viewed (0)
  7. guava/src/com/google/common/hash/Striped64.java

       * is a power of two. Indexing uses masked per-thread hash codes.
       * Nearly all declarations in this class are package-private,
       * accessed directly by subclasses.
       *
       * 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
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 14 17:55:55 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  8. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java

     *
     * <pre>
     * class FIFOEntry&lt;E extends Comparable&lt;? super E&gt;&gt;
     *     implements Comparable&lt;FIFOEntry&lt;E&gt;&gt; {
     *   final static AtomicLong seq = new AtomicLong();
     *   final long seqNum;
     *   final E entry;
     *   public FIFOEntry(E entry) {
     *     seqNum = seq.getAndIncrement();
     *     this.entry = entry;
     *   }
     *   public E getEntry() { return entry; }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 07 21:36:32 UTC 2024
    - 19K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbSessionImpl.java

        private CIFSContext transportContext;
    
        private CredentialsInternal credentials;
        private byte[] sessionKey;
        private boolean extendedSecurity;
    
        private final AtomicLong usageCount = new AtomicLong(1);
        private final AtomicBoolean transportAcquired = new AtomicBoolean(true);
    
        private long sessionId;
    
        private SMBSigningDigest digest;
    
        private final String targetDomain;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Nov 14 17:41:04 UTC 2021
    - 49K bytes
    - Viewed (0)
  10. android/guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java

    import java.util.concurrent.ThreadFactory;
    import java.util.concurrent.TimeUnit;
    import java.util.concurrent.atomic.AtomicBoolean;
    import java.util.concurrent.atomic.AtomicInteger;
    import java.util.concurrent.atomic.AtomicLong;
    import java.util.concurrent.atomic.AtomicReference;
    import java.util.regex.MatchResult;
    import java.util.regex.Pattern;
    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 21.8K bytes
    - Viewed (0)
Back to top