- Sort Score
- Num 10 results
- Language All
Results 511 - 520 of 773 for nil (0.07 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/archive/tar/stat_unix.go
h.Uname = u.(string) } else if u, err := user.LookupId(strconv.Itoa(h.Uid)); err == nil { h.Uname = u.Username userMap.Store(h.Uid, h.Uname) } if g, ok := groupMap.Load(h.Gid); ok { h.Gname = g.(string) } else if g, err := user.LookupGroupId(strconv.Itoa(h.Gid)); err == nil { h.Gname = g.Name groupMap.Store(h.Gid, h.Gname) } } h.AccessTime = statAtime(sys)
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Tue Dec 30 15:28:53 GMT 2025 - 3.2K bytes - Click Count (0) -
cmd/xl-storage-format-v1.go
json := jsoniter.ConfigCompatibleWithStandardLibrary if err := json.Unmarshal(data, &info); err != nil { return err } sum, err := hex.DecodeString(info.Hash) if err != nil { return err } c.Algorithm = BitrotAlgorithmFromString(info.Algorithm) c.Hash = sum if _, err = fmt.Sscanf(info.Name, "part.%d", &c.PartNumber); err != nil { return err } if !c.Algorithm.Available() {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Oct 22 15:30:50 GMT 2024 - 8.4K bytes - Click Count (0) -
internal/bucket/lifecycle/transition_test.go
</NoncurrentVersionTransition>`, err: nil, }, { input: `<NoncurrentVersionTransition> <Days>1</Days> </NoncurrentVersionTransition>`, err: errXMLNotWellFormed, }, } for i, tc := range ntrTests { var ntr NoncurrentVersionTransition err := xml.Unmarshal([]byte(tc.input), &ntr) if err != nil { t.Fatalf("%d: xml unmarshal failed with %v", i+1, err) }Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Oct 01 18:58:17 GMT 2021 - 2.3K bytes - Click Count (0) -
cmd/ftp-server.go
} switch tokens[0] { case "address": host, portStr, err := net.SplitHostPort(tokens[1]) if err != nil { logger.Fatal(fmt.Errorf("invalid arguments passed to --ftp=%s (%v)", arg, err), "unable to start FTP server") } port, err = strconv.Atoi(portStr) if err != nil { logger.Fatal(fmt.Errorf("invalid arguments passed to --ftp=%s (%v)", arg, err), "unable to start FTP server") }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 5.2K bytes - Click Count (0) -
cmd/metrics-v3-ilm.go
) // loadILMMetrics - `MetricsLoaderFn` for ILM metrics. func loadILMMetrics(_ context.Context, m MetricValues, _ *metricsCache) error { if globalExpiryState != nil { m.Set(expiryPendingTasks, float64(globalExpiryState.PendingTasks())) } if globalTransitionState != nil { m.Set(transitionActiveTasks, float64(globalTransitionState.ActiveTasks())) m.Set(transitionPendingTasks, float64(globalTransitionState.PendingTasks()))
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Thu Jun 06 09:36:25 GMT 2024 - 2.3K bytes - Click Count (0) -
cmd/erasure-common.go
r := rand.New(rand.NewSource(time.Now().UnixNano())) for _, i := range r.Perm(len(disks)) { wg.Add(1) go func() { defer wg.Done() if disks[i] == nil { return } di, err := disks[i].DiskInfo(context.Background(), DiskInfoOptions{}) if err != nil || di.Healing { // - Do not consume disks which are not reachable // unformatted or simply not accessible for some reason. //
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 2.3K bytes - Click Count (0) -
cmd/admin-handlers-idp-openid.go
func (a adminAPIHandlers) ListAccessKeysOpenIDBulk(w http.ResponseWriter, r *http.Request) { ctx := r.Context() // Get current object layer instance. objectAPI := newObjectLayerFn() if objectAPI == nil || globalNotificationSys == nil { writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrServerNotInitialized), r.URL) return } cred, owner, s3Err := validateAdminSignature(ctx, r, "") if s3Err != ErrNone {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sat Sep 06 17:38:46 GMT 2025 - 7.6K bytes - Click Count (0) -
internal/bucket/lifecycle/noncurrentversion_test.go
NoncurrentDays: 90, NewerNoncurrentVersions: 0, set: true, }, err: nil, }, { n: NoncurrentVersionExpiration{ NoncurrentDays: 90, NewerNoncurrentVersions: 2, set: true, }, err: nil, }, { n: NoncurrentVersionExpiration{ NoncurrentDays: -1, set: true, },Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Dec 14 17:41:44 GMT 2021 - 2.1K bytes - Click Count (0) -
internal/s3select/json/args.go
if err := d.DecodeElement(&parsedArgs, &start); err != nil { return err } parsedArgs.ContentType = strings.ToLower(parsedArgs.ContentType) switch parsedArgs.ContentType { case document, lines: default: return errInvalidJSONType(fmt.Errorf("invalid ContentType '%v'", parsedArgs.ContentType)) } *args = ReaderArgs(parsedArgs) args.unmarshaled = true return nil }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Jun 01 21:59:40 GMT 2021 - 2.7K bytes - Click Count (0) -
cmd/kms-handlers_test.go
} if accessKey == "" && secretKey == "" { accessKey = globalActiveCred.AccessKey secretKey = globalActiveCred.SecretKey } req, err := newTestSignedRequestV4(method, path, 0, nil, accessKey, secretKey, nil) if err != nil { t.Fatal(err) } return req } // setupKMSUser is a test helper that creates a new user with the provided access key and secret key // and applies the given policy to the user.Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Apr 09 14:28:39 GMT 2025 - 22.3K bytes - Click Count (0)