- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 19 for writePong (0.53 seconds)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/RealWebSocket.kt
} } else if (messageOrClose == null) { return false // The queue is exhausted. } } } try { if (pong != null) { writer!!.writePong(pong) } else if (messageOrClose is Message) { val message = messageOrClose writer!!.writeMessageFrame(message.formatOpcode, message.data) synchronized(this) {Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Jul 31 04:18:40 GMT 2025 - 21.6K bytes - Click Count (0) -
src/test/java/jcifs/ntlmssp/NtlmMessageTest.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.5K bytes - Click Count (0) -
internal/ringbuffer/ring_buffer.go
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 13.3K bytes - Click Count (0) -
internal/ringbuffer/ring_buffer_test.go
time.Sleep(time.Duration(readRng.Intn(maxSleep))) } } }() // Writer { buf := make([]byte, 1024) writeRng := rand.New(rand.NewSource(2)) for range 2500 { writeRng.Read(buf) // Write n, err := rb.Write(buf[:writeRng.Intn(len(buf))]) if err != nil { t.Fatalf("write failed: %v", err) } wroteBytes += n wrote.Write(buf[:n])
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 26.7K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt
@Throws(InterruptedException::class) fun writePingAndAwaitPong() { writePing() awaitPong() } /** For testing: sends a ping to be awaited with [awaitPong]. */ @Throws(InterruptedException::class) fun writePing() { withLock { awaitPingsSent++ } // 0x4f 0x4b 0x6f 0x6b is "OKok". writePing(false, AWAIT_PING, 0x4f4b6f6b) } /** For testing: awaits a pong. */
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 31.9K bytes - Click Count (0) -
src/test/java/jcifs/ntlmssp/Type2MessageTest.java
Type2Message.writeULong(truncatedMessage, 8, Type2Message.NTLMSSP_TYPE2); // Set empty target name buffer Type2Message.writeUShort(truncatedMessage, 12, 0); // length Type2Message.writeUShort(truncatedMessage, 14, 0); // max length Type2Message.writeULong(truncatedMessage, 16, 48); // offset (past the end) // Set flagsCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 38.9K bytes - Click Count (0) -
src/main/java/jcifs/ntlmssp/Type2Message.java
pos += NTLMSSP_SIGNATURE.length; writeULong(type2, pos, NTLMSSP_TYPE2); pos += 4; // TargetNameFields final int targetNameOff = writeSecurityBuffer(type2, pos, targetBytes); pos += 8; writeULong(type2, pos, flags); pos += 4; // ServerChallengeCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 14.4K bytes - Click Count (0) -
src/main/java/jcifs/smb1/ntlmssp/Type2Message.java
System.arraycopy(NTLMSSP_SIGNATURE, 0, type2, 0, 8); writeULong(type2, 8, 2); writeSecurityBuffer(type2, 12, data, target); writeULong(type2, 20, flags); System.arraycopy(challenge != null ? challenge : new byte[8], 0, type2, 24, 8); if (context != null) {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 13K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java
} @Override public final void writeInt(final int v) throws SmbException { Encdec.enc_uint32be(v, tmp, 0); write(tmp, 0, 4); } @Override public final void writeLong(final long v) throws SmbException { Encdec.enc_uint64be(v, tmp, 0); write(tmp, 0, 8); } @Override public final void writeFloat(final float v) throws SmbException {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 14.1K bytes - Click Count (0) -
src/test/java/jcifs/pac/PacLogonInfoTest.java
dos.writeInt(Integer.reverseBytes(value)); } private void writeLittleEndianLong(DataOutputStream dos, long value) throws IOException { dos.writeLong(Long.reverseBytes(value)); } @Test @DisplayName("Test parsing with invalid data size") void testInvalidDataSize() { byte[] tooSmall = new byte[10];
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.3K bytes - Click Count (0)