Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 175 for uint16 (0.09 sec)

  1. src/cmd/link/internal/loader/loader.go

    	l := st.l
    	var start, end uint32
    	switch kind {
    	case pkgDef:
    		start = 0
    		end = uint32(r.ndef)
    	case hashed64Def:
    		start = uint32(r.ndef)
    		end = uint32(r.ndef + r.nhashed64def)
    	case hashedDef:
    		start = uint32(r.ndef + r.nhashed64def)
    		end = uint32(r.ndef + r.nhashed64def + r.nhasheddef)
    	case nonPkgDef:
    		start = uint32(r.ndef + r.nhashed64def + r.nhasheddef)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 20:26:10 UTC 2024
    - 81.5K bytes
    - Viewed (0)
  2. src/cmd/internal/obj/link.go

    	Reg      int16     // 2nd source operand
    	RegTo2   int16     // 2nd destination operand
    	Mark     uint16    // bitmask of arch-specific items
    	Optab    uint16    // arch-specific opcode index
    	Scond    uint8     // bits that describe instruction suffixes (e.g. ARM conditions, RISCV Rounding Mode)
    	Back     uint8     // for x86 back end: backwards branch state
    	Ft       uint8     // for x86 back end: type index of Prog.From
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  3. src/syscall/syscall_darwin.go

    var dupTrampoline = abi.FuncPCABI0(libc_dup2_trampoline)
    
    type SockaddrDatalink struct {
    	Len    uint8
    	Family uint8
    	Index  uint16
    	Type   uint8
    	Nlen   uint8
    	Alen   uint8
    	Slen   uint8
    	Data   [12]int8
    	raw    RawSockaddrDatalink
    }
    
    // Translate "kern.hostname" to []_C_int{0,1,2,3}.
    func nametomib(name string) (mib []_C_int, err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:50 UTC 2024
    - 11K bytes
    - Viewed (0)
  4. src/math/rand/v2/rand.go

    func (r *Rand) Int64() int64 { return int64(r.src.Uint64() &^ (1 << 63)) }
    
    // Uint32 returns a pseudo-random 32-bit value as a uint32.
    func (r *Rand) Uint32() uint32 { return uint32(r.src.Uint64() >> 32) }
    
    // Uint64 returns a pseudo-random 64-bit value as a uint64.
    func (r *Rand) Uint64() uint64 { return r.src.Uint64() }
    
    // Int32 returns a non-negative pseudo-random 31-bit integer as an int32.
    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/log/slog/value.go

    		return Int64Value(int64(v))
    	case uint:
    		return Uint64Value(uint64(v))
    	case int64:
    		return Int64Value(v)
    	case uint64:
    		return Uint64Value(v)
    	case bool:
    		return BoolValue(v)
    	case time.Duration:
    		return DurationValue(v)
    	case time.Time:
    		return TimeValue(v)
    	case uint8:
    		return Uint64Value(uint64(v))
    	case uint16:
    		return Uint64Value(uint64(v))
    	case uint32:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:12:08 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  6. src/go/types/issues_test.go

    	if err == nil || !strings.Contains(err.Error(), want) {
    		t.Errorf("got: %v; want: %s", err, want)
    	}
    }
    
    func TestIssue5849(t *testing.T) {
    	src := `
    package p
    var (
    	s uint
    	_ = uint8(8)
    	_ = uint16(16) << s
    	_ = uint32(32 << s)
    	_ = uint64(64 << s + s)
    	_ = (interface{})("foo")
    	_ = (interface{})(nil)
    )`
    	types := make(map[ast.Expr]TypeAndValue)
    	mustTypecheck(src, nil, &Info{Types: types})
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  7. src/runtime/chan.go

    	debugChan = false
    )
    
    type hchan struct {
    	qcount   uint           // total data in the queue
    	dataqsiz uint           // size of the circular queue
    	buf      unsafe.Pointer // points to an array of dataqsiz elements
    	elemsize uint16
    	closed   uint32
    	timer    *timer // timer feeding this chan
    	elemtype *_type // element type
    	sendx    uint   // send index
    	recvx    uint   // receive index
    	recvq    waitq  // list of recv waiters
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:50 UTC 2024
    - 25.9K bytes
    - Viewed (0)
  8. src/runtime/map.go

    func bucketShift(b uint8) uintptr {
    	// Masking the shift amount allows overflow checks to be elided.
    	return uintptr(1) << (b & (goarch.PtrSize*8 - 1))
    }
    
    // bucketMask returns 1<<b - 1, optimized for code generation.
    func bucketMask(b uint8) uintptr {
    	return bucketShift(b) - 1
    }
    
    // tophash calculates the tophash value for hash.
    func tophash(hash uintptr) uint8 {
    	top := uint8(hash >> (goarch.PtrSize*8 - 8))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 57.6K bytes
    - Viewed (0)
  9. src/runtime/export_test.go

    	return
    }
    
    func Fastrand() uint32          { return uint32(rand()) }
    func Fastrand64() uint64        { return rand() }
    func Fastrandn(n uint32) uint32 { return randn(n) }
    
    type ProfBuf profBuf
    
    func NewProfBuf(hdrsize, bufwords, tags int) *ProfBuf {
    	return (*ProfBuf)(newProfBuf(hdrsize, bufwords, tags))
    }
    
    func (p *ProfBuf) Write(tag *unsafe.Pointer, now int64, hdr []uint64, stk []uintptr) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:50:53 UTC 2024
    - 46.1K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types2/issues_test.go

    	if err == nil || !strings.Contains(err.Error(), want) {
    		t.Errorf("got: %v; want: %s", err, want)
    	}
    }
    
    func TestIssue5849(t *testing.T) {
    	src := `
    package p
    var (
    	s uint
    	_ = uint8(8)
    	_ = uint16(16) << s
    	_ = uint32(32 << s)
    	_ = uint64(64 << s + s)
    	_ = (interface{})("foo")
    	_ = (interface{})(nil)
    )`
    	types := make(map[syntax.Expr]TypeAndValue)
    	mustTypecheck(src, nil, &Info{Types: types})
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 28.1K bytes
    - Viewed (0)
Back to top