Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,686 for intp (0.05 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/live.go

    // live variables.
    
    func f26(b bool) {
    	if b {
    		print26((*int)(nil), (*int)(nil), (*int)(nil)) // ERROR "stack object .autotmp_[0-9]+ \[3\]interface \{\}$"
    	}
    	print26((*int)(nil), (*int)(nil), (*int)(nil))
    	print26((*int)(nil), (*int)(nil), (*int)(nil))
    	printnl()
    }
    
    //go:noescape
    func print26(...interface{})
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 18K bytes
    - Viewed (0)
  6. test/live_regabi.go

    // live variables.
    
    func f26(b bool) {
    	if b {
    		print26((*int)(nil), (*int)(nil), (*int)(nil)) // ERROR "stack object .autotmp_[0-9]+ \[3\]interface \{\}$"
    	}
    	print26((*int)(nil), (*int)(nil), (*int)(nil))
    	print26((*int)(nil), (*int)(nil), (*int)(nil))
    	printnl()
    }
    
    //go:noescape
    func print26(...interface{})
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 18.4K bytes
    - Viewed (0)
  7. pkg/kubelet/pod_workers_test.go

    				deleted:            true,
    				activeUpdate: &UpdatePodOptions{
    					Pod:            withDeletionTimestamp(newNamedPod("1", "ns", "running-pod", false), time.Unix(1, 0), intp(15)),
    					KillPodOptions: &KillPodOptions{PodTerminationGracePeriodSecondsOverride: intp(15)},
    				},
    			}),
    			expectKnownTerminated: true,
    		},
    		{
    			name: "a running pod is terminated when an eviction is requested",
    			update: UpdatePodOptions{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 75.6K bytes
    - Viewed (0)
  8. src/encoding/json/decode_test.go

    		{Name(""), nil, `null`, nil},
    		{Name(""), new(int), `null`, nil},
    		{Name(""), (*int)(nil), `null`, nil},
    		{Name(""), new(*int), `null`, new(*int)},
    		{Name(""), (**int)(nil), `null`, nil},
    		{Name(""), intp(1), `null`, nil},
    		{Name(""), intpp(nil), `null`, intpp(nil)},
    		{Name(""), intpp(intp(1)), `null`, intpp(nil)},
    	}
    	for _, tt := range tests {
    		t.Run(tt.Name, func(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 16:40:14 UTC 2024
    - 67.6K bytes
    - Viewed (0)
  9. 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)
  10. android/guava/src/com/google/common/primitives/Ints.java

       * Returns the values from each provided array combined into a single array. For example, {@code
       * concat(new int[] {a, b}, new int[] {}, new int[] {c}} returns the array {@code {a, b, c}}.
       *
       * @param arrays zero or more {@code int} arrays
       * @return a single array containing all the values from the source arrays, in order
       */
      public static int[] concat(int[]... arrays) {
        int length = 0;
        for (int[] array : arrays) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 29.7K bytes
    - Viewed (0)
Back to top