- Sort Score
- Result 10 results
- Languages All
Results 221 - 230 of 942 for errC (0.02 sec)
-
internal/kms/kes.go
aad, err := req.AssociatedData.MarshalText() if err != nil { return DEK{}, err } name := req.Name if name == "" { name = c.defaultKeyID } dek, err := c.client.GenerateKey(ctx, name, aad) if err != nil { if errors.Is(err, kes.ErrKeyNotFound) { return DEK{}, ErrKeyNotFound } if errors.Is(err, kes.ErrNotAllowed) { return DEK{}, ErrPermission
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Aug 18 06:43:03 UTC 2024 - 7.3K bytes - Viewed (0) -
tests/update_belongs_to_test.go
user := *GetUser("update-belongs-to", Config{}) if err := DB.Create(&user).Error; err != nil { t.Fatalf("errors happened when create: %v", err) } user.Company = Company{Name: "company-belongs-to-association"} user.Manager = &User{Name: "manager-belongs-to-association"} if err := DB.Save(&user).Error; err != nil { t.Fatalf("errors happened when update: %v", err) } var user2 User
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Thu Jul 14 06:55:54 UTC 2022 - 1.6K bytes - Viewed (0) -
internal/lock/lock_solaris.go
Op: "open", Path: path, Err: syscall.EINVAL, } } lock := syscall.Flock_t{ Start: 0, Len: 0, Pid: 0, Type: lockType, Whence: 0, } f, err := os.OpenFile(path, flag, perm) if err != nil { return nil, err } if err = syscall.FcntlFlock(f.Fd(), rlockType, &lock); err != nil { f.Close() if err == syscall.EAGAIN { err = ErrAlreadyLocked }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Jan 02 17:15:06 UTC 2022 - 2.8K bytes - Viewed (0) -
tests/scanner_valuer_test.go
} if err := DB.Create(&data).Error; err == nil { t.Errorf("Should failed to create data with invalid data") } data.Password = EncryptedData("pass1") if err := DB.Create(&data).Error; err != nil { t.Errorf("Should got no error when creating data, but got %v", err) } if err := DB.Model(&data).Update("password", EncryptedData("xnewpass")).Error; err == nil {
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Wed Jun 07 07:02:07 UTC 2023 - 10.6K bytes - Viewed (0) -
buildscripts/heal-manual.go
} start, _, err := madmClnt.Heal(context.Background(), "healing-rewrite-bucket", "", opts, "", false, false) if err != nil { log.Fatalln(err) } fmt.Println("Healstart sequence ===") enc := json.NewEncoder(os.Stdout) if err = enc.Encode(&start); err != nil { log.Fatalln(err) } fmt.Println() for {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Feb 27 09:47:58 UTC 2024 - 2.3K bytes - Viewed (0) -
src/cmd/addr2line/addr2line_test.go
out, err := cmd.CombinedOutput() if err != nil { t.Fatalf("%v: %v\n%s", cmd, err, string(out)) } syms := make(map[string]string) scanner := bufio.NewScanner(bytes.NewReader(out)) for scanner.Scan() { f := strings.Fields(scanner.Text()) if len(f) < 3 { continue } syms[f[2]] = f[0] } if err := scanner.Err(); err != nil { t.Fatalf("error reading symbols: %v", err)
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Sep 06 13:23:48 UTC 2024 - 3.2K bytes - Viewed (0) -
cmd/metrics-v3-system-process.go
stat, err := p.Stat() if err != nil { metricsLogIf(ctx, err) } else { loadProcStatMetrics(ctx, stat, m) } io, err := p.IO() if err != nil { metricsLogIf(ctx, err) } else { loadProcIOMetrics(ctx, io, m) } l, err := p.Limits() if err != nil { metricsLogIf(ctx, err) } else { if l.OpenFiles > 0 {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jun 20 17:55:03 UTC 2024 - 6.5K bytes - Viewed (0) -
internal/s3select/json/errors.go
statusCode int cause error } func (err *s3Error) Cause() error { return err.cause } func (err *s3Error) ErrorCode() string { return err.code } func (err *s3Error) ErrorMessage() string { return err.message } func (err *s3Error) HTTPStatusCode() int { return err.statusCode } func (err *s3Error) Error() string { return err.message }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 1.6K bytes - Viewed (0) -
internal/bucket/lifecycle/transition_test.go
</Transition>`, err: errXMLNotWellFormed, }, } for i, tc := range trTests { var tr Transition err := xml.Unmarshal([]byte(tc.input), &tr) if err != nil { t.Fatalf("%d: xml unmarshal failed with %v", i+1, err) } if err = tr.Validate(); err != tc.err { t.Fatalf("%d: Invalid transition %v: err %v", i+1, tr, err) } } ntrTests := []struct { input string err error }{ {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Oct 01 18:58:17 UTC 2021 - 2.3K bytes - Viewed (0) -
cmd/bucket-object-lock.go
func (sys *BucketObjectLockSys) Get(bucketName string) (r objectlock.Retention, err error) { config, _, err := globalBucketMetadataSys.GetObjectLockConfig(bucketName) if err != nil { if errors.Is(err, BucketObjectLockConfigNotFound{Bucket: bucketName}) { return r, nil } if errors.Is(err, errInvalidArgument) { return r, err } return r, err } return config.ToRetention(), nil }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 13.2K bytes - Viewed (0)