Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 549 for Int16 (0.12 sec)

  1. test/typeswitch1.go

    )
    
    var x = []int{1, 2, 3}
    
    func f(x int, len *byte) {
    	*len = byte(x)
    }
    
    func whatis(x interface{}) string {
    	switch xx := x.(type) {
    	default:
    		return fmt.Sprint("default ", xx)
    	case int, int8, int16, int32:
    		return fmt.Sprint("signed ", xx)
    	case int64:
    		return fmt.Sprint("signed64 ", int64(xx))
    	case uint, uint8, uint16, uint32:
    		return fmt.Sprint("unsigned ", xx)
    	case uint64:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 00:48:19 UTC 2012
    - 1.6K bytes
    - Viewed (0)
  2. src/syscall/ztypes_openbsd_arm.go

    	F_mntfromname [90]int8
    	F_mntfromspec [90]int8
    	Pad_cgo_1     [2]byte
    	Mount_info    [160]byte
    }
    
    type Flock_t struct {
    	Start  int64
    	Len    int64
    	Pid    int32
    	Type   int16
    	Whence int16
    }
    
    type Dirent struct {
    	Fileno       uint64
    	Off          int64
    	Reclen       uint16
    	Type         uint8
    	Namlen       uint8
    	X__d_padding [4]uint8
    	Name         [256]int8
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 12 02:35:39 UTC 2018
    - 6.8K bytes
    - Viewed (0)
  3. src/cmd/api/testdata/src/pkg/p1/golden.txt

    pkg p1, const FloatConst = 1.5  // 3/2
    pkg p1, const FloatConst ideal-float
    pkg p1, const StrConst = "foo"
    pkg p1, const StrConst ideal-string
    pkg p1, func Bar(int8, int16, int64)
    pkg p1, func Bar1(int8, int16, int64) uint64
    pkg p1, func Bar2(int8, int16, int64) (uint8, uint64)
    pkg p1, func BarE() Error
    pkg p1, func Now() Time
    pkg p1, func PlainFunc(int, int, string) (*B, error)
    pkg p1, func TakesFunc(func(int) int)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 02 16:29:41 UTC 2022
    - 3.6K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/unix/ztypes_aix_ppc64.go

    	POLLIN     = 0x1
    	POLLNVAL   = 0x8000
    	POLLOUT    = 0x2
    	POLLPRI    = 0x4
    	POLLRDBAND = 0x20
    	POLLRDNORM = 0x10
    	POLLWRBAND = 0x40
    	POLLWRNORM = 0x2
    )
    
    type Flock_t struct {
    	Type   int16
    	Whence int16
    	Sysid  uint32
    	Pid    int32
    	Vfs    int32
    	Start  int64
    	Len    int64
    }
    
    type Fsid_t struct {
    	Val [2]uint32
    }
    type Fsid64_t struct {
    	Val [2]uint64
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 5K bytes
    - Viewed (0)
  5. test/ken/simparray.go

    package main
    
    var b[10] float32;
    
    func
    main() {
    	var a[10] float32;
    
    	for i:=int16(5); i<10; i=i+1 {
    		a[i] = float32(i);
    	}
    
    	s1 := float32(0);
    	for i:=5; i<10; i=i+1 {
    		s1 = s1 + a[i];
    	}
    
    	if s1 != 35 { panic(s1); }
    
    	for i:=int16(5); i<10; i=i+1 {
    		b[i] = float32(i);
    	}
    
    	s2 := float32(0);
    	for i:=5; i<10; i=i+1 {
    		s2 = s2 + b[i];
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 05:24:24 UTC 2012
    - 730 bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/unix/ztypes_openbsd_riscv64.go

    	F_mntfromname [90]byte
    	F_mntfromspec [90]byte
    	_             [2]byte
    	Mount_info    [160]byte
    }
    
    type Flock_t struct {
    	Start  int64
    	Len    int64
    	Pid    int32
    	Type   int16
    	Whence int16
    }
    
    type Dirent struct {
    	Fileno uint64
    	Off    int64
    	Reclen uint16
    	Type   uint8
    	Namlen uint8
    	_      [4]uint8
    	Name   [256]int8
    }
    
    type Fsid struct {
    	Val [2]int32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  7. src/syscall/ztypes_freebsd_arm.go

    	Charspare   [80]int8
    	Fstypename  [16]int8
    	Mntfromname [1024]int8
    	Mntonname   [1024]int8
    }
    
    type Flock_t struct {
    	Start     int64
    	Len       int64
    	Pid       int32
    	Type      int16
    	Whence    int16
    	Sysid     int32
    	Pad_cgo_0 [4]byte
    }
    
    type Dirent struct {
    	Fileno uint64
    	Off    int64
    	Reclen uint16
    	Type   uint8
    	Pad0   uint8
    	Namlen uint16
    	Pad1   uint16
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 16 01:17:28 UTC 2022
    - 8K bytes
    - Viewed (0)
  8. src/syscall/ztypes_freebsd_arm64.go

    	Charspare   [80]int8
    	Fstypename  [16]int8
    	Mntfromname [1024]int8
    	Mntonname   [1024]int8
    }
    
    type Flock_t struct {
    	Start     int64
    	Len       int64
    	Pid       int32
    	Type      int16
    	Whence    int16
    	Sysid     int32
    	Pad_cgo_0 [4]byte
    }
    
    type Dirent struct {
    	Fileno uint64
    	Off    int64
    	Reclen uint16
    	Type   uint8
    	Pad0   uint8
    	Namlen uint16
    	Pad1   uint16
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 16 01:17:28 UTC 2022
    - 8K bytes
    - Viewed (0)
  9. test/fixedbugs/bug452.go

    		u + 1 + v + 2 + w + 3 + x + 4 + y + 5 + z + 6 + A + 7 + B + 8 + C + 9 + D + 10 +
    		E + 1 + F + 2 + G + 3
    }
    
    func bar() int8 {
    	var (
    		W int16
    		X int32
    		Y int32
    		Z int32
    	)
    	return int8(W+int16(X+3)+3) * int8(Y+3+Z*3)
    }
    
    func main() {
    	if foo() == 0 {
    		panic("foo")
    	}
    	if bar() == 0 {
    		panic("bar")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 915 bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/ztypes_solaris_amd64.go

    	Gid     uint32
    	Rdev    uint64
    	Size    int64
    	Atim    Timespec
    	Mtim    Timespec
    	Ctim    Timespec
    	Blksize int32
    	Blocks  int64
    	Fstype  [16]int8
    }
    
    type Flock_t struct {
    	Type   int16
    	Whence int16
    	Start  int64
    	Len    int64
    	Sysid  int32
    	Pid    int32
    	Pad    [4]int64
    }
    
    type Dirent struct {
    	Ino    uint64
    	Off    int64
    	Reclen uint16
    	Name   [1]int8
    	_      [5]byte
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 7.5K bytes
    - Viewed (0)
Back to top