- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 5,770 for instanceId (0.15 sec)
-
platforms/ide/tooling-api/src/main/java/org/gradle/tooling/ToolingModelContract.java
* interface Animal {} * </pre> * <p> * On the client-side we will be able to write code such as: * <pre> * if (model instanceof Dog) { * ((Dog) model).bark(); * } else if (model instanceof Cat) { * ((Cat) model).meow(); * } else if (model instance of Bird) { * // will never be true, Bird is not specified as a model contract type * } * </pre> * * @since 8.9 */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 06 08:48:11 UTC 2024 - 2.8K bytes - Viewed (0) -
pkg/test/framework/components/echo/match/matchers.go
return func(i echo.Instance) bool { return n == i.NamespacedName() } } // AnyServiceName matches instances if they have the same Service and Namespace as any of the provided instances. func AnyServiceName(expected echo.NamespacedNames) Matcher { return func(instance echo.Instance) bool { serviceName := instance.NamespacedName() for _, expectedName := range expected { if serviceName == expectedName {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 02 21:29:40 UTC 2024 - 5.6K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Functions.java
* for more important information about the Java 8+ transition. */ public static Function<Object, String> toStringFunction() { return ToStringFunction.INSTANCE; } // enum singleton pattern private enum ToStringFunction implements Function<Object, String> { INSTANCE; @Override public String apply(Object o) { checkNotNull(o); // eager for GWT. return o.toString(); } @Override
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 15 16:12:13 UTC 2024 - 14.1K bytes - Viewed (0) -
pilot/pkg/serviceregistry/serviceentry/store.go
continue } if _, f := s.instances[ikey]; !f { s.instances[ikey] = map[configKeyWithParent][]*model.ServiceInstance{} } s.instancesByHostAndPort.Insert(hostPort) s.instances[ikey][key] = append(s.instances[ikey][key], instance) if instance.Endpoint.Address != "" { s.ip2instance[instance.Endpoint.Address] = append(s.ip2instance[instance.Endpoint.Address], instance) } } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 29 15:31:09 UTC 2024 - 6.1K bytes - Viewed (0) -
platforms/core-configuration/graph-serialization/src/main/kotlin/org/gradle/internal/serialize/graph/Identities.kt
class WriteIdentities { private val instanceIds = IdentityHashMap<Any, Int>() fun getId(instance: Any) = instanceIds[instance] fun putInstance(instance: Any): Int { val id = instanceIds.size instanceIds[instance] = id return id } } class ReadIdentities { private val instanceIds = HashMap<Int, Any>()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 22 20:48:51 UTC 2024 - 1.5K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/internal/classpath/CallInterceptingMetaClassTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Nov 24 13:33:59 UTC 2023 - 15K bytes - Viewed (0) -
pkg/test/framework/components/echo/echotest/run.go
// destination instance. This is for ingress gateway testing when source instance // destination instances. This can be used when we're not using echo workloads // as the source of traffic, such as from the ingress gateway. For example: // // RunFromClusters(func(t framework.TestContext, src cluster.Cluster, dst echo.Instances)) { // ingr := ist.IngressFor(src) // ingr.CallWithRetryOrFail(...)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Sep 27 22:08:42 UTC 2023 - 13K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java
* is used to construct the sample instances. In case of tie, the candidate constructors or * factories are tried one after another until one can be used to construct sample * instances. * <li>For the constructor or static factory method used to construct instances, it's checked * that when equal parameters are passed, the result instance should also be equal; and vice * versa.
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 32.7K bytes - Viewed (0) -
pilot/pkg/serviceregistry/util/workloadinstances/index.go
defer i.mu.RUnlock() keys := i.ipToKeys[ip] if len(keys) == 0 { return nil } instances := make([]*model.WorkloadInstance, 0, len(keys)) for _, key := range sets.SortedList(keys) { if instance, exists := i.keyToInstance[key]; exists { instances = append(instances, instance) } } return instances } // Empty implements Index. func (i *index) Empty() bool { i.mu.RLock()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jun 16 05:45:36 UTC 2023 - 4.1K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/dsl/PublishArtifactNotationParserFactoryTest.groovy
The following types/formats are supported: - Instances of ConfigurablePublishArtifact. - Instances of PublishArtifact. - Instances of AbstractArchiveTask, for example jar. - Instances of Provider<RegularFile>. - Instances of Provider<Directory>. - Instances of Provider<File>. - Instances of RegularFile. - Instances of Directory. - Instances of File. - Maps with 'file' key''')) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 10.3K bytes - Viewed (0)