Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for lengthOf (0.21 sec)

  1. .teamcity/src/main/kotlin/model/CIBuildModel.kt

        fun shortenSubprojectName(prefix: String, subProjectName: String): String {
            val shortenedSubprojectName = subProjectName.replace("internal", "i").replace("Testing", "T")
            if (shortenedSubprojectName.length + prefix.length <= 80) {
                return shortenedSubprojectName
            }
            return shortenedSubprojectName.replace(Regex("[aeiou]"), "")
        }
    
        fun asName(): String =
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Feb 23 01:54:48 GMT 2024
    - 20.9K bytes
    - Viewed (0)
  2. .cm/complex_changes.cm

    automations:
    
      # If a PR is very complex, require 2 approvals
      complex_changes:
        if:
          - {{ ('complex_changes' | isEnabledAutomation(pr)) }}
          - {{ branch | estimatedReviewTime >= 40 }}
          - {{ files | length >= 35 }}
          - {{ includes_src_changes }}
        run:
          - action: set-required-approvals@v1
            args:
              approvals: 2
    
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  3. .cm/plugins/filters/summaryTable/index.js

        let platformsWithSignificantChanges = statistics.filter(platformHasSignificantChanges);
    
        let result = "";
        if (statistics.length > 1) {
            result += statistics.length + " platforms were affected";
        } else {
            result += "1 platform was affected";
        }
        if (platformsWithSignificantChanges.length > 1) {
            result += " (:warning: if possible, only one platform should have significant changes in a PR)";
        } else {
    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)
  4. .cm/plugins/filters/computeStatistics/index.js

            summary.deletionPercent = Math.round(summary.deletions / (totalAdditions + totalDeletions) * 100, 2);
            summary.filesPercent = Math.round(summary.files.length / totalChangedFiles * 100, 2);
        });
    
        console.log("computeStatistics: ");
        console.log(summaries)
        return summaries;
    }
    
    function metadataFor(fileMetadatas, file) {
    JavaScript
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  5. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/SortAcceptedApiChangesTask.kt

        fun adjustIndentation(initalJsonString: String): String {
            val indentationRegex = """^\s+""".toRegex(RegexOption.MULTILINE)
            return indentationRegex.replace(initalJsonString) { m ->
                " ".repeat(m.value.length * 2)
            }
        }
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Sep 30 18:18:04 GMT 2022
    - 2.1K bytes
    - Viewed (0)
  6. .cm/plugins/filters/isEnabledAutomation/index.js

            }
        }
    
        return result;
    }
    
    function extractCheckNames(inputString) {
        const checksPart = inputString.split('@bot-gitstream check');
        if (checksPart.length === 2) {
            const checks = checksPart[1].split(' ');
            const namePattern = /^[a-zA-Z_]+$/;
            return checks.filter(check => namePattern.test(check));
        } else {
            return [];
        }
    }
    
    JavaScript
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  7. .cm/summary_table.cm

                <td>{{ (branch.diff.files_metadata | filter(attr='file', list=platform.subprojects) | map(attr='file') | length) }}</td>
                <td>{{ ((branch.diff.files_metadata | filter(attr='file', list=platform.subprojects) | map(attr='file') | length) / changes.total * 100) | round(2) }}%</td>
                </tr>
                {% endfor %}
                </table>
    
    changes:
    Plain Text
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Thu Feb 08 15:20:44 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  8. .teamcity/src/test/kotlin/CIConfigIntegrationTests.kt

    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Tue Jan 02 10:00:06 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  9. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateAgpVersions.kt

    internal
    fun DocumentBuilderFactory.fetchVersionsFromMavenMetadata(url: String): List<String> =
        newDocumentBuilder()
            .parse(url)
            .getElementsByTagName("version").let { versions ->
                (0 until versions.length)
                    .map { idx -> (versions.item(idx) as Element).textContent }
                    .reversed()
            }
    
    
    internal
    fun Properties.store(file: java.io.File, comment: String? = null) {
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Jun 02 09:17:07 GMT 2023
    - 5.6K bytes
    - Viewed (0)
  10. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/action/AnnotationGeneratorWorkAction.kt

                return clazz.getResource(RESOURCE)
                    .readText()
                    .split('\n')
                    .filter { it.isNotBlank() }
                    .map { line -> line.substring(7, line.length - 2) }
            }
        }
    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)
Back to top