- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 59 for ToMap (1.03 sec)
-
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]) } }Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sat Jan 13 07:51:08 UTC 2024 - 2.6K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/Lifecycle.java
+ ":" + goal))))); return goals.entrySet().stream() .collect(Collectors.toMap(Map.Entry::getKey, e -> new LifecyclePhase(String.join(",", e.getValue())))); } public Map<String, LifecyclePhase> getDefaultLifecyclePhases() { return defaultPhases; } @DeprecatedRegistered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Dec 13 23:04:37 UTC 2024 - 3.7K bytes - Viewed (0) -
compat/maven-model/src/main/java/org/apache/maven/model/InputLocation.java
this.locations = location.getLocations().isEmpty() ? null : location.getLocations().entrySet().stream() .collect(Collectors.toMap( e -> e.getKey(), e -> e.getValue() == location ? this : new InputLocation(e.getValue())));
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Sep 29 14:45:25 UTC 2025 - 13.5K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/BaseParser.java
import static org.apache.maven.cling.invoker.CliUtils.prefix; import static org.apache.maven.cling.invoker.CliUtils.stripLeadingAndTrailingQuotes; import static org.apache.maven.cling.invoker.CliUtils.toMap; public abstract class BaseParser implements Parser { @SuppressWarnings("VisibilityModifier") public static class LocalContext { public final ParserRequest parserRequest;Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 10 07:39:11 UTC 2025 - 25.5K bytes - Viewed (0) -
okhttp/src/androidMain/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)) {
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Oct 25 11:16:17 UTC 2025 - 4.3K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultMojoExecution.java
.filter(Objects::nonNull) .map(Node::getDependency) .filter(Objects::nonNull) .collect(Collectors.toMap(d -> d.getGroupId() + ":" + d.getArtifactId(), d -> d))); } }; } @Override public PluginExecution getModel() { return delegate.getPlugin().getExecutions().stream()
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jan 24 17:29:44 UTC 2025 - 5.2K bytes - Viewed (0) -
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,
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Wed Sep 28 18:25:46 UTC 2022 - 3.5K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CliUtils.java
@Nonnull public static Path getCanonicalPath(Path path) { requireNonNull(path, "path"); return path.toAbsolutePath().normalize(); } @Nonnull public static Map<String, String> toMap(Properties properties) { requireNonNull(properties, "properties"); HashMap<String, String> map = new HashMap<>(); for (String key : properties.stringPropertyNames()) {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Oct 13 18:30:29 UTC 2025 - 5K bytes - Viewed (0) -
cmd/data-usage-cache.go
if intOld.start != intNew.start || intOld.end != intNew.end { nidx++ continue } h[nidx] += v[oidx] oidx++ nidx++ } } // toMap returns the map to a map[string]uint64. func (h *sizeHistogram) toMap() map[string]uint64 { res := make(map[string]uint64, dataUsageBucketLen) var splCount uint64 for i, count := range h { szInt := ObjectsHistogramIntervals[i] switch {Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 34.7K bytes - Viewed (0) -
cmd/bucket-policy.go
cloneHeader.Del("x-amz-signature-age") } if userTags := cloneHeader.Get(xhttp.AmzObjectTagging); userTags != "" { tag, _ := tags.ParseObjectTags(userTags) if tag != nil { tagMap := tag.ToMap() keys := make([]string, 0, len(tagMap)) for k, v := range tagMap { args[pathJoin("ExistingObjectTag", k)] = []string{v} args[pathJoin("RequestObjectTag", k)] = []string{v} keys = append(keys, k)
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 7.9K bytes - Viewed (0)