Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 2,441 for uint64s (0.15 sec)

  1. src/cmd/compile/internal/types/universe.go

    	sameas32 Kind
    	sameas64 Kind
    }{
    	{"int", TINT, TINT32, TINT64},
    	{"uint", TUINT, TUINT32, TUINT64},
    	{"uintptr", TUINTPTR, TUINT32, TUINT64},
    }
    
    func InitTypes(defTypeName func(sym *Sym, typ *Type) Object) {
    	if PtrSize == 0 {
    		base.Fatalf("InitTypes called before PtrSize was set")
    	}
    
    	SlicePtrOffset = 0
    	SliceLenOffset = RoundUp(SlicePtrOffset+int64(PtrSize), int64(PtrSize))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 26 21:56:49 UTC 2023
    - 4K bytes
    - Viewed (0)
  2. src/testing/quick/quick_test.go

    		t.Fatal(err)
    	}
    }
    
    func TestInt64(t *testing.T) {
    	var lo, hi int64
    	f := func(x int64) bool {
    		if x < lo {
    			lo = x
    		}
    		if x > hi {
    			hi = x
    		}
    		return true
    	}
    	cfg := &Config{MaxCount: 10000}
    	Check(f, cfg)
    	if uint64(lo)>>62 == 0 || uint64(hi)>>62 == 0 {
    		t.Errorf("int64 returned range %#016x,%#016x; does not look like full range", lo, hi)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 12:54:00 UTC 2019
    - 9K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. src/math/rand/v2/example_test.go

    	// Int32, Int64, and Uint32 generate values of the given width.
    	// The Int method (not shown) is like either Int32 or Int64
    	// depending on the size of 'int'.
    	show("Int32", r.Int32(), r.Int32(), r.Int32())
    	show("Int64", r.Int64(), r.Int64(), r.Int64())
    	show("Uint32", r.Uint32(), r.Uint32(), r.Uint32())
    
    	// IntN, Int32N, and Int64N limit their output to be < n.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 30 17:09:26 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  6. src/math/rand/regress_test.go

    	uint64(11885104867954719224), // Uint64()
    	uint64(17548432336275752516), // Uint64()
    	uint64(7837839688282259259),  // Uint64()
    	uint64(2518412263346885298),  // Uint64()
    	uint64(5617773211005988520),  // Uint64()
    	uint64(11562935753659892057), // Uint64()
    	uint64(16368296284793757383), // Uint64()
    	uint64(161231572858529631),   // Uint64()
    	uint64(16482847956365694147), // Uint64()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 17.8K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. src/cmd/vendor/golang.org/x/sys/unix/ztypes_freebsd_amd64.go

    	Datalen     uint8
    	Mtu         uint64
    	Metric      uint64
    	Baudrate    uint64
    	Ipackets    uint64
    	Ierrors     uint64
    	Opackets    uint64
    	Oerrors     uint64
    	Collisions  uint64
    	Ibytes      uint64
    	Obytes      uint64
    	Imcasts     uint64
    	Omcasts     uint64
    	Iqdrops     uint64
    	Noproto     uint64
    	Hwassist    uint64
    	Epoch       int64
    	Lastchange  Timeval
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  10. src/syscall/ztypes_freebsd_amd64.go

    	Datalen     uint8
    	Mtu         uint64
    	Metric      uint64
    	Baudrate    uint64
    	Ipackets    uint64
    	Ierrors     uint64
    	Opackets    uint64
    	Oerrors     uint64
    	Collisions  uint64
    	Ibytes      uint64
    	Obytes      uint64
    	Imcasts     uint64
    	Omcasts     uint64
    	Iqdrops     uint64
    	Noproto     uint64
    	Hwassist    uint64
    	Epoch       int64
    	Lastchange  Timeval
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 16 01:17:28 UTC 2022
    - 8K bytes
    - Viewed (0)
Back to top