Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 65 for blockSize (0.14 sec)

  1. 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 Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon May 06 09:45:10 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  2. src/vendor/golang.org/x/crypto/sha3/sha3.go

    	// Specific to SHA-3 and SHAKE.
    	outputLen int             // the default output size in bytes
    	state     spongeDirection // whether the sponge is absorbing or squeezing
    }
    
    // BlockSize returns the rate of sponge underlying this hash function.
    func (d *state) BlockSize() int { return d.rate }
    
    // Size returns the output size of the hash function in bytes.
    func (d *state) Size() int { return d.outputLen }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  3. src/crypto/aes/gcm_ppc64x.go

    // details.
    func (g *gcmAsm) Seal(dst, nonce, plaintext, data []byte) []byte {
    	if len(nonce) != g.nonceSize {
    		panic("cipher: incorrect nonce length given to GCM")
    	}
    	if uint64(len(plaintext)) > ((1<<32)-2)*BlockSize {
    		panic("cipher: message too large for GCM")
    	}
    
    	ret, out := sliceForAppend(dst, len(plaintext)+g.tagSize)
    
    	var counter, tagMask [gcmBlockSize]byte
    	g.deriveCounter(&counter, nonce)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  4. src/crypto/md5/md5block.go

    package md5
    
    import (
    	"internal/byteorder"
    	"math/bits"
    )
    
    func blockGeneric(dig *digest, p []byte) {
    	// load state
    	a, b, c, d := dig.s[0], dig.s[1], dig.s[2], dig.s[3]
    
    	for i := 0; i <= len(p)-BlockSize; i += BlockSize {
    		// eliminate bounds checks on p
    		q := p[i:]
    		q = q[:BlockSize:BlockSize]
    
    		// save current state
    		aa, bb, cc, dd := a, b, c, d
    
    		// load input block
    		x0 := byteorder.LeUint32(q[4*0x0:])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  5. src/vendor/golang.org/x/crypto/sha3/sha3_s390x.go

    func (s *asmState) Size() int {
    	return s.outputLen
    }
    
    // BlockSize returns the hash's underlying block size.
    // The Write method must be able to accept any amount
    // of data, but it may operate more efficiently if all writes
    // are a multiple of the block size.
    func (s *asmState) BlockSize() int {
    	return s.rate
    }
    
    // Clone returns a copy of the ShakeHash in its current state.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  6. src/hash/adler32/adler32.go

    // state of the hash.
    func New() hash.Hash32 {
    	d := new(digest)
    	d.Reset()
    	return d
    }
    
    func (d *digest) Size() int { return Size }
    
    func (d *digest) BlockSize() int { return 4 }
    
    const (
    	magic         = "adl\x01"
    	marshaledSize = len(magic) + 4
    )
    
    func (d *digest) MarshalBinary() ([]byte, error) {
    	b := make([]byte, 0, marshaledSize)
    	b = append(b, magic...)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun May 12 05:36:29 UTC 2024
    - 3K bytes
    - Viewed (0)
  7. pkg/volume/util/fs/fs.go

    			if _, ok := dedupedInodes[s.Ino]; !ok {
    				dedupedInodes[s.Ino] = struct{}{}
    			} else {
    				return nil
    			}
    		}
    
    		if consumption == nil {
    			usage.Bytes += int64(s.Blocks) * int64(512) // blocksize in bytes
    		}
    
    		if inodes == nil {
    			usage.Inodes++
    		}
    
    		return nil
    	})
    
    	return usage, err
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jan 20 02:56:02 UTC 2022
    - 3.8K bytes
    - Viewed (0)
  8. src/image/jpeg/dct_test.go

    //		cos((π/2) * (2*x + 1) * u / 8) *
    //		cos((π/2) * (2*y + 1) * v / 8)
    //
    // x and y are in pixel space, and u and v are in transform space.
    //
    // b acts as both dst and src.
    func slowFDCT(b *block) {
    	var dst [blockSize]float64
    	for v := 0; v < 8; v++ {
    		for u := 0; u < 8; u++ {
    			sum := 0.0
    			for y := 0; y < 8; y++ {
    				for x := 0; x < 8; x++ {
    					sum += alpha(u) * alpha(v) * float64(b[8*y+x]) *
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 06 15:49:30 UTC 2022
    - 8.6K bytes
    - Viewed (0)
  9. src/hash/maphash/maphash.go

    		byte(x>>24),
    		byte(x>>32),
    		byte(x>>40),
    		byte(x>>48),
    		byte(x>>56))
    }
    
    // Size returns h's hash value size, 8 bytes.
    func (h *Hash) Size() int { return 8 }
    
    // BlockSize returns h's block size.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 19:15:34 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  10. 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,
    			}},
    		},
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 22:18:44 UTC 2024
    - 7.1K bytes
    - Viewed (0)
Back to top