- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 92 for writeType (0.6 sec)
-
android/guava-tests/test/com/google/common/io/LittleEndianDataOutputStreamTest.java
/* Write out various test values in LITTLE ENDIAN FORMAT */ out.write(new byte[] {-100, 100}); out.writeBoolean(true); out.writeBoolean(false); out.writeByte(100); out.writeByte(-100); out.writeByte((byte) 200); out.writeChar('a'); out.writeShort((short) -30000); out.writeShort((short) 50000); out.writeInt(0xCAFEBABE); out.writeLong(0xDEADBEEFCAFEBABEL);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 4.7K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerReader.kt
result.writeDecimalLong(0) result.writeByte(dot) result.writeDecimalLong(xy) } in 40L until 80L -> { result.writeDecimalLong(1) result.writeByte(dot) result.writeDecimalLong(xy - 40L) } else -> { result.writeDecimalLong(2) result.writeByte(dot) result.writeDecimalLong(xy - 80L) } }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 10.5K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/ws/MessageDeflater.kt
deflatedBytes.readAndWriteUnsafe().use { cursor -> cursor.resizeBuffer(newSize) } } else { // Same as adding EMPTY_DEFLATE_BLOCK and then removing 4 bytes. deflatedBytes.writeByte(0x00) } buffer.write(deflatedBytes, deflatedBytes.size) } @Throws(IOException::class) override fun close() = deflaterSink.close()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.1K bytes - Viewed (0) -
internal/grid/types.go
return "" } var buf strings.Builder buf.WriteByte('?') keys := make([]string, 0, len(m)) for k := range m { keys = append(keys, k) } sort.Strings(keys) for _, k := range keys { v := m[k] keyEscaped := url.QueryEscape(k) if buf.Len() > 1 { buf.WriteByte('&') } buf.WriteString(keyEscaped) buf.WriteByte('=') buf.WriteString(url.QueryEscape(v)) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 14 17:11:51 UTC 2024 - 15.5K bytes - Viewed (0) -
cmd/signature-v4.go
vals[k] = vv } sort.Strings(headers) var buf bytes.Buffer for _, k := range headers { buf.WriteString(k) buf.WriteByte(':') for idx, v := range vals[k] { if idx > 0 { buf.WriteByte(',') } buf.WriteString(signV4TrimAll(v)) } buf.WriteByte('\n') } return buf.String() }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu May 16 23:13:47 UTC 2024 - 12.4K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Writer.kt
require(streamId and 0x80000000.toInt() == 0) { "reserved bit set: $streamId" } sink.writeMedium(length) sink.writeByte(type and 0xff) sink.writeByte(flags and 0xff) sink.writeInt(streamId and 0x7fffffff) } @Throws(IOException::class) override fun close() { this.withLock { closed = true sink.close()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Apr 20 17:03:43 UTC 2024 - 11.3K bytes - Viewed (0) -
internal/ringbuffer/ring_buffer_test.go
if err != nil { t.Fatalf("write failed: %v", err) } wroteBytes += n wrote.Write(buf[:n]) debugln("WRITE 2\t", writeRng.Intn(len(buf)), wroteBytes) // WriteByte err = rb.WriteByte(buf[0]) if err != nil { t.Fatalf("write failed: %v", err) } wroteBytes++ wrote.Write(buf[:1]) debugln("WRITE 3\t", 1, wroteBytes) // TryWrite
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed May 15 00:11:04 UTC 2024 - 26.8K bytes - Viewed (0) -
src/bufio/scan_test.go
} for i := 0; i < n-1; i++ { // Stop early for \n. c := 'a' + byte(lineNum+i) if c == '\n' || c == '\r' { // Don't confuse us. c = 'N' } buf.WriteByte(c) } if addNewline { if doCR { buf.WriteByte('\r') } buf.WriteByte('\n') } } // Test the line splitter, including some carriage returns but no long lines. func TestScanLongLines(t *testing.T) {
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Sep 22 16:22:42 UTC 2023 - 14.3K bytes - Viewed (0) -
clause/update.go
func (update Update) Name() string { return "UPDATE" } // Build build update clause func (update Update) Build(builder Builder) { if update.Modifier != "" { builder.WriteString(update.Modifier) builder.WriteByte(' ') } if update.Table.Name == "" { builder.WriteQuoted(currentTable) } else { builder.WriteQuoted(update.Table) } } // MergeClause merge update clause
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Mar 09 09:07:00 UTC 2020 - 737 bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/http/ThreadInterruptTest.kt
.post( object : RequestBody() { override fun contentType() = null override fun writeTo(sink: BufferedSink) { for (i in 0..9) { sink.writeByte(0) sink.flush() sleep(100) } fail("Expected connection to be closed") } }, ) .build(),
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 4.6K bytes - Viewed (0)