- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 34 for ToMap (0.03 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
build-logic/build-update-utils/src/main/kotlin/gradlebuild.root-target-runtimes.gradle.kts
} else -> null } else -> throw IllegalArgumentException("Unexpected component identifier: $id") } }.toMap() } } // Computes a map of all projects in the build to their build file. val buildFiles: Provider<Map<String, File>> = provider { allprojects.associate { project ->Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Mar 11 22:40:18 GMT 2026 - 2.2K bytes - Click Count (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)) {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat Oct 25 11:16:17 GMT 2025 - 4.3K bytes - Click Count (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()) {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Oct 13 18:30:29 GMT 2025 - 5K bytes - Click Count (0) -
build-logic/dependency-modules/src/main/kotlin/gradlebuild/modules/model/License.kt
/** Lookup map built lazily from all [aliases] across all entries. */ val byPomName: Map<String, License> by lazy { entries.flatMap { lic -> lic.aliases.map { alias -> alias to lic } }.toMap() } /** Returns the [License] whose [aliases] include [name], or null if unrecognised. */ fun fromPomName(name: String): License? = byPomName[name] }
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Fri Mar 13 13:24:46 GMT 2026 - 3.9K bytes - Click Count (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;Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 10 07:39:11 GMT 2025 - 25.5K bytes - Click Count (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 {Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 34.7K bytes - Click Count (0) -
.teamcity/src/main/kotlin/model/PerformanceTestBucketProvider.kt
.map { Os.valueOf(it.uppercase(Locale.US)) }.toSet() }.toMap() PerformanceTestGroup(testProject, coverage) } PerformanceTestConfiguration(testId, groups) } } } private fun splitBucketsByScenarios(Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Jan 29 01:37:22 GMT 2026 - 17.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/FluentIterableTest.java
} public void testToMap() { assertThat(fluent(1, 2, 3).toMap(Functions.toStringFunction()).entrySet()) .containsExactly(immutableEntry(1, "1"), immutableEntry(2, "2"), immutableEntry(3, "3")) .inOrder(); } public void testToMap_nullKey() { assertThrows( NullPointerException.class, () -> fluent(1, null, 2).toMap(Functions.constant("foo"))); } public void testToMap_nullValue() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 31.2K bytes - Click Count (0) -
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildParams.kt
propertyNames.mapNotNull { propertyName -> stringPropertyOrNull(propertyName)?.let { propertyValue -> propertyName to propertyValue } }.toMap() /** * Creates a [Provider] that returns `true` when this [Provider] has a value * and `false` otherwise. The returned [Provider] always has a value. * @see Provider.isPresent */ privateCreated: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Mon Jan 19 05:13:29 GMT 2026 - 18K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CommonsCliOptions.java
import org.apache.maven.jline.MessageUtils; import static java.util.Objects.requireNonNull; import static org.apache.maven.cling.invoker.CliUtils.createInterpolator; import static org.apache.maven.cling.invoker.CliUtils.toMap; public class CommonsCliOptions implements Options { public static CommonsCliOptions parse(String source, String[] args) throws ParseException { CLIManager cliManager = new CLIManager();Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Oct 08 07:36:42 GMT 2025 - 21.3K bytes - Click Count (0)