- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 78 for b_size (0.15 sec)
-
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) -
src/bufio/bufio_test.go
} if got, want := rfw.writeBytes, bufsize; got != want { t.Errorf("wrote %v bytes with Write, want %v", got, want) } if got, want := rfw.readFromBytes, len(input)-bufsize; got != want { t.Errorf("wrote %v bytes with ReadFrom, want %v", got, want) } } func TestReadZero(t *testing.T) { for _, size := range []int{100, 2} { t.Run(fmt.Sprintf("bufsize=%d", size), func(t *testing.T) {
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Nov 01 21:52:12 UTC 2024 - 51.6K 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) -
api/go1.12.txt
pkg syscall (freebsd-386), type Dirent struct, Pad0 uint8 pkg syscall (freebsd-386), type Dirent struct, Pad1 uint16 pkg syscall (freebsd-386), type Stat_t struct, Atim_ext int32 pkg syscall (freebsd-386), type Stat_t struct, Blksize int32 pkg syscall (freebsd-386), type Stat_t struct, Btim_ext int32 pkg syscall (freebsd-386), type Stat_t struct, Ctim_ext int32 pkg syscall (freebsd-386), type Stat_t struct, Dev uint64
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Jan 02 21:21:53 UTC 2019 - 13.5K 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) -
src/test/java/jcifs/tests/RandomAccessFileTest.java
try { int bufSize = 64 * 1024 + 512; int l = bufSize; try ( SmbRandomAccess raf = f.openRandomAccess("rw") ) { writeRandom(bufSize, l, raf); } try ( SmbRandomAccess raf = f.openRandomAccess("rw") ) { verifyRandom(bufSize, l, raf); } }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 11.4K 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) -
src/main/java/org/codelibs/core/io/InputStreamUtil.java
/** * {@link InputStream}用のユーティリティクラスです。 * * @author higa */ public abstract class InputStreamUtil { /** デフォルトのバッファサイズ */ private static final int BUF_SIZE = 4096; /** * {@link FileInputStream}を作成します。 * * @param file * ファイル。{@literal null}であってはいけません * @return ファイルから入力する{@link FileInputStream}
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 3.2K bytes - Viewed (0)