Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,803 for instanceId (0.25 sec)

  1. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/pruning/algorithm_test.go

    	err := json.Unmarshal([]byte(smallInstance), &obj)
    	if err != nil {
    		b.Fatal(err)
    	}
    
    	instances := make([]map[string]interface{}, 0, b.N)
    	for i := 0; i < b.N; i++ {
    		instances = append(instances, runtime.DeepCopyJSON(obj))
    	}
    
    	b.StartTimer()
    	for i := 0; i < b.N; i++ {
    		Prune(instances[i], schema, true)
    	}
    }
    
    func BenchmarkDeepCopy(b *testing.B) {
    	b.StopTimer()
    	b.ReportAllocs()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 20:13:14 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  2. tests/integration/ambient/main_test.go

    	// Sidecar echo services with sidecar
    	Sidecar echo.Instances
    
    	// All echo services
    	All echo.Instances
    	// Echo services that are in the mesh
    	Mesh echo.Instances
    	// Echo services that are not in mesh
    	MeshExternal echo.Instances
    
    	MockExternal echo.Instances
    
    	// WaypointProxies by
    	WaypointProxies map[string]ambient.WaypointProxy
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 00:07:28 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  3. guava/src/com/google/common/reflect/TypeResolver.java

        checkNotNull(type);
        if (type instanceof TypeVariable) {
          return typeTable.resolve((TypeVariable<?>) type);
        } else if (type instanceof ParameterizedType) {
          return resolveParameterizedType((ParameterizedType) type);
        } else if (type instanceof GenericArrayType) {
          return resolveGenericArrayType((GenericArrayType) type);
        } else if (type instanceof WildcardType) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 24.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/Suppliers.java

          this.instance = instance;
        }
    
        @Override
        @ParametricNullness
        public T get() {
          return instance;
        }
    
        @Override
        public boolean equals(@CheckForNull Object obj) {
          if (obj instanceof SupplierOfInstance) {
            SupplierOfInstance<?> that = (SupplierOfInstance<?>) obj;
            return Objects.equal(instance, that.instance);
          }
          return false;
        }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/MoreObjects.java

          // Put types estimated to be the most frequent first.
          if (value instanceof CharSequence) {
            return ((CharSequence) value).length() == 0;
          } else if (value instanceof Collection) {
            return ((Collection<?>) value).isEmpty();
          } else if (value instanceof Map) {
            return ((Map<?, ?>) value).isEmpty();
          } else if (value instanceof java.util.Optional) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Oct 13 14:11:58 UTC 2023
    - 15.9K bytes
    - Viewed (0)
  6. cluster/gce/upgrade.sh

      echo "== Draining ${instance}. == " >&2
      local drain_rc
      "${KUBE_ROOT}/cluster/kubectl.sh" drain --delete-emptydir-data --force --ignore-daemonsets "${instance}" \
        && drain_rc=$? || drain_rc=$?
      if [[ "${drain_rc}" != 0 ]]; then
        echo "== FAILED to drain ${instance} =="
        return ${drain_rc}
      fi
    
      # Recreate instance
      echo "== Recreating instance ${instance}. ==" >&2
      local recreate_rc
      local recreate
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 21:13:22 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

      }
    
      private <T> T pickInstance(T[] instances, T defaultValue) {
        return pickInstance(Arrays.asList(instances), defaultValue);
      }
    
      private <T> T pickInstance(Collection<T> instances, T defaultValue) {
        if (instances.isEmpty()) {
          return defaultValue;
        }
        // generateInt() is 1-based.
        return Iterables.get(instances, (generateInt() - 1) % instances.size());
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 17 16:33:44 UTC 2024
    - 28K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/reflect/TypeResolver.java

        checkNotNull(type);
        if (type instanceof TypeVariable) {
          return typeTable.resolve((TypeVariable<?>) type);
        } else if (type instanceof ParameterizedType) {
          return resolveParameterizedType((ParameterizedType) type);
        } else if (type instanceof GenericArrayType) {
          return resolveGenericArrayType((GenericArrayType) type);
        } else if (type instanceof WildcardType) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 24.2K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiextensions-apiserver/test/integration/registration_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    	if e, a := len(instances), len(listWithItem.Items); e != a {
    		t.Errorf("expected %v, got %v", e, a)
    	}
    	for _, a := range listWithItem.Items {
    		if e := instances[a.GetName()].Instance; !reflect.DeepEqual(e, &a) {
    			t.Errorf("expected %v, got %v", e, a)
    		}
    	}
    	for key := range instances {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 14 11:58:05 UTC 2022
    - 15.4K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/external/model/AbstractRealisedModuleResolveMetadataSerializationHelper.java

            int ivyArtifactsCount = artifacts.size() - fileArtifactsCount;
            encoder.writeSmallInt(ivyArtifactsCount);
            for (ComponentArtifactMetadata artifact : artifacts) {
                if (!(artifact instanceof UrlBackedArtifactMetadata)) {
                    IvyArtifactNameSerializer.INSTANCE.write(encoder, artifact.getName());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 04:22:29 UTC 2023
    - 15.8K bytes
    - Viewed (0)
Back to top