- Sort Score
- Result 10 results
- Languages All
Results 391 - 400 of 614 for countIn (0.2 sec)
-
android/guava-tests/benchmark/com/google/common/cache/ChainBenchmark.java
for (int i = 0; i < reps; i++) { // TODO(b/145386688): This access should be guarded by 'this.segment', which is not currently // held segment.removeEntryFromChain(chain, head); dummy += segment.count; } return dummy; }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 2.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/StatsTesting.java
CONSTANT_VALUES_PAIRED_STATS); // Helper methods: static void assertStatsApproxEqual(Stats expectedStats, Stats actualStats) { assertThat(actualStats.count()).isEqualTo(expectedStats.count()); if (expectedStats.count() == 0) { try { actualStats.mean(); fail("Expected IllegalStateException"); } catch (IllegalStateException expected) { } try {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 23.8K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AggregateFutureState.java
/** * A helper which does some thread-safe operations for aggregate futures, which must be implemented * differently in GWT. Namely: * * <ul> * <li>Lazily initializes a set of seen exceptions * <li>Decrements a counter atomically * </ul> */ @GwtCompatible @ReflectionSupport(value = ReflectionSupport.Level.FULL) abstract class AggregateFutureState<OutputT extends @Nullable Object> extends AbstractFuture.TrustedFuture<OutputT> {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 8.5K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/concurrent/TaskRunnerRealBackendTest.kt
Thread.sleep(250) backend.shutdown() return@schedule -1L } assertThat(queue.idleLatch().await(500L, TimeUnit.MILLISECONDS)).isTrue() assertThat(queue.idleLatch().count).isEqualTo(0) }
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 3.5K bytes - Viewed (0) -
src/test/java/jcifs/audit/SecurityAuditLoggerTest.java
logger.resetStatistics(); Map<EventType, Long> statsAfter = logger.getStatistics(); // After reset, all counters should be 0 for (Long count : statsAfter.values()) { assertEquals(Long.valueOf(0), count, "All statistics should be 0 after reset"); } } @Test @DisplayName("Test JSON logging toggle") void testJsonLoggingToggle() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 8.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComNegotiateResponse.java
*/ public int getNegotiatedSendBufferSize() { return this.snd_buf_size; } /** * Gets the negotiated multiplex count. * * @return negotiated multiplex count */ public int getNegotiatedMpxCount() { return this.maxMpxCount; } /** * Gets the negotiated session key. *Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 15.8K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/util/XPathAPI.java
* NodeList nodes = xPathAPI.selectNodeList(contextNode, "//example"); * Node singleNode = xPathAPI.selectSingleNode(contextNode, "//example[1]"); * XPathEvaluationResult<?> result = xPathAPI.eval(contextNode, "count(//example)"); * } * </pre> * * <p>Note: This class is not thread-safe. Each thread should create its own instance of XPathAPI.</p> * * @see javax.xml.xpath.XPath * @see javax.xml.xpath.XPathFactory
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 4.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/MemoryUtil.java
return "Mem:{used " + byteCountToDisplaySize(usedBytes) + ", heap " + byteCountToDisplaySize(totalBytes) + ", max " + byteCountToDisplaySize(maxBytes) + "}"; } /** * Converts byte count to human-readable size format. * * @param size the size in bytes * @return formatted size string */ public static String byteCountToDisplaySize(final long size) {
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 5.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/SimpleAbstractMultisetTest.java
return Multisets.linearTimeSizeImpl(this); } @Override public void clear() { throw new UnsupportedOperationException(); } @Override public int count(@Nullable Object element) { for (Entry<E> entry : entrySet()) { if (Objects.equals(entry.getElement(), element)) { return entry.getCount(); } } return 0; }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/jcifs/util/ResourceManagerTest.java
System.gc(); Thread.sleep(200); // Check for leaks resourceManager.checkForLeaks(); Map<String, Object> stats = resourceManager.getStatistics(); // The leak counter may or may not increment depending on GC timing assertNotNull(stats.get("totalLeaks")); } private void createLeakyResource() { TestResource resource = new TestResource("leaky");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 8.9K bytes - Viewed (0)