Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 93 for Int8 (0.35 sec)

  1. 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) {
    	const siz = unsafe.Sizeof(mib[0])
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:50 UTC 2024
    - 11K bytes
    - Viewed (0)
  2. src/cmd/internal/obj/loong64/asm.go

    }
    
    // Instruction layout.
    
    const (
    	FuncAlign = 4
    	loopAlign = 16
    )
    
    type Optab struct {
    	as    obj.As
    	from1 uint8
    	reg   uint8
    	from3 uint8
    	to1   uint8
    	to2   uint8
    	type_ int8
    	size  int8
    	param int16
    	flag  uint8
    }
    
    const (
    	NOTUSETMP = 1 << iota // p expands to multiple instructions, but does NOT use REGTMP
    
    	// branchLoopHead marks loop entry.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 02:04:54 UTC 2024
    - 61.8K bytes
    - Viewed (0)
  3. src/cmd/cgo/gcc.go

    	c.m = make(map[string]*Type)
    	c.ptrs = make(map[string][]*Type)
    	c.getTypeIDs = make(map[string]bool)
    	c.incompleteStructs = make(map[string]bool)
    	c.bool = c.Ident("bool")
    	c.byte = c.Ident("byte")
    	c.int8 = c.Ident("int8")
    	c.int16 = c.Ident("int16")
    	c.int32 = c.Ident("int32")
    	c.int64 = c.Ident("int64")
    	c.uint8 = c.Ident("uint8")
    	c.uint16 = c.Ident("uint16")
    	c.uint32 = c.Ident("uint32")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
  4. src/log/slog/value.go

    	case uint8:
    		return Uint64Value(uint64(v))
    	case uint16:
    		return Uint64Value(uint64(v))
    	case uint32:
    		return Uint64Value(uint64(v))
    	case uintptr:
    		return Uint64Value(uint64(v))
    	case int8:
    		return Int64Value(int64(v))
    	case int16:
    		return Int64Value(int64(v))
    	case int32:
    		return Int64Value(int64(v))
    	case float64:
    		return Float64Value(v)
    	case float32:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:12:08 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  5. src/math/rand/v2/rand.go

    // It panics if n <= 0.
    func N[Int intType](n Int) Int {
    	if n <= 0 {
    		panic("invalid argument to N")
    	}
    	return Int(globalRand.uint64n(uint64(n)))
    }
    
    type intType interface {
    	~int | ~int8 | ~int16 | ~int32 | ~int64 |
    		~uint | ~uint8 | ~uint16 | ~uint32 | ~uint64 | ~uintptr
    }
    
    // Float64 returns, as a float64, a pseudo-random number in the half-open interval [0.0,1.0)
    // from the default Source.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 02:25:49 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  6. src/internal/types/testdata/check/builtins0.go

    	copy([ /* ERROR "copy expects slice arguments" */ ...]int{}, []int{})
    	copy([ /* ERROR "copy expects slice arguments" */ ]int{}, [...]int{})
    	copy([ /* ERROR "different element types" */ ]int8{}, "foo")
    
    	// spec examples
    	var a = [...]int{0, 1, 2, 3, 4, 5, 6, 7}
    	var s = make([]int, 6)
    	var b = make([]byte, 5)
    	n1 := copy(s, a[0:])            // n1 == 6, s == []int{0, 1, 2, 3, 4, 5}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 29.3K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/unix/ztypes_linux.go

    	Addr     [16]byte /* in6_addr */
    	Scope_id uint32
    	Conn_id  uint32
    }
    
    type RawSockaddrIUCV struct {
    	Family  uint16
    	Port    uint16
    	Addr    uint32
    	Nodeid  [8]int8
    	User_id [8]int8
    	Name    [8]int8
    }
    
    type RawSockaddrNFC struct {
    	Sa_family    uint16
    	Dev_idx      uint32
    	Target_idx   uint32
    	Nfc_protocol uint32
    }
    
    type _Socklen uint32
    
    type Linger struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 251K bytes
    - Viewed (0)
  8. src/runtime/syscall_windows.go

    //
    // Returns whether the assignment succeeded.
    func (p *abiDesc) tryRegAssignArg(t *_type, offset uintptr) bool {
    	switch k := t.Kind_ & abi.KindMask; k {
    	case abi.Bool, abi.Int, abi.Int8, abi.Int16, abi.Int32, abi.Uint, abi.Uint8, abi.Uint16, abi.Uint32, abi.Uintptr, abi.Pointer, abi.UnsafePointer:
    		// Assign a register for all these types.
    		return p.assignReg(t.Size_, offset)
    	case abi.Int64, abi.Uint64:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:12:46 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  9. src/runtime/runtime1.go

    	}
    	if atomic.Xchg64(&test_z64, (3<<40)+3) != (2<<40)+2 {
    		throw("xchg64 failed")
    	}
    	if atomic.Load64(&test_z64) != (3<<40)+3 {
    		throw("xchg64 failed")
    	}
    }
    
    func check() {
    	var (
    		a     int8
    		b     uint8
    		c     int16
    		d     uint16
    		e     int32
    		f     uint32
    		g     int64
    		h     uint64
    		i, i1 float32
    		j, j1 float64
    		k     unsafe.Pointer
    		l     *uint16
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  10. src/text/template/exec.go

    		truth = val.Bool()
    	case reflect.Complex64, reflect.Complex128:
    		truth = val.Complex() != 0
    	case reflect.Chan, reflect.Func, reflect.Pointer, reflect.Interface:
    		truth = !val.IsNil()
    	case reflect.Int, reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64:
    		truth = val.Int() != 0
    	case reflect.Float32, reflect.Float64:
    		truth = val.Float() != 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:22:24 UTC 2024
    - 32K bytes
    - Viewed (0)
Back to top