Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 1,686 for intp (0.26 sec)

  1. src/cmd/vendor/golang.org/x/sys/unix/ztypes_openbsd_mips64.go

    type RawSockaddrUnix struct {
    	Len    uint8
    	Family uint8
    	Path   [104]int8
    }
    
    type RawSockaddrDatalink struct {
    	Len    uint8
    	Family uint8
    	Index  uint16
    	Type   uint8
    	Nlen   uint8
    	Alen   uint8
    	Slen   uint8
    	Data   [24]int8
    }
    
    type RawSockaddr struct {
    	Len    uint8
    	Family uint8
    	Data   [14]int8
    }
    
    type RawSockaddrAny struct {
    	Addr RawSockaddr
    	Pad  [92]int8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/unix/ztypes_netbsd_386.go

    	Index  uint16
    	Type   uint8
    	Nlen   uint8
    	Alen   uint8
    	Slen   uint8
    	Data   [12]int8
    }
    
    type RawSockaddr struct {
    	Len    uint8
    	Family uint8
    	Data   [14]int8
    }
    
    type RawSockaddrAny struct {
    	Addr RawSockaddr
    	Pad  [92]int8
    }
    
    type _Socklen uint32
    
    type Linger struct {
    	Onoff  int32
    	Linger int32
    }
    
    type Iovec struct {
    	Base *byte
    	Len  uint32
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/unix/ztypes_openbsd_amd64.go

    type RawSockaddrUnix struct {
    	Len    uint8
    	Family uint8
    	Path   [104]int8
    }
    
    type RawSockaddrDatalink struct {
    	Len    uint8
    	Family uint8
    	Index  uint16
    	Type   uint8
    	Nlen   uint8
    	Alen   uint8
    	Slen   uint8
    	Data   [24]int8
    }
    
    type RawSockaddr struct {
    	Len    uint8
    	Family uint8
    	Data   [14]int8
    }
    
    type RawSockaddrAny struct {
    	Addr RawSockaddr
    	Pad  [92]int8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  4. test/codegen/shift.go

    	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"
    	h += int8(f >> 16)
    	return int64(h), uint64(g)
    }
    
    func checkShiftAndMask32(v []uint32) {
    	i := 0
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:53:43 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  5. test/convert4.go

    		},
    		"runtime error: invalid memory address or nil pointer dereference",
    	)
    
    	// Test with named types
    	type Slice []int
    	type Int4 [4]int
    	type PInt4 *[4]int
    	ii := make(Slice, 4)
    	if p := (*Int4)(ii); &p[0] != &ii[0] {
    		panic("*Int4 conversion failed")
    	}
    	if p := PInt4(ii); &p[0] != &ii[0] {
    		panic("PInt4 conversion failed")
    	}
    }
    
    // test static variable conversion
    
    var (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 19 18:58:26 UTC 2022
    - 2.1K bytes
    - Viewed (0)
  6. test/interface/returntype.go

    // Test interface methods with different return types are distinct.
    
    package main
    
    type S struct { a int }
    type T struct { b string }
    
    func (s *S) Name() int8 { return 1 }
    func (t *T) Name() int64 { return 64 }
    
    type I1 interface { Name() int8 }
    type I2 interface { Name() int64 }
    
    func main() {
    	shouldPanic(p1)
    }
    
    func p1() {
    	var i1 I1
    	var s *S
    	i1 = s
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Feb 19 06:33:41 UTC 2012
    - 670 bytes
    - Viewed (0)
  7. test/fixedbugs/issue21963.go

    // license that can be found in the LICENSE file.
    
    package main
    
    import (
    	"fmt"
    	"runtime"
    )
    
    //go:noinline
    func f(x []int32, y *int8) int32 {
    	c := int32(int16(*y))
    	runtime.GC()
    	return x[0] * c
    }
    
    func main() {
    	var x = [1]int32{5}
    	var y int8 = -1
    	if got, want := f(x[:], &y), int32(-5); got != want {
    		panic(fmt.Sprintf("wanted %d, got %d", want, got))
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 26 16:24:08 UTC 2017
    - 483 bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/internal/modes/roundtrip_test.go

    			obj:  uint16(math.MaxUint16),
    		},
    		{
    			name: "uint16 zero",
    			obj:  uint16(0),
    		},
    		{
    			name: "int8 max",
    			obj:  int8(math.MaxInt8),
    		},
    		{
    			name: "int8 min",
    			obj:  int8(math.MinInt8),
    		},
    		{
    			name: "int8 zero",
    			obj:  int8(math.MinInt8),
    		},
    		{
    			name: "uint8 max",
    			obj:  uint8(math.MaxUint8),
    		},
    		{
    			name: "uint8 zero",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 21:48:12 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  9. test/fixedbugs/issue9537.dir/b.go

    package main
    
    import (
    	"bytes"
    
    	"./a"
    )
    
    type X struct {
    	*a.X
    }
    
    type Intf interface {
    	Get()        []byte
    	RetPtr(int)  *int
    	RetRPtr(int) (int, *int)
    }
    
    func main() {
    	x := &a.X{T: [32]byte{1, 2, 3, 4}}
    	var ix Intf = X{x}
    	t1 := ix.Get()
    	t2 := x.Get()
    	if !bytes.Equal(t1, t2) {
    		panic(t1)
    	}
    
    	p1 := ix.RetPtr(5)
    	p2 := x.RetPtr(7)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 22 03:25:12 UTC 2015
    - 678 bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/ztypes_openbsd_arm.go

    type RawSockaddrUnix struct {
    	Len    uint8
    	Family uint8
    	Path   [104]int8
    }
    
    type RawSockaddrDatalink struct {
    	Len    uint8
    	Family uint8
    	Index  uint16
    	Type   uint8
    	Nlen   uint8
    	Alen   uint8
    	Slen   uint8
    	Data   [24]int8
    }
    
    type RawSockaddr struct {
    	Len    uint8
    	Family uint8
    	Data   [14]int8
    }
    
    type RawSockaddrAny struct {
    	Addr RawSockaddr
    	Pad  [92]int8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 9.4K bytes
    - Viewed (0)
Back to top