Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 239 for if (0.14 sec)

  1. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/DocBookBuilder.java

            boolean inPara = false;
            if (node instanceof Element) {
                Element element = (Element) node;
                if (element.getTagName().equals("para") && stack.getFirst().getTagName().equals("para")) {
                    pop();
                    inPara = true;
                }
            }
            stack.getFirst().appendChild(node);
            if (inPara) {
                Element para = document.createElement("para");
    Java
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 2.8K bytes
    - Viewed (0)
  2. .cm/estimated_time_to_review.cm

      estimated_time_to_review:
        if:
          - {{ ('estimated_time_to_review' | isEnabledAutomation(pr)) }}
        run:
          - action: add-label@v1
            # etr is defined in the last section of this example
            args:
              label: "{{ calc.etr }} min review"
              color: {{ 'E94637' if (calc.etr >= 20) else ('FBBD10' if (calc.etr >= 5) else '36A853') }}
    
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 2K bytes
    - Viewed (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/model/ClassMetaData.java

         * @return The property, or null if no such property exists.
         */
        public PropertyMetaData findProperty(String name) {
            PropertyMetaData propertyMetaData = declaredProperties.get(name);
            if (propertyMetaData != null) {
                return propertyMetaData;
            }
            ClassMetaData superClass = getSuperClass();
            if (superClass != null) {
    Java
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 10.1K bytes
    - Viewed (0)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/LinkRenderer.java

                }
            });
    
            linkElement.normalize();
            if (linkElement.getChildNodes().getLength() == 1 && linkElement.getFirstChild() instanceof Element) {
                return linkElement.getFirstChild();
            }
            return linkElement;
        }
    
        private Node addType(String className, GenerationListener listener) {
            if (model.isKnownType(className)) {
    Java
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 6.3K bytes
    - Viewed (0)
  5. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AbstractGradleViolationRule.groovy

            if (member instanceof JApiClass) {
                return isIncubatingClass((JApiClass) member)
            }
            if (member instanceof JApiMethod) {
                return isIncubatingOrOverrideMethod((JApiMethod) member)
            }
            if (member instanceof JApiField) {
                return isIncubatingField((JApiField) member)
            }
            if (member instanceof JApiConstructor) {
    Groovy
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Tue Apr 23 08:40:36 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  6. .teamcity/src/main/kotlin/model/bucket-extensions.kt

        canRunTogether: (T, T) -> Boolean = { _, _ -> true }
    ): List<R> {
        if (list.isEmpty()) {
            return noElementSplitFunction(expectedBucketNumber)
        }
        if (expectedBucketNumber == 1) {
            return listOf(smallElementAggregateFunction(list))
        }
    
        val expectedBucketSize = list.sumOf(toIntFunction) / expectedBucketNumber
    
        if (expectedBucketSize == 0) {
    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)
  7. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/model/MethodMetaData.java

            return String.format("%s.%s()", ownerClass, name);
        }
    
        @Override
        public boolean equals(Object o) {
            if (this == o) {
                return true;
            }
            if (o == null || getClass() != o.getClass()) {
                return false;
            }
            if (!super.equals(o)) {
                return false;
            }
            MethodMetaData that = (MethodMetaData) o;
    Java
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 4.9K bytes
    - Viewed (0)
  8. .github/workflows/codeql-analysis.yml

        - name: Compile with Gradle without Build Scan
          if: ${{ matrix.language == 'java' && github.repository_owner != 'gradle' }}
          run: ./gradlew --no-configuration-cache --init-script .github/workflows/codeql-analysis.init.gradle -S testClasses
    
        - name: Cleanup Gradle Daemons
          run: ./gradlew --stop
          if: ${{ matrix.language == 'java' }}
    
        # ℹ️ Command-line programs to run using the OS shell.
    Others
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Tue Jan 30 18:26:59 GMT 2024
    - 4K bytes
    - Viewed (0)
  9. .cm/misc_labels.cm

    # Each automation has an `if` key that defines conditions to run the automation,
    # as well as a `run` key with the actions to do. All the conditions need to be true
    # for the actions to run (there is an implicit AND relation between
    # the conditions on each line).  Each condition is specified as a Jinja expression.  You
    # can also use the constant `true` if you want to always run the actions.
    
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 3K bytes
    - Viewed (0)
  10. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/ide/AndroidStudioSystemProperties.kt

        val studioInstallationProvider = providers.provider {
            if (autoDownloadAndroidStudio) {
                studioInstallation
            } else {
                null
            }
        }
    
        override fun asArguments(): Iterable<String> {
            val systemProperties = mutableListOf<String>()
    
            systemProperties.add(getStudioHome())
    
            if (runAndroidStudioInHeadlessMode) {
    Plain Text
    - Registered: Wed Mar 27 11:36:08 GMT 2024
    - Last Modified: Tue Feb 20 09:51:32 GMT 2024
    - 2.9K bytes
    - Viewed (0)
Back to top