- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 265 for FlatMap (0.16 sec)
-
pkg/collateral/control_test.go
} }) } } func Test_buildNestedMap(t *testing.T) { type args struct { flatMap map[string]string } tests := []struct { name string args args wantResult map[string]any }{ { name: "configmap", args: args{ flatMap: map[string]string{ "one.two.valuethree": "onetwovaluethree", "one.two.three.valuefour": "onetwothreevaluefour",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 24 14:06:41 UTC 2023 - 2.9K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/fingerprint/impl/FileCollectionFingerprinterRegistrations.java
return fingerprinters.flatMap(Collection::stream).map(fingerprinter -> registration(directorySensitivity, lineEndingSensitivity, fingerprinter) ); } private static <T> Stream<T> withAllLineEndingSensitivities(Function<LineEndingSensitivity, Stream<T>> f) { return stream(LineEndingSensitivity.values()).flatMap(f); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 29 16:58:45 UTC 2022 - 8.6K bytes - Viewed (0) -
build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/ApiExtensionsGenerator.kt
.filter { type -> type.isPublic && apiSpec.isApi(type.sourceName) } .flatMap { type -> kotlinExtensionFunctionsFor(type, sinceSupplier) } .distinctBy(::signatureKey) private fun signatureKey(extension: KotlinExtensionFunction): List<Any> = extension.run { listOf(targetType.sourceName, name) + parameters.flatMap { apiTypeKey(it.type) } } private
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Dec 20 21:41:53 UTC 2023 - 18.1K bytes - Viewed (0) -
test/typeparam/issue50485.dir/a.go
} func Ap[T, U any](t Option[Func1[T, U]], a Option[T]) Option[U] { return FlatMap(t, func(f Func1[T, U]) Option[U] { return Map(a, f) }) } func Map[T, U any](opt Option[T], f func(v T) U) Option[U] { return FlatMap(opt, func(v T) Option[U] { return Some(f(v)) }) } func FlatMap[T, U any](opt Option[T], fn func(v T) Option[U]) Option[U] { if opt.IsDefined() { return fn(opt.Get())
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Dec 14 17:22:18 UTC 2023 - 4.4K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl-tooling-builders/src/main/kotlin/org/gradle/kotlin/dsl/tooling/builders/BuildSrcClassPathModeConfigurationAction.kt
private fun Sequence<Project>.withJavaBasePlugin() = filter { it.plugins.hasPlugin(JavaBasePlugin::class.java) } private fun Sequence<Project>.allSourceSetsRoots() = flatMap { it.sourceSets.flatMap { it.allSource.srcDirs }.asSequence() } private val Project.sourceSets get() = the<SourceSetContainer>() } @CacheableTask abstract class GenerateSourceRootsFile : DefaultTask() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Oct 06 15:06:32 UTC 2023 - 3.6K bytes - Viewed (0) -
platforms/jvm/normalization-java/src/main/java/org/gradle/api/internal/changedetection/state/LineEndingNormalizingResourceHasher.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 15:09:49 UTC 2023 - 3.3K bytes - Viewed (0) -
subprojects/core-api/src/integTest/groovy/org/gradle/api/file/FilePermissionsIntegrationTest.groovy
outputFile.text == "Permission: 755" where: wiring << [ //"fsOps.permissions(producer.flatMap { it.outputFile.asFile }.map { it.readText() }).map { it.toUnixNumeric() }", //TODO: https://github.com/gradle/gradle/issues/19252 "fsOps.permissions(producer.flatMap { it.outputFile }.map { it.asFile.readText() }).map { it.toUnixNumeric() }" ] }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 18 08:40:58 UTC 2023 - 3.4K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/file/ArchiveOperationsIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 04 22:26:51 UTC 2021 - 8.1K bytes - Viewed (0) -
build-logic/buildquality/src/main/kotlin/gradlebuild.incubation-report.gradle.kts
reportTask { sources.from(kotlinMainSourceSet.sourceDirectories) } } tasks.named("check") { dependsOn(reportTask) } consumableVariant("txt", reportTask.flatMap { it.textReportFile }) consumableVariant("html", reportTask.flatMap { it.htmlReportFile }) fun consumableVariant(reportType: String, artifact: Provider<RegularFile>) = configurations.create("incubatingReport${reportType.capitalize()}") { isVisible = false
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Feb 12 13:19:06 UTC 2024 - 2.3K bytes - Viewed (0) -
platforms/jvm/language-groovy/src/main/java/org/gradle/api/internal/tasks/compile/incremental/recomp/GroovyRecompilationSpecProvider.java
return; } Set<String> classesWithJavaSource = recompilationSpec.getClassesToCompile().stream() .flatMap(classToCompile -> sourceFileClassNameConverter.getRelativeSourcePaths(classToCompile).stream()) .filter(sourcePath -> sourcePath.endsWith(".java")) .flatMap(sourcePath -> sourceFileClassNameConverter.getClassNames(sourcePath).stream()) .collect(Collectors.toSet());
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Aug 28 11:40:18 UTC 2023 - 3.6K bytes - Viewed (0)