Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 182 for blockSize (0.15 sec)

  1. 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,
    			}},
    		},
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Mar 08 17:50:48 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  2. test/prove.go

    	if len(p) == 0 {
    		return ""
    	}
    	i := h & (len(p) - 1)
    	return p[i] // ERROR "Proved IsInBounds$"
    }
    
    func and(p []byte) ([]byte, []byte) { // issue #52563
    	const blocksize = 16
    	fullBlocks := len(p) &^ (blocksize - 1)
    	blk := p[:fullBlocks] // ERROR "Proved IsSliceInBounds$"
    	rem := p[fullBlocks:] // ERROR "Proved IsSliceInBounds$"
    	return blk, rem
    }
    
    func rshu(x, y uint) int {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 23 00:02:36 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  3. 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 {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  4. cmd/admin-handlers.go

    		globalNotificationSys.ServiceFreeze(ctx, false)
    	}()
    
    	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 {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 98K bytes
    - Viewed (0)
  5. 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 {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  6. src/cmd/link/internal/ld/pe.go

    	// sort the pages array
    	sort.Sort(rt.pages)
    
    	for _, p := range rt.pages {
    		b := rt.blocks[p]
    		const sizeOfPEbaseRelocBlock = 8 // 2 * sizeof(uint32)
    		blockSize := uint32(sizeOfPEbaseRelocBlock + len(b.entries)*2)
    		out.Write32(p)
    		out.Write32(blockSize)
    
    		for _, e := range b.entries {
    			out.Write16(e.typeOff)
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 19:01:27 UTC 2023
    - 48.8K bytes
    - Viewed (0)
  7. src/crypto/aes/asm_ppc64x.s

    	MOVD	iv+32(FP), IVP
    	MOVD	enc+40(FP), ENC
    	MOVD	nr+48(FP), ROUNDS
    
    #ifdef NEEDS_ESPERM
    	MOVD	$·rcon(SB), R11
    	LVX	(R11), ESPERM   // Permute value for P8_ macros.
    #endif
    
    	// Assume len > 0 && len % blockSize == 0.
    	CMPW	ENC, $0
    	P8_LXVB16X(IVP, R0, IVEC)
    	CMPU	ROUNDS, $10, CR1
    	CMPU	ROUNDS, $12, CR2 // Only sizes 10/12/14 are supported.
    
    	// Setup key in VSRs, and set loop count in CTR.
    	LOAD_KEY(KEYP)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 18:05:32 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  8. cmd/xl-storage_test.go

    	const legacyJSON = `{"version":"1.0.1","format":"xl","stat":{"size":2016,"modTime":"2021-10-11T23:40:34.914361617Z"},"erasure":{"algorithm":"klauspost/reedsolomon/vandermonde","data":2,"parity":2,"blockSize":10485760,"index":2,"distribution":[2,3,4,1],"checksum":[{"name":"part.1","algorithm":"highwayhash256S"}]},"minio":{"release":"RELEASE.2019-12-30T05-45-39Z"},"meta":{"X-Minio-Internal-Server-Side-Encryption-Iv":"kInsJB/0yxyz/40ZI+lmQYJfZacDYqZsG...
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 11 17:45:28 UTC 2024
    - 66.7K bytes
    - Viewed (0)
  9. cmd/xl-storage-format-v2.go

    	if replStatus != "" {
    		fi.Metadata[xhttp.AmzBucketReplicationStatus] = string(replStatus)
    	}
    	fi.Erasure.Algorithm = j.ErasureAlgorithm.String()
    	fi.Erasure.Index = j.ErasureIndex
    	fi.Erasure.BlockSize = j.ErasureBlockSize
    	fi.Erasure.DataBlocks = j.ErasureM
    	fi.Erasure.ParityBlocks = j.ErasureN
    	fi.Erasure.Distribution = make([]int, len(j.ErasureDist))
    	for i := range j.ErasureDist {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 29 19:14:09 UTC 2024
    - 63.6K bytes
    - Viewed (0)
  10. src/crypto/sha512/sha512_test.go

    	if got := c.Size(); got != Size256 {
    		t.Errorf("New512256.Size = %d; want %d", got, Size256)
    	}
    }
    
    func TestBlockSize(t *testing.T) {
    	c := New()
    	if got := c.BlockSize(); got != BlockSize {
    		t.Errorf("BlockSize = %d; want %d", got, BlockSize)
    	}
    }
    
    // Tests that blockGeneric (pure Go) and block (in assembly for some architectures) match.
    func TestBlockGeneric(t *testing.T) {
    	if boring.Enabled {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 03 21:17:08 UTC 2023
    - 105.6K bytes
    - Viewed (0)
Back to top