- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 893 for mapFor (0.22 sec)
-
src/mdo/java/WrapperList.java
private final Consumer<List<U>> setter; private final Function<U, T> mapper; private final Function<T, U> revMapper; WrapperList(List<U> list, Function<U, T> mapper, Function<T, U> revMapper) { this(() -> list, null, mapper, revMapper); } WrapperList(Supplier<List<U>> getter, Consumer<List<U>> setter, Function<U, T> mapper, Function<T, U> revMapper) { this.getter = getter;
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Fri Mar 01 16:30:18 UTC 2024 - 3.5K bytes - Viewed (0) -
pilot/pkg/networking/core/match/match.go
Map: m, }, }, }, }, OnNoMatch: nil, } return Mapper{Matcher: match, Map: m} } func NewDestinationIP() Mapper { return newMapper(DestinationIP) } func NewSourceIP() Mapper { return newMapper(SourceIP) } func NewDestinationPort() Mapper { return newMapper(DestinationPort) } type ProtocolMatch struct { TCP, HTTP *matcher.Matcher_OnMatch }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Mar 28 17:09:02 UTC 2024 - 6.2K bytes - Viewed (0) -
platforms/core-runtime/functional/src/main/java/org/gradle/internal/Deferrable.java
*/ T completeAndGet(); /** * Maps the result of the invocation via a mapper. * * @param mapper An inexpensive function on the result. * @throws NullPointerException if the mapper maps to {@code null}. */ default <U> Deferrable<U> map(Function<? super T, U> mapper) { return new Deferrable<U>() { @Override public Optional<U> getCompleted() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:22:02 UTC 2023 - 3.9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/generic/webhook_test.go
mapper.RegisterKindFor(gvr("apps", "v1", "deployments"), "", gvk("apps", "v1", "Deployment")) mapper.RegisterKindFor(gvr("apps", "v1beta1", "deployments"), "", gvk("apps", "v1beta1", "Deployment")) mapper.RegisterKindFor(gvr("apps", "v1alpha1", "deployments"), "", gvk("apps", "v1alpha1", "Deployment")) mapper.RegisterKindFor(gvr("extensions", "v1beta1", "deployments"), "scale", gvk("extensions", "v1beta1", "Scale"))
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 28 19:30:04 UTC 2023 - 32K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/MappedList.java
public class MappedList<U, V> extends AbstractList<U> { private final List<V> list; private final Function<V, U> mapper; public MappedList(List<V> list, Function<V, U> mapper) { this.list = list; this.mapper = mapper; } @Override public U get(int index) { return mapper.apply(list.get(index)); } @Override public int size() { return list.size(); }
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Mon Mar 25 10:50:01 UTC 2024 - 1.3K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/api/meta/restmapper_test.go
mapper := NewDefaultRESTMapper([]schema.GroupVersion{expectedGroupVersion1, expectedGroupVersion2}) mapper.Add(expectedGroupVersion1.WithKind("InternalObject"), RESTScopeNamespace) mapper.Add(expectedGroupVersion2.WithKind("OtherObject"), RESTScopeNamespace) // pick default matching object kind based on search order mapping, err := mapper.RESTMapping(otherObjectGK) if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Nov 01 08:38:57 UTC 2020 - 28.9K bytes - Viewed (0) -
platforms/ide/tooling-api-builders/src/test/groovy/org/gradle/tooling/internal/provider/runner/ClientBuildEventGeneratorTest.groovy
def "does not pass events to trackers for disabled mapper"() { def mapper = Mock(BuildOperationMapper) def tracker = Mock(BuildOperationTracker) given: mapper.isEnabled(subscriptions) >> false mapper.trackers >> [tracker] mapper.detailsType >> Long.class def generator = new ClientBuildEventGenerator(consumer, subscriptions, [mapper], fallback) when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 8.4K bytes - Viewed (0) -
platforms/jvm/testing-jvm-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/failure/DefaultThrowableToTestFailureMapper.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 2.1K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/file/copy/RegExpNameMapperTest.java
@Test public void testRenameWithCapture() { RegExpNameMapper mapper = new RegExpNameMapper("(.+).java", "$1Test.java"); assertEquals("SourceTest.java", mapper.transform("Source.java")); assertEquals("SecondTest.java", mapper.transform("Second.java")); } @Test public void testRenameNoMatch() { RegExpNameMapper mapper = new RegExpNameMapper("(.+).java", "$1Test.java");
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 22 19:00:51 UTC 2019 - 1.3K bytes - Viewed (0) -
platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/mappingToJvm/FunctionBinding.kt
val newCaptor = configureLambdaHandler.produceValueCaptor(param.type) check(captor == null) { "multiple lambda argument captors are not supported" } captor = newCaptor put(param, newCaptor.lambda) } paramName != null && paramName in namedArguments -> {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 11:58:18 UTC 2024 - 3K bytes - Viewed (0)