Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 124 for Map (0.3 sec)

  1. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocPropertiesBuilderTest.groovy

            return doc
        }
    
        def property(String name, ClassMetaData classMetaData) {
            return property([:], name, classMetaData)
        }
    
        def property(Map<String, ?> args, String name, ClassMetaData classMetaData) {
            PropertyMetaData property = Mock()
            _ * property.name >> name
            _ * property.ownerClass >> classMetaData
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 7.6K bytes
    - Viewed (0)
  2. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/action/AnnotationGeneratorWorkAction.kt

            lines().joinToString(separator = "\n        |")
    
        private
        fun groovyImports(): String {
            val imports: List<String> =
                generateImportPackages()
                    .map { "$it.*" } + "" +
                    AnnotationGenerator.ADDITIONAL_DEFAULT_IMPORTS
            return imports.joinToString(separator = "\n") {
                if (it.isBlank()) "" else "import $it"
            }
        }
    
    Plain Text
    - Registered: Wed Mar 27 11:36:08 GMT 2024
    - Last Modified: Wed Jun 22 10:58:31 GMT 2022
    - 6.9K bytes
    - Viewed (0)
  3. build-logic/jvm/src/main/kotlin/gradlebuild.launchable-jar.gradle.kts

            attribute(LibraryElements.LIBRARY_ELEMENTS_ATTRIBUTE, objects.named(LibraryElements.JAR))
        }
    }
    
    tasks.jar.configure {
        val classpath = manifestClasspath.elements.map { classpathDependency ->
            classpathDependency.joinToString(" ") {
                it.asFile.name
            }
        }
        manifest.attributes("Class-Path" to classpath)
    Plain Text
    - Registered: Wed Mar 27 11:36:08 GMT 2024
    - Last Modified: Wed Feb 28 23:38:57 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  4. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocMethodsBuilderTest.groovy

            return property
        }
    
        def propertyDoc(Map<String, ?> args = [:], String name) {
            return new PropertyDoc(classMetaData(), property(name, null), [parse("<para>$name comment</para>")], args.additionalValues ?: [])
        }
    
        def method(String name, ClassMetaData classMetaData) {
            return method([:], name, classMetaData)
        }
    
        def method(Map<String, ?> args, String name, ClassMetaData classMetaData) {
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 8.4K bytes
    - Viewed (0)
  5. .teamcity/src/main/kotlin/model/PerformanceTestSpec.kt

                    if (os == Os.WINDOWS) {
                        listOf("jprofiler")
                    } else {
                        listOf("async-profiler", "async-profiler-heap")
                    }.map { FlameGraphGenerationBuildSpec(scenario, os, it) }
                }
            }
    
        inner
        class FlameGraphGenerationBuildSpec(
            val performanceScenario: PerformanceScenario,
            override val os: Os,
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Mon Dec 13 07:00:20 GMT 2021
    - 3.7K bytes
    - Viewed (0)
  6. .teamcity/src/main/kotlin/model/bucket-extensions.kt

     * if some elements are too small, they will be aggregated by smallElementAggregateFunction.
     *
     * @param list the list to split, must be ordered by size desc
     * @param toIntFunction the function used to map the element to its "size"
     * @param largeElementSplitFunction the function used to further split the large element into smaller pieces
     * @param smallElementAggregateFunction the function used to aggregate tiny elements into a large bucket
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Thu Nov 17 05:17:44 GMT 2022
    - 4K bytes
    - Viewed (0)
  7. build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/tasks/BuildReceipt.kt

        abstract val buildTimestamp: Property<Date>
    
        @get:OutputDirectory
        abstract val receiptFolder: DirectoryProperty
    
        fun buildTimestampFrom(provider: Provider<String>) {
            buildTimestamp = provider.map { buildTimestampString -> timestampFormat.parse(buildTimestampString) }
        }
    
        @TaskAction
        fun generate() {
            if (promotionBuild.get()) {
                logger.logBuildVersion()
            }
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Sat Sep 30 16:17:28 GMT 2023
    - 4.2K bytes
    - Viewed (0)
  8. .teamcity/src/main/kotlin/common/performance-test-extensions.kt

    ) + listOf(
        "-Porg.gradle.performance.branchName" to "%teamcity.build.branch%",
        "-Porg.gradle.performance.db.url" to "%performance.db.url%",
        "-Porg.gradle.performance.db.username" to "%performance.db.username%"
    ).map { (key, value) -> os.escapeKeyValuePair(key, value) }
    
    const val individualPerformanceTestArtifactRules = """
    testing/*/build/test-results-*.zip => results
    testing/*/build/tmp/**/log.txt => failure-logs
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Thu Apr 04 07:21:42 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  9. .teamcity/src/main/kotlin/configurations/PerformanceTest.kt

        }
    )
    
    fun getPerformanceTestTaskNames(performanceSubProject: String, testProjects: List<String>, performanceTestTaskSuffix: String): List<String> {
        return testProjects.map {
            ":$performanceSubProject:$it$performanceTestTaskSuffix"
        }
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Wed Apr 24 08:17:56 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  10. .teamcity/src/main/kotlin/util/AdHocPerformanceScenario.kt

                "testJavaVendor",
                JvmVendor.openjdk.name,
                display = ParameterDisplay.PROMPT,
                description = "The java vendor to run the performance tests",
                options = JvmVendor.values().map { it.displayName to it.name }
            )
            when (os) {
                Os.WINDOWS -> {
                    profilerParam("jprofiler")
                    param("env.JPROFILER_HOME", "C:\\Program Files\\jprofiler\\jprofiler11.1.4")
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Tue Feb 13 13:53:39 GMT 2024
    - 4.9K bytes
    - Viewed (2)
Back to top