Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 15 of 15 for startsWith (2.91 sec)

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

        });
        return result;
    }
    
    function getPlatform(file) {
        let result = null; // Default to null in case no platform is found
    
        if (file.startsWith('platforms/')) {
            const parts = file.split('/');
            result = parts[1];
        }
    
        console.log(file + " = " + result);
        return result;
    }
    
    JavaScript
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Mon Apr 22 16:47:29 GMT 2024
    - 1K bytes
    - Viewed (0)
  2. .cm/plugins/filters/byCodeowner/index.js

        });
    
        return Buffer.from(res.data.content, 'base64').toString()
    }
    
    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};
            });
    }
    
    JavaScript
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Mon Apr 22 19:12:32 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  3. build-logic/jvm/src/main/kotlin/gradlebuild.unittest-and-compile.gradle.kts

    }
    
    fun Test.isUnitTest() = listOf("test", "writePerformanceScenarioDefinitions", "writeTmpPerformanceScenarioDefinitions").contains(name)
    
    fun Test.usesEmbeddedExecuter() = name.startsWith("embedded")
    
    fun Test.configureRerun() {
        if (project.rerunAllTests.get()) {
            doNotTrackState("All tests should re-run")
        }
    }
    
    fun Test.determineMaxRetries() = when {
    Plain Text
    - Registered: Wed Mar 27 11:36:08 GMT 2024
    - Last Modified: Wed Jan 17 13:36:27 GMT 2024
    - 15.7K bytes
    - Viewed (0)
  4. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/upgrades/UpgradedProperties.java

         */
        public static boolean shouldAcceptForUpgradedProperty(JApiMethod jApiMethod, Violation violation, ViolationCheckContext context) {
            if (violation.getHumanExplanation().startsWith(SINCE_ERROR_MESSAGE)) {
                // We still want to report the violation if @since is not added to a method
                return false;
            }
    
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Apr 23 08:40:36 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  5. build-logic/binary-compatibility/src/main/groovy/gradlebuild.binary-compatibility.gradle

            extendsFrom(currentClasspath)
        }
    }
    
    def currentClasspath = configurations.currentApiClasspath.incoming.artifactView { lenient(true) }.files
    def currentDistroJars = currentClasspath.filter { it.name.startsWith('gradle-') && it.name.endsWith('.jar') }
    def baselineJars = configurations.baselineJars
    def baseVersion = moduleIdentity.version.map { it.baseVersion.version }
    
    dependencies {
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Apr 11 12:20:44 GMT 2024
    - 8.6K bytes
    - Viewed (0)
Back to top