- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 46 for BlockSize (0.13 sec)
-
internal/etag/reader.go
func (u UUIDHash) Reset() { return } // Size - implement hash.Hash Size func (u UUIDHash) Size() int { return len(u.uuid) } // BlockSize - implement hash.Hash BlockSize func (u UUIDHash) BlockSize() int { return md5.BlockSize } var _ hash.Hash = &UUIDHash{} // NewUUIDHash - new UUIDHash func NewUUIDHash(uuid []byte) *UUIDHash { return &UUIDHash{uuid: uuid}
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 4.8K bytes - Viewed (0) -
cmd/xl-storage-format-v1.go
DataBlocks int `json:"data"` // ParityBlocks is the number of parity blocks for erasure-coding ParityBlocks int `json:"parity"` // BlockSize is the size of one erasure-coded block BlockSize int64 `json:"blockSize"` // Index is the index of the current disk Index int `json:"index"` // Distribution is the distribution of the data and parity blocks Distribution []int `json:"distribution"`
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 22 15:30:50 UTC 2024 - 8.4K bytes - Viewed (0) -
cmd/erasure_test.go
type erasureTestSetup struct { dataBlocks int parityBlocks int blockSize int64 diskPaths []string disks []StorageAPI } // Returns an initialized setup for erasure tests. func newErasureTestSetup(tb testing.TB, dataBlocks int, parityBlocks int, blockSize int64) (*erasureTestSetup, error) { diskPaths := make([]string, dataBlocks+parityBlocks)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 25 19:37:26 UTC 2022 - 4.8K bytes - Viewed (0) -
cmd/bitrot.go
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jan 30 20:43:25 UTC 2024 - 7.6K bytes - Viewed (0) -
cmd/speedtest.go
} }() return ch } func driveSpeedTest(ctx context.Context, opts madmin.DriveSpeedTestOpts) madmin.DriveSpeedTestResult { perf := &dperf.DrivePerf{ Serial: opts.Serial, BlockSize: opts.BlockSize, FileSize: opts.FileSize, } localPaths := globalEndpoints.LocalDisksPaths() var ignoredPaths []string paths := func() (tmpPaths []string) { for _, lp := range localPaths {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon May 06 09:45:10 UTC 2024 - 9.2K bytes - Viewed (0) -
cmd/storage-datatypes_test.go
var buf bytes.Buffer msgp.Encode(&buf, &v) rd := msgp.NewEndlessReader(buf.Bytes(), b)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 19 18:05:16 UTC 2022 - 9.4K bytes - Viewed (0) -
internal/disk/directio_unsupported.go
func DisableDirectIO(f *os.File) error { return nil } // AlignedBlock simply returns an unaligned buffer // for systems that do not support DirectIO. func AlignedBlock(blockSize int) []byte { return make([]byte, blockSize)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Oct 18 18:08:15 UTC 2023 - 2.6K bytes - Viewed (0) -
cmd/xl-storage-format_test.go
} if unMarshalXLMeta.Erasure.BlockSize != jsoniterXLMeta.Erasure.BlockSize { t.Errorf("Expected the erasure block size to be %v, but got %v.", unMarshalXLMeta.Erasure.BlockSize, jsoniterXLMeta.Erasure.BlockSize) } if unMarshalXLMeta.Erasure.Index != jsoniterXLMeta.Erasure.Index {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Feb 22 06:26:06 UTC 2024 - 17.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFileInputStream.java
int type = this.file.getType(); int r, n; int blockSize = ( type == SmbConstants.TYPE_FILESYSTEM ) ? this.readSizeFile : this.readSize; do { r = len > blockSize ? blockSize : len; if ( log.isTraceEnabled() ) {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun May 17 08:55:14 UTC 2020 - 13.2K bytes - Viewed (0) -
cmd/os_unix.go
// refer https://github.com/golang/go/issues/24015 const blockSize = 8 << 10 // 8192 // By default at least 128 entries in single getdents call (1MiB buffer) var ( direntPool = sync.Pool{ New: func() interface{} { buf := make([]byte, blockSize*128) return &buf }, } direntNamePool = sync.Pool{ New: func() interface{} { buf := make([]byte, blockSize) return &buf }, } )
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 9.3K bytes - Viewed (0)