- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 3,663 for instanceId (0.14 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) -
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) -
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/core-runtime/base-services/src/test/groovy/org/gradle/internal/reflect/DirectInstantiatorTest.groovy
final DirectInstantiator instantiator = DirectInstantiator.INSTANCE def "creates instance with constructor parameters"() { CharSequence param = Mock() expect: def result = instantiator.newInstance(SomeType, param) result instanceof SomeType result.result == param } def "creates instance with subtypes of constructor parameters"() { expect:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 5.7K bytes - Viewed (0) -
pilot/pkg/serviceregistry/util/workloadinstances/selector.go
func FindAllInIndex(index Index, predicate func(*model.WorkloadInstance) bool) []*model.WorkloadInstance { var instances []*model.WorkloadInstance index.ForEach(func(instance *model.WorkloadInstance) { if predicate(instance) { instances = append(instances, instance) } }) return instances
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Apr 07 04:26:56 UTC 2023 - 1.4K bytes - Viewed (0) -
android/guava/src/com/google/common/io/LineReader.java
lines.add(line); } }; /** Creates a new instance that will read lines from the given {@code Readable} object. */ public LineReader(Readable readable) { this.readable = checkNotNull(readable); this.reader = (readable instanceof Reader) ? (Reader) readable : null; } /**
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed May 17 14:35:11 UTC 2023 - 3.1K bytes - Viewed (0) -
pkg/test/framework/components/echo/caller.go
} type Caller interface { // Call from this Instance to a target Instance. Call(options CallOptions) (CallResult, error) CallOrFail(t test.Failer, options CallOptions) CallResult } type Callers []Caller // Instances returns an Instances if all callers are Instance, otherwise returns nil. func (c Callers) Instances() Instances { var out Instances for _, caller := range c { c, ok := caller.(Instance)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 12 22:50:35 UTC 2022 - 1.3K bytes - Viewed (0) -
security/pkg/credentialfetcher/plugin/gce.go
rotateToken = enable } // GCEPlugin is the plugin object. type GCEPlugin struct { // aud is the unique URI agreed upon by both the instance and the system verifying the instance's identity. // For more info: https://cloud.google.com/compute/docs/instances/verifying-instance-identity aud string // The location to save the identity token jwtPath string // identity provider identityProvider string
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 30 13:56:46 UTC 2024 - 4.7K bytes - Viewed (0)