Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,328 for fInt64 (0.35 sec)

  1. 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)
  2. src/cmd/link/internal/loader/symbolbuilder.go

    	return sb.setUintXX(arch, r, v, int64(arch.PtrSize))
    }
    
    func (sb *SymbolBuilder) SetUintptr(arch *sys.Arch, r int64, v uintptr) int64 {
    	return sb.setUintXX(arch, r, uint64(v), int64(arch.PtrSize))
    }
    
    func (sb *SymbolBuilder) SetAddrPlus(arch *sys.Arch, off int64, tgt Sym, add int64) int64 {
    	if sb.Type() == 0 {
    		sb.SetType(sym.SDATA)
    	}
    	if off+int64(arch.PtrSize) > sb.size {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 15:25:19 UTC 2023
    - 13.9K bytes
    - Viewed (0)
  3. src/math/rand/v2/rand_test.go

    }
    
    func BenchmarkInt64N1e8(b *testing.B) {
    	r := testRand()
    	var t int64
    	arg := keep(int64(1e8))
    	for n := b.N; n > 0; n-- {
    		t += r.Int64N(arg)
    	}
    	Sink = uint64(t)
    }
    
    func BenchmarkInt64N1e9(b *testing.B) {
    	r := testRand()
    	var t int64
    	arg := keep(int64(1e9))
    	for n := b.N; n > 0; n-- {
    		t += r.Int64N(arg)
    	}
    	Sink = uint64(t)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/magic.go

    func sdivisibleOK64(c int64) bool { return sdivisibleOK(64, c) }
    
    type sdivisibleData struct {
    	k   int64  // trailingZeros(c)
    	m   uint64 // m * (c>>k) mod 2^n == 1 multiplicative inverse of odd portion modulo 2^n
    	a   uint64 // ⎣(2^(n-1) - 1)/ (c>>k)⎦ & -(1<<k) additive constant
    	max uint64 // ⎣(2 a) / (1<<k)⎦ max value to for divisibility
    }
    
    func sdivisible(n uint, c int64) sdivisibleData {
    	d := uint64(c)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:25 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  5. src/go/internal/gcimporter/iimport.go

    	constraint types.Type
    }
    
    type iimporter struct {
    	exportVersion int64
    	ipath         string
    	version       int
    
    	stringData  []byte
    	stringCache map[uint64]string
    	pkgCache    map[uint64]*types.Package
    
    	declData    []byte
    	pkgIndex    map[*types.Package]map[string]uint64
    	typCache    map[uint64]types.Type
    	tparamIndex map[ident]*types.TypeParam
    
    	fake          fakeFileSet
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  6. src/cmd/link/internal/riscv64/asm.go

    		}
    		out.Write64(uint64(sectoff))
    		out.Write64(uint64(hiRel) | uint64(elfsym)<<32)
    		out.Write64(uint64(r.Xadd))
    		out.Write64(uint64(sectoff + 4))
    		out.Write64(uint64(loRel) | uint64(hi20ElfSym)<<32)
    		out.Write64(uint64(0))
    
    	case objabi.R_RISCV_TLS_LE:
    		out.Write64(uint64(sectoff))
    		out.Write64(uint64(elf.R_RISCV_TPREL_HI20) | uint64(elfsym)<<32)
    		out.Write64(uint64(r.Xadd))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 01 08:06:08 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  7. src/internal/xcoff/file.go

    			if err := binary.Read(sr, binary.BigEndian, shdr); err != nil {
    				return nil, err
    			}
    			s.Name = cstring(shdr.Sname[:])
    			s.VirtualAddress = uint64(shdr.Svaddr)
    			s.Size = uint64(shdr.Ssize)
    			scnptr = uint64(shdr.Sscnptr)
    			s.Type = shdr.Sflags
    			s.Relptr = uint64(shdr.Srelptr)
    			s.Nreloc = uint32(shdr.Snreloc)
    		case U64_TOCMAGIC:
    			shdr := new(SectionHeader64)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 12 14:42:29 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/unix/ztypes_linux_mips.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)
  9. src/cmd/vendor/github.com/google/pprof/profile/encode.go

    	func(b *buffer, m message) error { return decodeUint64(b, &m.(*Mapping).Start) },         // optional uint64 memory_offset = 2
    	func(b *buffer, m message) error { return decodeUint64(b, &m.(*Mapping).Limit) },         // optional uint64 memory_limit = 3
    	func(b *buffer, m message) error { return decodeUint64(b, &m.(*Mapping).Offset) },        // optional uint64 file_offset = 4
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  10. src/log/slog/value.go

    }
    
    // Int64 returns v's value as an int64. It panics
    // if v is not a signed integer.
    func (v Value) Int64() int64 {
    	if g, w := v.Kind(), KindInt64; g != w {
    		panic(fmt.Sprintf("Value kind is %s, not %s", g, w))
    	}
    	return int64(v.num)
    }
    
    // Uint64 returns v's value as a uint64. It panics
    // if v is not an unsigned integer.
    func (v Value) Uint64() uint64 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:12:08 UTC 2024
    - 13.3K bytes
    - Viewed (0)
Back to top