- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 318 for Flatten (0.13 sec)
-
platforms/jvm/java-compiler-plugin/src/test/groovy/com/gradle/internal/compiler/java/AbstractCompilerPluginTest.groovy
def setup() { sourceFolder = Files.createTempDirectory(temporaryFolder.toPath(), null).toFile() } List<File> toSourceFiles(List<String> bodies) { return bodies.collect { toSourceFile(it) }.flatten() } List<File> toSourceFile(String body) { def packageGroup = (body =~ /(?s).*?(?:package) (\w+).*/) String packageName = packageGroup.size() > 0 ? packageGroup[0][1] : ""
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 13:06:26 UTC 2023 - 2.6K bytes - Viewed (0) -
cmd/data-usage-cache.go
e := d.Cache[id] if len(e.Children) > 0 { e = d.flatten(e) } m[id] = e } return m } // flatten all children of the root into the root element and return it. func (d *dataUsageCache) flatten(root dataUsageEntry) dataUsageEntry { for id := range root.Children { e := d.Cache[id] if len(e.Children) > 0 { e = d.flatten(e) } root.merge(e) } root.Children = nil
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 10 14:49:50 UTC 2024 - 42.8K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/properties/annotations/DefaultTypeMetadataStoreTest.groovy
collectProblems(childMetadata).empty where: [parentAnnotation, childAnnotation] << [PROCESSED_PROPERTY_TYPE_ANNOTATIONS, PROCESSED_PROPERTY_TYPE_ANNOTATIONS].combinations()*.flatten() } def "can override @#processedAnnotation.simpleName property type with @#unprocessedAnnotation.simpleName"() { def parentTask = groovyClassLoader.parseClass """
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 20:42:35 UTC 2024 - 18.6K bytes - Viewed (0) -
platforms/core-configuration/file-collections/src/integTest/groovy/org/gradle/api/file/FileCollectionPropertyIntegrationTest.groovy
@TaskAction void go() { def file = outputFile.asFile.get() file.text = inputDirs.get()*.asFile*.listFiles().text.flatten().join(',') } } task createDir1(type: DirOutputTask) task createDir2(type: DirOutputTask) task merge(type: MergeTask) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 17.3K bytes - Viewed (0) -
build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/extension/ReleasedVersionsDetails.kt
mainTestedVersions = testedVersions.map { VersionNumber.parse(it.gradleVersion().version) } .groupBy { it.major } .map { (_, v) -> listOf(v.minOrNull()!!.format(), v.maxOrNull()!!.format()) }.flatten() } private fun VersionNumber.format() = // reformat according to our versioning scheme, since toString() would typically convert 1.0 to 1.0.0
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jun 10 06:17:20 UTC 2024 - 3.3K bytes - Viewed (0) -
testing/internal-testing/src/main/groovy/org/gradle/test/precondition/RequiresExtension.groovy
if (specOfFeature.parent instanceof SpecInfo) { predicateClassNames += (specOfFeature.parent as SpecInfo).getAnnotationsByType(Requires) .collect { (it as Requires).value() } .flatten() as List<Class> } PredicatesFile.checkValidCombinations(predicateClassNames, acceptedCombinations) // If all preconditions are met, we DON'T skip the tests
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 3.1K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheTransformNodeIdBuildOperationIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 4.8K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/instrument/AbstractProcessInstrumentationInDynamicGroovyIntegrationTest.groovy
return [true, false] } final def testCasesWithIndyModes() { // Combine each test case with enableIndy=true and/or enableIndy=false return [testCases(), indyModes()].combinations().collect { it.flatten() } } def "#title is intercepted in groovy build script #indyStatus"(VarInitializer varInitializer) { given: def cwd = testDirectory.file(expectedPwdSuffix) withPluginCode("""
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 3.3K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/TaskOrderSpecs.java
return new AnyOrderSpec(Arrays.asList(constraints)); } public static TaskOrderSpec exact(Object[] constraints) { List<Object> flattenedConstraints = GUtil.flatten(constraints, new ArrayList<Object>()); return new ExactOrderSpec(flattenedConstraints); } private static abstract class RecursiveOrderSpec implements TaskOrderSpec {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 5.1K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/plugin/annotations/Resolution.java
* * @return the id of the path scope */ String pathScope() default ""; /** * The request type, in case the default one is not correct. * Valid values are {@code collect}, {@code flatten}, or {@code resolve}. * * @return the request type */ String requestType() default "";
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Tue Jun 11 07:23:04 UTC 2024 - 3.1K bytes - Viewed (0)