Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 50 for blockSize (0.66 sec)

  1. internal/config/cache/help.go

    			Optional:    true,
    		},
    		config.HelpKV{
    			Key:         BlockSize,
    			Type:        "string",
    			Description: "cache all objects below the specified block size" + defaultHelpPostfix(BlockSize),
    			Optional:    true,
    		},
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Dec 22 00:57:13 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  2. src/hash/fnv/fnv.go

    func (s *sum128) Size() int  { return 16 }
    func (s *sum128a) Size() int { return 16 }
    
    func (s *sum32) BlockSize() int   { return 1 }
    func (s *sum32a) BlockSize() int  { return 1 }
    func (s *sum64) BlockSize() int   { return 1 }
    func (s *sum64a) BlockSize() int  { return 1 }
    func (s *sum128) BlockSize() int  { return 1 }
    func (s *sum128a) BlockSize() int { return 1 }
    
    func (s *sum32) Sum(in []byte) []byte {
    	v := uint32(*s)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 18 22:36:41 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  3. src/crypto/aes/ctr_s390x.go

    }
    
    // NewCTR returns a Stream which encrypts/decrypts using the AES block
    // cipher in counter mode. The length of iv must be the same as [BlockSize].
    func (c *aesCipherAsm) NewCTR(iv []byte) cipher.Stream {
    	if len(iv) != BlockSize {
    		panic("cipher.NewCTR: IV length must equal block size")
    	}
    	var ac aesctr
    	ac.block = c
    	ac.ctr[0] = byteorder.BeUint64(iv[0:]) // high bits
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  4. src/hash/hash.go

    	Reset()
    
    	// Size returns the number of bytes Sum will return.
    	Size() int
    
    	// 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.
    	BlockSize() int
    }
    
    // Hash32 is the common interface implemented by all 32-bit hash functions.
    type Hash32 interface {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 19:15:34 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  5. src/crypto/sha1/sha1.go

    	"errors"
    	"hash"
    	"internal/byteorder"
    )
    
    func init() {
    	crypto.RegisterHash(crypto.SHA1, New)
    }
    
    // The size of a SHA-1 checksum in bytes.
    const Size = 20
    
    // The blocksize of SHA-1 in bytes.
    const BlockSize = 64
    
    const (
    	chunk = 64
    	init0 = 0x67452301
    	init1 = 0xEFCDAB89
    	init2 = 0x98BADCFE
    	init3 = 0x10325476
    	init4 = 0xC3D2E1F0
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:50:58 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  6. pkg/util/tail/tail.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package tail
    
    import (
    	"io"
    	"os"
    )
    
    const (
    	// blockSize is the block size used in tail.
    	blockSize = 1024
    )
    
    // ReadAtMost reads at most max bytes from the end of the file identified by path or
    // returns an error. It returns true if the file was longer than max. It will
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 13:13:22 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  7. internal/etag/reader.go

    func (u UUIDHash) Reset() {
    	return
    }
    
    // Size -  implement hash.Hash Size
    func (u UUIDHash) Size() int {
    	return len(u.uuid)
    }
    
    // BlockSize -  implement hash.Hash BlockSize
    func (u UUIDHash) BlockSize() int {
    	return md5.BlockSize
    }
    
    var _ hash.Hash = &UUIDHash{}
    
    // NewUUIDHash - new UUIDHash
    func NewUUIDHash(uuid []byte) *UUIDHash {
    	return &UUIDHash{uuid: uuid}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  8. cmd/xl-storage-format-v1.go

    	DataBlocks int `json:"data"`
    	// ParityBlocks is the number of parity blocks for erasure-coding
    	ParityBlocks int `json:"parity"`
    	// BlockSize is the size of one erasure-coded block
    	BlockSize int64 `json:"blockSize"`
    	// Index is the index of the current disk
    	Index int `json:"index"`
    	// Distribution is the distribution of the data and parity blocks
    	Distribution []int `json:"distribution"`
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  9. src/crypto/sha256/sha256.go

    	crypto.RegisterHash(crypto.SHA256, New)
    }
    
    // The size of a SHA256 checksum in bytes.
    const Size = 32
    
    // The size of a SHA224 checksum in bytes.
    const Size224 = 28
    
    // The blocksize of SHA256 and SHA224 in bytes.
    const BlockSize = 64
    
    const (
    	chunk     = 64
    	init0     = 0x6A09E667
    	init1     = 0xBB67AE85
    	init2     = 0x3C6EF372
    	init3     = 0xA54FF53A
    	init4     = 0x510E527F
    	init5     = 0x9B05688C
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:50:58 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  10. src/vendor/golang.org/x/crypto/chacha20/chacha_noasm.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build (!arm64 && !s390x && !ppc64le) || !gc || purego
    
    package chacha20
    
    const bufSize = blockSize
    
    func (s *Cipher) xorKeyStreamBlocks(dst, src []byte) {
    	s.xorKeyStreamBlocksGeneric(dst, src)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 361 bytes
    - Viewed (0)
Back to top