Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 3,300 for setS (0.1 sec)

  1. staging/src/k8s.io/apiserver/pkg/cel/library/cost_test.go

    	}{
    		{
    			name:                "sets",
    			expr:                `sets.contains([], [])`,
    			expectEstimatedCost: checker.CostEstimate{Min: 21, Max: 21},
    			expectRuntimeCost:   21,
    		},
    		{
    			expr:                `sets.contains([1], [])`,
    			expectEstimatedCost: checker.CostEstimate{Min: 21, Max: 21},
    			expectRuntimeCost:   21,
    		},
    		{
    			expr:                `sets.contains([1], [1])`,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 17:22:44 UTC 2024
    - 40.8K bytes
    - Viewed (0)
  2. src/crypto/internal/nistec/fiat/p384.go

    	p384ToMontgomery(&e.x, &tmp)
    	return e, nil
    }
    
    // Add sets e = t1 + t2, and returns e.
    func (e *P384Element) Add(t1, t2 *P384Element) *P384Element {
    	p384Add(&e.x, &t1.x, &t2.x)
    	return e
    }
    
    // Sub sets e = t1 - t2, and returns e.
    func (e *P384Element) Sub(t1, t2 *P384Element) *P384Element {
    	p384Sub(&e.x, &t1.x, &t2.x)
    	return e
    }
    
    // Mul sets e = t1 * t2, and returns e.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 12 00:04:29 UTC 2022
    - 3.6K bytes
    - Viewed (0)
  3. src/crypto/internal/nistec/fiat/p521.go

    	p521ToMontgomery(&e.x, &tmp)
    	return e, nil
    }
    
    // Add sets e = t1 + t2, and returns e.
    func (e *P521Element) Add(t1, t2 *P521Element) *P521Element {
    	p521Add(&e.x, &t1.x, &t2.x)
    	return e
    }
    
    // Sub sets e = t1 - t2, and returns e.
    func (e *P521Element) Sub(t1, t2 *P521Element) *P521Element {
    	p521Sub(&e.x, &t1.x, &t2.x)
    	return e
    }
    
    // Mul sets e = t1 * t2, and returns e.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 12 00:04:29 UTC 2022
    - 3.6K bytes
    - Viewed (0)
  4. pkg/api/storage/util_test.go

    	for _, tc := range testcases {
    		t.Run("podspec_"+tc.name, func(t *testing.T) {
    			actual := sets.New[string](GetWarningsForStorageClass(tc.template)...)
    			expected := sets.New[string](tc.expected...)
    			for _, missing := range sets.List[string](expected.Difference(actual)) {
    				t.Errorf("missing: %s", missing)
    			}
    			for _, extra := range sets.List[string](actual.Difference(expected)) {
    				t.Errorf("extra: %s", extra)
    			}
    		})
    
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 25 11:04:08 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/google/SetMultimapAsMapTester.java

        resetContainer(
            Helpers.mapEntry(k0(), v0()), Helpers.mapEntry(k1(), v0()), Helpers.mapEntry(k0(), v3()));
        Set<Entry<K, Collection<V>>> expected = Sets.newHashSet();
        expected.add(Helpers.mapEntry(k0(), (Collection<V>) Sets.newHashSet(v0(), v3())));
        expected.add(Helpers.mapEntry(k1(), (Collection<V>) Sets.newHashSet(v0())));
        new EqualsTester().addEqualityGroup(expected, multimap().asMap().entrySet()).testEquals();
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  6. pkg/util/sets/set.go

    func (s Set[T]) Delete(item T) Set[T] {
    	delete(s, item)
    	return s
    }
    
    // DeleteAll removes items from the set.
    func (s Set[T]) DeleteAll(items ...T) Set[T] {
    	for _, item := range items {
    		delete(s, item)
    	}
    	return s
    }
    
    // Merge a set of objects that are in s2 into s
    // For example:
    // s = {a1, a2, a3}
    // s2 = {a3, a4, a5}
    // s.Merge(s2) = {a1, a2, a3, a4, a5}
    func (s Set[T]) Merge(s2 Set[T]) Set[T] {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Mar 30 05:26:03 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  7. pilot/pkg/config/kube/gateway/context.go

    	ports := map[int]struct{}{}
    	for _, s := range servers {
    		ports[int(s.Port.Number)] = struct{}{}
    	}
    	foundInternal := sets.New[string]()
    	foundInternalIP := sets.New[string]()
    	foundExternal := sets.New[string]()
    	foundPending := sets.New[string]()
    	warnings := []string{}
    	foundUnusable := false
    	log.Debugf("Resolving gateway instances for %v in namespace %s", gwsvcs, namespace)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 18:33:02 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  8. misc/cgo/gmp/gmp.go

    func (z *Int) Len() int {
    	z.doinit()
    	return int(C.mpz_sizeinbase(&z.i[0], 2))
    }
    
    // Set sets z = x and returns z.
    func (z *Int) Set(x *Int) *Int {
    	z.doinit()
    	C.mpz_set(&z.i[0], &x.i[0])
    	return z
    }
    
    // SetBytes interprets b as the bytes of a big-endian integer
    // and sets z to that value.
    func (z *Int) SetBytes(b []byte) *Int {
    	z.doinit()
    	if len(b) == 0 {
    		z.SetInt64(0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 9.5K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/admission/initializer/interfaces.go

    	"k8s.io/component-base/featuregate"
    )
    
    // WantsExternalKubeClientSet defines a function which sets external ClientSet for admission plugins that need it
    type WantsExternalKubeClientSet interface {
    	SetExternalKubeClientSet(kubernetes.Interface)
    	admission.InitializationValidator
    }
    
    // WantsExternalKubeInformerFactory defines a function which sets InformerFactory for admission plugins that need it
    type WantsExternalKubeInformerFactory interface {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 19:11:10 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1/jsonschemaprops.go

    // WithRef sets the Ref field in the declarative configuration to the given value
    // and returns the receiver, so that objects can be built by chaining "With" function invocations.
    // If called multiple times, the Ref field is set to the value of the last call.
    func (b *JSONSchemaPropsApplyConfiguration) WithRef(value string) *JSONSchemaPropsApplyConfiguration {
    	b.Ref = &value
    	return b
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 28 12:38:10 UTC 2023
    - 25.2K bytes
    - Viewed (0)
Back to top