- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 423 for 1500 (0.01 sec)
-
mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt
* response is ready. */ @Test fun dispatchBlocksWaitingForEnqueue() { Thread { try { Thread.sleep(1000) } catch (ignored: InterruptedException) { } server.enqueue(MockResponse().setBody("enqueued in the background")) }.start() val connection = server.url("/").toUrl().openConnection()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 03 13:16:34 UTC 2025 - 22.3K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt
webSocket.close(1000, reason) }.also { expected -> assertThat(expected.message).isEqualTo("reason.size() > 123: $reason") } webSocket.close(1000, null) serverListener.assertClosing(1000, "") server.close(1000, null) clientListener.assertClosing(1000, "") clientListener.assertClosed(1000, "") serverListener.assertClosed(1000, "") } @Test
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 35.5K bytes - Viewed (0) -
src/test/java/jcifs/util/InputValidatorTest.java
assertEquals("teststring", InputValidator.sanitizeForLogging("test\tstring")); // Test long string truncation String longString = "a".repeat(1100); String sanitized = InputValidator.sanitizeForLogging(longString); assertEquals(1000, sanitized.length()); assertTrue(sanitized.endsWith("...")); } @Test @DisplayName("Test require non-empty validation")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 11.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/InputStreamThreadTest.java
thread.start(); thread.join(1000); String output = thread.getOutput(); String[] lines = output.split("\n"); assertTrue("Buffer should be limited to 10 items", lines.length <= 10); assertTrue("Last lines should be kept", output.contains("line15")); } public void test_run_maxBufferSizeConstant() { assertEquals(1000, InputStreamThread.MAX_BUFFER_SIZE); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 11.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/fileauth/CreateForm.java
/** The username for file authentication (required, maximum 100 characters). */ @Required @Size(max = 100) public String username; /** The password for file authentication (maximum 100 characters). */ @Size(max = 100) public String password; /** Additional parameters for file authentication (maximum 1000 characters). */ @Size(max = 1000) public String parameters;
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 2.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/multichannel/NetworkInterfaceInfoTest.java
assertFalse(loopback.isUsableForChannel()); } @Test void testGetScore() { NetworkInterfaceInfo basic = new NetworkInterfaceInfo(testAddress, 1000); assertEquals(1000, basic.getScore()); // Base score is link speed NetworkInterfaceInfo fast = new NetworkInterfaceInfo(testAddress, 10000); assertTrue(fast.getScore() > basic.getScore()); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 4.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/general/EditForm.java
* This affects which documents are included in search results by default. */ @Size(max = 1000) public String defaultLabelValue; /** * Default sort order for search results. * Defines how search results are ordered when no specific sort is requested. */ @Size(max = 1000) public String defaultSortValue; /** * Virtual host configuration for multi-tenant setups.
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 9.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) -
src/test/java/org/codelibs/fess/helper/RoleQueryHelperTest.java
encrypted = false; value = System.currentTimeMillis() / 1000 + "\nrole1"; roleSet = decodedRoleList(roleQueryHelperImpl, value, encrypted); assertEquals(1, roleSet.size()); assertTrue(roleSet.contains("role1")); encrypted = false; value = System.currentTimeMillis() / 1000 + "\nrole1,role2"; roleSet = decodedRoleList(roleQueryHelperImpl, value, encrypted);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 28.5K bytes - Viewed (0)