Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for reduce (0.17 sec)

  1. .cm/plugins/filters/summaryTable/index.js

            .sort(s => -(s.additions + s.deletions));
    
        let totalAdditions = Object.values(preppedStatistics).reduce((acc, summary) => acc + summary.additions, 0);
        let totalDeletions = Object.values(preppedStatistics).reduce((acc, summary) => acc + summary.deletions, 0);
        let newRatio = totalAdditions / (totalAdditions + totalDeletions) * 100;
    
    JavaScript
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  2. architecture/standards/0003-avoid-introducing-Groovy-types-to-public-api.md

    Doing this provides the following specific benefits:
    - **Reduce the API surface** - We no longer need to maintain two methods.
    - **Consistency** - All languages have consistent access to the same APIs and ergonomics in the DSL.
    - **Reduce the size of the Gradle distribution** - We no longer need to carry multiple standard libraries for different languages.
    
    ## Decision
    
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Sun Mar 10 20:38:06 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  3. .cm/plugins/filters/byCodeowner/ignore/index.js

    const regexCache = Object.create(null)
    
    // @param {pattern}
    const makeRegex = (pattern, ignoreCase) => {
        let source = regexCache[pattern]
    
        if (!source) {
            source = REPLACERS.reduce(
                (prev, current) => prev.replace(current[0], current[1].bind(pattern)),
                pattern
            )
            regexCache[pattern] = source
        }
    
        return ignoreCase
    JavaScript
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  4. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/KotlinSourceQueries.kt

    fun KtDeclaration.isDocumentedAsSince(version: String) =
        docComment?.isSince(version) == true
    
    
    private
    fun KDoc.isSince(version: String) =
        text.contains("@since $version")
    
    
    // TODO:kotlin-dsl dedupe with KotlinTypeStrings.primitiveTypeStrings
    private
    val primitiveTypeStrings =
        mapOf(
            "java.lang.Object" to "Any",
            "java.lang.String" to "String",
            "java.lang.Character" to "Char",
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Dec 20 20:38:19 GMT 2023
    - 11.1K bytes
    - Viewed (0)
  5. architecture/standards/0002-avoid-using-java-serialization.md

    This is due to Java's use of reflection and the need to maintain a lot of metadata.
    
    - **Size of Serialized Data:**
    Java serialization tends to produce larger serialized objects because it includes class metadata and other overhead.
    
    - **Flexibility and Control:**
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Thu Feb 29 22:32:18 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  6. .teamcity/src/main/kotlin/configurations/Gradleception.kt

        val defaultParameters = (buildToolGradleParameters() + buildScanTags + extraSysProp + functionalTestParameters(Os.LINUX)).joinToString(separator = " ")
    
        params {
            // Override the default commit id so the build steps produce reproducible distribution
            param("env.BUILD_COMMIT_ID", "HEAD")
        }
    
        applyDefaults(
            model,
            this,
            ":distributions-full:install",
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Tue Feb 27 09:57:17 GMT 2024
    - 6K bytes
    - Viewed (0)
  7. build-logic-commons/basics/src/main/kotlin/gradlebuild.minify.gradle.kts

     * Artifacts matched by this map will be minified to only contain the specified
     * classes and the classes they depend on. The classes are not relocated, they all
     * remain in their original namespace. This reduces the final Gradle distribution
     * size and makes us more conscious of which parts of a library we really need.
     */
    val keepPatterns = mapOf(
        "fastutil" to setOf(
            // For Java compilation incremental analysis
    Plain Text
    - Registered: Wed May 08 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/configurations/FunctionalTest.kt

            preSteps = preBuildSteps
        )
    
        failureConditions {
            // JavaExecDebugIntegrationTest.debug session fails without debugger might cause JVM crash
            // Some soak tests produce OOM exceptions
            // There are also random worker crashes for some tests.
            // We have test-retry to handle the crash in tests
            javaCrash = false
        }
    })
    
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Feb 09 16:49:31 GMT 2024
    - 4.2K bytes
    - Viewed (0)
Back to top