- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 144 for FlatMap (0.34 sec)
-
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/attributes/ProjectVariantResolutionIntegrationTest.groovy
artifact(b.flatMap { it.output }) artifact(b.flatMap { throw new RuntimeException("broken outgoing artifact") }) variants { create("broken") { artifact(b.flatMap { it.output }) artifact(b.flatMap { throw new RuntimeException("broken variant artifact") })
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 02 20:50:18 UTC 2024 - 4.9K bytes - Viewed (0) -
tensorflow/c/experimental/saved_model/core/revived_types/partially_revived_objects.h
struct PartiallyRevivedObjects { gtl::FlatMap<int, std::unique_ptr<Variable>> variables; gtl::FlatMap<int, std::unique_ptr<Asset>> assets; gtl::FlatMap<int, std::unique_ptr<Constant>> constants; gtl::FlatMap<int, TFConcreteFunctionRevivalState> concrete_functions; gtl::FlatMap<int, TFSignatureDefFunctionRevivalState> signature_def_functions; gtl::FlatMap<int, RestoredResourceRevivalState> restored_resources;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 30 23:21:36 UTC 2020 - 3.3K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/KotlinDslNullnessIntegrationTest.kt
} @Test fun `Provider#flatMap works with a null return value in script`() { withBuildScript(""" val providerA: Provider<String> = provider { "thing" }.flatMap { provider { null } } val providerB: Provider<String> = provider { "thing" }.flatMap { null } """) build("help") } @Test fun `Provider#flatMap works with a null return value in a kotlin-dsl project`() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sun Sep 24 17:45:43 UTC 2023 - 3.6K bytes - Viewed (0) -
testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/AndroidGradleRecipesKotlinSmokeTest.groovy
AGP_VERSIONS.latestsStableOrRC, [ [type: 'flatMap{map{}}', mapBegin: 'flatMap { it.fieldValueOutputFile.map {', mapEnd: '} }', get: 'it.asFile.readText(Charsets.UTF_8)'], [type: 'flatMap{map{}.map{}}', mapBegin: 'flatMap { it.fieldValueOutputFile.map { it.asFile.readText(Charsets.UTF_8) }.map {', mapEnd: '} }',
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 7K bytes - Viewed (0) -
tensorflow/c/experimental/saved_model/core/revived_types/revived_objects.h
// freed after TFConcreteFunctions, for example. gtl::FlatMap<int, std::unique_ptr<Variable>> variables; gtl::FlatMap<int, std::unique_ptr<Asset>> assets; gtl::FlatMap<int, std::unique_ptr<Constant>> constants; gtl::FlatMap<int, std::unique_ptr<TFSignatureDefFunction>> signature_def_functions; RevivedObjectContainer<TFConcreteFunction> concrete_functions; gtl::FlatMap<int, RestoredResource> restored_resources;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Nov 05 23:10:04 UTC 2020 - 4K bytes - Viewed (0) -
platforms/core-configuration/declarative-dsl-provider/src/main/kotlin/org/gradle/internal/declarativedsl/evaluationSchema/SchemaComponents.kt
get() = analysisSchemaComponents.flatMap { it.typeDiscovery() } override val propertyExtractors: List<PropertyExtractor> get() = analysisSchemaComponents.flatMap { it.propertyExtractors() } override val functionExtractors: List<FunctionExtractor> get() = analysisSchemaComponents.flatMap { it.functionExtractors() }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 31 13:47:10 UTC 2024 - 7K bytes - Viewed (0) -
build-logic-settings/build-environment/src/main/kotlin/gradlebuild.build-environment.settings.gradle.kts
} val buildEnvironmentExtension = extensions.create("buildEnvironment", BuildEnvironmentExtension::class) buildEnvironmentExtension.gitCommitId = service.flatMap { it.gitCommitId } buildEnvironmentExtension.gitBranch = service.flatMap { it.gitBranch } buildEnvironmentExtension.repoRoot = this@with }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 21 08:48:38 UTC 2024 - 1.3K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/files/archivesChangedBaseName/kotlin/build.gradle.kts
archiveClassifier = "src" from("somedir") } tasks.register("echoNames") { val projectNameString = project.name val archiveFileName = myZip.flatMap { it.archiveFileName } val myOtherArchiveFileName = myOtherZip.flatMap { it.archiveFileName } doLast { println("Project name: $projectNameString") println(archiveFileName.get()) println(myOtherArchiveFileName.get()) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 828 bytes - Viewed (0) -
platforms/extensibility/plugin-development/src/main/java/org/gradle/plugin/devel/internal/precompiled/PrecompiledGroovyPluginsPlugin.java
}); pluginSourceSet.getJava().srcDir(generatePluginAdapters.flatMap(GeneratePluginAdaptersTask::getPluginAdapterSourcesOutputDirectory)); pluginSourceSet.getOutput().dir(precompilePlugins.flatMap(CompileGroovyScriptPluginsTask::getPrecompiledGroovyScriptsOutputDirectory)); pluginSourceSet.getOutput().dir(extractPluginRequests.flatMap(ExtractPluginRequestsTask::getExtractedPluginRequestsClassesStagingDirectory)); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 22:36:52 UTC 2023 - 6.6K bytes - Viewed (0) -
platforms/core-runtime/functional/src/test/groovy/org/gradle/internal/TryTest.groovy
def initial = Try.<Integer>failure(new RuntimeException("failed")) expect: initial.flatMap { it.toString() } == initial } def "failing flat map"() { def failure = new RuntimeException("failed") when: Try.successful(10).flatMap { throw failure } then: def ex = thrown Exception ex == failure } def "map a failure"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 18 08:10:49 UTC 2024 - 5.8K bytes - Viewed (0)