- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 530 for 1900 (0.02 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
samples/guide/src/main/java/okhttp3/recipes/WebSocketEcho.java
} @Override public void onOpen(WebSocket webSocket, Response response) { webSocket.send("Hello..."); webSocket.send("...World!"); webSocket.send(ByteString.decodeHex("deadbeef")); webSocket.close(1000, "Goodbye, World!"); } @Override public void onMessage(WebSocket webSocket, String text) { System.out.println("MESSAGE: " + text); }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Apr 04 11:40:21 GMT 2024 - 1.6K bytes - Click Count (0) -
src/test/java/org/codelibs/core/convert/IntegerConversionUtilTest.java
/** * @throws Exception */ public void testToInteger() throws Exception { assertEquals(Integer.valueOf("1000"), IntegerConversionUtil.toInteger("1,000")); } /** * @throws Exception */ public void testToPrimitiveInt() throws Exception { assertEquals(1000, IntegerConversionUtil.toPrimitiveInt("1,000")); } /** * @throws Exception */Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Fri Jun 20 13:40:57 GMT 2025 - 1.5K bytes - Click Count (0) -
src/test/java/jcifs/util/transport/TransportTest.java
assertTrue(transport.connect(1000)); } @Test @DisplayName("connect should throw TransportException on connection failure") void shouldThrowOnConnectionFailure() { transport.setState(0); // Not connected transport.setConnectFails(true); assertThrows(TransportException.class, () -> transport.connect(1000)); } @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/JobProcessTest.java
Consumer<String> callback = line -> callbackResults.add(line); JobProcess jobProcess = new JobProcess(mockProcess, 100, callback); InputStreamThread thread = jobProcess.getInputStreamThread(); thread.start(); thread.join(1000); assertEquals(2, callbackResults.size()); assertEquals("integration test", callbackResults.get(0));
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 8.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/it/admin/ReqHeaderTests.java
requestBody.put("urls", "http://www.example.com"); requestBody.put("user_agent", "Mozilla/5.0"); requestBody.put("num_of_thread", 5); requestBody.put("interval_time", 1000); requestBody.put("boost", 100.0); requestBody.put("available", true); requestBody.put("sort_order", 1); checkMethodBase(requestBody).post("/api/admin/webconfig/setting") .then()
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/dict/stemmeroverride/CreateForm.java
@ValidateTypeFailure public Integer crudMode; /** The input word that should be stemmed differently */ @Required @Size(max = 1000) public String input; /** The desired stem output for the input word */ @Required @Size(max = 1000) public String output; /** * Initializes the form with default values for creating a new stemmer override entry. */Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 1.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/PermissionHelperTest.java
} } } @Test public void test_encode_withLongValues() { String longUser = "user" + "x".repeat(1000); String longGroup = "group" + "y".repeat(1000); String longRole = "role" + "z".repeat(1000); String encodedUser = permissionHelper.encode("{user}" + longUser); String encodedGroup = permissionHelper.encode("{group}" + longGroup);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 14K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketWriterTest.kt
serverWriter.writePing(binaryData(1000)) }.also { expected -> assertThat(expected.message).isEqualTo( "Payload size must be less than or equal to 125", ) } } @Test fun pongTooLongThrows() { assertFailsWith<IllegalArgumentException> { serverWriter.writePong((binaryData(1000))) }.also { expected ->
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 9.3K bytes - Click Count (0) -
compat/maven-embedder/src/test/java/org/apache/maven/cli/transfer/FileSizeFormatTest.java
assertEquals("10 GB", format.format(10L * 1000L * 1000L * 1000L)); assertEquals("15 GB", format.format(15L * 1000L * 1000L * 1000L)); assertEquals("1000 GB", format.format(1000L * 1000L * 1000L * 1000L)); } @Test void testSizeWithSelectedScaleUnit() { FileSizeFormat format = new FileSizeFormat(); assertEquals("0 B", format.format(0L));
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Mar 21 04:56:21 GMT 2025 - 10.5K bytes - Click Count (0) -
src/main/java/jcifs/util/SmbCircuitBreaker.java
if (total == 0) { return 100.0; } return (totalSuccesses.get() * 100.0) / total; } /** * Calculate availability * * @return availability as percentage (0-100) */ private double calculateAvailability() { long total = totalRequests.get(); if (total == 0) { return 100.0; }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 33.4K bytes - Click Count (0)