- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 111 for WriteString (0.12 sec)
-
cmd/server_test.go
1234567890,1234567890,1234567890,1234567890,1234567890,123"` // Create 10MiB content where each line contains 1024 characters. for i := 0; i < 10*1024; i++ { buffer.WriteString(fmt.Sprintf("[%05d] %s\n", i, line)) } putContent := buffer.String() buf := bytes.NewReader([]byte(putContent)) objectName := "test-big-object" // create HTTP request for object upload.
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Mon Jul 15 16:28:02 UTC 2024 - 116.3K bytes - Viewed (0) -
src/cmd/asm/internal/asm/asm.go
case 8: nameAddr.Sym.WriteFloat64(p.ctxt, nameAddr.Offset, valueAddr.Val.(float64)) default: p.errorf("bad float size for DATA argument: %d", sz) } case obj.TYPE_SCONST: nameAddr.Sym.WriteString(p.ctxt, nameAddr.Offset, int(sz), valueAddr.Val.(string)) case obj.TYPE_ADDR: if sz == p.arch.PtrSize { nameAddr.Sym.WriteAddr(p.ctxt, nameAddr.Offset, int(sz), valueAddr.Sym, valueAddr.Offset) } else {
Registered: Tue Oct 29 11:13:09 UTC 2024 - Last Modified: Mon Oct 21 14:11:44 UTC 2024 - 25.5K bytes - Viewed (0) -
cmd/bucket-metadata_gen.go
func (z *BucketMetadata) EncodeMsg(en *msgp.Writer) (err error) { // map header, size 25 // write "Name" err = en.Append(0xde, 0x0, 0x19, 0xa4, 0x4e, 0x61, 0x6d, 0x65) if err != nil { return } err = en.WriteString(z.Name) if err != nil { err = msgp.WrapError(err, "Name") return } // write "Created" err = en.Append(0xa7, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64) if err != nil { return }
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Wed Aug 28 15:32:18 UTC 2024 - 25.4K bytes - Viewed (0) -
cmd/iam-object-store.go
if err != nil { return fmt.Errorf("unable to list IAM data: %w", err) } if took := time.Since(listStartTime); took > maxIAMLoadOpTime { var s strings.Builder for k, v := range listedConfigItems { s.WriteString(fmt.Sprintf(" %s: %d items\n", k, len(v))) } logger.Info("listAllIAMConfigItems took %.2fs with contents:\n%s", took.Seconds(), s.String()) } // Loads things in the same order as `LoadIAMCache()`
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Thu Oct 10 23:40:37 UTC 2024 - 26.6K bytes - Viewed (0) -
internal/s3select/csv/reader_contrib_test.go
FieldDelimiter: []rune(c.fieldDelimiter)[0], Quote: '"', QuoteEscape: '"', AlwaysQuote: false, } record.WriteCSV(&result, opts) result.Truncate(result.Len() - 1) result.WriteString(c.recordDelimiter) } r.Close() if err != io.EOF { t.Fatalf("Case %d failed with %s", i, err) } if result.String() != c.content {
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Mon Sep 19 18:05:16 UTC 2022 - 38.5K bytes - Viewed (0) -
api/go1.10.txt
pkg strings, method (*Builder) Write([]uint8) (int, error) pkg strings, method (*Builder) WriteByte(uint8) error pkg strings, method (*Builder) WriteRune(int32) (int, error) pkg strings, method (*Builder) WriteString(string) (int, error) pkg strings, type Builder struct pkg syscall (freebsd-386), const SYS_UTIMENSAT = 547 pkg syscall (freebsd-386), const SYS_UTIMENSAT ideal-int pkg syscall (freebsd-386-cgo), const SYS_UTIMENSAT = 547
Registered: Tue Oct 29 11:13:09 UTC 2024 - Last Modified: Tue Feb 06 05:00:01 UTC 2018 - 30.1K bytes - Viewed (0) -
cmd/data-usage-cache.go
func (z dataUsageHashMap) EncodeMsg(en *msgp.Writer) (err error) { err = en.WriteArrayHeader(uint32(len(z))) if err != nil { err = msgp.WrapError(err) return } for zb0004 := range z { err = en.WriteString(zb0004) if err != nil { err = msgp.WrapError(err, zb0004) return } } return } // MarshalMsg implements msgp.Marshaler
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Tue Oct 22 15:30:50 UTC 2024 - 34.7K bytes - Viewed (0) -
cmd/object-api-utils.go
dst.Reset() added := 0 for _, e := range elem { 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 {
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Thu Aug 08 15:29:58 UTC 2024 - 37.1K bytes - Viewed (0) -
cmd/xl-storage_test.go
filePath := pathJoin(storage.String(), volName, fileName) f, err := os.OpenFile(filePath, os.O_WRONLY|os.O_SYNC, 0o644) if err != nil { t.Fatal(err) } // Replace first 256 with 'a'. if _, err := f.WriteString(strings.Repeat("a", 256)); err != nil { t.Fatal(err) } f.Close() if err := storage.storage.bitrotVerify(context.Background(), pathJoin(path, volName, fileName), size, algo, nil, shardSize); err == nil {
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Wed Aug 14 17:11:51 UTC 2024 - 66.7K bytes - Viewed (0) -
api/go1.txt
pkg bufio, method (*Writer) Write([]uint8) (int, error) pkg bufio, method (*Writer) WriteByte(uint8) error pkg bufio, method (*Writer) WriteRune(int32) (int, error) pkg bufio, method (*Writer) WriteString(string) (int, error) pkg bufio, method (ReadWriter) Available() int pkg bufio, method (ReadWriter) Flush() error pkg bufio, method (ReadWriter) Peek(int) ([]uint8, error)
Registered: Tue Oct 29 11:13:09 UTC 2024 - Last Modified: Wed Aug 14 18:58:28 UTC 2013 - 1.7M bytes - Viewed (0)