Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 843 for intp (0.13 sec)

  1. test/nilcheck.go

    package p
    
    type Struct struct {
    	X int
    	Y float64
    }
    
    type BigStruct struct {
    	X int
    	Y float64
    	A [1 << 20]int
    	Z string
    }
    
    type Empty struct {
    }
    
    type Empty1 struct {
    	Empty
    }
    
    var (
    	intp       *int
    	arrayp     *[10]int
    	array0p    *[0]int
    	bigarrayp  *[1 << 26]int
    	structp    *Struct
    	bigstructp *BigStruct
    	emptyp     *Empty
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 30 18:41:59 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  2. test/nilptr2.go

    }{
    	// Edit .+1,/^}/s/^[^	].+/	{"&", func() { println(&) }},\n	{"\&&", func() { println(\&&) }},/g
    	{"*intp", func() { println(*intp) }},
    	{"&*intp", func() { println(&*intp) }},
    	{"*slicep", func() { println(*slicep) }},
    	{"&*slicep", func() { println(&*slicep) }},
    	{"(*slicep)[0]", func() { println((*slicep)[0]) }},
    	{"&(*slicep)[0]", func() { println(&(*slicep)[0]) }},
    	{"(*slicep)[i]", func() { println((*slicep)[i]) }},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 11 03:02:33 UTC 2019
    - 3.6K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/conversion/queryparams/convert_test.go

    type namedString string
    type namedBool bool
    
    type bar struct {
    	Float1   float32 `json:"float1"`
    	Float2   float64 `json:"float2"`
    	Int1     int64   `json:"int1,omitempty"`
    	Int2     int32   `json:"int2,omitempty"`
    	Int3     int16   `json:"int3,omitempty"`
    	Str1     string  `json:"str1,omitempty"`
    	Ignored  int
    	Ignored2 string
    }
    
    func (obj *bar) GetObjectKind() schema.ObjectKind { return schema.EmptyObjectKind }
    
    type foo struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 03 07:01:02 UTC 2018
    - 6.2K bytes
    - Viewed (0)
  4. test/nilptr3.go

    // Optimization is enabled.
    
    package p
    
    type Struct struct {
    	X int
    	Y float64
    }
    
    type BigStruct struct {
    	X int
    	Y float64
    	A [1 << 20]int
    	Z string
    }
    
    type Empty struct {
    }
    
    type Empty1 struct {
    	Empty
    }
    
    var (
    	intp       *int
    	arrayp     *[10]int
    	array0p    *[0]int
    	bigarrayp  *[1 << 26]int
    	structp    *Struct
    	bigstructp *BigStruct
    	emptyp     *Empty
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. security/pkg/pki/testdata/multilevelpki/int2-cert.cfg

    Oliver Liu <******@****.***> 1520311744 -0800
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Mar 06 04:49:04 UTC 2018
    - 528 bytes
    - Viewed (0)
  8. security/pkg/pki/testdata/multilevelpki/int2-key.pem

    Oliver Liu <******@****.***> 1520311744 -0800
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Mar 06 04:49:04 UTC 2018
    - 3.2K bytes
    - Viewed (0)
  9. test/ken/divconst.go

    		u16test(a, b, 16384)
    	}
    }
    
    func i8rand() int8 {
    	for {
    		a := int8(rand.Uint32())
    		a >>= uint(rand.Intn(8))
    		if -a != a {
    			return a
    		}
    	}
    	return 0 // impossible
    }
    
    func i8test(a, b, c int8) {
    	d := a / c
    	if d != b {
    		println("i8", a, b, c, d)
    		panic("fail")
    	}
    }
    
    func i8run() {
    	var a, b int8
    
    	for i := 0; i < Count; i++ {
    		a = i8rand()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 05:24:24 UTC 2012
    - 9.2K bytes
    - Viewed (0)
  10. security/pkg/pki/testdata/multilevelpki/int2-cert.pem

    Oliver Liu <******@****.***> 1520311744 -0800
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Mar 06 04:49:04 UTC 2018
    - 1.9K bytes
    - Viewed (0)
Back to top