- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 64 for payload (0.04 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) -
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) -
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) -
src/test/java/jcifs/smb1/ntlmssp/NtlmMessageTest.java
void testReadSecurityBuffer() { byte[] buf = new byte[8 + 4]; byte[] payload = { 0x11, 0x22, 0x33, 0x44 }; NtlmMessage.writeSecurityBuffer(buf, 0, 8, payload); byte[] extracted = NtlmMessage.readSecurityBuffer(buf, 0); assertArrayEquals(payload, extracted, "Payload should match original"); } @Test @DisplayName("readSecurityBuffer throws when array is too short")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.8K bytes - Viewed (0) -
src/main/java/jcifs/util/transport/Message.java
public interface Message { /** * Indicate that this message should retain it's raw payload */ void retainPayload(); /** * Determines whether to retain the message payload. * * @return whether to retain the message payload */ boolean isRetainPayload(); /** * Gets the raw payload of the message. * * @return the raw response message */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.6K bytes - Viewed (0)