- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for lengthOf (0.24 sec)
-
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) -
.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) -
.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) -
.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) -
.teamcity/src/test/kotlin/CIConfigIntegrationTests.kt
val shortenedId = testCoverage.asConfigurationId(model, "veryLongSubprojectNameLongerThanEverythingWeHave") assertTrue(shortenedId.length < 80) assertEquals("Check_QckFdbckCrssVrsn_1_vryLngSbprjctNmLngrThnEvrythngWHv", shortenedId)
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) -
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) -
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) -
.teamcity/src/main/kotlin/model/FunctionalTestBucketProvider.kt
val name = truncateName(subprojects.joinToString(",")) private fun truncateName(str: String) = // Can't exceed Linux file name limit 255 char on TeamCity if (str.length > 200) { str.substring(0, 200) + "..." } else { str }
Plain Text - Registered: Wed May 08 11:36:15 GMT 2024 - Last Modified: Thu Jan 18 05:14:09 GMT 2024 - 9K bytes - Viewed (0)