- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 51 for blockSize (0.38 seconds)
-
src/main/java/jcifs/smb/SmbFileInputStream.java
int r, n; final int blockSize = type == SmbConstants.TYPE_FILESYSTEM ? this.readSizeFile : this.readSize; // Optimization: Use larger block sizes for better performance final int optimizedBlockSize = Math.min(blockSize * 2, 64 * 1024); // Cap at 64KB for memory efficiency final int effectiveBlockSize = Math.max(blockSize, optimizedBlockSize);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 15.6K bytes - Click Count (0) -
cmd/object-api-common.go
package cmd import ( "sync" "github.com/dustin/go-humanize" ) const ( // Block size used for all internal operations version 1. // TLDR.. // Not used anymore xl.meta captures the right blockSize // so blockSizeV2 should be used for all future purposes. // this value is kept here to calculate the max API // requests based on RAM size for existing content. blockSizeV1 = 10 * humanize.MiByte
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Nov 21 01:09:35 GMT 2023 - 2.1K bytes - Click Count (0) -
cmd/xl-storage-format-v1_gen.go
case "ParityBlocks": z.ParityBlocks, err = dc.ReadInt() if err != nil { err = msgp.WrapError(err, "ParityBlocks") return } case "BlockSize": z.BlockSize, err = dc.ReadInt64() if err != nil { err = msgp.WrapError(err, "BlockSize") return } case "Index": z.Index, err = dc.ReadInt() if err != nil { err = msgp.WrapError(err, "Index") return }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 41.2K bytes - Click Count (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 {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue May 27 15:19:03 GMT 2025 - 9.2K bytes - Click Count (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 {Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 17.5K bytes - Click Count (0) -
docs/debugging/xl-meta/main.go
func shardSize(blockSize, dataBlocks int) (sz int) { if dataBlocks == 0 { // do nothing on invalid input return sz } // Make denominator positive if dataBlocks < 0 { blockSize = -blockSize dataBlocks = -dataBlocks } sz = blockSize / dataBlocks if blockSize > 0 && blockSize%dataBlocks != 0 { sz++ } return sz }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 40.4K bytes - Click Count (0) -
cmd/xl-storage-format-utils_test.go
Size: 0, Mode: 0, Metadata: nil, Parts: nil, Erasure: ErasureInfo{ Algorithm: ReedSolomon.String(), DataBlocks: 4, ParityBlocks: 2, BlockSize: 10000, Index: 1, Distribution: []int{1, 2, 3, 4, 5, 6, 7, 8}, Checksums: []ChecksumInfo{{ PartNumber: 1, Algorithm: HighwayHash256S, Hash: nil, }}, },Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 7.1K bytes - Click Count (0) -
api/go1.24.txt
pkg crypto/sha3, func SumSHAKE128([]uint8, int) []uint8 #69982 pkg crypto/sha3, func SumSHAKE256([]uint8, int) []uint8 #69982 pkg crypto/sha3, method (*SHA3) AppendBinary([]uint8) ([]uint8, error) #69982 pkg crypto/sha3, method (*SHA3) BlockSize() int #69982 pkg crypto/sha3, method (*SHA3) MarshalBinary() ([]uint8, error) #69982 pkg crypto/sha3, method (*SHA3) Reset() #69982 pkg crypto/sha3, method (*SHA3) Size() int #69982
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Tue Dec 17 21:28:29 GMT 2024 - 14.2K bytes - Click Count (0) -
cmd/peer-rest-server.go
s.writeErrorResponse(w, errServerNotInitialized) return } serial := r.Form.Get("serial") == "true" blockSizeStr := r.Form.Get("blocksize") fileSizeStr := r.Form.Get("filesize") blockSize, err := strconv.ParseUint(blockSizeStr, 10, 64) if err != nil { blockSize = 4 * humanize.MiByte // default value } fileSize, err := strconv.ParseUint(fileSizeStr, 10, 64) if err != nil {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 53.6K bytes - Click Count (0) -
src/archive/tar/common.go
// offsets and lengths that are multiples of blockSize. func alignSparseEntries(src []sparseEntry, size int64) []sparseEntry { dst := src[:0] for _, s := range src { pos, end := s.Offset, s.endOffset() pos += blockPadding(+pos) // Round-up to nearest blockSize if end != size { end -= blockPadding(-end) // Round-down to nearest blockSize } if pos < end {
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Tue Oct 07 19:46:36 GMT 2025 - 24.5K bytes - Click Count (0)