- Sort Score
- Result 10 results
- Languages All
Results 241 - 250 of 938 for Nil (0.04 sec)
-
cmd/veeam-sos-api.go
ri := logger.GetReqInfo(ctx) return ri != nil && strings.Contains(ri.UserAgent, veeamAgentSubstr) } func veeamSOSAPIHeadObject(ctx context.Context, bucket, object string, opts ObjectOptions) (ObjectInfo, error) { gr, err := veeamSOSAPIGetObject(ctx, bucket, object, nil, opts) if gr != nil { gr.Close() return gr.ObjInfo, nil } return ObjectInfo{}, err }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 15 00:34:56 UTC 2024 - 8.8K bytes - Viewed (0) -
cmd/os-readdir_test.go
permDir := path.Join(os.TempDir(), "perm-dir") if err := os.MkdirAll(permDir, os.FileMode(0o200)); err != nil { t.Fatal(err) } defer os.RemoveAll(permDir) // Check if permission denied. if _, err := readDir(permDir); err == nil { t.Fatalf("expected = an error, got: nil") } } } // Represents data type for all the test results. type result struct { dir string
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 19 18:05:16 UTC 2022 - 7.5K bytes - Viewed (0) -
internal/config/api/api.go
if err = config.CheckValidKeys(config.APISubSys, kvs, DefaultKVS, deprecatedKeys...); err != nil { return cfg, err } // Check environment variables parameters requestsMax, err := strconv.Atoi(env.Get(EnvAPIRequestsMax, kvs.GetWithDefault(apiRequestsMax, DefaultKVS))) if err != nil { return cfg, err } cfg.RequestsMax = requestsMax if requestsMax < 0 {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Aug 16 08:43:49 UTC 2024 - 11.5K bytes - Viewed (0) -
cmd/update_test.go
tmpfile, err := os.CreateTemp("", "helm-testfile-") if err != nil { t.Fatalf("Unable to create temporary file. %s", err) } if _, err = tmpfile.WriteString(content); err != nil { t.Fatalf("Unable to create temporary file. %s", err) } if err = tmpfile.Close(); err != nil { t.Fatalf("Unable to create temporary file. %s", err) } return tmpfile.Name() }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 14 17:11:51 UTC 2024 - 10.4K bytes - Viewed (0) -
cmd/xl-storage-format-v2_gen.go
if err != nil { return } err = en.WriteInt64(z.ModTime) if err != nil { err = msgp.WrapError(err, "ModTime") return } // write "MetaSys" err = en.Append(0xa7, 0x4d, 0x65, 0x74, 0x61, 0x53, 0x79, 0x73) if err != nil { return } if z.MetaSys == nil { // allownil: if nil err = en.WriteNil() if err != nil { return } } else {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 22 15:30:50 UTC 2024 - 55.5K bytes - Viewed (0) -
cmd/erasure-healing-common_test.go
errs: []error{ nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, }, _tamperBackend: noTamper, }, { modTimes: modTimesThreeNone, expectedTime: threeNanoSecs, errs: []error{ // Disks that have a valid xl.meta. nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, // Some disks can't access xl.meta.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 01 15:19:10 UTC 2024 - 23.1K bytes - Viewed (0) -
internal/config/etcd/etcd.go
func New(cfg Config) (*clientv3.Client, error) { if !cfg.Enabled { return nil, nil } cli, err := clientv3.New(cfg.Config) if err != nil { return nil, err } cli.KV = namespace.NewKV(cli.KV, cfg.PathPrefix) cli.Watcher = namespace.NewWatcher(cli.Watcher, cfg.PathPrefix) cli.Lease = namespace.NewLease(cli.Lease, cfg.PathPrefix) return cli, nil } func parseEndpoints(endpoints string) ([]string, bool, error) {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jun 28 23:17:22 UTC 2024 - 5.2K bytes - Viewed (0) -
cmd/storage-datatypes_gen.go
if err != nil { return } err = en.WriteBool(z.Recursive) if err != nil { err = msgp.WrapError(err, "Recursive") return } // write "i" err = en.Append(0xa1, 0x69) if err != nil { return } err = en.WriteBool(z.Immediate) if err != nil { err = msgp.WrapError(err, "Immediate") return } // write "u" err = en.Append(0xa1, 0x75) if err != nil { return }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 22 15:30:50 UTC 2024 - 150.2K bytes - Viewed (0) -
internal/kms/kms.go
}) if err != nil { if errors.Is(err, kms.ErrKeyNotFound) { return nil, ErrKeyNotFound } if errors.Is(err, kms.ErrPermission) { return nil, ErrPermission } return nil, errDecryptionFailed(err) } return resp.Plaintext, nil } // MAC generates the checksum of the given req.Message using the key // with the req.Name at the KMS. func (*kmsConn) MAC(context.Context, *MACRequest) ([]byte, error) {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Aug 18 06:43:03 UTC 2024 - 11.5K bytes - Viewed (0) -
internal/crypto/metadata.go
} if IsMultiPart(metadata) { return nil, true } if _, ok := metadata[MetaIV]; ok { return nil, true } if _, ok := metadata[MetaAlgorithm]; ok { return nil, true } if _, ok := metadata[MetaKeyID]; ok { return nil, true } if _, ok := metadata[MetaDataEncryptionKey]; ok { return nil, true } if _, ok := metadata[MetaContext]; ok { return nil, true } return nil, false }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jun 10 17:40:33 UTC 2024 - 6.4K bytes - Viewed (0)