Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 78 for BeUint64 (0.14 sec)

  1. src/cmd/internal/test2json/testdata/framefuzz.test

        inlining_test.go:102: not in expected set, but also inlinable: "leUint16"
        inlining_test.go:102: not in expected set, but also inlinable: "Addr.string6"
        inlining_test.go:102: not in expected set, but also inlinable: "beUint64"
        inlining_test.go:102: not in expected set, but also inlinable: "appendHexPad"
        inlining_test.go:102: not in expected set, but also inlinable: "lePutUint16"
    --- PASS: TestInlining (0.10s)
    === RUN   FuzzParse
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 26 19:50:36 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  2. src/internal/chacha8rand/chacha8.go

    }
    
    // Init seeds the State with the given seed value.
    func (s *State) Init(seed [32]byte) {
    	s.Init64([4]uint64{
    		byteorder.LeUint64(seed[0*8:]),
    		byteorder.LeUint64(seed[1*8:]),
    		byteorder.LeUint64(seed[2*8:]),
    		byteorder.LeUint64(seed[3*8:]),
    	})
    }
    
    // Init64 seeds the state with the given seed value.
    func (s *State) Init64(seed [4]uint64) {
    	s.seed = seed
    	block(&s.seed, &s.buf, 0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:47:29 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  3. src/os/dir_unix.go

    	case 8:
    		return uint64(byteorder.BeUint64(b))
    	default:
    		panic("syscall: readInt with unsupported size")
    	}
    }
    
    func readIntLE(b []byte, size uintptr) uint64 {
    	switch size {
    	case 1:
    		return uint64(b[0])
    	case 2:
    		return uint64(byteorder.LeUint16(b))
    	case 4:
    		return uint64(byteorder.LeUint32(b))
    	case 8:
    		return uint64(byteorder.LeUint64(b))
    	default:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 20:11:45 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  4. src/crypto/md5/md5.go

    	b, d.s[3] = consumeUint32(b)
    	b = b[copy(d.x[:], b):]
    	b, d.len = consumeUint64(b)
    	d.nx = int(d.len % BlockSize)
    	return nil
    }
    
    func consumeUint64(b []byte) ([]byte, uint64) {
    	return b[8:], byteorder.BeUint64(b[0:8])
    }
    
    func consumeUint32(b []byte) ([]byte, uint32) {
    	return b[4:], byteorder.BeUint32(b[0:4])
    }
    
    // New returns a new hash.Hash computing the MD5 checksum. The Hash also
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  5. src/cmd/internal/test2json/testdata/framefuzz.json

    {"Action":"output","Test":"TestInlining","Output":"    inlining_test.go:102: not in expected set, but also inlinable: \"beUint64\"\n"}
    {"Action":"output","Test":"TestInlining","Output":"    inlining_test.go:102: not in expected set, but also inlinable: \"appendHexPad\"\n"}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 09 17:33:07 UTC 2022
    - 6.3K bytes
    - Viewed (0)
  6. src/crypto/sha256/sha256.go

    	b, d.h[7] = consumeUint32(b)
    	b = b[copy(d.x[:], b):]
    	b, d.len = consumeUint64(b)
    	d.nx = int(d.len % chunk)
    	return nil
    }
    
    func consumeUint64(b []byte) ([]byte, uint64) {
    	return b[8:], byteorder.BeUint64(b)
    }
    
    func consumeUint32(b []byte) ([]byte, uint32) {
    	return b[4:], byteorder.BeUint32(b)
    }
    
    func (d *digest) Reset() {
    	if !d.is224 {
    		d.h[0] = init0
    		d.h[1] = init1
    		d.h[2] = init2
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:50:58 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  7. src/crypto/sha1/sha1.go

    	b, d.h[4] = consumeUint32(b)
    	b = b[copy(d.x[:], b):]
    	b, d.len = consumeUint64(b)
    	d.nx = int(d.len % chunk)
    	return nil
    }
    
    func consumeUint64(b []byte) ([]byte, uint64) {
    	return b[8:], byteorder.BeUint64(b)
    }
    
    func consumeUint32(b []byte) ([]byte, uint32) {
    	return b[4:], byteorder.BeUint32(b)
    }
    
    func (d *digest) Reset() {
    	d.h[0] = init0
    	d.h[1] = init1
    	d.h[2] = init2
    	d.h[3] = init3
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:50:58 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  8. src/crypto/sha512/sha512.go

    	b, d.h[7] = consumeUint64(b)
    	b = b[copy(d.x[:], b):]
    	b, d.len = consumeUint64(b)
    	d.nx = int(d.len % chunk)
    	return nil
    }
    
    func consumeUint64(b []byte) ([]byte, uint64) {
    	return b[8:], byteorder.BeUint64(b)
    }
    
    // New returns a new hash.Hash computing the SHA-512 checksum.
    func New() hash.Hash {
    	if boring.Enabled {
    		return boring.NewSHA512()
    	}
    	d := &digest{function: crypto.SHA512}
    	d.Reset()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:50:58 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  9. src/net/netip/netip.go

    // An IPv4-mapped IPv6 address is left as an IPv6 address.
    // (Use Unmap to convert them if needed.)
    func AddrFrom16(addr [16]byte) Addr {
    	return Addr{
    		addr: uint128{
    			byteorder.BeUint64(addr[:8]),
    			byteorder.BeUint64(addr[8:]),
    		},
    		z: z6noz,
    	}
    }
    
    // ParseAddr parses s as an IP address, returning the result. The string
    // s can be in dotted decimal ("192.0.2.1"), IPv6 ("2001:db8::68"),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 17:10:01 UTC 2024
    - 43.2K bytes
    - Viewed (0)
  10. src/crypto/internal/bigmod/nat.go

    	return x, nil
    }
    
    // bigEndianUint returns the contents of buf interpreted as a
    // big-endian encoded uint value.
    func bigEndianUint(buf []byte) uint {
    	if _W == 64 {
    		return uint(byteorder.BeUint64(buf))
    	}
    	return uint(byteorder.BeUint32(buf))
    }
    
    func (x *Nat) setBytes(b []byte, m *Modulus) error {
    	x.resetFor(m)
    	i, k := len(b), 0
    	for k < len(x.limbs) && i >= _S {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 24K bytes
    - Viewed (0)
Back to top