Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 2,441 for uint64s (0.21 sec)

  1. src/cmd/compile/internal/test/bench_test.go

    	a := make([]uint64, N/64)
    	for i := 0; i < b.N; i++ {
    		for j := uint64(0); j < N; j++ {
    			a[j/64] &^= 1 << (j % 64)
    		}
    	}
    }
    
    func BenchmarkBitToggle(b *testing.B) {
    	const N = 64 * 8
    	a := make([]uint64, N/64)
    	for i := 0; i < b.N; i++ {
    		for j := uint64(0); j < N; j++ {
    			a[j/64] ^= 1 << (j % 64)
    		}
    	}
    }
    
    func BenchmarkBitSetConst(b *testing.B) {
    	const N = 64
    	a := make([]uint64, N)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 08 03:27:59 UTC 2021
    - 2.1K bytes
    - Viewed (0)
  2. src/cmd/internal/obj/riscv/testdata/testbranch/branch_test.go

    func testBNEZ(a int64) (r bool)
    
    func testGoBGE(a, b int64) bool  { return a >= b }
    func testGoBGEU(a, b int64) bool { return uint64(a) >= uint64(b) }
    func testGoBGT(a, b int64) bool  { return a > b }
    func testGoBGTU(a, b int64) bool { return uint64(a) > uint64(b) }
    func testGoBLE(a, b int64) bool  { return a <= b }
    func testGoBLEU(a, b int64) bool { return uint64(a) <= uint64(b) }
    func testGoBLT(a, b int64) bool  { return a < b }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 28 21:56:43 UTC 2022
    - 4.4K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/test/testdata/gen/arithConstGen.go

    }
    type szD struct {
    	name   string
    	sn     string
    	u      []uint64
    	i      []int64
    	oponly string
    }
    
    var szs = []szD{
    	{name: "uint64", sn: "64", u: []uint64{0, 1, 4294967296, 0x8000000000000000, 0xffffFFFFffffFFFF}},
    	{name: "uint64", sn: "64", u: []uint64{3, 5, 7, 9, 10, 11, 13, 19, 21, 25, 27, 37, 41, 45, 73, 81}, oponly: "mul"},
    
    	{name: "int64", sn: "64", i: []int64{-0x8000000000000000, -0x7FFFFFFFFFFFFFFF,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 20 02:13:02 UTC 2022
    - 8.3K bytes
    - Viewed (0)
  4. src/runtime/defs_linux_s390x.go

    	ss_flags int32
    	ss_size  uintptr
    }
    
    type sigcontext struct {
    	psw_mask uint64
    	psw_addr uint64
    	gregs    [16]uint64
    	aregs    [16]uint32
    	fpc      uint32
    	fpregs   [16]uint64
    }
    
    type ucontext struct {
    	uc_flags    uint64
    	uc_link     *ucontext
    	uc_stack    stackt
    	uc_mcontext sigcontext
    	uc_sigmask  uint64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 19:05:10 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  5. src/runtime/defs_linux_arm64.go

    	_O_CLOEXEC  = 0x80000
    )
    
    type usigset struct {
    	__val [16]uint64
    }
    
    type stackt struct {
    	ss_sp     *byte
    	ss_flags  int32
    	pad_cgo_0 [4]byte
    	ss_size   uintptr
    }
    
    type sigcontext struct {
    	fault_address uint64
    	/* AArch64 registers */
    	regs       [31]uint64
    	sp         uint64
    	pc         uint64
    	pstate     uint64
    	_pad       [8]byte // __attribute__((__aligned__(16)))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 19:05:10 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/test/divconst_test.go

    	t.Run("14", testdiv(14, func(n uint64) (uint64, uint64) { return n / 14, n % 14 }))
    	t.Run("15", testdiv(15, func(n uint64) (uint64, uint64) { return n / 15, n % 15 }))
    	t.Run("16", testdiv(16, func(n uint64) (uint64, uint64) { return n / 16, n % 16 }))
    	t.Run("17", testdiv(17, func(n uint64) (uint64, uint64) { return n / 17, n % 17 }))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 29 00:07:35 UTC 2020
    - 7.7K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/unix/ztypes_linux_386.go

    	Read_bytes                uint64
    	Write_bytes               uint64
    	Cancelled_write_bytes     uint64
    	Nvcsw                     uint64
    	Nivcsw                    uint64
    	Ac_utimescaled            uint64
    	Ac_stimescaled            uint64
    	Cpu_scaled_run_real_total uint64
    	Freepages_count           uint64
    	Freepages_delay_total     uint64
    	Thrashing_count           uint64
    	Thrashing_delay_total     uint64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  8. src/math/rand/rand.go

    // Uint64 returns a pseudo-random 64-bit value as a uint64.
    func (r *Rand) Uint64() uint64 {
    	if r.s64 != nil {
    		return r.s64.Uint64()
    	}
    	return uint64(r.Int63())>>31 | uint64(r.Int63())<<32
    }
    
    // Int31 returns a non-negative pseudo-random 31-bit integer as an int32.
    func (r *Rand) Int31() int32 { return int32(r.Int63() >> 32) }
    
    // Int returns a non-negative pseudo-random int.
    func (r *Rand) Int() int {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:09:08 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  9. src/syscall/syscall_linux_loong64.go

    func makedev(major uint32, minor uint32) uint64 {
    	majorH := uint64(major >> 12)
    	majorL := uint64(major & 0xfff)
    	minorH := uint64(minor >> 8)
    	minorL := uint64(minor & 0xff)
    	return (majorH << 44) | (minorH << 20) | (majorL << 8) | minorL
    }
    
    func timespecFromStatxTimestamp(x statxTimestamp) Timespec {
    	return Timespec{
    		Sec:  x.Sec,
    		Nsec: int64(x.Nsec),
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 22:23:07 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  10. src/runtime/vdso_freebsd.go

    	}
    	return binuptime(abs)
    }
    
    func fallback_nanotime() int64
    func fallback_walltime() (sec int64, nsec int32)
    
    //go:nosplit
    func nanotime1() int64 {
    	bt := vdsoClockGettime(_CLOCK_MONOTONIC)
    	if bt == zeroBintime {
    		return fallback_nanotime()
    	}
    	return int64((1e9 * uint64(bt.sec)) + ((1e9 * uint64(bt.frac>>32)) >> 32))
    }
    
    func walltime() (sec int64, nsec int32) {
    	bt := vdsoClockGettime(_CLOCK_REALTIME)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 2.4K bytes
    - Viewed (0)
Back to top