- Sort Score
- Result 10 results
- Languages All
Results 51 - 59 of 59 for HasSuffix (0.17 sec)
-
src/archive/tar/reader.go
return nil, err } if gnuLongName != "" { hdr.Name = gnuLongName } if gnuLongLink != "" { hdr.Linkname = gnuLongLink } if hdr.Typeflag == TypeRegA { if strings.HasSuffix(hdr.Name, "/") { hdr.Typeflag = TypeDir // Legacy archives use trailing slash for directories } else { hdr.Typeflag = TypeReg } } // The extended headers may have updated the size.
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Mar 08 01:59:14 UTC 2024 - 26.8K bytes - Viewed (0) -
cmd/object-multipart-handlers.go
} opts.EncryptFn, err = objInfo.metadataEncryptFn(r.Header) if err != nil { writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL) return } if r.Header.Get(xMinIOExtract) == "true" && HasSuffix(object, archiveExt) { opts := ObjectOptions{VersionID: objInfo.VersionID, MTime: objInfo.ModTime} if _, err := updateObjectMetadataWithZipInfo(ctx, objectAPI, bucket, object, opts); err != nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Aug 31 18:25:48 UTC 2024 - 39.2K bytes - Viewed (0) -
src/cmd/cgo/gcc.go
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Sep 18 15:07:34 UTC 2024 - 97.1K bytes - Viewed (0) -
src/archive/tar/reader_test.go
t.Run(path.Base(v.file), func(t *testing.T) { f, err := os.Open(v.file) if err != nil { t.Fatalf("unexpected error: %v", err) } defer f.Close() var fr io.Reader = f if strings.HasSuffix(v.file, ".bz2") { fr = bzip2.NewReader(fr) } // Capture all headers and checksums. var ( tr = NewReader(fr) hdrs []*Header chksums []string
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Oct 03 15:48:09 UTC 2024 - 46.9K bytes - Viewed (0) -
cmd/batch-handlers.go
continue } if strings.HasPrefix(result.Item.Name, batchJobReportsPrefix+slashSeparator) { continue } // ignore batch-replicate.bin and batch-rotate.bin entries if strings.HasSuffix(result.Item.Name, slashSeparator) { continue } req := &BatchJobRequest{} if err := req.load(ctx, j.objLayer, result.Item.Name); err != nil { batchLogIf(ctx, err) continue }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Oct 18 15:32:09 UTC 2024 - 62.2K bytes - Viewed (0) -
cmd/object-api-multipart_test.go
if err != nil { t.Fatalf("%s : %s", instanceType, err.Error()) } var dataDir string for _, folder := range dataDirs { if strings.HasSuffix(folder, SlashSeparator) { dataDir = folder break } } toDel := (len(erasureDisks) / 2) + 1 for _, disk := range erasureDisks[:toDel] {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Sep 06 09:42:21 UTC 2024 - 88.8K bytes - Viewed (0) -
src/bytes/bytes_test.go
if len(bmbuf) < n { bmbuf = make([]byte, n) } b.SetBytes(int64(n)) f(b, n) }) } } var indexSizes = []int{10, 32, 4 << 10, 4 << 20, 64 << 20} var isRaceBuilder = strings.HasSuffix(testenv.Builder(), "-race") func BenchmarkIndexByte(b *testing.B) { benchBytes(b, indexSizes, bmIndexByte(IndexByte)) } func BenchmarkIndexBytePortable(b *testing.B) {
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Aug 19 19:09:04 UTC 2024 - 61.2K bytes - Viewed (0) -
cmd/object-handlers.go
objInfo, err := putObject(ctx, bucket, object, pReader, opts) if err != nil { writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL) return } if r.Header.Get(xMinIOExtract) == "true" && HasSuffix(object, archiveExt) { opts := ObjectOptions{VersionID: objInfo.VersionID, MTime: objInfo.ModTime} if _, err := updateObjectMetadataWithZipInfo(ctx, objectAPI, bucket, object, opts); err != nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Oct 05 05:16:15 UTC 2024 - 117.4K bytes - Viewed (0) -
api/go1.txt
pkg bytes, func EqualFold([]uint8, []uint8) bool pkg bytes, func Fields([]uint8) [][]uint8 pkg bytes, func FieldsFunc([]uint8, func(int32) bool) [][]uint8 pkg bytes, func HasPrefix([]uint8, []uint8) bool pkg bytes, func HasSuffix([]uint8, []uint8) bool pkg bytes, func Index([]uint8, []uint8) int pkg bytes, func IndexAny([]uint8, string) int pkg bytes, func IndexByte([]uint8, uint8) int pkg bytes, func IndexFunc([]uint8, func(int32) bool) int
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Aug 14 18:58:28 UTC 2013 - 1.7M bytes - Viewed (0)