Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 314 for Int16 (0.14 sec)

  1. src/syscall/ztypes_linux_amd64.go

    	Off       int64
    	Reclen    uint16
    	Type      uint8
    	Name      [256]int8
    	Pad_cgo_0 [5]byte
    }
    
    type Fsid struct {
    	X__val [2]int32
    }
    
    type Flock_t struct {
    	Type      int16
    	Whence    int16
    	Pad_cgo_0 [4]byte
    	Start     int64
    	Len       int64
    	Pid       int32
    	Pad_cgo_1 [4]byte
    }
    
    type RawSockaddrInet4 struct {
    	Family uint16
    	Port   uint16
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 17:55:49 UTC 2023
    - 12K bytes
    - Viewed (0)
  2. tensorflow/c/kernels/ops/bitcast.cc

          "T: {bfloat16, half, float, double, int64, int32, uint8, uint16, "
          "uint32, uint64, int8, int16, complex64, complex128, qint8, quint8, "
          "qint16, quint16, qint32}");
      TF_OpDefinitionBuilderAddAttr(
          op_builder,
          "type: {bfloat16, half, float, double, int64, int32, uint8, uint16, "
          "uint32, uint64, int8, int16, complex64, complex128, qint8, quint8, "
          "qint16, quint16, qint32}");
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 07:51:50 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/value.go

    		v.Fatalf("op %s doesn't have a uint8 aux field", v.Op)
    	}
    	return uint8(v.AuxInt)
    }
    
    func (v *Value) AuxInt16() int16 {
    	if opcodeTable[v.Op].auxType != auxInt16 {
    		v.Fatalf("op %s doesn't have an int16 aux field", v.Op)
    	}
    	return int16(v.AuxInt)
    }
    
    func (v *Value) AuxInt32() int32 {
    	if opcodeTable[v.Op].auxType != auxInt32 {
    		v.Fatalf("op %s doesn't have an int32 aux field", v.Op)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 16:40:22 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  4. src/cmd/link/internal/ld/xcoff.go

    	Osntoc      int16    // Section Number For Toc
    	Osnloader   int16    // Section Number For Loader
    	Osnbss      int16    // Section Number For Bss
    	Oalgntext   int16    // Max Text Alignment
    	Oalgndata   int16    // Max Data Alignment
    	Omodtype    [2]byte  // Module Type Field
    	Ocpuflag    uint8    // Bit Flags - Cputypes Of Objects
    	Ocputype    uint8    // Reserved for CPU type
    	Otextpsize  uint8    // Requested text page size
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 01 19:58:23 UTC 2023
    - 51.8K bytes
    - Viewed (0)
  5. src/go/types/builtins_test.go

    	{"make", `var l    byte ; _ = make([]int8      , l   )`, `func([]int8, byte) []int8`},
    	{"make", `                _ = make([]int16     , 0, 0)`, `func([]int16, int, int) []int16`},
    	{"make", `var l    int16; _ = make([]string    , l, 0)`, `func([]string, int16, int) []string`},
    	{"make", `var    c int32; _ = make([]float64   , 0, c)`, `func([]float64, int, int32) []float64`},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  6. src/encoding/gob/decgen.go

    		// MinInt and MaxInt
    		if x < ^int64(^uint(0)>>1) || int64(^uint(0)>>1) < x {
    			error_(ovfl)
    		}
    		slice[i] = int(x)`,
    	},
    	{
    		"int16",
    		"Int16",
    		`x := state.decodeInt()
    		if x < math.MinInt16 || math.MaxInt16 < x {
    			error_(ovfl)
    		}
    		slice[i] = int16(x)`,
    	},
    	{
    		"int32",
    		"Int32",
    		`x := state.decodeInt()
    		if x < math.MinInt32 || math.MaxInt32 < x {
    			error_(ovfl)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 20 14:15:38 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  7. test/fixedbugs/bug513.go

    // license that can be found in the LICENSE file.
    
    // Although -race turns on -d=checkptr, the explicit -d=checkptr=0
    // should override it.
    
    package main
    
    import "unsafe"
    
    var v1 = new([2]int16)
    var v2 *[3]int64
    
    func main() {
    	v2 = (*[3]int64)(unsafe.Pointer(uintptr(unsafe.Pointer(&(*v1)[0]))))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 596 bytes
    - Viewed (0)
  8. utils/utils_test.go

    func TestToString(t *testing.T) {
    	tests := []struct {
    		name string
    		in   interface{}
    		out  string
    	}{
    		{"int", math.MaxInt64, "9223372036854775807"},
    		{"int8", int8(math.MaxInt8), "127"},
    		{"int16", int16(math.MaxInt16), "32767"},
    		{"int32", int32(math.MaxInt32), "2147483647"},
    		{"int64", int64(math.MaxInt64), "9223372036854775807"},
    		{"uint", uint(math.MaxUint64), "18446744073709551615"},
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Mon Feb 19 03:42:25 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  9. test/fixedbugs/issue64606.go

    // license that can be found in the LICENSE file.
    
    package main
    
    func main() {
    	var o any = uint64(5)
    	switch o.(type) {
    	case int:
    		goto ret
    	case int8:
    		goto ret
    	case int16:
    		goto ret
    	case int32:
    		goto ret
    	case int64:
    		goto ret
    	case float32:
    		goto ret
    	case float64:
    		goto ret
    	default:
    		goto ret
    	}
    ret:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 08 00:29:01 UTC 2023
    - 463 bytes
    - Viewed (0)
  10. test/abi/leaf.go

    // wasm is excluded because the compiler chatter about register abi pragma ends up
    // on stdout, and causes the expected output to not match.
    
    package main
    
    import "fmt"
    
    type i5f5 struct {
    	a, b          int16
    	c, d, e       int32
    	r, s, t, u, v float32
    }
    
    //go:registerparams
    //go:noinline
    func F(x i5f5) i5f5 {
    	return x
    }
    
    func main() {
    	x := i5f5{1, 2, 3, 4, 5, 6, 7, 8, 9, 10}
    	y := x
    	z := F(x)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 641 bytes
    - Viewed (0)
Back to top