- Sort Score
- Num 10 results
- Language All
Results 111 - 120 of 129 for writeBytes (0.07 seconds)
-
cmd/test-utils_test.go
var buf bytes.Buffer for _, k := range headers { buf.WriteString(k) buf.WriteByte(':') switch k { case "host": buf.WriteString(req.URL.Host) fallthrough default: for idx, v := range headerMap[k] { if idx > 0 { buf.WriteByte(',') } buf.WriteString(v) } buf.WriteByte('\n') } } canonicalHeaders := buf.String() // Get signed headers.Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 77K bytes - Click Count (0) -
src/bufio/bufio.go
} nn += n p = p[n:] } if b.err != nil { return nn, b.err } n := copy(b.buf[b.n:], p) b.n += n nn += n return nn, nil } // WriteByte writes a single byte. func (b *Writer) WriteByte(c byte) error { if b.err != nil { return b.err } if b.Available() <= 0 && b.Flush() != nil { return b.err } b.buf[b.n] = c b.n++ return nil }Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Fri Feb 06 17:28:40 GMT 2026 - 22K bytes - Click Count (0) -
cmd/streaming-signature-v4.go
// Read value for { v, err := cr.reader.ReadByte() if err != nil { if err == io.EOF { return io.ErrUnexpectedEOF } } if v != '\r' { valueBuffer.WriteByte(v) continue } // End of buffer, do not add to value. v, err = cr.reader.ReadByte() if err != nil { if err == io.EOF { return io.ErrUnexpectedEOF } } if v != '\n' {Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 18.2K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/BloomFilter.java
// 1 big endian int, the number of longs in our bitset // N big endian longs of our bitset DataOutputStream dout = new DataOutputStream(out); dout.writeByte(SignedBytes.checkedCast(strategy.ordinal())); dout.writeByte(UnsignedBytes.checkedCast(numHashFunctions)); // note: checked at the c'tor dout.writeInt(bits.data.length()); for (int i = 0; i < bits.data.length(); i++) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 10 22:28:12 GMT 2026 - 27.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/FilesTest.java
Files.copy(i18nFile, temp); assertTrue(Files.equal(i18nFile, temp)); Files.copy(asciiFile, temp); RandomAccessFile rf = new RandomAccessFile(temp, "rw"); rf.writeByte(0); rf.close(); assertEquals(asciiFile.length(), temp.length()); assertFalse(Files.equal(asciiFile, temp)); assertTrue(Files.asByteSource(asciiFile).contentEquals(Files.asByteSource(asciiFile)));Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 22.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/ByteStreamsTest.java
assertThat(out.toByteArray()).isEqualTo(bytes); } public void testNewDataOutput_writeByte() { ByteArrayDataOutput out = ByteStreams.newDataOutput(); out.write(0x12); out.writeByte(0x34); assertThat(out.toByteArray()).isEqualTo(new byte[] {0x12, 0x34}); } public void testNewDataOutput_writeByteOffset() { ByteArrayDataOutput out = ByteStreams.newDataOutput();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 22K bytes - Click Count (0) -
okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerCertificatesTest.kt
} /** Returns a byte string that differs from this one by one bit. */ private fun ByteString.offByOneBit(): ByteString = Buffer() .write(this, 0, size - 1) .writeByte(this[size - 1].toInt() xor 1) .readByteString() private fun date(s: String): Date = SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSSZ").run { timeZone = TimeZone.getTimeZone("GMT")
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 43.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/ByteStreamsTest.java
assertThat(out.toByteArray()).isEqualTo(bytes); } public void testNewDataOutput_writeByte() { ByteArrayDataOutput out = ByteStreams.newDataOutput(); out.write(0x12); out.writeByte(0x34); assertThat(out.toByteArray()).isEqualTo(new byte[] {0x12, 0x34}); } public void testNewDataOutput_writeByteOffset() { ByteArrayDataOutput out = ByteStreams.newDataOutput();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 22K bytes - Click Count (0) -
cmd/object-api-utils.go
if added > 0 || e != "" { if added > 0 { dst.WriteByte(SlashSeparatorChar) } dst.WriteString(e) added += len(e) } } if pathNeedsClean(dst.Bytes()) { s := path.Clean(dst.String()) if trailingSlash { return s + SlashSeparator } return s } if trailingSlash { dst.WriteByte(SlashSeparatorChar) } return dst.String() }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Jun 25 15:08:54 GMT 2025 - 37.3K bytes - Click Count (0) -
docs/metrics/prometheus/list.md
| `minio_node_io_write_bytes` | Total bytes written by the process to the underlying storage system, /proc/[pid]/io write_bytes. | | `minio_node_process_cpu_total_seconds` | Total user and system CPU time spent in seconds by the process. |
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Aug 12 18:20:36 GMT 2025 - 43.4K bytes - Click Count (0)