Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 188 for recognizers (0.28 sec)

  1. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/cbor_test.go

    		in         []byte
    		recognizes bool
    	}{
    		{
    			in:         nil,
    			recognizes: false,
    		},
    		{
    			in:         []byte{},
    			recognizes: false,
    		},
    		{
    			in:         []byte{0xd9},
    			recognizes: false,
    		},
    		{
    			in:         []byte{0xd9, 0xd9},
    			recognizes: false,
    		},
    		{
    			in:         []byte{0xd9, 0xd9, 0xf7},
    			recognizes: true,
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 13 14:57:12 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  2. src/text/scanner/scanner.go

    	ErrorCount int
    
    	// The Mode field controls which tokens are recognized. For instance,
    	// to recognize Ints, set the ScanInts bit in Mode. The field may be
    	// changed at any time.
    	Mode uint
    
    	// The Whitespace field controls which characters are recognized
    	// as white space. To recognize a character ch <= ' ' as white space,
    	// set the ch'th bit in Whitespace (the Scanner's behavior is undefined
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:57:51 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/codec_factory.go

    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/apimachinery/pkg/runtime/schema"
    	"k8s.io/apimachinery/pkg/runtime/serializer/json"
    	"k8s.io/apimachinery/pkg/runtime/serializer/protobuf"
    	"k8s.io/apimachinery/pkg/runtime/serializer/recognizer"
    	"k8s.io/apimachinery/pkg/runtime/serializer/versioning"
    )
    
    // serializerExtensions are for serializers that are conditionally compiled in
    var serializerExtensions = []func(*runtime.Scheme) (serializerType, bool){}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Dec 18 04:27:38 UTC 2022
    - 12.6K bytes
    - Viewed (0)
  4. pkg/controller/certificates/signer/signer.go

    		if err != nil {
    			return fmt.Errorf("error adding failure condition for csr: %v", err)
    		}
    		return nil
    	} else if !recognized {
    		// Ignore requests for kubernetes.io signerNames we don't recognize
    		return nil
    	}
    	cert, err := s.sign(x509cr, csr.Spec.Usages, csr.Spec.ExpirationSeconds, nil)
    	if err != nil {
    		return fmt.Errorf("error auto signing csr: %v", err)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 15 03:26:08 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/Splitter.java

       * Splitter.on(',').split("foo,,bar")} returns an iterable containing {@code ["foo", "", "bar"]}.
       *
       * @param separator the character to recognize as a separator
       * @return a splitter, with default settings, that recognizes that separator
       */
      public static Splitter on(char separator) {
        return on(CharMatcher.is(separator));
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 09 15:49:48 UTC 2024
    - 23.7K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/Splitter.java

       * Splitter.on(',').split("foo,,bar")} returns an iterable containing {@code ["foo", "", "bar"]}.
       *
       * @param separator the character to recognize as a separator
       * @return a splitter, with default settings, that recognizes that separator
       */
      public static Splitter on(char separator) {
        return on(CharMatcher.is(separator));
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 24.4K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apimachinery/pkg/runtime/scheme.go

    	}
    	_, unversionedType := s.unversionedTypes[t]
    
    	return gvks, unversionedType, nil
    }
    
    // Recognizes returns true if the scheme is able to handle the provided group,version,kind
    // of an object.
    func (s *Scheme) Recognizes(gvk schema.GroupVersionKind) bool {
    	_, exists := s.gvkToType[gvk]
    	return exists
    }
    
    func (s *Scheme) IsUnversioned(obj Object) (bool, bool) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Dec 18 04:27:38 UTC 2022
    - 25.2K bytes
    - Viewed (0)
  8. platforms/core-runtime/stdlib-java-extensions/src/test/groovy/org/gradle/api/JavaVersionSpec.groovy

        }
    
        def 'can recognize $build'() {
            expect:
            JavaVersion.toVersion('9+0') == JavaVersion.VERSION_1_9
            JavaVersion.toVersion('3.14+9999900') == JavaVersion.VERSION_1_3
            JavaVersion.toVersion('9-pre+105') == JavaVersion.VERSION_1_9
            JavaVersion.toVersion('6.0.42-8beta+4') == JavaVersion.VERSION_1_6
        }
    
        def 'can recognize version with $opt'() {
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/pkg/runtime/scheme_test.go

    				A:                                     "test",
    			},
    		},
    		// multi group versioner recognizes multiple groups and forces the output to a particular version, copies because version differs
    		{
    			scheme: GetTestScheme(),
    			in:     &runtimetesting.ExternalTestType1{A: "test"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:48:03 UTC 2023
    - 38.2K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apimachinery/pkg/fields/selector.go

    		return s, nil
    	}
    
    	v := bytes.NewBuffer(make([]byte, 0, len(s)))
    	inSlash := false
    	for _, c := range s {
    		if inSlash {
    			switch c {
    			case '\\', ',', '=':
    				// omit the \ for recognized escape sequences
    				v.WriteRune(c)
    			default:
    				// error on unrecognized escape sequences
    				return "", InvalidEscapeSequence{sequence: string([]rune{'\\', c})}
    			}
    			inSlash = false
    			continue
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 23 20:40:07 UTC 2020
    - 12.3K bytes
    - Viewed (0)
Back to top