- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 182 for blockSize (0.23 sec)
-
src/crypto/sha512/sha512.go
// Size256 is the size, in bytes, of a SHA-512/256 checksum. Size256 = 32 // Size384 is the size, in bytes, of a SHA-384 checksum. Size384 = 48 // BlockSize is the block size, in bytes, of the SHA-512/224, // SHA-512/256, SHA-384 and SHA-512 hash functions. BlockSize = 128 ) const ( chunk = 128 init0 = 0x6a09e667f3bcc908 init1 = 0xbb67ae8584caa73b init2 = 0x3c6ef372fe94f82b
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 16:50:58 UTC 2024 - 9.2K bytes - Viewed (0) -
src/crypto/cipher/ctr_test.go
// license that can be found in the LICENSE file. package cipher_test import ( "bytes" "crypto/cipher" "testing" ) type noopBlock int func (b noopBlock) BlockSize() int { return int(b) } func (noopBlock) Encrypt(dst, src []byte) { copy(dst, src) } func (noopBlock) Decrypt(dst, src []byte) { copy(dst, src) } func inc(b []byte) { for i := len(b) - 1; i >= 0; i++ { b[i]++
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 20 21:38:36 UTC 2015 - 1.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFileOutputStream.java
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Sat Nov 13 15:14:04 UTC 2021 - 11.9K bytes - Viewed (0) -
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 {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed Jun 12 08:13:12 UTC 2024 - 10.4K bytes - Viewed (0) -
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 }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Mar 21 17:21:35 UTC 2024 - 40.2K bytes - Viewed (0) -
src/crypto/md5/md5_test.go
block[offset+i] = '0' + byte(i%10) } for blockSize := 10; blockSize <= N; blockSize *= 10 { blocks := N / blockSize b := block[offset : offset+blockSize] c.Reset() for i := 0; i < blocks; i++ { c.Write(b) } s := fmt.Sprintf("%x", c.Sum(nil)) if s != ok { t.Fatalf("md5 TestLarge offset=%d, blockSize=%d = %s want %s", offset, blockSize, s, ok) } } } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 23 16:54:46 UTC 2021 - 17.4K bytes - Viewed (0) -
src/image/jpeg/reader.go
case 0: if n < blockSize { break loop } n -= blockSize if err := d.readFull(d.tmp[:blockSize]); err != nil { return err } for i := range d.quant[tq] { d.quant[tq][i] = int32(d.tmp[i]) } case 1: if n < 2*blockSize { break loop } n -= 2 * blockSize if err := d.readFull(d.tmp[:2*blockSize]); err != nil { return err }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:45 UTC 2023 - 22.5K bytes - Viewed (0) -
src/crypto/md5/gen.go
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 {{range $i := seq 16 -}}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 18:57:38 UTC 2024 - 4.7K bytes - Viewed (0) -
cmd/os_unix.go
// refer https://github.com/golang/go/issues/24015 const blockSize = 8 << 10 // 8192 // By default at least 128 entries in single getdents call (1MiB buffer) var ( direntPool = sync.Pool{ New: func() interface{} { buf := make([]byte, blockSize*128) return &buf }, } direntNamePool = sync.Pool{ New: func() interface{} { buf := make([]byte, blockSize) return &buf }, } )
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 9.3K bytes - Viewed (0) -
src/image/jpeg/idct.go
* are subject to royalty fees to patent holders. Many of these patents are * general enough such that they are unavoidable regardless of implementation * design. * */ const blockSize = 64 // A DCT block is 8x8. type block [blockSize]int32 const ( w1 = 2841 // 2048*sqrt(2)*cos(1*pi/16) w2 = 2676 // 2048*sqrt(2)*cos(2*pi/16) w3 = 2408 // 2048*sqrt(2)*cos(3*pi/16) w5 = 1609 // 2048*sqrt(2)*cos(5*pi/16)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 23:18:37 UTC 2019 - 5K bytes - Viewed (0)