Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 549 for Int16 (0.03 sec)

  1. src/syscall/ztypes_freebsd_386.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
    }
    
    type Dirent struct {
    	Fileno uint64
    	Off    int64
    	Reclen uint16
    	Type   uint8
    	Pad0   uint8
    	Namlen uint16
    	Pad1   uint16
    	Name   [256]int8
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 16 01:17:28 UTC 2022
    - 8K bytes
    - Viewed (0)
  2. src/syscall/ztypes_freebsd_riscv64.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: Thu Sep 29 22:39:46 UTC 2022
    - 8K bytes
    - Viewed (0)
  3. src/cmd/internal/obj/x86/asm_test.go

    	instinit(&ctxt)
    
    	regAddr := func(reg int16) *obj.Addr {
    		return &obj.Addr{Type: obj.TYPE_REG, Reg: reg}
    	}
    	immAddr := func(v int64) *obj.Addr {
    		return &obj.Addr{Type: obj.TYPE_CONST, Offset: v}
    	}
    	regListAddr := func(regFrom, regTo int16) *obj.Addr {
    		return &obj.Addr{Type: obj.TYPE_REGLIST, Offset: EncodeRegisterRange(regFrom, regTo)}
    	}
    	memAddr := func(base, index int16) *obj.Addr {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jul 28 19:39:51 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  4. test/codegen/arithmetic.go

    	}
    	return d, e
    }
    
    func NoFix16A(divr int16) (int16, int16) {
    	var d int16 = 42
    	var e int16 = 84
    	if divr > 5 {
    		// amd64:-"JMP"
    		// 386:-"JMP"
    		d /= divr
    		// amd64:-"JMP"
    		// 386:-"JMP"
    		e %= divr
    		d += e
    	}
    	return d, e
    }
    
    func NoFix16B(divd int16) (int16, int16) {
    	var d int16
    	var e int16
    	var divr int16 = -1
    	if divd > -32768 {
    		// amd64:-"JMP"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:28:00 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  5. src/runtime/race/testdata/mutex_test.go

    func TestNoRaceMutex(t *testing.T) {
    	var mu sync.Mutex
    	var x int16 = 0
    	_ = x
    	ch := make(chan bool, 2)
    	go func() {
    		mu.Lock()
    		defer mu.Unlock()
    		x = 1
    		ch <- true
    	}()
    	go func() {
    		mu.Lock()
    		x = 2
    		mu.Unlock()
    		ch <- true
    	}()
    	<-ch
    	<-ch
    }
    
    func TestRaceMutex(t *testing.T) {
    	var mu sync.Mutex
    	var x int16 = 0
    	_ = x
    	ch := make(chan bool, 2)
    	go func() {
    		x = 1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 23 22:14:38 UTC 2021
    - 2K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/test/divconst_test.go

    	}
    }
    
    var i16res int16
    
    func BenchmarkDivconstI16(b *testing.B) {
    	for i := 0; i < b.N; i++ {
    		i16res = int16(i) / 7
    	}
    }
    
    func BenchmarkModconstI16(b *testing.B) {
    	for i := 0; i < b.N; i++ {
    		i16res = int16(i) % 7
    	}
    }
    
    func BenchmarkDivisiblePow2constI16(b *testing.B) {
    	for i := 0; i < b.N; i++ {
    		boolres = int16(i)%16 == 0
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 29 00:07:35 UTC 2020
    - 7.7K bytes
    - Viewed (0)
  7. test/typeparam/typeswitch2.go

    package main
    
    import "fmt"
    
    func f[T any](i interface{}) {
    	switch x := i.(type) {
    	case T:
    		fmt.Println("T", x)
    	case int:
    		fmt.Println("int", x)
    	case int32, int16:
    		fmt.Println("int32/int16", x)
    	case struct{ a, b T }:
    		fmt.Println("struct{T,T}", x.a, x.b)
    	default:
    		fmt.Println("other", x)
    	}
    }
    func main() {
    	f[float64](float64(6))
    	f[float64](int(7))
    	f[float64](int32(8))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 07 13:47:58 UTC 2022
    - 709 bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/unix/ztypes_openbsd_arm64.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)
  9. src/cmd/vendor/golang.org/x/sys/unix/ztypes_openbsd_mips64.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)
  10. test/codegen/shift.go

    	// ppc64x:-".*MOVW"
    	f := int32(v >> 32)
    	// ppc64x:".*MOVW"
    	f += int32(v >> 31)
    	// ppc64x:-".*MOVH"
    	g := int16(v >> 48)
    	// ppc64x:".*MOVH"
    	g += int16(v >> 30)
    	// ppc64x:-".*MOVH"
    	g += int16(f >> 16)
    	// ppc64x:-".*MOVB"
    	h := int8(v >> 56)
    	// ppc64x:".*MOVB"
    	h += int8(v >> 28)
    	// ppc64x:-".*MOVB"
    	h += int8(f >> 24)
    	// ppc64x:".*MOVB"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:53:43 UTC 2024
    - 12.7K bytes
    - Viewed (0)
Back to top