Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 91 - 100 of 119 for incrementAndGet (0.09 seconds)

  1. 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 {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  2. 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;
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:45:58 GMT 2026
    - 28.1K bytes
    - Click Count (0)
  3. 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;
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 15.9K bytes
    - Click Count (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();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 24.7K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/helper/CrawlerStatsHelper.java

             * Increments the reference count for this statistics object.
             *
             * @return the new reference count after incrementing
             */
            public int increment() {
                return count.incrementAndGet();
            }
    
            /**
             * Decrements the reference count for this statistics object.
             *
             * @return the new reference count after decrementing
             */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 17.4K bytes
    - Click Count (0)
  6. 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() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 26.7K bytes
    - Click Count (2)
  7. src/test/java/org/codelibs/fess/util/WebApiUtilTest.java

                        WebApiUtil.setError(400 + threadId, "Error " + threadId);
                        WebApiUtil.validate();
                    } catch (Exception e) {
                        errorCount.incrementAndGet();
                    } finally {
                        latch.countDown();
                    }
                }).start();
            }
    
            try {
                latch.await();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 17.4K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/helper/CrawlingInfoHelperTest.java

            for (int i = 0; i < 1000; i++) {
                pool.execute(() -> {
                    assertEquals(result, crawlingInfoHelper.generateId(dataMap));
                    counter.incrementAndGet();
                });
            }
            pool.shutdown();
            pool.awaitTermination(10, TimeUnit.SECONDS);
            assertEquals(1000, counter.get());
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 12 01:46:45 GMT 2026
    - 28.7K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/job/CrawlJob.java

                        if (logger.isDebugEnabled()) {
                            logger.debug("Scheduled job is running: id={}", scheduledJob.getId());
                        }
                        counter.incrementAndGet();
                    } else if (logger.isDebugEnabled()) {
                        logger.debug("Scheduled job is not running: id={}", scheduledJob.getId());
                    }
                }
            });
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 19.6K bytes
    - Click Count (0)
  10. src/main/java/jcifs/internal/smb2/multichannel/ChannelManager.java

            }
    
            // Create transport for this channel
            SmbTransport transport = createTransport(localIf, remoteIf);
    
            // Create channel info
            String channelId = "channel-" + channelCounter.incrementAndGet();
            ChannelInfo channel = new ChannelInfo(channelId, transport, localIf, remoteIf);
    
            // Establish connection
            channel.setState(ChannelState.CONNECTING);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 11:13:46 GMT 2025
    - 20K bytes
    - Click Count (0)
Back to Top