- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 130 for payload (0.1 sec)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketWriter.kt
/** Send a ping with the supplied [payload]. */ @Throws(IOException::class) fun writePing(payload: ByteString) { writeControlFrame(OPCODE_CONTROL_PING, payload) } /** Send a pong with the supplied [payload]. */ @Throws(IOException::class) fun writePong(payload: ByteString) { writeControlFrame(OPCODE_CONTROL_PONG, payload) } /**
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 6K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketRecorder.kt
fun assertTextMessage(payload: String?) { assertThat(nextEvent()).isEqualTo(Message(string = payload)) } fun assertBinaryMessage(payload: ByteString?) { assertThat(nextEvent()).isEqualTo(Message(payload)) } fun assertPing(payload: ByteString) { assertThat(nextEvent()).isEqualTo(Ping(payload)) } fun assertPong(payload: ByteString) {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 6.8K bytes - Viewed (0) -
src/test/java/jcifs/util/transport/MessageTest.java
// Set a new payload and verify byte[] payload1 = "test_payload_1".getBytes(); message.setRawPayload(payload1); assertArrayEquals(payload1, message.getRawPayload(), "getRawPayload should return the set payload"); // Set another payload and verify byte[] payload2 = new byte[] { 1, 2, 3, 4, 5 }; message.setRawPayload(payload2);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/validation/UriTypeTest.java
assertEquals("Should have 2 payloads", 2, multiAnnotation.payload().length); assertEquals("First payload should be TestPayload", TestPayload.class, multiAnnotation.payload()[0]); assertEquals("Second payload should be AnotherTestPayload", AnotherTestPayload.class, multiAnnotation.payload()[1]); } // Test ProtocolType enum values
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 21K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/validation/CustomSizeTest.java
assertEquals("Should have 2 payloads", 2, multiAnnotation.payload().length); assertEquals("First payload should be TestPayload", TestPayload.class, multiAnnotation.payload()[0]); assertEquals("Second payload should be AnotherTestPayload", AnotherTestPayload.class, multiAnnotation.payload()[1]); } // Additional test interfaces for multiple groups/payloads test private interface AnotherTestGroup {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 17.2K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketProtocol.kt
internal const val OPCODE_FLAG_CONTROL = 8 /** * Byte 1 flag for whether the payload data is masked. * * If this flag is set, the next four * bytes represent the mask key. These bytes appear after any additional bytes specified by [B1_MASK_LENGTH]. */ internal const val B1_FLAG_MASK = 128 /** * Byte 1 mask for the payload length. * * If this value is [PAYLOAD_SHORT], the next two
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 4.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/validation/CronExpression.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 1.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ServerMessageBlock2ResponseTest.java
response.setDigest(null); response.haveResponse(buffer, 1, 3); byte[] payload = response.getRawPayload(); assertNotNull(payload); assertEquals(3, payload.length); assertArrayEquals(new byte[] { 2, 3, 4 }, payload); assertTrue(response.isReceived()); assertFalse(response.isAsyncHandled()); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.3K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketReader.kt
interface FrameCallback { @Throws(IOException::class) fun onReadMessage(text: String) @Throws(IOException::class) fun onReadMessage(bytes: ByteString) fun onReadPing(payload: ByteString) fun onReadPong(payload: ByteString) fun onReadClose( code: Int, reason: String, ) } /** * Process the next protocol frame. *
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue Jul 29 22:04:11 UTC 2025 - 9.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbCopyUtilTest.java
assertTrue(w.isReady(), "WriterThread should be ready to accept work"); // Act: submit a write w.write(payload, 3, out); } // Assert: verify the underlying stream was called verify(out, timeout(1000)).write(payload, 0, 3); // Stop the thread by sending n = -1 synchronized (w) { w.write(new byte[0], -1, out); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.1K bytes - Viewed (0)