- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 103 for getCount (0.19 sec)
-
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchDataService.java
} @Override public void update(final List<OpenSearchAccessResult> accessResultList) { insertAll(accessResultList, OpType.INDEX); } @Override public int getCount(final String sessionId) { return getCount(builder -> builder.setQuery(QueryBuilders.termQuery(SESSION_ID, sessionId))); } @Override public void delete(final String sessionId) { deleteBySessionId(sessionId); }
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Nov 07 04:44:10 UTC 2024 - 8.5K 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 Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 3K bytes - Viewed (0) -
guava/src/com/google/common/collect/AbstractMapBasedMultiset.java
} frequency.add(-numberRemoved); size -= numberRemoved; return oldCount; } // Roughly a 33% performance improvement over AbstractMultiset.setCount(). @CanIgnoreReturnValue @Override public int setCount(@ParametricNullness E element, int count) { checkNonnegative(count, "count"); Count existingCounter; int oldCount; if (count == 0) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 10.4K 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 Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 28 20:13:02 UTC 2023 - 2K bytes - Viewed (0) -
guava/src/com/google/common/collect/TreeMultiset.java
@Override @ParametricNullness public E getElement() { return baseEntry.getElement(); } @Override public int getCount() { int result = baseEntry.getCount(); if (result == 0) { return count(getElement()); } else { return result; } } }; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 20:24:49 UTC 2024 - 34.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(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/stats/ApiAdminStatsAction.java
jvmObj.pools = bufferPools.stream().map(p -> { final JvmPoolObj jvmPoolObj = new JvmPoolObj(); jvmPoolObj.key = p.getName(); jvmPoolObj.count = p.getCount(); jvmPoolObj.used = p.getUsed().getBytes(); jvmPoolObj.capacity = p.getTotalCapacity().getBytes(); return jvmPoolObj; }).toArray(n -> new JvmPoolObj[n]);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 12.1K 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;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 14:28:19 UTC 2024 - 6.2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java
} /** Call the {@code setCount()} method under test, and check its return value. */ abstract void setCountCheckReturnValue(E element, int count); /** * Call the {@code setCount()} method under test, but do not check its return value. Callers * should use this method over {@link #setCountCheckReturnValue(Object, int)} when they expect * {@code setCount()} to throw an exception, as checking the return value could produce an
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 13K bytes - Viewed (0) -
guava/src/com/google/common/collect/JdkBackedImmutableMultiset.java
Map<E, Integer> delegateMap = Maps.newHashMapWithExpectedSize(entriesArray.length); long size = 0; for (int i = 0; i < entriesArray.length; i++) { Entry<E> entry = entriesArray[i]; int count = entry.getCount(); size += count; E element = checkNotNull(entry.getElement()); delegateMap.put(element, count); if (!(entry instanceof Multisets.ImmutableEntry)) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 22 21:19:52 UTC 2024 - 3.3K bytes - Viewed (0)