Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 401 for recognizers (0.57 sec)

  1. staging/src/k8s.io/apimachinery/pkg/runtime/helper.go

    	for _, t := range m {
    		gvks, unversionedType, err = t.ObjectKinds(obj)
    		if err == nil {
    			return
    		}
    	}
    	return
    }
    
    func (m MultiObjectTyper) Recognizes(gvk schema.GroupVersionKind) bool {
    	for _, t := range m {
    		if t.Recognizes(gvk) {
    			return true
    		}
    	}
    	return false
    }
    
    // SetZeroValue would set the object of objPtr to zero value of its type.
    func SetZeroValue(objPtr Object) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Dec 13 22:54:34 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. SECURITY.md

    models or graphs is equivalent to running untrusted code.
    
    If you need to run untrusted models, execute them inside a
    [**sandbox**](https://developers.google.com/code-sandboxing). Memory corruptions
    in TensorFlow ops can be recognized as security issues only if they are
    reachable and exploitable through production-grade, benign models.
    
    ### Compilation
    
    Compiling models via the recommended entry points described in
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Oct 01 06:06:35 UTC 2023
    - 9.6K bytes
    - Viewed (0)
  5. testing/soak/src/integTest/groovy/org/gradle/launcher/daemon/DaemonPerformanceMonitoringSoakTest.groovy

                        State.map.put(UUID.randomUUID(), "foo" * ${leakRate})
                    }
    
                    println "Build: " + State.x
                } catch(OutOfMemoryError e) {
                    // TeamCity recognizes this message as build failures if it occurs in build log
                    throw new OutOfMemoryError(e?.message?.replace(' ', '_'))
                }
            """
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  6. test/codegen/issue56440.go

    // asmcheck
    
    // Copyright 2022 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Check to make sure that we recognize when the length of an append
    // is constant. We check this by making sure that the constant length
    // is folded into a load offset.
    
    package p
    
    func f(x []int) int {
    	s := make([]int, 3)
    	s = append(s, 4, 5)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 31 21:40:49 UTC 2022
    - 689 bytes
    - Viewed (0)
  7. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/platform/internal/DefaultOperatingSystemTest.groovy

            expect:
            os.toString() == "operating system 'sunos'"
            os.displayName == "operating system 'sunos'"
            os.internalOs == OperatingSystem.SOLARIS
        }
    
        def "recognises key operating systems"() {
            def os = new DefaultOperatingSystem(name)
    
            expect:
            os.name == name
            os.internalOs == internalOs
    
            where:
            name      | internalOs
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  8. 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)
  9. android/guava-testlib/src/com/google/common/collect/testing/ElementTypesAreNonnullByDefault.java

    import java.lang.annotation.Retention;
    import java.lang.annotation.Target;
    import javax.annotation.Nonnull;
    import javax.annotation.meta.TypeQualifierDefault;
    
    /**
     * Marks all "top-level" types as non-null in a way that is recognized by Kotlin. Note that this
     * unfortunately includes type-variable usages, so we also provide {@link ParametricNullness} to
     * "undo" it as best we can.
     */
    @GwtCompatible
    @Retention(RUNTIME)
    @Target(TYPE)
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 06 15:23:21 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  10. platforms/ide/tooling-api-builders/src/main/java/org/gradle/tooling/internal/provider/runner/ClientBuildEventGenerator.java

                    }
                    operation.generateStartEvent(buildOperation, startEvent);
                    return;
                }
            }
            // Not recognized, so generate generic events, if appropriate
            fallback.started(buildOperation, startEvent);
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 9K bytes
    - Viewed (0)
Back to top