Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 180 for instanceFn (0.21 sec)

  1. staging/src/k8s.io/apiextensions-apiserver/test/integration/validation_test.go

    			},
    			{
    				name: "bad beta",
    				instanceFn: func() *unstructured.Unstructured {
    					instance := newNoxuValidationInstance(ns, "foo")
    					instance.Object["beta"] = 5
    					return instance
    				},
    				expectedErrors: []string{"beta in body should be greater than or equal to 10"},
    			},
    			{
    				name: "bad gamma",
    				instanceFn: func() *unstructured.Unstructured {
    					instance := newNoxuValidationInstance(ns, "foo")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 26 20:48:36 UTC 2021
    - 63.6K bytes
    - Viewed (0)
  2. pilot/pkg/serviceregistry/serviceentry/controller_test.go

    	}
    }
    
    func sortServiceTargets(instances []model.ServiceTarget) {
    	sort.Slice(instances, func(i, j int) bool {
    		if instances[i].Service.Hostname == instances[j].Service.Hostname {
    			if instances[i].Port.TargetPort == instances[j].Port.TargetPort {
    				return instances[i].Port.TargetPort < instances[j].Port.TargetPort
    			}
    		}
    		return instances[i].Service.Hostname < instances[j].Service.Hostname
    	})
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 15:31:09 UTC 2024
    - 92.9K bytes
    - Viewed (0)
  3. tests/integration/security/authz_test.go

    							for _, c := range cases {
    								if c.updateLabel {
    									// skip updating pod labels for VM
    									if to.Config().DeployAsVM {
    										continue
    									}
    									for _, instance := range to.Instances() {
    										err := instance.UpdateWorkloadLabel(map[string]string{"foo": "bla"}, nil)
    										if err != nil {
    											t.Fatal(err)
    										}
    									}
    								}
    								newAuthzTest().
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 23:36:51 UTC 2024
    - 50.1K bytes
    - Viewed (0)
  4. subprojects/diagnostics/src/main/resources/org/gradle/api/tasks/diagnostics/htmldependencyreport/jquery.jstree.js

    		// if a method call execute the method on all selected instances
    		if(isMethodCall) {
    			if(settings.substring(0, 1) == '_') { return returnValue; }
    			this.each(function() {
    				var instance = instances[$.data(this, "jstree_instance_id")],
    					methodValue = (instance && $.isFunction(instance[settings])) ? instance[settings].apply(instance, args) : instance;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 04 09:03:42 UTC 2021
    - 49.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Sets.java

      @GwtCompatible(serializable = true)
      public static <E extends Enum<E>> ImmutableSet<E> immutableEnumSet(Iterable<E> elements) {
        if (elements instanceof ImmutableEnumSet) {
          return (ImmutableEnumSet<E>) elements;
        } else if (elements instanceof Collection) {
          Collection<E> collection = (Collection<E>) elements;
          if (collection.isEmpty()) {
            return ImmutableSet.of();
          } else {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 77.3K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/Sets.java

      @GwtCompatible(serializable = true)
      public static <E extends Enum<E>> ImmutableSet<E> immutableEnumSet(Iterable<E> elements) {
        if (elements instanceof ImmutableEnumSet) {
          return (ImmutableEnumSet<E>) elements;
        } else if (elements instanceof Collection) {
          Collection<E> collection = (Collection<E>) elements;
          if (collection.isEmpty()) {
            return ImmutableSet.of();
          } else {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  7. tests/integration/ambient/baseline_test.go

    			Always := func(echo.Instance, echo.CallOptions) bool {
    				return true
    			}
    			Never := func(echo.Instance, echo.CallOptions) bool {
    				return false
    			}
    			SameNetwork := func(from echo.Instance, to echo.Target) echo.Instances {
    				return match.Network(from.Config().Cluster.NetworkName()).GetMatches(to.Instances())
    			}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 00:07:28 UTC 2024
    - 78.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Multimaps.java

            Collection<E> collection) {
          if (collection instanceof NavigableSet) {
            return Sets.unmodifiableNavigableSet((NavigableSet<E>) collection);
          } else if (collection instanceof SortedSet) {
            return Collections.unmodifiableSortedSet((SortedSet<E>) collection);
          } else if (collection instanceof Set) {
            return Collections.unmodifiableSet((Set<E>) collection);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 86.3K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/Multimaps.java

            Collection<E> collection) {
          if (collection instanceof NavigableSet) {
            return Sets.unmodifiableNavigableSet((NavigableSet<E>) collection);
          } else if (collection instanceof SortedSet) {
            return Collections.unmodifiableSortedSet((SortedSet<E>) collection);
          } else if (collection instanceof Set) {
            return Collections.unmodifiableSet((Set<E>) collection);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 86.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/reflect/TypeToken.java

        }
        if (runtimeType instanceof GenericArrayType) {
          return of(supertype).isSupertypeOfArray((GenericArrayType) runtimeType);
        }
        // Proceed to regular Type subtype check
        if (supertype instanceof Class) {
          return this.someRawTypeIsSubclassOf((Class<?>) supertype);
        } else if (supertype instanceof ParameterizedType) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 26 21:02:13 UTC 2023
    - 53.6K bytes
    - Viewed (0)
Back to top