Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 157 for blockSize (0.34 sec)

  1. src/crypto/tls/cipher_suites.go

    type cthWrapper struct {
    	h constantTimeHash
    }
    
    func (c *cthWrapper) Size() int                   { return c.h.Size() }
    func (c *cthWrapper) BlockSize() int              { return c.h.BlockSize() }
    func (c *cthWrapper) Reset()                      { c.h.Reset() }
    func (c *cthWrapper) Write(p []byte) (int, error) { return c.h.Write(p) }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  2. 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,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 23K bytes
    - Viewed (0)
  3. src/archive/tar/reader_test.go

    	}, {
    		input: makeInput(FormatGNU, "",
    			makeSparseStrings(sparseDatas{{0, 1}, {2, 1}, {4, 1}, {6, 1}, {8, 1}, {10, 1}})...)[:blockSize],
    		wantErr: io.ErrUnexpectedEOF,
    	}, {
    		input: makeInput(FormatGNU, "",
    			makeSparseStrings(sparseDatas{{0, 1}, {2, 1}, {4, 1}, {6, 1}, {8, 1}, {10, 1}})...)[:3*blockSize/2],
    		wantErr: io.ErrUnexpectedEOF,
    	}, {
    		input: makeInput(FormatGNU, "",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 21 21:14:38 UTC 2022
    - 47.1K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top