Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 89 for incrementAndGet (0.07 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/test/java/org/codelibs/fess/util/SearchEngineUtilTest.java

                // but we can verify the method signature and basic functionality
                SearchEngineUtil.scroll("test_index", hit -> {
                    callbackCount.incrementAndGet();
                    return true; // Continue processing
                });
            } catch (Exception e) {
                // Expected in test environment without proper SearchEngineClient
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 13.8K bytes
    - Click Count (0)
  2. android/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);
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 91K bytes
    - Click Count (0)
  3. src/main/java/jcifs/smb/SmbFileHandleImpl.java

            }
        }
    
        /**
         * @return a file handle with increased usage count
         */
        public SmbFileHandleImpl acquire() {
            final long usage = this.usageCount.incrementAndGet();
            if (log.isTraceEnabled()) {
                log.trace(String.format("Acquire %s (%d)", this, usage));
            }
            return this;
        }
    
        /**
         *
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 9.4K bytes
    - Click Count (1)
  4. android/guava-tests/test/com/google/common/eventbus/EventBusTest.java

        AtomicInteger calls = new AtomicInteger();
        bus.register(
            new Callback<String>() {
              @Subscribe
              @Override
              public void call(String s) {
                calls.incrementAndGet();
              }
            });
    
        bus.post("hello");
    
        assertEquals(1, calls.get());
      }
    
      public void testPrimitiveSubscribeFails() {
        class SubscribesToPrimitive {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 11.6K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/eventbus/EventBusTest.java

        AtomicInteger calls = new AtomicInteger();
        bus.register(
            new Callback<String>() {
              @Subscribe
              @Override
              public void call(String s) {
                calls.incrementAndGet();
              }
            });
    
        bus.post("hello");
    
        assertEquals(1, calls.get());
      }
    
      public void testPrimitiveSubscribeFails() {
        class SubscribesToPrimitive {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 11.6K bytes
    - Click Count (0)
  6. src/test/java/jcifs/SmbSessionTest.java

                        try {
                            Configuration result = mockSession.getConfig();
                            if (result == mockConfig) {
                                successCount.incrementAndGet();
                            }
                        } finally {
                            latch.countDown();
                        }
                    }).start();
                }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  7. 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.7K bytes
    - Click Count (0)
  8. 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)
  9. 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)
  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;
        }
    
    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)
Back to Top