Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 138 for Flatten (0.13 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolver.java

                    DependencyResolverRequest.build(session, DependencyResolverRequest.RequestType.FLATTEN, project));
        }
    
        @Nonnull
        default DependencyResolverResult flatten(
                @Nonnull Session session, @Nonnull Project project, @Nonnull PathScope scope) {
            return flatten(DependencyResolverRequest.build(
                    session, DependencyResolverRequest.RequestType.FLATTEN, project, scope));
        }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/schema/extract/ModelSchemaUtilsTest.groovy

            then:
            methods.methodNames() == (["doSomething"] as Set)
            methods.allMethods().values().flatten()*.name == ["doSomething", "doSomething"]
            methods.allMethods().values().flatten()*.declaringClass == [Child, Base]
            methods.allMethods().values()*.declaredAnnotations.flatten()*.annotationType() == [Nullable, Incubating]
        }
    
        @Managed
        abstract class ManagedType  {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  3. subprojects/core/src/test/groovy/org/gradle/api/internal/tasks/DefaultTaskOutputsTest.groovy

            outputs.fileProperties*.propertyFiles*.files.flatten() == [file("a"), file("b")]
        }
    
        def "can register named output files"() {
            when:
            outputs.files("fileA": "a", "fileB": "b")
            then:
            outputs.files.files == files('a', "b")
            outputs.fileProperties*.propertyName == ['$1.fileA', '$1.fileB']
            outputs.fileProperties*.propertyFiles*.files.flatten() == [file("a"), file("b")]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Nov 15 21:46:24 UTC 2022
    - 8.4K bytes
    - Viewed (0)
  4. analysis/analysis-api-platform-interface/src/org/jetbrains/kotlin/analysis/api/platform/KotlinCompositeProviderFactory.kt

            1 -> providers.single()
            else -> composeProviders(providers)
        }
    
        public fun createFlattened(providers: List<P>): P =
            create(if (providers.size > 1) flatten(providers) else providers)
    
        public fun flatten(providers: List<P>): List<P> =
            providers.flatMap { provider ->
                // `KotlinCompositeProvider<P>` should always be a provider of type `P` itself, so the cast is legal. Still, suppressing the
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Jun 06 17:44:50 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  5. platforms/core-runtime/base-services/src/test/groovy/org/gradle/util/internal/GUtilTest.groovy

            toWords("123Thing") == "123 thing"
            toWords(".") == ""
            toWords("_") == ""
        }
    
        def "flattens maps and arrays"() {
            expect:
            flatten([[1], [foo: 'bar']]) == [1, 'bar']
    
            Object[] array = [1]
            flatten([array, [foo: 'bar']]) == [1, 'bar']
        }
    
        def "flattening of maps controls flatting of arrays"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  6. tools/istio-iptables/pkg/capture/util.go

    	matchers := make([][]string, 0, len(values))
    	for _, value := range values {
    		matchers = append(matchers, matcher(value))
    	}
    	return Flatten(matchers...)
    }
    
    func Flatten(lists ...[]string) []string {
    	var result []string
    	for _, list := range lists {
    		result = append(result, list...)
    	}
    	return result
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 25 15:43:38 UTC 2022
    - 997 bytes
    - Viewed (0)
  7. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r55/CompositeDeduplicationCrossVersionSpec.groovy

            when:
            def eclipseModels = withConnection { con -> con.action(new LoadCompositeEclipseModels()).run() }
    
            then:
            eclipseModels.collect {
                collectProjects(it)
            }.flatten().collect {
                it.name
            }.containsAll([
                'root', 'root-a', 'explicitName',
                'includedBuild1', 'includedBuild1-a', 'includedBuild1-b', 'includedBuild1-c',
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  8. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/swift/SwiftLinkerTest.groovy

            def outputFile = testDir.file("output/lib")
    
            final expectedArgs = [
                "-emit-library",
                "-o", outputFile.absolutePath,
                testDir.file("one.o").absolutePath].flatten()
    
            when:
            NativePlatform platform = Mock(NativePlatform)
            platform.getOperatingSystem() >> new DefaultOperatingSystem(operatingSystem.name, operatingSystem)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 9K bytes
    - Viewed (0)
  9. internal/s3select/sql/jsonpath.go

    		// Lookup remainder of path in each array element and
    		// make result array.
    		var result []interface{}
    		for _, a := range arr {
    			rval, flatten, err := jsonpathEval(p[1:], a)
    			if err != nil {
    				return nil, false, err
    			}
    
    			if flatten {
    				// Flatten if array.
    				if arr, ok := rval.([]interface{}); ok {
    					result = append(result, arr...)
    					continue
    				}
    			}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/DirectoryOutputArtifactIntegrationTest.groovy

                    assert files*.name == ['someDir']
                }
            }
    
            task run(dependsOn: configurations.compile) {
                doLast {
                    assert files*.listFiles().flatten().text == ['some text']
                }
            }
            '''
    
            when:
            run 'check'
    
            then:
            executed ':check'
    
            when:
            run 'run'
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 8K bytes
    - Viewed (0)
Back to top