Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,111 for uint64s (0.28 sec)

  1. src/math/rand/v2/regress_test.go

    	uint64(12210202232702069999), // Uint64()
    	uint64(8204908297817606218),  // Uint64()
    	uint64(17358349022401942459), // Uint64()
    	uint64(2240328155279531677),  // Uint64()
    	uint64(7311121042813227358),  // Uint64()
    	uint64(14454429957748299131), // Uint64()
    	uint64(13481244625344276711), // Uint64()
    	uint64(9381769212557126946),  // Uint64()
    	uint64(1350674201389090105),  // Uint64()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:03:11 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  2. src/vendor/golang.org/x/crypto/sha3/xor.go

    func xorIn(d *state, buf []byte) {
    	if cpu.IsBigEndian {
    		for i := 0; len(buf) >= 8; i++ {
    			a := binary.LittleEndian.Uint64(buf)
    			d.a[i] ^= a
    			buf = buf[8:]
    		}
    	} else {
    		ab := (*[25 * 64 / 8]byte)(unsafe.Pointer(&d.a))
    		subtle.XORBytes(ab[:], ab[:], buf)
    	}
    }
    
    // copyOut copies uint64s to a byte buffer.
    func copyOut(d *state, b []byte) {
    	if cpu.IsBigEndian {
    		for i := 0; len(b) >= 8; i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 854 bytes
    - Viewed (0)
  3. src/internal/chacha8rand/chacha8.go

    	ctrInc = 4  // increment counter by 4 between block calls
    	ctrMax = 16 // reseed when counter reaches 16
    	chunk  = 32 // each chunk produced by block is 32 uint64s
    	reseed = 4  // reseed with 4 words
    )
    
    // block is the chacha8rand block function.
    func block(seed *[4]uint64, blocks *[32]uint64, counter uint32)
    
    // A State holds the state for a single random generator.
    // It must be used from one goroutine at a time.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:47:29 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  4. src/runtime/mpallocbits.go

    		b.set(i)
    		return
    	}
    	// Set bits [i, j].
    	j := i + n - 1
    	if i/64 == j/64 {
    		b[i/64] |= ((uint64(1) << n) - 1) << (i % 64)
    		return
    	}
    	_ = b[j/64]
    	// Set leading bits.
    	b[i/64] |= ^uint64(0) << (i % 64)
    	for k := i/64 + 1; k < j/64; k++ {
    		b[k] = ^uint64(0)
    	}
    	// Set trailing bits.
    	b[j/64] |= (uint64(1) << (j%64 + 1)) - 1
    }
    
    // setAll sets all the bits of b.
    func (b *pageBits) setAll() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 18 15:13:43 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  5. src/vendor/golang.org/x/crypto/sha3/keccakf.go

    	0x8000000080008008,
    }
    
    // keccakF1600 applies the Keccak permutation to a 1600b-wide
    // state represented as a slice of 25 uint64s.
    func keccakF1600(a *[25]uint64) {
    	// Implementation translated from Keccak-inplace.c
    	// in the keccak reference code.
    	var t, bc0, bc1, bc2, bc3, bc4, d0, d1, d2, d3, d4 uint64
    
    	for i := 0; i < 24; i += 4 {
    		// Combines the 5 steps in each round into 2 steps.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 10 16:37:53 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  6. src/encoding/gob/encode.go

    // The low bit of the encoding says whether to bit complement the (other bits of the)
    // uint to recover the int.
    func (state *encoderState) encodeInt(i int64) {
    	var x uint64
    	if i < 0 {
    		x = uint64(^i<<1) | 1
    	} else {
    		x = uint64(i << 1)
    	}
    	state.encodeUint(x)
    }
    
    // encOp is the signature of an encoding operator for a given type.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 02:00:26 UTC 2024
    - 19K bytes
    - Viewed (0)
  7. api/go1.22.txt

    pkg math/rand/v2, func Uint32N(uint32) uint32 #61716
    pkg math/rand/v2, func Uint64() uint64 #61716
    pkg math/rand/v2, func Uint64N(uint64) uint64 #61716
    pkg math/rand/v2, func UintN(uint) uint #61716
    pkg math/rand/v2, method (*ChaCha8) MarshalBinary() ([]uint8, error) #61716
    pkg math/rand/v2, method (*ChaCha8) Seed([32]uint8) #61716
    pkg math/rand/v2, method (*ChaCha8) Uint64() uint64 #61716
    pkg math/rand/v2, method (*ChaCha8) UnmarshalBinary([]uint8) error #61716
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 20:54:27 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  8. src/math/rand/v2/rand.go

    	if n <= 0 {
    		panic("invalid argument to Int64N")
    	}
    	return int64(r.uint64n(uint64(n)))
    }
    
    // Uint64N returns, as a uint64, a non-negative pseudo-random number in the half-open interval [0,n).
    // It panics if n == 0.
    func (r *Rand) Uint64N(n uint64) uint64 {
    	if n == 0 {
    		panic("invalid argument to Uint64N")
    	}
    	return r.uint64n(n)
    }
    
    // uint64n is the no-bounds-checks version of Uint64N.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 02:25:49 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  9. src/math/rand/v2/rand_test.go

    	var t int64
    	arg := keep(int64(2e9))
    	for n := b.N; n > 0; n-- {
    		t += r.Int64N(arg)
    	}
    	Sink = uint64(t)
    }
    
    func BenchmarkInt64N1e18(b *testing.B) {
    	r := testRand()
    	var t int64
    	arg := keep(int64(1e18))
    	for n := b.N; n > 0; n-- {
    		t += r.Int64N(arg)
    	}
    	Sink = uint64(t)
    }
    
    func BenchmarkInt64N2e18(b *testing.B) {
    	r := testRand()
    	var t int64
    	arg := keep(int64(2e18))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/ztypes_linux_mips64le.go

    	Lo       uint64
    	Hi       uint64
    	Epc      uint64
    	Badvaddr uint64
    	Status   uint64
    	Cause    uint64
    }
    
    type FdSet struct {
    	Bits [16]int64
    }
    
    type Sysinfo_t struct {
    	Uptime    int64
    	Loads     [3]uint64
    	Totalram  uint64
    	Freeram   uint64
    	Sharedram uint64
    	Bufferram uint64
    	Totalswap uint64
    	Freeswap  uint64
    	Procs     uint16
    	Pad       uint16
    	Totalhigh uint64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 12.1K bytes
    - Viewed (0)
Back to top