Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for sortBy (0.42 sec)

  1. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/AbstractAcceptedApiChangesMaintenanceTask.kt

            val json = Gson().fromJson(jsonString, AcceptedApiChanges::class.java)
            return json.acceptedApiChanges!!
        }
    
        /**
         * Sorts the given list of [AcceptedApiChange]s by type and member.
         * <p>
         * This sort ought to remain consistent with the sort used by the [EnrichedReportRenderer].
         */
        @Suppress("KDocUnresolvedReference")
        protected
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Tue Feb 07 20:38:43 GMT 2023
    - 2.3K bytes
    - Viewed (0)
  2. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/SortAcceptedApiChangesTask.kt

    import org.gradle.api.tasks.CacheableTask
    import org.gradle.api.tasks.TaskAction
    
    
    /**
     * This [Task][org.gradle.api.Task] reorders the changes in an accepted API changes file
     * so that they are alphabetically sorted (by type, then member).
     */
    @CacheableTask
    abstract class SortAcceptedApiChangesTask : AbstractAcceptedApiChangesMaintenanceTask() {
    
        @TaskAction
        fun execute() {
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Fri Sep 30 18:18:04 GMT 2022
    - 2.1K bytes
    - Viewed (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/model/ClassDoc.groovy

        }
        void addSubClass(ClassDoc subClass) {
            subClasses.add(subClass)
        }
        ClassDoc mergeContent() {
            classProperties.sort { it.name }
            classMethods.sort { it.metaData.overrideSignature }
            classBlocks.sort { it.name }
            classExtensions.sort { it.pluginId }
            return this
        }
    
        String getStyle() {
            return classMetaData.groovy ? 'groovydoc' : 'javadoc'
        }
    
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 6.2K bytes
    - Viewed (0)
  4. .cm/plugins/filters/summaryTable/index.js

     */
    function summaryTable(statistics, title) {
        let preppedStatistics = statistics.filter(s => s.files.length > 0)
            .sort(s => -(s.additions + s.deletions));
    
        let totalAdditions = Object.values(preppedStatistics).reduce((acc, summary) => acc + summary.additions, 0);
    JavaScript
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  5. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/KotlinSourceQueries.kt

    
    private
    fun CtClass.isLikelyEquivalentTo(ktTypeReference: KtTypeReference): Boolean {
        val ktTypeAsText = ktTypeReference.text
        if (ktTypeAsText.contains(" -> ")) {
            // This is a function of some sort
            return name.startsWith("kotlin.jvm.functions.Function")
        }
    
        val ktTypeRawName = ktTypeAsText
            .trimEnd('?') // nullability is not part of JVM types
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Wed Dec 20 20:38:19 GMT 2023
    - 11.1K bytes
    - Viewed (0)
  6. build-logic/build-update-utils/src/test/groovy/gradlebuild/buildutils/tasks/UpdateReleasedVersionsTest.groovy

            expect:
            ******@****.***ReleasedVersions(version, versions) == releasedVersions(snapshot, rc, [version])
        }
    
        def "final releases are sorted by version"() {
            def snapshot = snapshot('4.3')
            def rc = releasedVersion('4.3-rc-1')
            def referenceBuildTime = System.currentTimeMillis() - DAYS.toMillis(10)
            def finalVersionsBefore = [
    Groovy
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 5.4K bytes
    - Viewed (0)
  7. build-logic/binary-compatibility/src/main/groovy/gradlebuild/EnrichedReportRenderer.groovy

                        });
                        // Sort the array in place by type, then member
                        // Note that Firefox is fine with a sort function returning any positive or negative number, but Chrome 
                        // requires 1 or -1 specifically and ignores higher or lower values.  This sort ought to remain consistent
                        // with the sort used by AbstractAcceptedApiChangesMaintenanceTask.
    Groovy
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Tue Feb 07 20:38:43 GMT 2023
    - 7.2K bytes
    - Viewed (0)
  8. .cm/misc_labels.cm

      tests: {{ files | allTests }}
    
      # Exclude anything under samples/snippets sourceSets, or any sort of test resource file
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 3K bytes
    - Viewed (0)
  9. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/model/ClassExtensionDoc.groovy

            }
            return properties.sort { it.name }
        }
    
        List<MethodDoc> getExtensionMethods() {
            List<MethodDoc> methods = []
            mixinClasses.each { mixin ->
                mixin.classMethods.each { method ->
                    methods << method.forClass(targetClass)
                }
            }
            return methods.sort { it.metaData.overrideSignature }
        }
    
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 2.5K bytes
    - Viewed (0)
  10. build-logic/buildquality/src/main/kotlin/gradlebuild/incubation/action/IncubatingApiReportWorkAction.kt

                        "<h2>Incubating since $version (${versions[version]?.run { "released on $this" } ?: "unreleased"})</h2>"
                    )
                    writer.println("<ul>")
                    incubatingDescriptions.sorted().forEach { incubating ->
                        writer.println("   <li>${incubating.escape()}</li>")
                    }
                    writer.println("</ul>")
                }
                writer.println("</body></html>")
    HTML
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Sun Jun 25 02:53:14 GMT 2023
    - 12.7K bytes
    - Viewed (0)
Back to top