- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 42 for writeInt2 (0.17 sec)
-
okhttp/src/test/java/okhttp3/internal/http2/Http2Test.kt
frame.writeByte(Http2.TYPE_SETTINGS) frame.writeByte(FLAG_NONE) frame.writeInt(0) // Settings are always on the connection stream 0. frame.writeShort(1) // SETTINGS_HEADER_TABLE_SIZE frame.writeInt(reducedTableSizeBytes) frame.writeShort(2) // SETTINGS_ENABLE_PUSH frame.writeInt(0) reader.nextFrame( requireSettings = false, object : BaseTestHandler() {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 28.1K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Writer.kt
frameHeader( streamId = 0, length = 8, type = TYPE_PING, flags = if (ack) FLAG_ACK else FLAG_NONE, ) sink.writeInt(payload1) sink.writeInt(payload2) sink.flush() } } /** * Tell the peer to stop creating streams and that we last processed `lastGoodStreamId`, or zero * if no streams were processed. *
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 20 17:03:43 GMT 2024 - 11.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/ByteStreamsTest.java
} public void testNewDataOutput_writeInt() { ByteArrayDataOutput out = ByteStreams.newDataOutput(); out.writeInt(0x12345678); out.writeInt(0x76543210); assertThat(out.toByteArray()).isEqualTo(bytes); } public void testNewDataOutput_sized() { ByteArrayDataOutput out = ByteStreams.newDataOutput(4); out.writeInt(0x12345678); out.writeInt(0x76543210);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 21.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/SMB1SigningDigest.java
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Aug 05 09:45:59 GMT 2018 - 10.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/ByteStreamsTest.java
} public void testNewDataOutput_writeInt() { ByteArrayDataOutput out = ByteStreams.newDataOutput(); out.writeInt(0x12345678); out.writeInt(0x76543210); assertThat(out.toByteArray()).isEqualTo(bytes); } public void testNewDataOutput_sized() { ByteArrayDataOutput out = ByteStreams.newDataOutput(4); out.writeInt(0x12345678); out.writeInt(0x76543210);
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 21.9K bytes - Viewed (1) -
okhttp/src/main/kotlin/okhttp3/internal/http2/Hpack.kt
// Multiple dynamic table size updates! writeInt(smallestHeaderTableSizeSetting, PREFIX_5_BITS, 0x20) } emitDynamicTableSizeUpdate = false smallestHeaderTableSizeSetting = Integer.MAX_VALUE writeInt(maxDynamicTableByteCount, PREFIX_5_BITS, 0x20) } for (i in 0 until headerBlock.size) {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 22.5K bytes - Viewed (1) -
cmd/local-locker_gen.go
err = en.Append(0x83, 0xa5, 0x54, 0x6f, 0x74, 0x61, 0x6c) if err != nil { return } err = en.WriteInt(z.Total) if err != nil { err = msgp.WrapError(err, "Total") return } // write "Writes" err = en.Append(0xa6, 0x57, 0x72, 0x69, 0x74, 0x65, 0x73) if err != nil { return } err = en.WriteInt(z.Writes) if err != nil { err = msgp.WrapError(err, "Writes") return } // write "Reads"
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Mar 21 17:21:35 GMT 2024 - 13.8K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmContext.java
throw new CIFSException("Failed to encrypt MIC", e); } } byte[] sig = new byte[16]; SMBUtil.writeInt4(1, sig, 0); // version System.arraycopy(trunc, 0, sig, 4, 8); // checksum SMBUtil.writeInt4(seqNum, sig, 12); // seqNum return sig; } @Override public void verifyMIC ( byte[] data, byte[] mic ) throws CIFSException {
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Tue Jul 07 12:07:20 GMT 2020 - 15.7K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/http2/HpackTest.kt
} @Test fun writeSingleByteInt() { hpackWriter!!.writeInt(10, 31, 0) assertBytes(10) hpackWriter!!.writeInt(10, 31, 0xe0) assertBytes(0xe0 or 10) } @Test fun writeMultibyteInt() { hpackWriter!!.writeInt(1337, 31, 0) assertBytes(31, 154, 10) hpackWriter!!.writeInt(1337, 31, 0xe0) assertBytes(0xe0 or 31, 154, 10) } @Test
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 38.2K bytes - Viewed (0) -
cmd/metacache-set_gen.go
// write "pool" err = en.Append(0xa4, 0x70, 0x6f, 0x6f, 0x6c) if err != nil { return } err = en.WriteInt(z.pool) if err != nil { err = msgp.WrapError(err, "pool") return } // write "set" err = en.Append(0xa3, 0x73, 0x65, 0x74) if err != nil { return } err = en.WriteInt(z.set) if err != nil { err = msgp.WrapError(err, "set") return } return }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Mar 19 20:23:12 GMT 2024 - 13.8K bytes - Viewed (0)