Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for incrementAndGet (0.05 sec)

  1. guava-tests/test/com/google/common/cache/CacheLoadingTest.java

            builder.build(
                new CacheLoader<String, Object>() {
                  @Override
                  public Object load(String key) throws InterruptedException {
                    callCount.incrementAndGet();
                    startSignal.await();
                    return result;
                  }
                });
    
        List<Object> resultArray = doConcurrentGet(cache, "bar", count, startSignal);
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 85.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbTransportImpl.java

            }
            return wasInUse;
        }
    
        @Override
        protected long makeKey(final Request request) throws IOException {
            long m = this.mid.incrementAndGet() - 1;
            if (!this.smb2) {
                m = m % 32000;
            }
            ((CommonServerMessageBlock) request).setMid(m);
            return m;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 69.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbSessionImpl.java

            }
            throw new ClassCastException();
        }
    
        /**
         * @return session increased usage count
         */
        public SmbSessionImpl acquire() {
            long usage = this.usageCount.incrementAndGet();
            if (log.isTraceEnabled()) {
                log.trace("Acquire session " + usage + " " + this);
            }
    
            if (usage == 1) {
                synchronized (this) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 68.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

         * the cleanupExecutor. If cleanup is not observed after a sufficient number of reads, try
         * cleaning up from the read thread.
         */
        void postReadCleanup() {
          if ((readCount.incrementAndGet() & DRAIN_THRESHOLD) == 0) {
            runCleanup();
          }
        }
    
        /**
         * Performs routine cleanup prior to executing a write. This should be called every time a write
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 90K bytes
    - Viewed (0)
Back to top