- Sort Score
- Num 10 results
- Language All
Results 311 - 320 of 338 for Interfaces (0.04 seconds)
-
internal/etag/etag.go
return e } return e[len(e)-16:] } var _ Tagger = ETag{} // compiler check // ETag returns the ETag itself. // // By providing this method ETag implements // the Tagger interface. func (e ETag) ETag() ETag { return e } // FromContentMD5 decodes and returns the Content-MD5 // as ETag, if set. If no Content-MD5 header is set // it returns an empty ETag and no error.Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri May 16 14:27:42 GMT 2025 - 13.2K bytes - Click Count (0) -
src/archive/tar/reader.go
// err is a persistent error. // It is only the responsibility of every exported method of Reader to // ensure that this error is sticky. err error } type fileReader interface { io.Reader fileState WriteTo(io.Writer) (int64, error) } // NewReader creates a new [Reader] reading from r. func NewReader(r io.Reader) *Reader { return &Reader{r: r, curr: ®FileReader{r, 0}} }Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Tue Oct 07 19:46:36 GMT 2025 - 26.9K bytes - Click Count (0) -
cmd/bucket-lifecycle.go
// NumWorkers returns the number of active workers executing one of ILM expiry // tasks or free version collection tasks. func (e *expiryStats) NumWorkers() int32 { return e.workers.Load() } type expiryOp interface { OpHash() uint64 } type freeVersionTask struct { ObjectInfo } func (f freeVersionTask) OpHash() uint64 { return xxh3.HashString(f.TransitionedObject.Tier + f.TransitionedObject.Name) }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 33.7K bytes - Click Count (0) -
internal/s3select/csv/reader_contrib_test.go
t.Fatalf("Case %d failed with %s", i, err) } if result.String() != c.content { t.Errorf("Case %d failed: expected %v result %v", i, c.content, result.String()) } } } type tester interface { Fatal(...any) } func openTestFile(t tester, file string) []byte { f, err := os.ReadFile("testdata/testdata.zip") if err != nil { t.Fatal(err) }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 38.4K bytes - Click Count (0) -
tests/preload_suits_test.go
package tests_test import ( "database/sql" "encoding/json" "reflect" "sort" "sync/atomic" "testing" "gorm.io/gorm" ) func toJSONString(v interface{}) []byte { r, _ := json.Marshal(v) return r } func TestNestedPreload1(t *testing.T) { type ( Level1 struct { ID uint Value string Level2ID uint } Level2 struct { ID uint Level1 Level1
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Thu Jun 05 11:34:13 GMT 2025 - 30.4K bytes - Click Count (0) -
cmd/data-usage-cache.go
flat := other.flatten(entry) existing := d.Cache[key] // If not found, merging simply adds. existing.merge(flat) d.replaceHashed(dataUsageHash(key), &eHash, existing) } } type objectIO interface { GetObjectNInfo(ctx context.Context, bucket, object string, rs *HTTPRangeSpec, h http.Header, opts ObjectOptions) (reader *GetObjectReader, err error)
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 34.7K bytes - Click Count (0) -
src/bufio/bufio.go
// license that can be found in the LICENSE file. // Package bufio implements buffered I/O. It wraps an io.Reader or io.Writer // object, creating another object (Reader or Writer) that also implements // the interface but provides buffering and some help for textual I/O. package bufio import ( "bytes" "errors" "io" "strings" "unicode/utf8" ) const ( defaultBufSize = 4096 ) var (
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Wed Sep 03 14:04:47 GMT 2025 - 22K bytes - Click Count (0) -
api/go1.20.txt
pkg strings, func CutSuffix(string, string) (string, bool) #42537 pkg sync, method (*Map) CompareAndDelete(interface{}, interface{}) bool #51972 pkg sync, method (*Map) CompareAndSwap(interface{}, interface{}, interface{}) bool #51972 pkg sync, method (*Map) Swap(interface{}, interface{}) (interface{}, bool) #51972 pkg syscall (freebsd-386-cgo), const SYS_FSTAT = 551 #53280 pkg syscall (freebsd-386-cgo), const SYS_FSTATAT = 552 #53280
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Fri Feb 17 21:23:32 GMT 2023 - 602.6K bytes - Click Count (0) -
cmd/api-response.go
HostID: globalDeploymentID(), } encodedErrorResponse := encodeResponseJSON(errorResponse) writeResponse(w, err.HTTPStatusCode, encodedErrorResponse, mimeJSON) } type unwrapper interface { Unwrap() http.ResponseWriter } // headersAlreadyWritten returns true if the headers have already been written // to this response writer. It will unwrap the ResponseWriter if possible to try
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Oct 24 04:05:19 GMT 2025 - 35K bytes - Click Count (0) -
doc/godebug.md
of the existing PolicyIdentifiers field, by using the [`x509usepolicies` setting](/pkg/crypto/x509/#CreateCertificate). ### Go 1.21 Go 1.21 made it a run-time error to call `panic` with a nil interface value, controlled by the [`panicnil` setting](/pkg/builtin/#panic). Go 1.21 made it an error for html/template actions to appear inside of an ECMAScript 6 template literal, controlled by the
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Wed Dec 03 00:18:09 GMT 2025 - 24.7K bytes - Click Count (0)