Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 519 for Recognizes (0.2 sec)

  1. guava-tests/test/com/google/common/util/concurrent/JdkFutureAdaptersTest.java

      public void testListenInPoolThreadRunsListenerAfterRuntimeException() throws Exception {
        RuntimeExceptionThrowingFuture<String> input = new RuntimeExceptionThrowingFuture<>();
        /*
         * The compiler recognizes that "input instanceof ListenableFuture" is
         * impossible. We want the test, though, in case that changes in the future,
         * so we use isInstance instead.
         */
        assertFalse(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 09 22:57:07 UTC 2022
    - 9.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/JdkFutureAdaptersTest.java

      public void testListenInPoolThreadRunsListenerAfterRuntimeException() throws Exception {
        RuntimeExceptionThrowingFuture<String> input = new RuntimeExceptionThrowingFuture<>();
        /*
         * The compiler recognizes that "input instanceof ListenableFuture" is
         * impossible. We want the test, though, in case that changes in the future,
         * so we use isInstance instead.
         */
        assertFalse(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 09 22:57:07 UTC 2022
    - 9.7K bytes
    - Viewed (0)
  3. 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)
  4. staging/src/k8s.io/apimachinery/pkg/runtime/interfaces.go

    	// the object is unversioned, or an error if the object is not recognized
    	// (IsNotRegisteredError will return true).
    	ObjectKinds(Object) ([]schema.GroupVersionKind, bool, error)
    	// Recognizes returns true if the scheme is able to handle the provided version and kind,
    	// or more precisely that the provided version is a possible conversion or decoding
    	// target.
    	Recognizes(gvk schema.GroupVersionKind) bool
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun May 28 03:26:35 UTC 2023
    - 19K bytes
    - Viewed (0)
  5. 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)
  6. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/versioning/versioning_test.go

    	unversioned bool
    	err         error
    }
    
    func (t *mockTyper) ObjectKinds(obj runtime.Object) ([]schema.GroupVersionKind, bool, error) {
    	return t.gvks, t.unversioned, t.err
    }
    
    func (t *mockTyper) Recognizes(_ schema.GroupVersionKind) bool {
    	return true
    }
    
    func TestDirectCodecEncode(t *testing.T) {
    	serializer := mockSerializer{}
    	typer := mockTyper{
    		gvks: []schema.GroupVersionKind{
    			{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 23 17:04:19 UTC 2022
    - 12.5K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/mod/semver/semver.go

    // all-numeric PRERELEASE identifiers must not have leading zeros.
    //
    // This package follows Semantic Versioning 2.0.0 (see semver.org)
    // with two exceptions. First, it requires the "v" prefix. Second, it recognizes
    // vMAJOR and vMAJOR.MINOR (with no prerelease or build suffixes)
    // as shorthands for vMAJOR.0.0 and vMAJOR.MINOR.0.
    package semver
    
    import "sort"
    
    // parsed returns the parsed form of a semantic version string.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 12 20:38:21 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiextensions-apiserver/pkg/registry/customresource/etcd.go

    		if err != nil {
    			return nil, false, err
    		}
    	}
    
    	scale := &autoscalingv1.Scale{
    		// Populate apiVersion and kind so conversion recognizes we are already in the desired GVK and doesn't try to convert
    		TypeMeta: metav1.TypeMeta{
    			APIVersion: "autoscaling/v1",
    			Kind:       "Scale",
    		},
    		ObjectMeta: metav1.ObjectMeta{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 21:44:00 UTC 2023
    - 12.4K bytes
    - Viewed (0)
  9. 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)
  10. misc/cgo/gmp/gmp.go

    is a signal to cgo.  The doc comment on the import of "C" provides
    additional context for the C file.  Here it is just a single #include
    but it could contain arbitrary C definitions to be imported and used.
    
    Cgo recognizes any use of a qualified identifier C.xxx and uses gcc to
    find the definition of xxx.  If xxx is a type, cgo replaces C.xxx with
    a Go translation.  C arithmetic types translate to precisely-sized Go
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 9.5K bytes
    - Viewed (0)
Back to top