- Sort Score
- Result 10 results
- Languages All
Results 171 - 180 of 615 for dprintf (0.07 sec)
-
internal/logger/logrotate.go
"time" "github.com/klauspost/compress/gzip" xioutil "github.com/minio/minio/internal/ioutil" "github.com/minio/pkg/v3/logger/message/log" ) func defaultFilenameFunc() string { return fmt.Sprintf("minio-%s.log", fmt.Sprintf("%X", time.Now().UTC().UnixNano())) } // Options define configuration options for Writer type Options struct { // Directory defines the directory where log files will be written to.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 5.8K bytes - Viewed (0) -
src/archive/tar/common.go
if hasNUL(s) || (tooLong && !allowLongGNU) { whyNoGNU = fmt.Sprintf("GNU cannot encode %s=%q", name, s) format.mustNotBe(FormatGNU) } if !isASCII(s) || tooLong { canSplitUSTAR := paxKey == paxPath if _, _, ok := splitUSTARPath(s); !canSplitUSTAR || !ok { whyNoUSTAR = fmt.Sprintf("USTAR cannot encode %s=%q", name, s) format.mustNotBe(FormatUSTAR) }
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Sep 13 21:03:27 UTC 2024 - 24.5K bytes - Viewed (0) -
cmd/bucket-handlers.go
} if err != nil { apiErr := errorCodes.ToAPIErr(ErrMalformedPOSTRequest) apiErr.Description = fmt.Sprintf("%s (%v)", apiErr.Description, err) writeErrorResponse(ctx, w, apiErr, r.URL) return } if maxParts <= 0 { apiErr := errorCodes.ToAPIErr(ErrMalformedPOSTRequest) apiErr.Description = fmt.Sprintf("%s (%v)", apiErr.Description, multipart.ErrMessageTooLarge) writeErrorResponse(ctx, w, apiErr, r.URL) return
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Sep 12 12:24:04 UTC 2024 - 63.4K bytes - Viewed (0) -
internal/event/target/postgresql.go
if target.updateStmt, err = target.db.Prepare(fmt.Sprintf(psqlUpdateRow, target.args.Table)); err != nil { return err } // delete statement if target.deleteStmt, err = target.db.Prepare(fmt.Sprintf(psqlDeleteRow, target.args.Table)); err != nil { return err } case event.AccessFormat: // insert statement if target.insertStmt, err = target.db.Prepare(fmt.Sprintf(psqlInsertRow, target.args.Table)); err != nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Sep 06 23:06:30 UTC 2024 - 13.3K bytes - Viewed (0) -
cmd/data-usage-cache_test.go
"BETWEEN_1024_B_AND_64_KB": 1, "BETWEEN_64_KB_AND_256_KB": 1, "BETWEEN_1024B_AND_1_MB": 2, "BETWEEN_10_MB_AND_64_MB": 1, }, }, } for i, test := range tests { t.Run(fmt.Sprintf("Test-%d", i), func(t *testing.T) { var h sizeHistogram for _, sz := range test.sizes { h.add(sz) } got := h.toMap() exp := test.want // what is in exp is in got for k := range exp {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Jan 13 07:51:08 UTC 2024 - 2.6K bytes - Viewed (0) -
internal/s3select/jstream/errors.go
func (e DecoderError) ReaderErr() error { return e.readerErr } // Error returns a string representation of the error. func (e DecoderError) Error() string { loc := fmt.Sprintf("%s [%d,%d]", quoteChar(e.atChar), e.pos[0], e.pos[1]) s := fmt.Sprintf("%s %s: %s", e.msg, e.context, loc) if e.readerErr != nil { s += "\nreader error: " + e.readerErr.Error() } return s } // quoteChar formats c as a quoted character literal
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 23 19:35:41 UTC 2024 - 1.3K bytes - Viewed (0) -
internal/config/dns/etcd_dns.go
} // List - Retrieves list of DNS entries for the domain. func (c *CoreDNS) List() (map[string][]SrvRecord, error) { srvRecords := map[string][]SrvRecord{} for _, domainName := range c.domainNames { key := msgPath(fmt.Sprintf("%s.", domainName), c.prefixPath) records, err := c.list(key+etcdPathSeparator, true) if err != nil { return srvRecords, err } for _, record := range records { if record.Key == "" { continue }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Sep 26 15:03:08 UTC 2024 - 8K bytes - Viewed (0) -
internal/bucket/lifecycle/filter_test.go
<Tag> <Key>key1</Key> <Value>value1</Value> </Tag> </Filter>`, expectedErr: errInvalidFilter, }, } for i, tc := range testCases { t.Run(fmt.Sprintf("Test %d", i+1), func(t *testing.T) { var filter Filter err := xml.Unmarshal([]byte(tc.inputXML), &filter) if err != nil { t.Fatalf("%d: Expected no error but got %v", i+1, err) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Feb 27 00:01:20 UTC 2024 - 7.2K bytes - Viewed (0) -
cmd/bootstrap-peer-server.go
msg := "Expected MINIO_* environment name and values across all servers to be same: " if len(missing) > 0 { msg += fmt.Sprintf(`Missing environment values: %v. `, missing) } if len(mismatching) > 0 { msg += fmt.Sprintf(`Mismatching environment values: %v. `, mismatching) } if len(extra) > 0 { msg += fmt.Sprintf(`Extra environment values: %v. `, extra) } return errors.New(strings.TrimSpace(msg)) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 01 22:13:18 UTC 2024 - 8.4K bytes - Viewed (0) -
cmd/object-api-errors.go
type DataMovementOverwriteErr GenericError func (de DataMovementOverwriteErr) Error() string { objInfoStr := fmt.Sprintf("bucket=%s object=%s", de.Bucket, de.Object) if de.VersionID != "" { objInfoStr = fmt.Sprintf("%s version-id=%s", objInfoStr, de.VersionID) } return fmt.Sprintf("invalid data movement operation, source and destination pool are the same for %s", objInfoStr) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Aug 09 02:05:14 UTC 2024 - 22.1K bytes - Viewed (0)