- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 53 for WriteInt (0.12 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() {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 28.1K bytes - Viewed (0) -
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) {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 22.5K 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. *
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Apr 20 17:03:43 UTC 2024 - 11.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/Serialization.java
Multiset<E> multiset, ObjectOutputStream stream) throws IOException { int entryCount = multiset.entrySet().size(); stream.writeInt(entryCount); for (Multiset.Entry<E> entry : multiset.entrySet()) { stream.writeObject(entry.getElement()); stream.writeInt(entry.getCount()); } } /** * Populates a multiset by reading an input stream, as part of deserialization. See {@link
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Mar 06 16:06:58 UTC 2023 - 8.5K bytes - Viewed (0) -
guava/src/com/google/common/io/LittleEndianDataOutputStream.java
*/ @Override public void writeFloat(float v) throws IOException { writeInt(Float.floatToIntBits(v)); } /** * Writes an {@code int} as specified by {@link DataOutputStream#writeInt(int)}, except using * little-endian byte order. * * @throws IOException if an I/O error occurs */ @Override public void writeInt(int v) throws IOException { out.write(0xFF & 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) -
android/guava/src/com/google/common/collect/Serialization.java
Multiset<E> multiset, ObjectOutputStream stream) throws IOException { int entryCount = multiset.entrySet().size(); stream.writeInt(entryCount); for (Multiset.Entry<E> entry : multiset.entrySet()) { stream.writeObject(entry.getElement()); stream.writeInt(entry.getCount()); } } /** * Populates a multiset by reading an input stream, as part of deserialization. See {@link
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Mar 06 16:06:58 UTC 2023 - 8.5K bytes - Viewed (0) -
internal/grid/grid_types_msgp_test.go
func (z testRequest) EncodeMsg(en *msgp.Writer) (err error) { // map header, size 2 // write "Num" err = en.Append(0x82, 0xa3, 0x4e, 0x75, 0x6d) if err != nil { return } err = en.WriteInt(z.Num) if err != nil { err = msgp.WrapError(err, "Num") return } // write "String" err = en.Append(0xa6, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67) if err != nil { return }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Nov 21 01:09:35 UTC 2023 - 8.1K bytes - Viewed (0) -
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"
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Jul 24 10:24:01 UTC 2024 - 13.9K 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
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 38.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/publicsuffix/PublicSuffixListGenerator.kt
val totalRuleBytes: Int, val totalExceptionRuleBytes: Int, ) { fun writeOut(sink: BufferedSink) { with(sink) { writeInt(totalRuleBytes) for (domain in sortedRules) { write(domain).writeByte(NEWLINE) } writeInt(totalExceptionRuleBytes) for (domain in sortedExceptionRules) { write(domain).writeByte(NEWLINE) } } } }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Apr 18 01:24:38 UTC 2024 - 6K bytes - Viewed (0)