- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 25 for Round (0.16 sec)
-
.cm/plugins/filters/computeStatistics/index.js
}); }); summaries.forEach(summary => { summary.additionPercent = Math.round(summary.additions / (totalAdditions + totalDeletions) * 100, 2); summary.deletionPercent = Math.round(summary.deletions / (totalAdditions + totalDeletions) * 100, 2); summary.filesPercent = Math.round(summary.files.length / totalChangedFiles * 100, 2); }); console.log("computeStatistics: ");
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) -
.cm/plugins/filters/summaryTable/index.js
let newRatio = totalAdditions / (totalAdditions + totalDeletions) * 100; let result = `:bar_chart: **Changes by ${title}: this PR is ${Math.round(newRatio, 2)}% new code**`; // Only title by Platform if (title === "Platform") { result += ` <br>${platformsAffected(preppedStatistics)}`; } result += ` <details>
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) -
.cm/summary_table.cm
<td>{{ branch.diff.files_metadata | filter(attr='file', list=platform.subprojects) | map(attr='deletions') | sum }}</td> <td>{{ ((branch.diff.files_metadata | filter(attr='file', list=platform.subprojects) | map(attr='deletions') | sum) / (changes.additions + changes.deletions) * 100) | round(2) }}%</td>
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) -
.github/workflows/CheckBadMerge.groovy
if (!badFiles.isEmpty()) { throw new RuntimeException("Found bad files in merge commit $commit: $badFiles") } else { println("No bad files found in $commit") } } else {
Groovy - Registered: Wed May 08 11:36:15 GMT 2024 - Last Modified: Tue Dec 19 10:35:44 GMT 2023 - 6.5K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/DslDocModel.groovy
ClassMetaData classMetaData = classMetaData.find(className) if (!classMetaData) { if (!className.contains('.internal.')) { throw new RuntimeException("No meta-data found for class '$className'.") } classMetaData = new ClassMetaData(className) } try {
Groovy - Registered: Wed Apr 17 11:36:08 GMT 2024 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 4.9K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocPropertiesBuilder.java
Element tr = getChild(thead, "tr"); List<Element> header = children(tr, "td"); if (header.size() < 1) { throw new RuntimeException(String.format("Expected at least 1 <td> in <thead>/<tr>, found: %s", header)); } Map<String, Element> inheritedValueTitleMapping = new HashMap<String, Element>(); List<Element> valueTitles = new ArrayList<Element>(); for (int i = 1; i < header.size(); i++) {
Java - Registered: Wed Apr 17 11:36:08 GMT 2024 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 6.2K bytes - Viewed (0) -
.teamcity/src/main/kotlin/model/FunctionalTestBucketGenerator.kt
subprojects = JsonBasedGradleSubprojectProvider(File("./subprojects.json")) ) val testClassDataJson = File(System.getProperty("inputTestClassDataJson") ?: throw IllegalArgumentException("Input file not found!")) val generatedBucketsJson = File(System.getProperty("outputBucketSplitJson", "./test-buckets.json")) FunctionalTestBucketGenerator(model, testClassDataJson).generate(generatedBucketsJson) }
Plain Text - Registered: Wed May 08 11:36:15 GMT 2024 - Last Modified: Thu Feb 15 17:04:41 GMT 2024 - 8.5K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ModelBuilderSupport.java
Element child = findChild(element, childName); if (child != null) { return child; } throw new RuntimeException(String.format("No <%s> element found in <%s>", childName, element.getTagName())); } protected Element findChild(Element element, String childName) { NodeList childNodes = element.getChildNodes();
Java - Registered: Wed Apr 17 11:36:08 GMT 2024 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 2.2K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/JavassistExtensions.kt
return value!! } private fun <T> annotationMemberValueNotFound(type: TypeOf<T>) = IllegalStateException("Annotation member value '${type.simpleName}' not found") private open class MemberValueVisitorAdapter : MemberValueVisitor { override fun visitStringMemberValue(node: StringMemberValue) = Unit
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 4.6K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocScanner.java
} public String region() { return input.substring(markPos, pos); } /** * Moves the position to the next instance of the given character, or the end of the input if not found. */ public void find(char c) { int cpos = pos; while (cpos < input.length()) { if (input.charAt(cpos) == c) { break; } cpos++;
Java - Registered: Wed Apr 17 11:36:08 GMT 2024 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 4.3K bytes - Viewed (0)