Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 59 for element (0.17 sec)

  1. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleJavadocsPlugin.java

                                // Since JDK 11, package-list is missing from javadoc output files and superseded by element-list file, but a lot of external tools still need it
                                // Here we generate this file manually
                                copySpec.from(generatedJavadocDirectory.file("element-list"), sub -> {
                                    sub.rename(t -> "package-list");
                                });
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Mon Oct 16 13:03:20 GMT 2023
    - 6.9K bytes
    - Viewed (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/BuildableDOMCategory.groovy

    package gradlebuild.docs
    
    import groovy.xml.dom.DOMCategory
    import org.w3c.dom.Element
    import org.w3c.dom.Node
    
    class BuildableDOMCategory extends DOMCategory {
        public static void setText(Element element, String value) {
            while (element.hasChildNodes()) {
                element.removeChild(element.getFirstChild())
            }
            element.appendChild(element.ownerDocument.createTextNode(value))
        }
    
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Aug 11 15:32:19 GMT 2022
    - 2.8K bytes
    - Viewed (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/DocBookBuilder.java

        public void push(Element element) {
            stack.getFirst().appendChild(element);
            stack.addFirst(element);
        }
    
        public Element pop() {
            Element element = stack.removeFirst();
            if (emptyPara(element)) {
                element.getParentNode().removeChild(element);
            }
            return element;
        }
    
        private boolean emptyPara(Element element) {
    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)
  4. .teamcity/src/main/kotlin/model/FunctionalTestBucketGenerator.kt

            testCoverage: TestCoverage,
            parallelization: (Int) -> ParallelizationMethod
        ): List<SmallSubprojectBucket> {
            // splitIntoBuckets() method expects us to split large element into N elements,
            // but we want to have a single bucket with N batches.
            // As a workaround, we repeat the bucket N times, and deduplicate the result at the end
            val resultIncludingDuplicates = splitIntoBuckets(
    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)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocConverter.java

                listener.warning(String.format("Unsupported HTML element <%s>", elementName));
                Element element = document.createElement("UNHANDLED-ELEMENT");
                element.appendChild(document.createTextNode(String.format("<%s>", elementName)));
                nodes.push(element);
                return true;
            }
    
            @Override
            public void onText(String text) {
    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)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/LinkRenderer.java

            }
            Element element = document.createElement("classname");
            element.appendChild(document.createTextNode(className));
            return element;
        }
    
        public Node link(MethodMetaData method, GenerationListener listener) {
            if (model.isKnownType(method.getOwnerClass().getClassName())) {
                Element apilink = document.createElement("apilink");
    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)
  7. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/PropertyDetailRenderer.java

                }
            }
    
            warningsRenderer.renderTo(propertyDoc, "property", section);
    
            for (Element element : propertyDoc.getComment()) {
                section.appendChild(document.importNode(element, true));
            }
    
            if (!propertyDoc.getAdditionalValues().isEmpty()) {
                Element segmentedlist = document.createElement("segmentedlist");
                section.appendChild(segmentedlist);
    Java
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 3.5K bytes
    - Viewed (0)
  8. .teamcity/src/main/kotlin/model/bucket-extensions.kt

    import kotlin.math.min
    
    /**
     * Split a list of elements into nearly even sublist. If an element is too large, largeElementSplitFunction will be used to split the large element into several smaller pieces;
     * if some elements are too small, they will be aggregated by smallElementAggregateFunction.
     *
     * @param list the list to split, must be ordered by size desc
     * @param toIntFunction the function used to map the element to its "size"
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Thu Nov 17 05:17:44 GMT 2022
    - 4K bytes
    - Viewed (0)
  9. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/BlocksRenderer.java

        }
    
        @Override
        public void renderSummaryTo(ClassDoc classDoc, Element parent) {
            Document document = parent.getOwnerDocument();
    
            Element summarySection = document.createElement("section");
            parent.appendChild(summarySection);
    
            Element title = document.createElement("title");
            summarySection.appendChild(title);
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 4K bytes
    - Viewed (0)
  10. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/HtmlToXmlJavadocLexerTest.groovy

        }
    
        def "closes implicit <p> element at start of block element"() {
            expect:
            parse(source) == transformed
    
            where:
            source              | transformed
            "text<p>para 2</p>" | "<p>text</p><p>para 2</p>"
            "text<h2>text</h2>" | "<p>text</p><h2>text</h2>"
        }
    
        def "does not add implicit <p> element for elements with inline content"() {
            expect:
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 6.5K bytes
    - Viewed (0)
Back to top