- Sort Score
- Result 10 results
- Languages All
Results 591 - 600 of 648 for nil (0.15 sec)
-
cmd/object-api-interface.go
// ReadCloser interface. The Close method runs any cleanup // functions, so it must always be called after reading till EOF // // IMPORTANTLY, when implementations return err != nil, this // function MUST NOT return a non-nil ReadCloser. GetObjectNInfo(ctx context.Context, bucket, object string, rs *HTTPRangeSpec, h http.Header, opts ObjectOptions) (reader *GetObjectReader, err error)
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sun Sep 07 16:13:09 UTC 2025 - 17.5K bytes - Viewed (0) -
cmd/api-errors_test.go
{err: crypto.ErrMissingCustomerKeyMD5, errCode: ErrMissingSSECustomerKeyMD5}, {err: crypto.ErrCustomerKeyMD5Mismatch, errCode: ErrSSECustomerKeyMD5Mismatch}, {err: errObjectTampered, errCode: ErrObjectTampered}, {err: nil, errCode: ErrNone}, {err: errors.New("Custom error"), errCode: ErrInternalError}, // Case where err type is unknown. } func TestAPIErrCode(t *testing.T) { ctx := t.Context() for i, testCase := range toAPIErrorTests {Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Apr 09 14:28:39 UTC 2025 - 3.4K bytes - Viewed (0) -
cmd/api-datatypes.go
} // MarshalXML encodes expiration date if it is non-zero and encodes // empty string otherwise func (t DeleteMarkerMTime) MarshalXML(e *xml.Encoder, startElement xml.StartElement) error { if t.IsZero() { return nil } return e.EncodeElement(t.Format(time.RFC3339), startElement) } // ObjectV object version key/versionId type ObjectV struct { ObjectName string `xml:"Key"` VersionID string `xml:"VersionId"` }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sun Mar 30 00:56:02 UTC 2025 - 3K bytes - Viewed (0) -
api/go1.5.txt
pkg go/types, method (*Named) Underlying() Type pkg go/types, method (*Nil) Exported() bool pkg go/types, method (*Nil) Id() string pkg go/types, method (*Nil) Name() string pkg go/types, method (*Nil) Parent() *Scope pkg go/types, method (*Nil) Pkg() *Package pkg go/types, method (*Nil) Pos() token.Pos pkg go/types, method (*Nil) String() string pkg go/types, method (*Nil) Type() Type pkg go/types, method (*Package) Complete() bool
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Thu Jul 30 21:14:09 UTC 2015 - 46.6K bytes - Viewed (0) -
cmd/metrics-v3-cluster-erasure-set.go
if writeTolerance < 0 { writeHealthy = false } m.Set(erasureSetWriteTolerance, writeTolerance, labels...) m.Set(erasureSetWriteHealth, b2f(writeHealthy), labels...) } return nil
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue May 14 07:25:56 UTC 2024 - 4.4K bytes - Viewed (0) -
cmd/metrics-v3-cluster-iam.go
} m.Set(syncFailures, float64(atomic.LoadUint64(&globalIAMSys.TotalRefreshFailures))) m.Set(syncSuccesses, float64(atomic.LoadUint64(&globalIAMSys.TotalRefreshSuccesses))) return nil
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Thu May 02 08:20:42 UTC 2024 - 4.5K bytes - Viewed (0) -
cmd/routers.go
registerSTSRouter(router) // Add KMS router registerKMSRouter(router) // Add API router registerAPIRouter(router) router.Use(globalMiddlewares...) return router, nil
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Mon Jul 29 18:10:04 UTC 2024 - 3.9K bytes - Viewed (0) -
doc/godebug.md
The [GODEBUG History](#history) gives the exact defaults for each Go toolchain version. For example, Go 1.21 introduces the `panicnil` setting, controlling whether `panic(nil)` is allowed; it defaults to `panicnil=0`, making `panic(nil)` a run-time error. Using `panicnil=1` restores the behavior of Go 1.20 and earlier. When compiling a work module or workspace that declares
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Tue Jul 08 18:30:38 UTC 2025 - 22.9K bytes - Viewed (0) -
src/bytes/iter.go
func Lines(s []byte) iter.Seq[[]byte] { return func(yield func([]byte) bool) { for len(s) > 0 { var line []byte if i := IndexByte(s, '\n'); i >= 0 { line, s = s[:i+1], s[i+1:] } else { line, s = s, nil } if !yield(line[:len(line):len(line)]) { return } } } } // splitSeq is SplitSeq or SplitAfterSeq, configured by how many // bytes of sep to include in the results (none or all).
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed Sep 03 14:04:47 UTC 2025 - 3.6K bytes - Viewed (0) -
tests/scopes_test.go
} var maxId int64 userTable := func(db *gorm.DB) *gorm.DB { return db.WithContext(context.Background()).Table("users") } if err := DB.Scopes(userTable).Select("max(id)").Scan(&maxId).Error; err != nil { t.Errorf("select max(id)") } } func TestComplexScopes(t *testing.T) { tests := []struct { name string queryFn func(tx *gorm.DB) *gorm.DB expected string }{ { name: "depth_1",
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Fri Jan 12 08:42:21 UTC 2024 - 3.3K bytes - Viewed (0)