- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 25 for b_size (0.07 sec)
-
internal/bucket/lifecycle/filter_test.go
}, } tests := []struct { filter Filter objSize int64 want bool }{ { filter: fiLt, objSize: 101 * humanize.MiByte, want: false, }, { filter: fiLt, objSize: 99 * humanize.MiByte, want: true, }, { filter: fiGt, objSize: 1*humanize.MiByte - 1, want: false, }, { filter: fiGt,
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Feb 27 00:01:20 UTC 2024 - 7.2K bytes - Viewed (0) -
internal/bucket/lifecycle/filter.go
v, ok := tagsMap[k] if !ok || v != cv { mismatch = true break } } return !mismatch } // BySize returns true if sz satisfies one of ObjectSizeGreaterThan, // ObjectSizeLessThan predicates or a combination of them via And. func (f Filter) BySize(sz int64) bool { if f.ObjectSizeGreaterThan > 0 && sz <= f.ObjectSizeGreaterThan { return false } if f.ObjectSizeLessThan > 0 &&
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Sep 04 17:01:26 UTC 2024 - 6.2K bytes - Viewed (0) -
internal/disk/stat_bsd.go
s := syscall.Statfs_t{} err = syscall.Statfs(path, &s) if err != nil { return Info{}, err } reservedBlocks := s.Bfree - s.Bavail info = Info{ Total: uint64(s.Bsize) * (s.Blocks - reservedBlocks), Free: uint64(s.Bsize) * s.Bavail, Files: s.Files, Ffree: s.Ffree, FSType: getFSType(s.Fstypename[:]), } if info.Free > info.Total {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Feb 26 19:34:50 UTC 2024 - 1.7K bytes - Viewed (0) -
cmd/batch-job-common-types_test.go
tests := []struct { objSize int64 sizeFilter BatchJobSizeFilter want bool }{ { // 1Mib < 2Mib < 10MiB -> in range objSize: 2 << 20, sizeFilter: BatchJobSizeFilter{ UpperBound: 10 << 20, LowerBound: 1 << 20, }, want: true, }, { // 2KiB < 1 MiB -> out of range from left objSize: 2 << 10, sizeFilter: BatchJobSizeFilter{
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jan 08 23:22:28 UTC 2024 - 3.3K bytes - Viewed (0) -
cmd/benchmark-utils_test.go
// pick a character randomly. return []byte{letterBytes[rand.Intn(len(letterBytes))]} } // picks a random byte and repeats it to size bytes. func generateBytesData(size int) []byte { // repeat the random character chosen size return bytes.Repeat(getRandomByte(), size) } // Parallel benchmark utility functions for ObjectLayer.PutObject().
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Dec 23 15:46:00 UTC 2022 - 8.2K bytes - Viewed (0) -
internal/disk/stat_netbsd.go
s := unix.Statvfs_t{} if err = unix.Statvfs(path, &s); err != nil { return Info{}, err } reservedBlocks := uint64(s.Bfree) - uint64(s.Bavail) info = Info{ Total: uint64(s.Frsize) * (uint64(s.Blocks) - reservedBlocks), Free: uint64(s.Frsize) * uint64(s.Bavail), Files: uint64(s.Files), Ffree: uint64(s.Ffree), FSType: string(s.Fstypename[:]), } if info.Free > info.Total {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Feb 26 19:34:50 UTC 2024 - 1.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/Trans2FindFirst2Response.java
",allocationSize=" + allocationSize + ",extFileAttributes=" + extFileAttributes + ",fileNameLength=" + fileNameLength + ",eaSize=" + eaSize + ",shortNameLength=" + shortNameLength + ",shortName=" + shortName + ",filename=" + filename + "]" ); } } int sid; boolean isEndOfSearch;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 8.5K bytes - Viewed (0) -
internal/bucket/lifecycle/and.go
return true } x[t.Key] = struct{}{} } return false } // BySize returns true when sz satisfies a // ObjectSizeLessThan/ObjectSizeGreaterthan or a logical AND of these predicates // Note: And combines size and other predicates like Tags, Prefix, etc. This // method applies exclusively to size predicates only. func (a And) BySize(sz int64) bool { if a.ObjectSizeGreaterThan > 0 && sz <= a.ObjectSizeGreaterThan {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 2.9K bytes - Viewed (0) -
internal/disk/stat_freebsd.go
s := syscall.Statfs_t{} err = syscall.Statfs(path, &s) if err != nil { return Info{}, err } reservedBlocks := s.Bfree - uint64(s.Bavail) info = Info{ Total: uint64(s.Bsize) * (s.Blocks - reservedBlocks), Free: uint64(s.Bsize) * uint64(s.Bavail), Files: s.Files, Ffree: uint64(s.Ffree), FSType: getFSType(s.Fstypename[:]), } if info.Free > info.Total {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Feb 26 19:34:50 UTC 2024 - 1.7K bytes - Viewed (0) -
internal/disk/stat_linux_32bit.go
s := syscall.Statfs_t{} err = syscall.Statfs(path, &s) if err != nil { return Info{}, err } reservedBlocks := s.Bfree - s.Bavail info = Info{ Total: uint64(s.Frsize) * (s.Blocks - reservedBlocks), Free: uint64(s.Frsize) * s.Bavail, Files: s.Files, Ffree: s.Ffree, FSType: getFSType(s.Type), } // Check for overflows. // https://github.com/minio/minio/issues/8035
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Feb 26 19:34:50 UTC 2024 - 2.6K bytes - Viewed (0)