- Sort Score
- Result 10 results
- Languages All
Results 181 - 190 of 1,124 for nil (0.02 sec)
-
cmd/mrf_gen.go
if err != nil { return } err = en.WriteString(z.VersionID) if err != nil { err = msgp.WrapError(err, "VersionID") return } // write "Versions" err = en.Append(0xa8, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73) if err != nil { return } err = en.WriteBytes(z.Versions) if err != nil { err = msgp.WrapError(err, "Versions") return } // write "SetIndex"
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Aug 13 22:26:05 UTC 2024 - 6.8K bytes - Viewed (0) -
tests/upsert_test.go
t.Fatalf("failed to upsert, got %v", err) } lang2 := Language{Code: "upsert", Name: "Upsert"} if err := DB.Clauses(clause.OnConflict{DoNothing: true}).Create(&lang2).Error; err != nil { t.Fatalf("failed to upsert, got %v", err) } var langs []Language if err := DB.Find(&langs, "code = ?", lang.Code).Error; err != nil {
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Sep 05 07:39:19 UTC 2022 - 11.4K bytes - Viewed (0) -
tests/callbacks_test.go
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Tue Mar 26 03:33:36 UTC 2024 - 7.2K bytes - Viewed (0) -
internal/s3select/select.go
return errors.New("ScanRange: Start cannot be after end") } return nil } // StartLen returns start offset plus length from range. func (s *ScanRange) StartLen() (start, length int64, err error) { if s == nil { return 0, -1, nil } err = s.Validate() if err != nil { return 0, 0, err } if s.End == nil && s.Start == nil { // Not valid, but should be caught above. return 0, -1, nil }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Sep 22 00:33:43 UTC 2024 - 21.2K bytes - Viewed (0) -
cmd/global-heal.go
}() for _, bucket := range healBuckets { if err := bgSeq.healBucket(objAPI, bucket, true); err != nil { // Log bucket healing error if any, we shall retry again. healingLogIf(ctx, err) } } info, err := tracker.disk.DiskInfo(ctx, DiskInfoOptions{}) if err != nil { return fmt.Errorf("unable to get disk information before healing it: %w", err) } var numHealers uint64
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Oct 26 09:58:27 UTC 2024 - 16.3K bytes - Viewed (0) -
cmd/admin-bucket-handlers.go
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 28 15:32:18 UTC 2024 - 33.2K bytes - Viewed (0) -
internal/http/dial_dnscache.go
host, port, err := net.SplitHostPort(addr) if err != nil { return nil, err } if net.ParseIP(host) != nil { // For IP only setups there is no need for DNS lookups. return baseDialCtx(ctx, "tcp", addr) } ips, err := lookupHost(ctx, host) if err != nil { return nil, err } for _, ip := range ips {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 03 19:30:51 UTC 2023 - 2.6K bytes - Viewed (0) -
internal/lock/lock_solaris.go
if err == syscall.EAGAIN { err = ErrAlreadyLocked } return nil, err } st, err := os.Stat(path) if err != nil { f.Close() return nil, err } if st.IsDir() { f.Close() return nil, &os.PathError{ Op: "open", Path: path, Err: syscall.EISDIR, } } return &LockedFile{f}, nil } // TryLockedOpenFile - tries a new write lock, functionality
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Jan 02 17:15:06 UTC 2022 - 2.8K bytes - Viewed (0) -
istioctl/pkg/injector/injector-list.go
LabelSelector: "app=sidecar-injector", }) if err != nil { return err } hooks := hooksList.Items pods, err := getPods(context.Background(), client) if err != nil { return err } err = printNS(cmd.OutOrStdout(), nsList, hooks, pods) if err != nil { return err } fmt.Fprintln(cmd.OutOrStdout())
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Oct 18 11:39:52 UTC 2024 - 10.6K bytes - Viewed (0) -
cmd/site-replication-metrics_gen_test.go
func TestMarshalUnmarshalRStat(t *testing.T) { v := RStat{} bts, err := v.MarshalMsg(nil) if err != nil { t.Fatal(err) } left, err := v.UnmarshalMsg(bts) if err != nil { t.Fatal(err) } if len(left) > 0 { t.Errorf("%d bytes left over after UnmarshalMsg(): %q", len(left), left) } left, err = msgp.Skip(bts) if err != nil { t.Fatal(err) } if len(left) > 0 {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 30 08:00:59 UTC 2023 - 12.9K bytes - Viewed (0)