Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 93 for incrementAndGet (0.07 sec)

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

            new Callable<@Nullable Void>() {
              @Override
              public @Nullable Void call() {
                if (currentFuture.get().set("set")) {
                  numSuccessfulSetCalls.incrementAndGet();
                }
                awaitUnchecked(barrier);
                return null;
              }
            };
        Callable<@Nullable Void> completeExceptionallyRunnable =
            new Callable<@Nullable Void>() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:45:32 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/impl/AbstractRuleTest.java

                                if (!"concurrentRule".equals(ruleId)) {
                                    errorCount.incrementAndGet();
                                }
                                if (proc != processor) {
                                    errorCount.incrementAndGet();
                                }
    
                                // Occasionally update (half the threads)
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/cache/CacheExpirationTest.java

                  evictionCount.incrementAndGet();
                  totalSum.addAndGet(notification.getValue().get());
                }
              }
            };
    
        CacheLoader<Integer, AtomicInteger> loader =
            new CacheLoader<Integer, AtomicInteger>() {
              @Override
              public AtomicInteger load(Integer key) {
                applyCount.incrementAndGet();
                return new AtomicInteger();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 22:03:28 UTC 2025
    - 19.2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/cache/TestingRemovalListeners.java

        private final AtomicInteger count = new AtomicInteger();
        private volatile RemovalNotification<K, V> lastNotification;
    
        @Override
        public void onRemoval(RemovalNotification<K, V> notification) {
          count.incrementAndGet();
          lastNotification = notification;
        }
    
        public int getCount() {
          return count.get();
        }
    
        public K getLastEvictedKey() {
          return lastNotification.getKey();
        }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/MultiChannelManager.java

            }
    
            public int getActiveConnections() {
                return activeConnections.get();
            }
    
            public void incrementConnections() {
                activeConnections.incrementAndGet();
            }
    
            public void decrementConnections() {
                activeConnections.decrementAndGet();
            }
    
            public boolean isHealthy() {
                return isHealthy;
            }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/cache/TestingRemovalListeners.java

        private final AtomicInteger count = new AtomicInteger();
        private volatile RemovalNotification<K, V> lastNotification;
    
        @Override
        public void onRemoval(RemovalNotification<K, V> notification) {
          count.incrementAndGet();
          lastNotification = notification;
        }
    
        public int getCount() {
          return count.get();
        }
    
        public K getLastEvictedKey() {
          return lastNotification.getKey();
        }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  7. android/guava-tests/benchmark/com/google/common/cache/LoadingCacheSingleThreadBenchmark.java

                .build(
                    new CacheLoader<Integer, Integer>() {
                      @Override
                      public Integer load(Integer from) {
                        return (int) misses.incrementAndGet();
                      }
                    });
    
        // To start, fill up the cache.
        // Each miss both increments the counter and causes the map to grow by one,
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

            new Callable<@Nullable Void>() {
              @Override
              public @Nullable Void call() {
                if (currentFuture.get().set("set")) {
                  numSuccessfulSetCalls.incrementAndGet();
                }
                awaitUnchecked(barrier);
                return null;
              }
            };
        Callable<@Nullable Void> completeExceptionallyRunnable =
            new Callable<@Nullable Void>() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:45:32 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java

                final long counter = this.nonceCounter.incrementAndGet();
                final ByteBuffer buffer = ByteBuffer.wrap(nonce, 12, 4);
                buffer.order(java.nio.ByteOrder.LITTLE_ENDIAN);
                buffer.putInt((int) counter);
            } else {
                // SMB 3.0/3.0.2 CCM: Counter-based approach as per SMB3 specification
                final long counter = this.nonceCounter.incrementAndGet();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/net/protocol/gcs/HandlerTest.java

                        conn.connect();
                        successCount.incrementAndGet();
                    } catch (Exception e) {
                        synchronized (exceptions) {
                            exceptions.add(e);
                        }
                        failureCount.incrementAndGet();
                    } finally {
                        doneLatch.countDown();
                    }
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 14.1K bytes
    - Viewed (0)
Back to top