- Sort Score
- Result 10 results
- Languages All
Results 761 - 770 of 1,124 for nil (0.01 sec)
-
src/archive/tar/common.go
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Sep 13 21:03:27 UTC 2024 - 24.5K bytes - Viewed (0) -
internal/grid/README.md
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 9.4K bytes - Viewed (0) -
internal/config/bool-flag.go
switch str { case "1", "t", "T", "true", "TRUE", "True", "on", "ON", "On": return true, nil case "0", "f", "F", "false", "FALSE", "False", "off", "OFF", "Off": return false, nil } if strings.EqualFold(str, "enabled") { return true, nil } if strings.EqualFold(str, "disabled") { return false, nil } return false, fmt.Errorf("ParseBool: parsing '%s': %w", str, strconv.ErrSyntax) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Apr 07 15:10:40 UTC 2022 - 2.3K bytes - Viewed (0) -
internal/dsync/drwmutex.go
go func(index int, isReadLock bool, c NetLocker) { defer wg.Done() g := Granted{index: index} if c == nil { log("dsync: nil locker\n") ch <- g return } var locked bool var err error if isReadLock { if locked, err = c.RLock(netLockCtx, args); err != nil { log("dsync: Unable to call RLock failed with %s for %#v at %s\n", err, args, c) } } else {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 09 15:49:49 UTC 2024 - 20.4K bytes - Viewed (0) -
cmd/object-handlers-common.go
ifModifiedSinceHeader := r.Header.Get(xhttp.AmzCopySourceIfModifiedSince) if ifModifiedSinceHeader != "" { if givenTime, err := amztime.ParseHeader(ifModifiedSinceHeader); err == nil { if !ifModifiedSince(objInfo.ModTime, givenTime) { // If the object is not modified since the specified time. writeHeaders() writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrPreconditionFailed), r.URL)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Sep 03 06:33:53 UTC 2024 - 15.3K bytes - Viewed (0) -
istioctl/pkg/multicluster/cluster.go
func clusterUID(client kubernetes.Interface) (types.UID, error) { kubeSystem, err := client.CoreV1().Namespaces().Get(context.TODO(), "kube-system", metav1.GetOptions{}) if err != nil { return "", err } return kubeSystem.UID, nil
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Sep 02 03:11:58 UTC 2022 - 1.1K bytes - Viewed (0) -
tests/connection_test.go
return } err := DB.Connection(func(tx *gorm.DB) error { if err := tx.Exec(setSQL, expectedName).Error; err != nil { return err } if err := tx.Raw(getSQL).Scan(&actualName).Error; err != nil { return err } return nil }) if err != nil { t.Errorf(fmt.Sprintf("WithSingleConnection should work, but got err %v", err)) } if actualName != expectedName {
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Fri Jan 28 14:16:42 UTC 2022 - 963 bytes - Viewed (0) -
cmd/bucket-encryption_test.go
</ServerSideEncryptionConfiguration>`, expectedErr: nil, shouldPass: true, }, } for i, tc := range testCases { _, err := validateBucketSSEConfig(bytes.NewReader([]byte(tc.inputXML))) if tc.shouldPass && err != nil { t.Fatalf("Test case %d: Expected to succeed but got %s", i+1, err) } if !tc.shouldPass { if err == nil || err != nil && err.Error() != tc.expectedErr.Error() {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 14 07:59:05 UTC 2021 - 2.1K bytes - Viewed (0) -
docs/debugging/inspect/decrypt-v1.go
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Apr 11 21:22:47 UTC 2024 - 1.6K bytes - Viewed (0) -
internal/arn/arn_test.go
t.Run(tt.name, func(t *testing.T) { gotArn, err := Parse(tt.args.arnStr) if err == nil && tt.wantErr { t.Errorf("Parse() error = %v, wantErr %v", err, tt.wantErr) } if err != nil && !tt.wantErr { t.Errorf("Parse() error = %v, wantErr %v", err, tt.wantErr) } if err == nil { if !reflect.DeepEqual(gotArn, tt.wantArn) { t.Errorf("Parse() gotArn = %v, want %v", gotArn, tt.wantArn)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Apr 04 08:31:34 UTC 2024 - 5.1K bytes - Viewed (0)