Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for containsKey (0.23 sec)

  1. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.test-retry.gradle.kts

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    plugins {
        id("org.gradle.test-retry")
    }
    
    if (System.getenv().containsKey("CI")) {
        tasks.withType<Test>().configureEach {
            retry {
                maxRetries.set(2)
            }
        }
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Apr 26 06:43:17 GMT 2023
    - 810 bytes
    - Viewed (0)
  2. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupService.kt

        val testPathToBinaryResultsDirs: Map<String, File>
            get() = parameters.testPathToBinaryResultsDirs.get()
    
        override fun onFinish(event: FinishEvent) {
            if (event is TaskFinishEvent && taskPathReports.containsKey(event.descriptor.taskPath)) {
                val taskPath = event.descriptor.taskPath
                when (event.result) {
                    is TaskSuccessResult -> {
                        addExecutedTaskPath(taskPath)
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Jul 28 16:19:47 GMT 2023
    - 12.5K bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/UpgradePropertiesRuleSetup.java

                });
        }
    
        private static <T> Map<AccessorKey, T> diff(Map<AccessorKey, T> first, Map<AccessorKey, T> second) {
            return first.entrySet().stream()
                .filter(e -> !second.containsKey(e.getKey()))
                .collect(Collectors.toMap(Map.Entry::getKey, Map.Entry::getValue));
        }
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Apr 23 08:40:36 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/HtmlToXmlJavadocLexer.java

                } else if (blockElements.contains(name)) {
                    unwindTo("p", visitor);
                } else if (!blockContent.contains(name) && !(name.equals("a") && attributes.containsKey("name"))) {
                    onInlineContent();
                }
    
                elementStack.addFirst(name);
                visitor.onStartHtmlElement(name);
    Java
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 5.8K bytes
    - Viewed (0)
  5. .teamcity/src/main/kotlin/model/FunctionalTestBucketGenerator.kt

            validSubprojects.forEach {
                if (!subProjectToClassTimes.containsKey(it.name)) {
                    subProjectToClassTimes[it.name] = emptyList()
                }
            }
    
            val subProjectTestClassTimes: List<SubprojectTestClassTime> = subProjectToClassTimes
                .entries
    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)
  6. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildEnvironment.kt

        val isSlowInternetConnection
            get() = System.getProperty("slow.internet.connection", "false")!!.toBoolean()
        val agentNum: Int
            get() {
                if (System.getenv().containsKey("USERNAME")) {
                    val agentNumEnv = System.getenv("USERNAME").replaceFirst("tcagent", "")
                    if (Regex("""\d+""").containsMatchIn(agentNumEnv)) {
                        return agentNumEnv.toInt()
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Feb 09 22:52:01 GMT 2024
    - 5.7K bytes
    - Viewed (2)
  7. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocConverter.java

            }
    
            @Override
            public boolean onStartElement(String elementName, Map<String, String> attributes) {
                if (!elementName.equals("a") || !attributes.containsKey("name")) {
                    return false;
                }
                Element element = document.createElement("anchor");
                String id = String.format("%s.%s", classMetaData.getClassName(), attributes.get("name"));
    Java
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 29.3K bytes
    - Viewed (0)
  8. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/upgrades/UpgradedProperties.java

            String name = jApiMethod.getName();
            if (!pattern.matcher(name).matches()) {
                return false;
            }
            return upgradedMethods.containsKey(AccessorKey.ofOldMethod(jApiMethod));
        }
    
        private static boolean isCurrentGetterOfUpgradedProperty(JApiMethod jApiMethod, Map<AccessorKey, UpgradedProperty> currentMethods) {
    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)
  9. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocRendererTest.groovy

            _ * propDoc.additionalValues >> (args.attributes ?: [])
            _ * propMetaData.type >> new TypeMetaData(args.type ?: 'SomeType')
            _ * propMetaData.readable >> (args.containsKey('readable') ? args.readable : true)
            _ * propMetaData.writeable >> (args.containsKey('writeable') ? args.writeable : false)
            return propDoc
        }
    
        def methodDoc(Map<String, ?> args = [:], String name) {
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 40.8K bytes
    - Viewed (0)
Back to top