- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for writeType (0.07 sec)
-
cmd/test-utils_test.go
var buf bytes.Buffer for _, k := range headers { buf.WriteString(k) buf.WriteByte(':') switch { case k == "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.
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Tue Oct 01 22:13:18 UTC 2024 - 77K bytes - Viewed (0) -
cmd/xl-storage-format-v2.go
var s strings.Builder if x&xlFlagFreeVersion != 0 { s.WriteString("FreeVersion") } if x&xlFlagUsesDataDir != 0 { if s.Len() > 0 { s.WriteByte(',') } s.WriteString("UsesDD") } if x&xlFlagInlineData != 0 { if s.Len() > 0 { s.WriteByte(',') } s.WriteString("Inline") } return s.String() }
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Tue Oct 22 15:30:50 UTC 2024 - 64K bytes - Viewed (0) -
src/bufio/bufio_test.go
func BenchmarkWriterEmpty(b *testing.B) { b.ReportAllocs() str := strings.Repeat("x", 1<<10) bs := []byte(str) for i := 0; i < b.N; i++ { bw := NewWriter(io.Discard) bw.Flush() bw.WriteByte('a') bw.Flush() bw.WriteRune('B') bw.Flush() bw.Write(bs) bw.Flush() bw.WriteString(str) bw.Flush() } } func BenchmarkWriterFlush(b *testing.B) {
Registered: Tue Oct 29 11:13:09 UTC 2024 - Last Modified: Mon Oct 28 21:04:51 UTC 2024 - 51.6K bytes - Viewed (0)