Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 18 of 18 for KaCall (0.35 sec)

  1. staging/src/k8s.io/apimachinery/pkg/util/sets/set.go

    	return s
    }
    
    // Has returns true if and only if item is contained in the set.
    func (s Set[T]) Has(item T) bool {
    	_, contained := s[item]
    	return contained
    }
    
    // HasAll returns true if and only if all items are contained in the set.
    func (s Set[T]) HasAll(items ...T) bool {
    	for _, item := range items {
    		if !s.Has(item) {
    			return false
    		}
    	}
    	return true
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 19:51:18 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/util/sets/set_generic_test.go

    	}
    	if !s.Has("a") {
    		t.Errorf("Missing contents: %#v", s)
    	}
    	s.Delete("a")
    	if s.Has("a") {
    		t.Errorf("Unexpected contents: %#v", s)
    	}
    	s.Insert("a")
    	if s.HasAll("a", "b", "d") {
    		t.Errorf("Unexpected contents: %#v", s)
    	}
    	if !s.HasAll("a", "b") {
    		t.Errorf("Missing contents: %#v", s)
    	}
    	s2.Insert("a", "b", "d")
    	if s.IsSuperset(s2) {
    		t.Errorf("Unexpected contents: %#v", s)
    	}
    	s2.Delete("d")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 10 09:03:44 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/util/sets/set_test.go

    	}
    	if !s.Has("a") {
    		t.Errorf("Missing contents: %#v", s)
    	}
    	s.Delete("a")
    	if s.Has("a") {
    		t.Errorf("Unexpected contents: %#v", s)
    	}
    	s.Insert("a")
    	if s.HasAll("a", "b", "d") {
    		t.Errorf("Unexpected contents: %#v", s)
    	}
    	if !s.HasAll("a", "b") {
    		t.Errorf("Missing contents: %#v", s)
    	}
    	s2.Insert("a", "b", "d")
    	if s.IsSuperset(s2) {
    		t.Errorf("Unexpected contents: %#v", s)
    	}
    	s2.Delete("d")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 20 03:47:18 UTC 2022
    - 8K bytes
    - Viewed (0)
  4. pkg/apis/core/helper/qos/qos.go

    				if _, exists := limits[name]; !exists {
    					limits[name] = delta
    				} else {
    					delta.Add(limits[name])
    					limits[name] = delta
    				}
    			}
    		}
    
    		if !qosLimitsFound.HasAll(string(core.ResourceMemory), string(core.ResourceCPU)) {
    			isGuaranteed = false
    		}
    	}
    	if len(requests) == 0 && len(limits) == 0 {
    		return core.PodQOSBestEffort
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 08 04:01:46 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  5. pkg/apis/core/v1/helper/qos/qos.go

    				if _, exists := limits[name]; !exists {
    					limits[name] = delta
    				} else {
    					delta.Add(limits[name])
    					limits[name] = delta
    				}
    			}
    		}
    
    		if !qosLimitsFound.HasAll(string(v1.ResourceMemory), string(v1.ResourceCPU)) {
    			isGuaranteed = false
    		}
    	}
    	if len(requests) == 0 && len(limits) == 0 {
    		return v1.PodQOSBestEffort
    	}
    	// Check is requests match limits for all resources.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 08 04:01:46 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  6. src/cmd/internal/obj/loong64/a.out.go

    	AAMMAXDBWU
    	AAMMAXDBVU
    	AAMMINDBWU
    	AAMMINDBVU
    
    	// 2.2.10. Other Miscellaneous Instructions
    	ARDTIMELW
    	ARDTIMEHW
    	ARDTIMED
    
    	ALAST
    
    	// aliases
    	AJMP = obj.AJMP
    	AJAL = obj.ACALL
    	ARET = obj.ARET
    )
    
    func init() {
    	// The asm encoder generally assumes that the lowest 5 bits of the
    	// REG_XX constants match the machine instruction encoding, i.e.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 02:04:54 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/cmd/reset_test.go

    		if !expected.Equal(data.ignorePreflightErrors) {
    			t.Errorf("Invalid ignore preflight errors. Expected: %v. Actual: %v", sets.List(expected), sets.List(data.ignorePreflightErrors))
    		}
    		if data.cfg != nil && !expected.HasAll(data.cfg.NodeRegistration.IgnorePreflightErrors...) {
    			t.Errorf("Invalid ignore preflight errors in InitConfiguration. Expected: %v. Actual: %v", sets.List(expected), data.cfg.NodeRegistration.IgnorePreflightErrors)
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 26 13:42:50 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  8. src/cmd/internal/obj/mips/a.out.go

    	ATRUNCFW
    	ATRUNCDW
    	AMOVWU
    	AMOVFV
    	AMOVDV
    	AMOVVF
    	AMOVVD
    
    	/* MSA */
    	AVMOVB
    	AVMOVH
    	AVMOVW
    	AVMOVD
    
    	ALAST
    
    	// aliases
    	AJMP = obj.AJMP
    	AJAL = obj.ACALL
    	ARET = obj.ARET
    )
    
    func init() {
    	// The asm encoder generally assumes that the lowest 5 bits of the
    	// REG_XX constants match the machine instruction encoding, i.e.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 08 12:17:12 UTC 2023
    - 7.6K bytes
    - Viewed (0)
Back to top