Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 76 for toMap (0.25 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/platform/android/AndroidLog.kt

          this[Http2::class.java.name] = "okhttp.Http2"
          this[TaskRunner::class.java.name] = "okhttp.TaskRunner"
          this["okhttp3.mockwebserver.MockWebServer"] = "okhttp.MockWebServer"
        }.toMap()
    
      internal fun androidLog(
        loggerName: String,
        logLevel: Int,
        message: String,
        t: Throwable? = null,
      ) {
        val tag = loggerTag(loggerName)
    
        if (Log.isLoggable(tag, logLevel)) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/settings/SettingsUtilsV4.java

                profile.activation(activation.build());
            }
    
            profile.properties(modelProfile.getProperties().entrySet().stream()
                    .collect(Collectors.toMap(
                            e -> e.getKey().toString(), e -> e.getValue().toString())));
    
            List<org.apache.maven.api.model.Repository> repos = modelProfile.getRepositories();
            if (repos != null) {
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Thu Feb 15 08:42:00 GMT 2024
    - 13.8K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/internal/impl/SisuDiBridgeModule.java

                                            || b.getOriginalKey().getQualifier() == null
                                            || b.getOriginalKey().getQualifier() instanceof String)
                                    .collect(Collectors.toMap(
                                            b -> (String)
                                                    (b.getOriginalKey() != null
                                                            ? b.getOriginalKey().getQualifier()
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 8K bytes
    - Viewed (0)
  4. cmd/data-usage-cache_test.go

    			},
    		},
    	}
    	for i, test := range tests {
    		t.Run(fmt.Sprintf("Test-%d", i), func(t *testing.T) {
    			var h sizeHistogram
    			for _, sz := range test.sizes {
    				h.add(sz)
    			}
    			got := h.toMap()
    			exp := test.want
    			// what is in exp is in got
    			for k := range exp {
    				if exp[k] != got[k] {
    					t.Fatalf("interval %s: Expected %d values but got %d values\n", k, exp[k], got[k])
    				}
    			}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Jan 13 07:51:08 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultVersionRangeResolver.java

                                null));
    
                Map<String, ArtifactRepository> repos = res.getVersions().stream()
                        .filter(v -> res.getRepository(v) != null)
                        .collect(Collectors.toMap(v -> v.toString(), res::getRepository));
    
                return new VersionRangeResolverResult() {
                    @Override
                    public List<Exception> getExceptions() {
                        return res.getExceptions();
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/DependencyScope.java

         * System scope.
         */
        SYSTEM("system", false);
    
        private static final Map<String, DependencyScope> IDS = Collections.unmodifiableMap(
                Stream.of(DependencyScope.values()).collect(Collectors.toMap(s -> s.id, s -> s)));
    
        public static DependencyScope forId(String id) {
            return IDS.get(id);
        }
    
        private final String id;
        private final boolean transitive;
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Mar 27 14:46:12 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultTypeRegistry.java

            this.types = nonNull(providers, "providers").stream()
                    .flatMap(p -> p.provides().stream())
                    .collect(Collectors.toMap(Type::id, identity()));
            this.languageRegistry = nonNull(languageRegistry, "languageRegistry");
            this.usedTypes = new ConcurrentHashMap<>();
            this.manager = nonNull(manager, "artifactHandlerManager");
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  8. internal/bucket/replication/filter.go

    	if len(f.cachedTags) == 0 {
    		return true
    	}
    
    	parsedTags, err := tags.ParseObjectTags(userTags)
    	if err != nil {
    		return false
    	}
    
    	tagsMap := parsedTags.ToMap()
    
    	// This filter has tags configured but this object
    	// does not have any tag, skip this object
    	if len(tagsMap) == 0 {
    		return false
    	}
    
    	// Both filter and object have tags, find a match,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Sep 28 18:25:46 GMT 2022
    - 3.5K bytes
    - Viewed (2)
  9. maven-core/src/test/java/org/apache/maven/lifecycle/DefaultLifecyclesTest.java

            myLifecycles.add(myLifecycle);
            myLifecycles.addAll(defaultLifeCycles.getLifeCycles());
    
            Map<String, Lifecycle> lifeCycles = myLifecycles.stream().collect(Collectors.toMap(Lifecycle::getId, l -> l));
            PlexusContainer mockedPlexusContainer = mock(PlexusContainer.class);
            when(mockedPlexusContainer.lookupMap(Lifecycle.class)).thenReturn(lifeCycles);
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/lifecycle/internal/ProjectBuildList.java

        }
    
        public Map<MavenProject, ProjectSegment> selectSegment(TaskSegment taskSegment) {
            return items.stream()
                    .filter(pb -> taskSegment == pb.getTaskSegment())
                    .collect(Collectors.toMap(ProjectSegment::getProject, Function.identity()));
        }
    
        /**
         * Finds the first ProjectSegment matching the supplied project
         * @param mavenProject the requested project
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Jan 10 12:55:54 GMT 2024
    - 4.1K bytes
    - Viewed (0)
Back to top