Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 50 for block_size_ (0.18 sec)

  1. 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
    			}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 21 17:21:35 GMT 2024
    - 40.2K bytes
    - Viewed (0)
  2. cmd/handler-api.go

    		// max requests per node is calculated as
    		// total_ram / ram_per_request
    		blockSize := xioutil.LargeBlock + xioutil.SmallBlock
    		if legacy {
    			// ram_per_request is (1MiB+32KiB) * driveCount \
    			//    + 2 * 10MiB (default erasure block size v1) + 2 * 1MiB (default erasure block size v2)
    			apiRequestsMaxPerNode = int(maxMem / uint64(maxSetDrives*blockSize+int(blockSizeV1*2+blockSizeV2*2)))
    		} else {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 10K bytes
    - Viewed (0)
  3. 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 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 51.8K bytes
    - Viewed (0)
  4. cmd/xl-storage-free-version_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,
    			}},
    		},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Mar 02 05:11:03 GMT 2024
    - 7.8K bytes
    - Viewed (0)
  5. 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,
    			}},
    		},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Sep 02 14:49:24 GMT 2023
    - 6K bytes
    - Viewed (0)
  6. cmd/xl-storage-format-v2_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,
    			}},
    		},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 08 17:50:48 GMT 2024
    - 36.4K bytes
    - Viewed (0)
  7. cmd/erasure-healing-common_test.go

    				Index:      []uint8(nil),
    				Checksums:  map[string]string(nil),
    			},
    		},
    		Erasure: ErasureInfo{
    			Algorithm:    "ReedSolomon",
    			DataBlocks:   6,
    			ParityBlocks: 6,
    			BlockSize:    1048576,
    			Index:        1,
    			Distribution: []int{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12},
    			Checksums:    []ChecksumInfo{{PartNumber: 1, Algorithm: 0x3, Hash: []uint8{}}},
    		},
    		NumVersions: 1,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 23K bytes
    - Viewed (1)
  8. cmd/peer-rest-client.go

    	queryVals := make(url.Values)
    	if opts.Serial {
    		queryVals.Set("serial", "true")
    	}
    	queryVals.Set("blocksize", strconv.FormatUint(opts.BlockSize, 10))
    	queryVals.Set("filesize", strconv.FormatUint(opts.FileSize, 10))
    
    	respBody, err := client.callWithContext(ctx, peerRESTMethodDriveSpeedTest, queryVals, nil, -1)
    	if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.8K bytes
    - Viewed (0)
  9. 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 {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24.7K bytes
    - Viewed (2)
  10. cmd/storage-datatypes.go

    func newFileInfo(object string, dataBlocks, parityBlocks int) (fi FileInfo) {
    	fi.Erasure = ErasureInfo{
    		Algorithm:    erasureAlgorithm,
    		DataBlocks:   dataBlocks,
    		ParityBlocks: parityBlocks,
    		BlockSize:    blockSizeV2,
    		Distribution: hashOrder(object, dataBlocks+parityBlocks),
    	}
    	return fi
    }
    
    // ReadMultipleReq contains information of multiple files to read from disk.
    type ReadMultipleReq struct {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 15.3K bytes
    - Viewed (0)
Back to top