Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 100 for incrementAndGet (0.17 sec)

  1. src/test/java/jcifs/SmbSessionTest.java

                        try {
                            Configuration result = mockSession.getConfig();
                            if (result == mockConfig) {
                                successCount.incrementAndGet();
                            }
                        } finally {
                            latch.countDown();
                        }
                    }).start();
                }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

        if (generated != null) {
          freshness.incrementAndGet();
        }
        return generated;
      }
    
      final <T> @Nullable T generateFresh(Class<T> type) {
        return Primitives.wrap(type).cast(generateFresh(TypeToken.of(type)));
      }
    
      final <T> T newFreshProxy(Class<T> interfaceType) {
        T proxy = newProxy(interfaceType);
        freshness.incrementAndGet();
        return proxy;
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 28.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/util/SecureKeyManagerTest.java

                            // Retrieve and verify
                            byte[] retrieved = keyManager.getRawKey(sid);
                            if (Arrays.equals(key, retrieved)) {
                                successCount.incrementAndGet();
                            }
    
                            // Occasionally rotate
                            if (i % 10 == 0) {
                                try {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImplTest.java

                        try {
                            indexUpdateCallback.store(paramMap, dataMap);
                            successCount.incrementAndGet();
                        } catch (Exception e) {
                            // Log error
                        }
                    }
                });
                threads.add(thread);
                thread.start();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 24.5K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

        if (generated != null) {
          freshness.incrementAndGet();
        }
        return generated;
      }
    
      final <T> @Nullable T generateFresh(Class<T> type) {
        return Primitives.wrap(type).cast(generateFresh(TypeToken.of(type)));
      }
    
      final <T> T newFreshProxy(Class<T> interfaceType) {
        T proxy = newProxy(interfaceType);
        freshness.incrementAndGet();
        return proxy;
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 28.1K bytes
    - Viewed (0)
  6. guava/src/com/google/common/util/concurrent/AtomicLongMap.java

        return map.getOrDefault(key, 0L);
      }
    
      /**
       * Increments by one the value currently associated with {@code key}, and returns the new value.
       */
      @CanIgnoreReturnValue
      public long incrementAndGet(K key) {
        return addAndGet(key, 1);
      }
    
      /**
       * Decrements by one the value currently associated with {@code key}, and returns the new value.
       */
      @CanIgnoreReturnValue
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/hash/HashingTest.java

        int last = 0;
        for (int shards = 2; shards <= MAX_SHARDS; shards++) {
          int chosen = Hashing.consistentHash(h, shards);
          if (chosen != last) {
            map.incrementAndGet(shards);
            last = chosen;
          }
        }
      }
    
      private static final int ITERS = 10000;
      private static final int MAX_SHARDS = 500;
    
      public void testConsistentHash_outOfRange() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 26.4K bytes
    - Viewed (2)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/RuleManagerTest.java

                            for (int j = threadId; j < rules.size(); j += threadCount) {
                                if (threadSafeManager.removeRule(rules.get(j))) {
                                    removeCount.incrementAndGet();
                                }
                            }
                        } catch (Exception e) {
                            e.printStackTrace();
                        } finally {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 23.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/util/transport/Transport.java

         * Acquires a reference to this transport, incrementing the usage count.
         *
         * @return session increased usage count
         */
        public Transport acquire() {
            final long usage = this.usageCount.incrementAndGet();
            if (log.isTraceEnabled()) {
                log.trace("Acquire transport " + usage + " " + this);
            }
            return this;
        }
    
        /**
         * {@inheritDoc}
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 27.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/dcerpc/DcerpcHandle.java

            final NdrBuffer buf = new NdrBuffer(out, 0);
    
            msg.flags = DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG;
            msg.call_id = call_id.incrementAndGet();
    
            msg.encode(buf);
    
            if (this.securityProvider != null) {
                buf.setIndex(0);
                this.securityProvider.wrap(buf);
            }
            return buf;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 15.9K bytes
    - Viewed (0)
Back to top