Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for function (0.24 sec)

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

        console.log("summaryTable: " + result);
        return result;
    }
    
    function platformsAffected(statistics) {
        // Significance is defined as a platform having more than 10% of the total lines changed
        let totalLinesChanged = statistics.reduce((acc, summary) => acc + summary.additions + summary.deletions, 0);
        let platformHasSignificantChanges = function(summary) {
            let linesChanged = summary.additions + summary.deletions;
    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)
  2. .cm/plugins/filters/computeStatistics/index.js

     * @example {{ fileOwners | categorize(branch.diff.files_metadata) | changeStatistics(branch.diff.files_metadata) }}
     */
    function computeStatistics(groupedFiles, fileMetadatas) {
        let totalAdditions = 0;
        let totalDeletions = 0
        let totalChangedFiles = 0;
    
        let summaries = [...groupedFiles.values()];
    JavaScript
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  3. .cm/plugins/filters/isEnabledAutomation/index.js

     * @returns {boolean} Returns true if the outlined conditions are met, otherwise false.
     * @example {{ 'platform_labels' | isEnabledAutomation(pr) }}
     */
    function isEnabledAutomation(automationName, pr) {
        let result;
        const automationActivations = enabled.get(automationName) || [];
    
        // Check if always enabled, or enabled by comment
    JavaScript
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  4. .cm/plugins/filters/categorize/index.js

     * @returns {[Object]} Returns a list of objects for each platform containing info about the changes to files in that platform
     * @example {{ owners | categorize(branch.diff.files_metadata) }}
     */
    
    function categorize(fileOwners, fileMetadatas) {
        const result = new Map();
        [...fileOwners.keys()].forEach(platform => {
            result.set(platform, {
                name: platform,
                files: []
            });
    JavaScript
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 1.2K bytes
    - Viewed (0)
  5. .cm/add_usual_expert.cm

    # Each automation is independent of the others.  Every time one of the `on` conditions match for
    # this PR, this automations will have its `if` checked to run.  In a way, the `on` conditions
    # function as an implicit first `if` for every automation in the file.
    
    # You can define multiple automations in a .cm file, but each automation name should be unique
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  6. .cm/complex_changes.cm

    # Each automation is independent of the others.  Every time one of the `on` conditions match for
    # this PR, this automations will have its `if` checked to run.  In a way, the `on` conditions
    # function as an implicit first `if` for every automation in the file.
    
    # You can define multiple automations in a .cm file, but each automation name should be unique
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  7. build-logic/binary-compatibility/src/main/groovy/gradlebuild/EnrichedReportRenderer.groovy

                <script type="text/javascript">
                    function getAllErrorCorrections() {
                        var changeElements = \$(".well pre");
                        var result = [];
                        changeElements.each((idx, val) => result.push(JSON.parse(val.textContent)));
                        return result;
                    }
    
                    function appendErrorCorrections(reason) {
    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. .teamcity/src/main/kotlin/model/bucket-extensions.kt

     *
     * @param list the list to split, must be ordered by size desc
     * @param toIntFunction the function used to map the element to its "size"
     * @param largeElementSplitFunction the function used to further split the large element into smaller pieces
     * @param smallElementAggregateFunction the function used to aggregate tiny elements into a large bucket
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Thu Nov 17 05:17:44 GMT 2022
    - 4K bytes
    - Viewed (0)
  9. .cm/plugins/filters/byCodeowner/index.js

    }
    
    function codeownersMapping(data) {
        return data
            .toString()
            .split('\n')
            .filter(x => x && !x.startsWith('#'))
            .map(x => x.split("#")[0])
            .map(x => {
                const line = x.trim();
                const [path, ...owners] = line.split(/\s+/);
                return {path, owners};
            });
    }
    
    function resolveCodeowners(mapping, file) {
    JavaScript
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Mon Apr 22 19:12:32 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  10. .cm/plugins/filters/byPlatform/index.js

     * @param {string[]} files - the gitStream's files context variable
     * @returns {Map} - Map from platform to list of files in this PR in it
     * @example {{ owners | byPlatform }}
     */
    function byPlatform(files) {
        const result = new Map();
        files.forEach(file => {
            const platform = getPlatform(file);
            if (!result.has(platform)) {
                result.set(platform, []);
            }
    JavaScript
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Mon Apr 22 16:47:29 GMT 2024
    - 1K bytes
    - Viewed (0)
Back to top