Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,350 for intp (0.09 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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.9K bytes
    - Viewed (0)
  8. src/math/big/int.go

    func (z *Int) lehmerGCD(x, y, a, b *Int) *Int {
    	var A, B, Ua, Ub *Int
    
    	A = new(Int).Abs(a)
    	B = new(Int).Abs(b)
    
    	extended := x != nil || y != nil
    
    	if extended {
    		// Ua (Ub) tracks how many times input a has been accumulated into A (B).
    		Ua = new(Int).SetInt64(1)
    		Ub = new(Int)
    	}
    
    	// temp variables for multiprecision update
    	q := new(Int)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 14 17:02:38 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  9. 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)
  10. operator/pkg/util/reflect_test.go

    // to ptr conversion utility functions
    func toInt8Ptr(i int8) *int8 { return &i }
    
    func TestIsValueNil(t *testing.T) {
    	if !IsValueNil(nil) {
    		t.Error("got IsValueNil(nil) false, want true")
    	}
    	if !IsValueNil((*int)(nil)) {
    		t.Error("got IsValueNil(ptr) false, want true")
    	}
    	if !IsValueNil(map[int]int(nil)) {
    		t.Error("got IsValueNil(map) false, want true")
    	}
    	if !IsValueNil([]int(nil)) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 25 19:30:47 UTC 2022
    - 10.2K bytes
    - Viewed (0)
Back to top