Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 104 for Recognizes (0.23 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. 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)
  4. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/tests/tests.go

    			ok = false
    		}
    	}
    	return ok
    }
    
    func isTestingType(typ types.Type, testingType string) bool {
    	// No Unalias here: I doubt "go test" recognizes
    	// "type A = *testing.T; func Test(A) {}" as a test.
    	ptr, ok := typ.(*types.Pointer)
    	if !ok {
    		return false
    	}
    	return analysisutil.IsNamedType(ptr.Elem(), "testing", testingType)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/generic/policy_test_context.go

    		scheme.AddKnownTypeWithName(fakeBindingGVK.GroupVersion().WithKind(fakeBindingGVK.Kind+"List"), &FakeList[B]{})
    
    		for _, mapping := range paramMappings {
    			// Skip if it is in the scheme already
    			if scheme.Recognizes(mapping.GroupVersionKind) {
    				continue
    			}
    			scheme.AddKnownTypeWithName(mapping.GroupVersionKind, &unstructured.Unstructured{})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 19K bytes
    - Viewed (0)
  6. src/net/textproto/reader.go

    			c -= toLower
    		} else if !upper && 'A' <= c && c <= 'Z' {
    			c += toLower
    		}
    		a[i] = c
    		upper = c == '-' // for next time
    	}
    	commonHeaderOnce.Do(initCommonHeader)
    	// The compiler recognizes m[string(byteSlice)] as a special
    	// case, so a copy of a's bytes into a new string does not
    	// happen in this map lookup:
    	if v := commonHeader[string(a)]; v != "" {
    		return v, true
    	}
    	return string(a), true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/rest_test.go

    			baseErr:          fmt.Errorf("plain error"),
    		},
    		{
    			name:             "decoding objects with unknown GVK fails and returns a bad-request error",
    			typer:            alwaysErrorTyper{},
    			decodedGVK:       nil,
    			decodeIntoObject: &testapigroupv1.Carp{}, // which client-go's scheme doesn't recognize
    			baseErr:          nil,
    		},
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 41.8K bytes
    - Viewed (0)
  8. src/net/http/httputil/reverseproxy.go

    	// response body.
    	// If zero, no periodic flushing is done.
    	// A negative value means to flush immediately
    	// after each write to the client.
    	// The FlushInterval is ignored when ReverseProxy
    	// recognizes a response as a streaming response, or
    	// if its ContentLength is -1; for such responses, writes
    	// are flushed to the client immediately.
    	FlushInterval time.Duration
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 27 23:37:42 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/json/json_test.go

    	if t.gvk == nil {
    		return nil, false, t.err
    	}
    	return []schema.GroupVersionKind{*t.gvk}, false, t.err
    }
    
    func (t *mockTyper) Recognizes(_ schema.GroupVersionKind) bool {
    	return false
    }
    
    type testEncodableDuplicateTag struct {
    	metav1.TypeMeta `json:",inline"`
    
    	A1 int `json:"a"`
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 04 15:55:02 UTC 2024
    - 40K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/docs/userguide/dep-man/04-modeling-features/variant_model.adoc

    .Compatibility of variants
    --
    What if the consumer sets `org.gradle.jvm.version` to 7?
    
    Dependency resolution would _fail_ with an error message explaining that there's no suitable variant.
    Gradle recognizes that the consumer wants a Java 7 compatible library and the _minimal_ version of Java available on the producer is 8.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 20:50:18 UTC 2024
    - 34.2K bytes
    - Viewed (0)
Back to top