- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 53 for getCount (0.24 sec)
-
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();
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 7.5K bytes - Viewed (0) -
android/guava/src/com/google/common/io/CountingInputStream.java
* * @param in the input stream to be wrapped */ public CountingInputStream(InputStream in) { super(checkNotNull(in)); } /** Returns the number of bytes read. */ public long getCount() { return count; } @Override public int read() throws IOException { int result = in.read(); if (result != -1) { count++; } return result; } @Override
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed May 17 14:35:11 GMT 2023 - 2.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/io/Smb2WriteResponse.java
/** * @param config */ public Smb2WriteResponse ( Configuration config ) { super(config); } /** * @return the count */ public final int getCount () { return this.count; } /** * @return the remaining */ public final int getRemaining () { return this.remaining; } /**
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 2.5K bytes - Viewed (0) -
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(); }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 3K bytes - Viewed (0) -
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, TimeUnit.SECONDS)); } public void testExecute_idempotent() {
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Wed Feb 09 22:57:07 GMT 2022 - 4.7K 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, TimeUnit.SECONDS)); } public void testExecute_idempotent() {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 09 22:57:07 GMT 2022 - 4.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/RegularImmutableMultiset.java
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Nov 30 21:54:06 GMT 2023 - 4.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/EnumMultiset.java
return new Multisets.AbstractEntry<E>() { @Override public E getElement() { return enumConstants[index]; } @Override public int getCount() { return counts[index]; } }; } }; } @Override public void forEachEntry(ObjIntConsumer<? super E> action) { checkNotNull(action);
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 9.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/CacheReferencesTest.java
} catch (OutOfMemoryError e) { } } CacheTesting.processPendingNotifications(cache); assertEquals(1, cache.size()); assertEquals(1, removalListener.getCount()); } // A simple type whose .toString() will return the same value each time, but without maintaining // a strong reference to that value. static class Key { private final int value;
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 6.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/CacheReferencesTest.java
} catch (OutOfMemoryError e) { } } CacheTesting.processPendingNotifications(cache); assertEquals(1, cache.size()); assertEquals(1, removalListener.getCount()); } // A simple type whose .toString() will return the same value each time, but without maintaining // a strong reference to that value. static class Key { private final int value;
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 6.1K bytes - Viewed (0)