Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 34 for getAndIncrement (0.31 sec)

  1. guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

          for (int i = 0; i < passedArgs.length; i++) {
            assertEquals(
                "Parameter #" + i + " of " + method + " not forwarded", passedArgs[i], args[i]);
          }
          called.getAndIncrement();
          return returnValue;
        }
    
        void testInteraction(Function<? super T, ? extends T> wrapperFunction) {
          T proxy = Reflection.newProxy(interfaceType, this);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImpl.java

                    indexingHelper.sendDocuments(searchEngineClient, docList);
                }
                executeTime += processingTime;
            }
    
            documentSize.getAndIncrement();
    
            if (logger.isDebugEnabled()) {
                logger.debug("The number of an added document is {}.", documentSize.get());
            }
    
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/lease/DirectoryCacheEntry.java

        }
    
        /**
         * Get and increment inconsistency count
         *
         * @return the current inconsistency count
         */
        public int getInconsistencyCount() {
            return inconsistencyCount.getAndIncrement();
        }
    
        /**
         * Reset inconsistency count
         */
        public void resetInconsistencyCount() {
            inconsistencyCount.set(0);
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/base/SuppliersTest.java

                                + " synchronizing on supplier"));
                    break;
                  }
                  Thread.yield();
                }
                count.getAndIncrement();
                return Boolean.TRUE;
              }
            };
    
        Supplier<Boolean> memoizedSupplier = memoizer.apply(supplier);
    
        for (int i = 0; i < numThreads; i++) {
          threads[i] =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  5. android/guava-tests/benchmark/com/google/common/util/concurrent/ExecutionListBenchmark.java

          Future<?> possiblyIgnoredError =
              executorService.submit(
                  new Runnable() {
                    @Override
                    public void run() {
                      integer.getAndIncrement();
                    }
                  });
        }
      }
    
      @AfterExperiment
      void tearDown() throws Exception {
        executorService.shutdown();
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImplTest.java

                        indexingHelper.sendDocuments(searchEngineClient, docList);
                    }
                    executeTime += processingTime;
                }
    
                documentSize.getAndIncrement();
            }
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 24.5K bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/AtomicLongMap.java

        return accumulateAndGet(key, delta, Long::sum);
      }
    
      /**
       * Increments by one the value currently associated with {@code key}, and returns the old value.
       */
      @CanIgnoreReturnValue
      public long getAndIncrement(K key) {
        return getAndAdd(key, 1);
      }
    
      /**
       * Decrements by one the value currently associated with {@code key}, and returns the old 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)
  8. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java

     *   static final 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;
     *   }
     *
     *   public int compareTo(FIFOEntry<E> other) {
     *     int res = entry.compareTo(other.entry);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/MultiChannelManager.java

                if (channels.isEmpty()) {
                    return null;
                }
    
                switch (strategy) {
                case ROUND_ROBIN:
                    int index = roundRobinIndex.getAndIncrement() % channels.size();
                    return channels.get(index);
    
                case LEAST_CONNECTIONS:
                    return channels.stream()
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/ConnectionCoalescingTest.kt

          object : EventListener() {
            override fun connectStart(
              call: Call,
              inetSocketAddress: InetSocketAddress,
              proxy: Proxy,
            ) {
              connectCount.getAndIncrement()
            }
          }
        client =
          client
            .newBuilder()
            .eventListenerFactory(clientTestRule.wrap(listener))
            .build()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jun 19 11:44:16 UTC 2025
    - 19.1K bytes
    - Viewed (0)
Back to top