Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 893 for mapFor (0.23 sec)

  1. maven-api-impl/src/main/java/org/apache/maven/internal/impl/MappedCollection.java

    public class MappedCollection<U, V> extends AbstractCollection<U> {
        private final Collection<V> list;
        private final Function<V, U> mapper;
    
        public MappedCollection(Collection<V> list, Function<V, U> mapper) {
            this.list = list;
            this.mapper = mapper;
        }
    
        @Override
        public Iterator<U> iterator() {
            Iterator<V> it = list.iterator();
            return new Iterator<U>() {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Mar 25 10:50:01 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/match/match_test.go

    	"istio.io/istio/pkg/util/protomarshal"
    )
    
    func TestCleanupEmptyMaps(t *testing.T) {
    	tc := []struct {
    		name  string
    		given func() Mapper
    		want  func() *matcher.Matcher
    	}{
    		{
    			name: "empty map at depth = 0",
    			given: func() Mapper {
    				// root (dest port):
    				//   <no matches>
    				//   fallback (dest ip):
    				//     1.2.3.4: chain
    				fallback := NewDestinationIP()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/api/meta/priority_test.go

    			},
    			result: schema.GroupVersionResource{Group: "one", Version: "a", Resource: "second"},
    		},
    	}
    
    	for _, tc := range tcs {
    		mapper := PriorityRESTMapper{Delegate: tc.delegate, ResourcePriority: tc.resourcePatterns}
    
    		actualResult, actualErr := mapper.ResourceFor(schema.GroupVersionResource{})
    		if e, a := tc.result, actualResult; e != a {
    			t.Errorf("%s: expected %v, got %v", tc.name, e, a)
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 06 15:24:58 UTC 2018
    - 13.6K bytes
    - Viewed (0)
  4. pom.xml

    							<mapper>
    								<type>perm</type>
    								<user>${packaging.fess.user}</user>
    								<group>${packaging.fess.group}</group>
    							</mapper>
    						</data>
    						<data>
    							<type>directory</type>
    							<src>${project.build.directory}/fess/WEB-INF/classes/org/codelibs/fess/tomcat</src>
    							<mapper>
    								<type>perm</type>
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu May 30 06:49:02 UTC 2024
    - 48.7K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/endpoints/deprecation/deprecation_test.go

    			name:        "empty",
    			v:           version.Info{Major: "", Minor: ""},
    			expectMajor: 0,
    			expectMinor: 0,
    			expectErr:   true,
    		},
    		{
    			name:        "non-numeric major",
    			v:           version.Info{Major: "A", Minor: "0"},
    			expectMajor: 0,
    			expectMinor: 0,
    			expectErr:   true,
    		},
    		{
    			name:        "non-numeric minor",
    			v:           version.Info{Major: "1", Minor: "A"},
    			expectMajor: 0,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 11 20:04:19 UTC 2020
    - 8.5K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/extensions/v1beta1/zz_generated.prerelease-lifecycle.go

    // It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go.
    func (in *DaemonSet) APILifecycleIntroduced() (major, minor int) {
    	return 1, 1
    }
    
    // APILifecycleDeprecated is an autogenerated function, returning the release in which the API struct was or will be deprecated as int versions of major and minor for comparison.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 06 09:29:23 UTC 2023
    - 18.2K bytes
    - Viewed (0)
  7. platforms/ide/tooling-api/src/test/groovy/org/gradle/tooling/internal/adapter/CollectionMapperTest.groovy

    import org.gradle.tooling.model.DomainObjectSet
    import spock.lang.Specification
    
    class CollectionMapperTest extends Specification {
        final def mapper = new CollectionMapper()
    
        def "maps collection types"() {
            expect:
            def collection = mapper.createEmptyCollection(sourceType)
            collection.class == collectionType
    
            where:
            sourceType      | collectionType
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  8. platforms/jvm/testing-jvm-infrastructure/src/test/groovy/org/gradle/api/internal/tasks/testing/failure/mappers/JUnitComparisonTestFailureMapperTest.groovy

            given:
            def comparisonFailure = new CustomComparisonFailure("message", "expected", "actual")
            def mapper = new JUnitComparisonTestFailureMapper()
    
            when:
            def supports = mapper.supports(comparisonFailure.class)
            then:
            supports
    
            when:
            def failure = mapper.map(comparisonFailure, null)
            then:
            failure.details.expected == "expected"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  9. platforms/core-runtime/base-services/src/main/java/org/gradle/util/internal/VersionNumber.java

            this(major, minor, micro, patch, qualifier, PATCH_SCHEME);
        }
    
        private VersionNumber(int major, int minor, int micro, int patch, @Nullable String qualifier, AbstractScheme scheme) {
            this.major = major;
            this.minor = minor;
            this.micro = micro;
            this.patch = patch;
            this.qualifier = qualifier;
            this.scheme = scheme;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:40 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/storage/v1alpha1/zz_generated.prerelease-lifecycle.go

    // It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go.
    func (in *CSIStorageCapacity) APILifecycleIntroduced() (major, minor int) {
    	return 1, 19
    }
    
    // APILifecycleDeprecated is an autogenerated function, returning the release in which the API struct was or will be deprecated as int versions of major and minor for comparison.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 03:26:35 UTC 2023
    - 9.3K bytes
    - Viewed (0)
Back to top