- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 707 for 100s (0.01 sec)
-
src/test/java/org/codelibs/fess/util/DocListTest.java
public void test_addContentSize_negative() { DocList docList = new DocList(); docList.addContentSize(100); assertEquals(100, docList.getContentSize()); docList.addContentSize(-30); assertEquals(70, docList.getContentSize()); docList.addContentSize(-100); assertEquals(-30, docList.getContentSize()); } public void test_addProcessingTime_negative() {Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 6.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/concurrent/DeferredTest.java
public void test_doneBeforeResolve() throws Exception { final Deferred<SuggestResponse> deferred = new Deferred<>(); Thread th = new Thread(() -> { try { Thread.sleep(1000); } catch (InterruptedException ignore) {} deferred.resolve(new SuggestResponse("", 0, Collections.emptyList(), 0, null)); }); th.start();
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Sat Mar 15 06:51:20 UTC 2025 - 4.8K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/ConnectionPoolTest.kt
assertThat(pool.closeConnections(50L)).isEqualTo(100L) assertThat(pool.connectionCount()).isEqualTo(1) assertThat(c1.socket().isClosed).isFalse() // Running at time 60, the pool returns that nothing can be evicted until time 160. assertThat(pool.closeConnections(60L)).isEqualTo(100L) assertThat(pool.connectionCount()).isEqualTo(1) assertThat(c1.socket().isClosed).isFalse()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 12.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/multichannel/ChannelManagerTest.java
InetAddress addr = InetAddress.getByName("192.168.1.100"); NetworkInterfaceInfo localInterface = new NetworkInterfaceInfo(addr, 1000); NetworkInterfaceInfo remoteInterface = new NetworkInterfaceInfo(addr, 1000); ChannelInfo healthyChannel = new ChannelInfo("test-channel", mockTransport, localInterface, remoteInterface); healthyChannel.setState(ChannelState.ESTABLISHED);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 7.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/MemoryUtil.java
} else if (size.divide(ONE_PB_BI).compareTo(BigInteger.ZERO) > 0) { displaySize = new BigDecimal(size.divide(ONE_TB_BI)).divide(BigDecimal.valueOf(1000)) + "PB"; } else if (size.divide(ONE_TB_BI).compareTo(BigInteger.ZERO) > 0) { displaySize = new BigDecimal(size.divide(ONE_GB_BI)).divide(BigDecimal.valueOf(1000)) + "TB";
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 5.3K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/smb/SmbAuthenticationHolderTest.java
fooAuth.setServer("foo"); fooAuth.setPort(1000); smbAuthenticationHolder.add(fooAuth); assertEquals(hogeAuth, smbAuthenticationHolder.get("smb://hoge/")); assertEquals(fugaAuth, smbAuthenticationHolder.get("smb://fuga/")); assertEquals(fooAuth, smbAuthenticationHolder.get("smb://foo:1000/")); assertEquals(hogeAuth, smbAuthenticationHolder.get("smb://hoge/text.txt"));
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 2.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbCopyUtilTest.java
w.write(payload, payload.length, out); // Give the writer thread time to process and set exception w.wait(100); } // Wait a bit more to ensure exception is captured Thread.sleep(100); // Act + Assert: checkException should throw the SmbException captured by the thread assertThrows(SmbException.class, w::checkException);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/QuantilesTest.java
} public void testPercentiles_indexes_varargsPairs_compute_doubleCollection() { for (int index1 = 0; index1 <= 100; index1++) { for (int index2 = 0; index2 <= 100; index2++) { ImmutableMap.Builder<Integer, Double> expectedBuilder = ImmutableMap.builder(); expectedBuilder.put(index1, expectedLargeDatasetPercentile(index1));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 29.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/QuantilesTest.java
} public void testPercentiles_indexes_varargsPairs_compute_doubleCollection() { for (int index1 = 0; index1 <= 100; index1++) { for (int index2 = 0; index2 <= 100; index2++) { ImmutableMap.Builder<Integer, Double> expectedBuilder = ImmutableMap.builder(); expectedBuilder.put(index1, expectedLargeDatasetPercentile(index1));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 29.8K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/smb1/SmbAuthenticationHolderTest.java
fooAuth.setServer("foo"); fooAuth.setPort(1000); smbAuthenticationHolder.add(fooAuth); assertEquals(hogeAuth, smbAuthenticationHolder.get("smb1://hoge/")); assertEquals(fugaAuth, smbAuthenticationHolder.get("smb1://fuga/")); assertEquals(fooAuth, smbAuthenticationHolder.get("smb1://foo:1000/")); assertEquals(hogeAuth, smbAuthenticationHolder.get("smb1://hoge/text.txt"));
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 2.3K bytes - Viewed (0)