- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for GetView (0.14 sec)
-
subprojects/core/src/main/java/org/gradle/tooling/provider/model/internal/ToolingModelParameterCarrier.java
public interface ToolingModelParameterCarrier { /** * Returns a view of the original parameter object, * allowing access to its properties via methods available on the {@code viewType}. */ Object getView(Class<?> viewType); /** * Returns a hash of the original parameter object. */ HashCode getHash(); @NonNullApi @ServiceScope(Scope.BuildTree.class) interface Factory {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 12 02:21:10 UTC 2024 - 1.3K bytes - Viewed (0) -
pilot/pkg/model/proxy_view_test.go
for _, c := range cases { c := c t.Run(c.name, func(t *testing.T) { g := NewWithT(t) view := (&model.Proxy{ Metadata: &model.NodeMetadata{ RequestedNetworkView: c.networkView, }, }).GetView() actual := view.IsVisible(&model.IstioEndpoint{ Network: network.ID(c.network), }) g.Expect(actual).To(Equal(c.visible)) }) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Oct 31 14:48:28 UTC 2023 - 1.7K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/models/DefaultToolingModelParameterCarrierFactory.kt
} private class Carrier( private val parameter: Any, private val valueSnapshotter: ValueSnapshotter ) : ToolingModelParameterCarrier { override fun getView(viewType: Class<*>): Any { val viewBuilder = ProtocolToModelAdapter().builder(viewType) return viewBuilder.build(parameter)!! } override fun getHash(): HashCode {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 1.8K bytes - Viewed (0) -
platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/adapter/MethodInvocation.java
return parameterTypes; } public boolean found() { return found; } public Class<?> getViewType() { return viewType; } public Object getView() { return view; } public Object getDelegate() { return delegate; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 2.6K bytes - Viewed (0) -
platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/adapter/ProtocolToModelAdapter.java
beanInvocation = new MethodInvocation(invocation.getName(), invocation.getReturnType(), invocation.getGenericReturnType(), new Class<?>[]{invocation.getViewType()}, invocation.getView(), invocation.getViewType(), instance, new Object[]{invocation.getView()}); next.invoke(beanInvocation); if (beanInvocation.found()) { invocation.setResult(beanInvocation.getResult()); } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 21 04:42:54 UTC 2024 - 45.4K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/build/DefaultBuildToolingModelController.java
} else { Class<?> expectedParameterType = Objects.requireNonNull(builder.getParameterType(), "Expected builder with parameter support"); Object parameterValue = parameter.getView(expectedParameterType); return builder.build(parameterValue); } } } private static class BuildToolingScope extends AbstractToolingScope {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Dec 07 17:25:08 UTC 2023 - 5.3K bytes - Viewed (0) -
pilot/pkg/model/context.go
var istioVersionRegexp = regexp.MustCompile(`^([1-9]+)\.([0-9]+)(\.([0-9]+))?`) // GetView returns a restricted view of the mesh for this proxy. The view can be // restricted by network (via ISTIO_META_REQUESTED_NETWORK_VIEW). // If not set, we assume that the proxy wants to see endpoints in any network. func (node *Proxy) GetView() ProxyView { return newProxyView(node) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jun 03 08:29:05 UTC 2024 - 33.6K bytes - Viewed (0) -
pilot/pkg/networking/core/cluster_builder.go
supportsIPv6: proxy.SupportsIPv6(), sendHbone: features.EnableHBONESend || proxy.IsWaypointProxy(), locality: proxy.Locality, proxyLabels: proxy.Labels, proxyView: proxy.GetView(), proxyIPAddresses: proxy.IPAddresses, configNamespace: proxy.ConfigNamespace, req: req, cache: cache, } if proxy.Metadata != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 31.6K bytes - Viewed (0) -
pilot/pkg/xds/endpoints/endpoint_builder.go
service *model.Service, dr *model.ConsolidatedDestRule, ) *EndpointBuilder { b := EndpointBuilder{ clusterName: clusterName, network: proxy.Metadata.Network, proxyView: proxy.GetView(), clusterID: proxy.Metadata.ClusterID, locality: proxy.Locality, destinationRule: dr, service: service, clusterLocal: push.IsClusterLocal(service), nodeType: proxy.Type,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Apr 28 02:18:19 UTC 2024 - 26.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/Sets.java
* you either use it as a plain {@link Set}, or immediately invoke {@link #immutableCopy} or * {@link #copyInto} and forget the {@code SetView} itself. * * @since 2.0 */ public abstract static class SetView<E extends @Nullable Object> extends AbstractSet<E> { private SetView() {} // no subclasses but our own /**
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Apr 01 16:15:01 UTC 2024 - 78.8K bytes - Viewed (0)