Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 107 for casePC (0.13 sec)

  1. pkg/kubelet/kubelet_test.go

    		if !tc.success {
    			assert.Error(t, err, fmt.Sprintf("[case %d] error", i))
    		} else {
    			assert.NoError(t, err, "[case %d] error", i)
    		}
    		// Access the log of the previous, terminated container
    		previous = true
    		_, err = kubelet.validateContainerLogStatus("podName", podStatus, containerName, previous)
    		if !tc.pSuccess {
    			assert.Error(t, err, fmt.Sprintf("[case %d] error", i))
    		} else {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 106.9K bytes
    - Viewed (0)
  2. pkg/kubelet/eviction/helpers_test.go

    	}
    	for input, expected := range testCases {
    		value, err := parsePercentage(input)
    		if (err != nil) != expected.hasError {
    			t.Errorf("Test case: %s, expected: %v, actual: %v", input, expected.hasError, err != nil)
    		}
    		if value != expected.value {
    			t.Errorf("Test case: %s, expected: %v, actual: %v", input, expected.value, value)
    		}
    	}
    }
    
    func TestCompareThresholdValue(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 15 23:14:12 UTC 2024
    - 106.7K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/validation_test.go

    				"!self.listMap.all(m, m.v2 != 'z')",
    			},
    			errors: map[string]string{
    				// test comprehensions where the field used in predicates is unset on all but one of the elements: (error cases)
    				// - without has checks:
    
    				// if all() predicate evaluates to false or error for all elements, any error encountered is raised
    				"self.listMap.all(m, m.v2 == 'z')": "no such key: v2",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 17:14:10 UTC 2024
    - 159.9K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/text/cases/tables13.0.0.go

    // hold enough bytes to complete the encoding. len(s) must be greater than 0.
    func (t *caseTrie) lookup(s []byte) (v uint16, sz int) {
    	c0 := s[0]
    	switch {
    	case c0 < 0x80: // is ASCII
    		return caseValues[c0], 1
    	case c0 < 0xC2:
    		return 0, 1 // Illegal UTF-8: not a starter, not ASCII.
    	case c0 < 0xE0: // 2-byte UTF-8
    		if len(s) < 2 {
    			return 0, 0
    		}
    		i := caseIndex[c0]
    		c1 := s[1]
    		if c1 < 0x80 || 0xC0 <= c1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 100.7K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/text/cases/tables12.0.0.go

    // hold enough bytes to complete the encoding. len(s) must be greater than 0.
    func (t *caseTrie) lookup(s []byte) (v uint16, sz int) {
    	c0 := s[0]
    	switch {
    	case c0 < 0x80: // is ASCII
    		return caseValues[c0], 1
    	case c0 < 0xC2:
    		return 0, 1 // Illegal UTF-8: not a starter, not ASCII.
    	case c0 < 0xE0: // 2-byte UTF-8
    		if len(s) < 2 {
    			return 0, 0
    		}
    		i := caseIndex[c0]
    		c1 := s[1]
    		if c1 < 0x80 || 0xC0 <= c1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 99.2K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/text/cases/tables15.0.0.go

    // hold enough bytes to complete the encoding. len(s) must be greater than 0.
    func (t *caseTrie) lookup(s []byte) (v uint16, sz int) {
    	c0 := s[0]
    	switch {
    	case c0 < 0x80: // is ASCII
    		return caseValues[c0], 1
    	case c0 < 0xC2:
    		return 0, 1 // Illegal UTF-8: not a starter, not ASCII.
    	case c0 < 0xE0: // 2-byte UTF-8
    		if len(s) < 2 {
    			return 0, 0
    		}
    		i := caseIndex[c0]
    		c1 := s[1]
    		if c1 < 0x80 || 0xC0 <= c1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 106.5K bytes
    - Viewed (0)
  7. api/openapi-spec/v3/apis__discovery.k8s.io__v1_openapi.json

              "ready": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 04:18:56 UTC 2024
    - 146.6K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo.cc

              op,
              "only match for the case where the first operand has a static "
              "int/float shapeType");
        if (!indices_ty || !indices_ty.hasStaticShape() ||
            !indices_ty.getElementType().isInteger(32))
          return rewriter.notifyMatchFailure(
              op,
              "only match for the case where the second operand an I32 shapeType");
        auto sort_dim = op.getDimension();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 154.9K bytes
    - Viewed (0)
  9. src/crypto/x509/x509_test.go

    func TestRSAPSAParameters(t *testing.T) {
    	generateParams := func(hashFunc crypto.Hash) []byte {
    		var hashOID asn1.ObjectIdentifier
    
    		switch hashFunc {
    		case crypto.SHA256:
    			hashOID = oidSHA256
    		case crypto.SHA384:
    			hashOID = oidSHA384
    		case crypto.SHA512:
    			hashOID = oidSHA512
    		}
    
    		params := pssParameters{
    			Hash: pkix.AlgorithmIdentifier{
    				Algorithm:  hashOID,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:00:16 UTC 2024
    - 163.4K bytes
    - Viewed (0)
  10. src/vendor/golang.org/x/text/unicode/bidi/tables10.0.0.go

    // hold enough bytes to complete the encoding. len(s) must be greater than 0.
    func (t *bidiTrie) lookup(s []byte) (v uint8, sz int) {
    	c0 := s[0]
    	switch {
    	case c0 < 0x80: // is ASCII
    		return bidiValues[c0], 1
    	case c0 < 0xC2:
    		return 0, 1 // Illegal UTF-8: not a starter, not ASCII.
    	case c0 < 0xE0: // 2-byte UTF-8
    		if len(s) < 2 {
    			return 0, 0
    		}
    		i := bidiIndex[c0]
    		c1 := s[1]
    		if c1 < 0x80 || 0xC0 <= c1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 110.9K bytes
    - Viewed (0)
Back to top