- Sort Score
- Result 10 results
- Languages All
Results 191 - 200 of 437 for Printf (0.19 sec)
-
cmd/erasure-healing.go
} if err != nil { opts.Error = err.Error() } b, a := result.GetCorruptedCounts() if b > 0 && b == a { opts.Error = fmt.Sprintf("unable to heal %d corrupted blocks on drives", b) } b, a = result.GetMissingCounts() if b > 0 && b == a { opts.Error = fmt.Sprintf("unable to heal %d missing blocks on drives", b) } opts.Tags = map[string]string{ "healObject": auditObjectOp{ Name: opts.Object,Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 34.6K bytes - Viewed (0) -
cmd/data-usage-cache.go
} } // StringAll returns a detailed string representation of all entries in the cache. func (d *dataUsageCache) StringAll() string { // Remove bloom filter from print. s := fmt.Sprintf("info:%+v\n", d.Info) for k, v := range d.Cache { s += fmt.Sprintf("\t%v: %+v\n", k, v) } return strings.TrimSpace(s) } // String returns a human readable representation of the string. func (h dataUsageHash) String() string {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 34.7K bytes - Viewed (0) -
docs/sts/web-identity.py
'code': authorization_code, 'redirect_uri': callback_uri} id_token_response = requests.post( token_url, data=data, verify=False, allow_redirects=False, auth=(client_id, client_secret)) print('body: ' + id_token_response.text) # we can now use the id_token as much as we want to access protected resources. tokens = json.loads(id_token_response.text) id_token = tokens['id_token']
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Jul 28 01:37:51 UTC 2021 - 2.9K bytes - Viewed (0) -
cmd/update_test.go
envValue: "", mode: globalMinioModeFS, expectedStr: fmt.Sprintf("MinIO (%s; %s; %s; source DEVELOPMENT.GOGET DEVELOPMENT.GOGET DEVELOPMENT.GOGET", runtime.GOOS, runtime.GOARCH, globalMinioModeFS), }, { envName: "MESOS_CONTAINER_NAME", envValue: "mesos-11111", mode: globalMinioModeErasure,Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Feb 18 16:25:55 UTC 2025 - 10.4K bytes - Viewed (0) -
docs/extensions/s3zip/examples/boto3/main.py
event_system = s3.meta.events event_system.register_first('before-sign.s3.*', _add_header) # List zip contents response = s3.list_objects_v2(Bucket="your-bucket", Prefix="path/to/file.zip/") print(response) # Download data.csv stored in the zip file
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Aug 04 21:15:45 UTC 2021 - 771 bytes - Viewed (0) -
clause/returning_test.go
}, clause.Returning{ []clause.Column{{Name: "name"}, {Name: "age"}}, }, clause.Returning{}}, "SELECT * FROM `users` RETURNING *", nil, }, } for idx, result := range results { t.Run(fmt.Sprintf("case #%v", idx), func(t *testing.T) { checkBuildClauses(t, result.Clauses, result.Result, result.Vars) }) }Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Sun Jan 12 10:18:04 UTC 2025 - 1.4K bytes - Viewed (0) -
cmd/data-scanner_test.go
// When no versions are present, in practice this could be an object with only free versions objInfos: nil, wants: nil, wantExpired: nil, }, } for i, test := range tests { t.Run(fmt.Sprintf("TestApplyNewerNoncurrentVersionsLimit-%d", i), func(t *testing.T) { workers := []chan expiryOp{make(chan expiryOp)} es.workers.Store(&workers) workerReady := make(chan struct{}) var wg sync.WaitGroupRegistered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 12K bytes - Viewed (0) -
src/bytes/reader_test.go
} for i, tt := range tests { b := make([]byte, tt.n) rn, err := r.ReadAt(b, tt.off) got := string(b[:rn]) if got != tt.want { t.Errorf("%d. got %q; want %q", i, got, tt.want) } if fmt.Sprintf("%v", err) != fmt.Sprintf("%v", tt.wanterr) { t.Errorf("%d. got error = %v; want %v", i, err, tt.wanterr) } } } func TestReaderAtConcurrent(t *testing.T) { // Test for the race detector, to verify ReadAt doesn't mutateRegistered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon Dec 13 18:45:54 UTC 2021 - 8K bytes - Viewed (0) -
cmd/kms-handlers_test.go
"Resource": ["arn:minio:kms:::non-matching-key-name"] }`, wantStatusCode: http.StatusForbidden, wantResp: []string{"AccessDenied"}, }, } for testNum, test := range tests { t.Run(fmt.Sprintf("%d %s", testNum+1, test.name), func(t *testing.T) { execKMSTest(t, test, adminTestBed) }) } } func TestKMSHandlersKeyStatus(t *testing.T) { adminTestBed, tearDown := setupKMSTest(t, true)
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Apr 09 14:28:39 UTC 2025 - 22.3K bytes - Viewed (0) -
cmd/callhome.go
const ( subnetHealthPath = "/api/health/upload" ) func sendHealthInfo(ctx context.Context, healthInfo madmin.HealthInfo) error { url := globalSubnetConfig.BaseURL + subnetHealthPath filename := fmt.Sprintf("health_%s.json.gz", UTCNow().Format("20060102150405")) url += "?filename=" + filename _, err := globalSubnetConfig.Upload(url, filename, createHealthJSONGzip(ctx, healthInfo)) return err }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 5.3K bytes - Viewed (0)