- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 118 for setCount (0.06 sec)
-
guava-tests/test/com/google/common/util/concurrent/ListenableFutureTester.java
future.addListener( new Runnable() { @Override public void run() { latch.countDown(); } }, exec); assertEquals(1, latch.getCount()); assertFalse(future.isDone()); assertFalse(future.isCancelled()); } public void tearDown() { exec.shutdown(); } public void testCompletedFuture(@Nullable Object expectedValue)
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 3.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/timer/SystemMonitorTarget.java
final StringBuilder b = new StringBuilder(); b.append('"').append(StringEscapeUtils.escapeJson(p.getName())).append("\":{"); append(b, "count", () -> p.getCount()).append(','); append(b, "used", () -> p.getUsed().getBytes()).append(','); append(b, "capacity", () -> p.getTotalCapacity().getBytes()).append('}'); return b.toString();
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 7.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComWriteResponse.java
super(config); } /** * Gets the number of bytes written. * * @return the count of bytes written */ public long getCount() { return this.count; } @Override protected int writeParameterWordsWireFormat(final byte[] dst, final int dstIndex) { return 0; } @Override
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/RegularImmutableMultiset.java
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ExecutionListTest.java
list.add(new MockRunnable(countDownLatch), exec); list.add(new MockRunnable(countDownLatch), exec); list.add(new MockRunnable(countDownLatch), exec); assertEquals(3L, countDownLatch.getCount()); list.execute(); // Verify that all of the runnables execute in a reasonable amount of time. assertTrue(countDownLatch.await(1L, SECONDS)); } public void testExecute_idempotent() {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 4.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/GcFinalization.java
@SuppressWarnings("removal") // b/260137033 public static void await(CountDownLatch latch) { if (latch.getCount() == 0) { return; } long timeoutSeconds = timeoutSeconds(); long deadline = System.nanoTime() + SECONDS.toNanos(timeoutSeconds); do { System.runFinalization(); if (latch.getCount() == 0) { return; } System.gc(); try {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 11.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/io/Smb2WriteResponse.java
public Smb2WriteResponse(final Configuration config) { super(config); } /** * Returns the number of bytes written. * * @return the count */ public final int getCount() { return this.count; } /** * Returns the number of bytes remaining to be written. * * @return the remaining */ public final int getRemaining() {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/TestingRemovalListeners.java
@Override public void onRemoval(RemovalNotification<K, V> notification) { count.incrementAndGet(); lastNotification = notification; } public int getCount() { return count.get(); } public K getLastEvictedKey() { return lastNotification.getKey(); } public V getLastEvictedValue() { return lastNotification.getValue(); }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 3.1K bytes - Viewed (0) -
android/guava/src/com/google/common/io/CountingOutputStream.java
* * @param out the output stream to be wrapped */ public CountingOutputStream(OutputStream out) { super(checkNotNull(out)); } /** Returns the number of bytes written. */ public long getCount() { return count; } @Override public void write(byte[] b, int off, int len) throws IOException { out.write(b, off, len); count += len; } @Override
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 1.9K bytes - Viewed (0) -
CLAUDE.md
context.setNumOfThread(10); // Concurrent threads ``` ### Accessing Results ```java DataService ds = container.getComponent("dataService"); // Count int count = ds.getCount(sessionId); // Get by URL AccessResult result = ds.getAccessResult(sessionId, url); // Iterate all ds.iterate(sessionId, accessResult -> { System.out.println(accessResult.getUrl());
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Fri Nov 28 17:31:34 UTC 2025 - 10.7K bytes - Viewed (0)