- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 19 for writePong (0.12 sec)
-
okhttp/src/test/java/okhttp3/internal/ws/WebSocketWriterTest.kt
clientWriter.writePing("Hello".encodeUtf8()) assertData("898560b420bb28d14cd70f") } @Test fun serverEmptyPong() { serverWriter.writePong(EMPTY) assertData("8a00") } @Test fun clientEmptyPong() { clientWriter.writePong(EMPTY) assertData("8a8060b420bb") } @Test fun serverPongWithPayload() { serverWriter.writePong("Hello".encodeUtf8()) assertData("8a0548656c6c6f")
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 9.3K bytes - Viewed (0) -
okhttp/src/main/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 Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 5.9K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/FakeDns.kt
val from = nextAddress nextAddress += count return (from until nextAddress) .map { return@map InetAddress.getByAddress( Buffer().writeLong(0L).writeLong(it).readByteArray(), ) } }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.6K bytes - Viewed (0) -
guava/src/com/google/common/io/LittleEndianDataOutputStream.java
} /** * Writes a {@code long} as specified by {@link DataOutputStream#writeLong(long)}, except using * little-endian byte order. * * @throws IOException if an I/O error occurs */ @Override public void writeLong(long v) throws IOException { ((DataOutputStream) out).writeLong(Long.reverseBytes(v)); } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 26 12:34:49 UTC 2024 - 5.2K bytes - Viewed (0) -
guava/src/com/google/common/io/ByteArrayDataOutput.java
@Override void writeByte(int v); @Override void writeShort(int v); @Override void writeChar(int v); @Override void writeInt(int v); @Override void writeLong(long v); @Override void writeFloat(float v); @Override void writeDouble(double v); @Override void writeChars(String s); @Override void writeUTF(String s); /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 28 20:13:02 UTC 2023 - 2K bytes - Viewed (0) -
android/guava/src/com/google/common/io/ByteArrayDataOutput.java
@Override void writeByte(int v); @Override void writeShort(int v); @Override void writeChar(int v); @Override void writeInt(int v); @Override void writeLong(long v); @Override void writeFloat(float v); @Override void writeDouble(double v); @Override void writeChars(String s); @Override void writeUTF(String s); /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 28 20:13:02 UTC 2023 - 2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/ntlmssp/Type1Message.java
byte[] type1 = new byte[hostInfo ? (32 + domain.length + workstation.length) : 16]; System.arraycopy(NTLMSSP_SIGNATURE, 0, type1, 0, 8); writeULong(type1, 8, 1); writeULong(type1, 12, flags); if (hostInfo) { writeSecurityBuffer(type1, 16, 32, domain); writeSecurityBuffer(type1, 24, 32 + domain.length, workstation); }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 8K bytes - Viewed (0) -
src/main/java/jcifs/ntlmssp/NtlmMessage.java
int offset = readULong(src, index + 4); byte[] buffer = new byte[length]; System.arraycopy(src, offset, buffer, 0, length); return buffer; } static void writeULong ( byte[] dest, int offset, int ulong ) { dest[ offset ] = (byte) ( ulong & 0xff ); dest[ offset + 1 ] = (byte) ( ulong >> 8 & 0xff ); dest[ offset + 2 ] = (byte) ( ulong >> 16 & 0xff );
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 5.1K bytes - Viewed (0) -
src/main/java/jcifs/ntlmssp/Type1Message.java
int pos = 0; System.arraycopy(NTLMSSP_SIGNATURE, 0, type1, 0, NTLMSSP_SIGNATURE.length); pos += NTLMSSP_SIGNATURE.length; writeULong(type1, pos, NTLMSSP_TYPE1); pos += 4; writeULong(type1, pos, flags); pos += 4; int domOffOff = writeSecurityBuffer(type1, pos, domain); pos += 8;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Sep 02 12:55:08 UTC 2018 - 7.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/ntlmssp/NtlmMessage.java
int offset = readULong(src, index + 4); byte[] buffer = new byte[length]; System.arraycopy(src, offset, buffer, 0, length); return buffer; } static void writeULong(byte[] dest, int offset, int ulong) { dest[offset] = (byte) (ulong & 0xff); dest[offset + 1] = (byte) (ulong >> 8 & 0xff); dest[offset + 2] = (byte) (ulong >> 16 & 0xff);
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 4.3K bytes - Viewed (0)