Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,042 for int2 (0.06 sec)

  1. test/typeparam/issue50417.go

    	p.f = 0
    }
    
    var _ = f4[*Sfm]
    
    type A int
    type B int
    type C float64
    
    type Int interface {
    	*Sf | A
    	*Sf | B
    }
    
    func f5[P Int](p P) {
    	_ = p.f
    	p.f = 0
    }
    
    var _ = f5[*Sf]
    
    type Int2 interface {
    	*Sf | A
    	any
    	*Sf | C
    }
    
    func f6[P Int2](p P) {
    	_ = p.f
    	p.f = 0
    }
    
    var _ = f6[*Sf]
    
    type Int3 interface {
    	Sf
    	~struct{ f int }
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 09 21:26:42 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  2. src/internal/types/testdata/check/init2.go

    func (T4) m() int { _ = x4; return 0 }
    var x4 /* ERROR "initialization cycle" */ = T4.m(0)
    
    type T3p int
    func (*T3p) m() int { _ = x3p; return 0 }
    var x3p /* ERROR "initialization cycle" */ = (*T3p).m
    
    type T4p int
    func (*T4p) m() int { _ = x4p; return 0 }
    var x4p /* ERROR "initialization cycle" */ = (*T4p).m(nil)
    
    // cycles through method expressions of embedded methods
    
    type T5 struct { E5 }
    type E5 int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:25 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/util/sets/int32.go

    // If the value passed in is not actually a map, this will panic.
    func Int32KeySet[T any](theMap map[int32]T) Int32 {
    	return Int32(KeySet(theMap))
    }
    
    // Insert adds items to the set.
    func (s Int32) Insert(items ...int32) Int32 {
    	return Int32(cast(s).Insert(items...))
    }
    
    // Delete removes all items from the set.
    func (s Int32) Delete(items ...int32) Int32 {
    	return Int32(cast(s).Delete(items...))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 20 03:47:18 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  4. src/net/interface_unix_test.go

    		} else {
    			time.Sleep(3 * time.Millisecond)
    		}
    		ift2, err := Interfaces()
    		if err != nil {
    			ti.teardown()
    			t.Fatal(err)
    		}
    		if len(ift2) <= len(ift1) {
    			for _, ifi := range ift1 {
    				t.Logf("before: %v", ifi)
    			}
    			for _, ifi := range ift2 {
    				t.Logf("after: %v", ifi)
    			}
    			ti.teardown()
    			t.Fatalf("got %v; want gt %v", len(ift2), len(ift1))
    		}
    		for _, ifi := range ift2 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jul 18 23:51:35 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/util/sets/int.go

    */
    
    package sets
    
    // Int is a set of ints, implemented via map[int]struct{} for minimal memory consumption.
    //
    // Deprecated: use generic Set instead.
    // new ways:
    // s1 := Set[int]{}
    // s2 := New[int]()
    type Int map[int]Empty
    
    // NewInt creates a Int from a list of values.
    func NewInt(items ...int) Int {
    	return Int(New[int](items...))
    }
    
    // IntKeySet creates a Int from a keys of a map[int](? extends interface{}).
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 20 03:47:18 UTC 2022
    - 3.8K bytes
    - Viewed (0)
  6. src/syscall/ztypes_openbsd_ppc64.go

    	Index    uint16
    	Tableid  uint16
    	Priority uint8
    	Mpls     uint8
    	Addrs    int32
    	Flags    int32
    	Fmask    int32
    	Pid      int32
    	Seq      int32
    	Errno    int32
    	Inits    uint32
    	Rmx      RtMetrics
    }
    
    type RtMetrics struct {
    	Pksent   uint64
    	Expire   int64
    	Locks    uint32
    	Mtu      uint32
    	Refcnt   uint32
    	Hopcount uint32
    	Recvpipe uint32
    	Sendpipe uint32
    	Ssthresh uint32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 03:24:15 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  7. src/syscall/ztypes_netbsd_arm.go

    	Nswap    int32
    	Inblock  int32
    	Oublock  int32
    	Msgsnd   int32
    	Msgrcv   int32
    	Nsignals int32
    	Nvcsw    int32
    	Nivcsw   int32
    }
    
    type Rlimit struct {
    	Cur uint64
    	Max uint64
    }
    
    type _Gid_t uint32
    
    type Stat_t struct {
    	Dev           uint64
    	Mode          uint32
    	Pad_cgo_0     [4]byte
    	Ino           uint64
    	Nlink         uint32
    	Uid           uint32
    	Gid           uint32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 6.1K bytes
    - Viewed (0)
  8. src/syscall/ztypes_openbsd_arm.go

    	Nswap    int32
    	Inblock  int32
    	Oublock  int32
    	Msgsnd   int32
    	Msgrcv   int32
    	Nsignals int32
    	Nvcsw    int32
    	Nivcsw   int32
    }
    
    type Rlimit struct {
    	Cur uint64
    	Max uint64
    }
    
    type _Gid_t uint32
    
    const (
    	S_IFMT   = 0xf000
    	S_IFIFO  = 0x1000
    	S_IFCHR  = 0x2000
    	S_IFDIR  = 0x4000
    	S_IFBLK  = 0x6000
    	S_IFREG  = 0x8000
    	S_IFLNK  = 0xa000
    	S_IFSOCK = 0xc000
    	S_ISUID  = 0x800
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 12 02:35:39 UTC 2018
    - 6.8K bytes
    - Viewed (0)
  9. src/syscall/ztypes_freebsd_amd64.go

    	Type    uint8
    	Index   uint16
    	Name    [16]int8
    	What    uint16
    }
    
    type RtMsghdr struct {
    	Msglen    uint16
    	Version   uint8
    	Type      uint8
    	Index     uint16
    	Pad_cgo_0 [2]byte
    	Flags     int32
    	Addrs     int32
    	Pid       int32
    	Seq       int32
    	Errno     int32
    	Fmask     int32
    	Inits     uint64
    	Rmx       RtMetrics
    }
    
    type RtMetrics struct {
    	Locks    uint64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 16 01:17:28 UTC 2022
    - 8K bytes
    - Viewed (0)
  10. src/syscall/ztypes_darwin_arm64.go

    	Type      uint8
    	Addrs     int32
    	Flags     int32
    	Index     uint16
    	Pad_cgo_0 [2]byte
    	Refcount  int32
    }
    
    type RtMsghdr struct {
    	Msglen    uint16
    	Version   uint8
    	Type      uint8
    	Index     uint16
    	Pad_cgo_0 [2]byte
    	Flags     int32
    	Addrs     int32
    	Pid       int32
    	Seq       int32
    	Errno     int32
    	Use       int32
    	Inits     uint32
    	Rmx       RtMetrics
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 6.9K bytes
    - Viewed (0)
Back to top