Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for findAll (0.18 sec)

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

        def transformWebsiteLinks(Document doc) {
            findAll(doc, 'ulink').each { Element element ->
                String url = element.'@url'
                if (url.startsWith('website:')) {
                    url = url.substring(8)
                    url = "${websiteUrl.get()}/${url}"
                    element.setAttribute('url', url)
                }
            }
        }
    
        static def findAll(Document doc, String byName) {
    Groovy
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 5.6K bytes
    - Viewed (0)
  2. docs/sts/client_grants/sts_element.py

                        root_name, error.message
                    )
                )
    
        def findall(self, name):
            """Similar to ElementTree.Element.findall()
    
            """
            return [
                STSElement(self.root_name, elem)
                for elem in self.element.findall('sts:{}'.format(name), _STS_NS)
            ]
    
        def find(self, name):
            """Similar to ElementTree.Element.find()
    
    Python
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Apr 23 18:58:53 GMT 2021
    - 2.5K bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/MethodsRemovedInInternalSuperClassRule.groovy

            }
    
            result.addAll(c.declaredMethods.findAll { isPublicApi(it) })
    
            collect(result, c.superclass)
        }
    
        private boolean isPublicApi(CtMethod method) {
            return Modifier.isPublic(method.modifiers) || Modifier.isProtected(method.modifiers)
        }
    
        private List<String> filterChangesToReport(CtClass c, Set<CtMethod> methods) {
            return methods.findAll { isFirstPublicClassInHierarchy(it, c) }*.longName.sort()
    Groovy
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Thu Oct 06 19:15:15 GMT 2022
    - 3.7K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/it/admin/dict/DictCrudTestBase.java

                    return;
                }
            }
    
            fail();
        }
    
        @Override
        protected String getJsonPath() {
            return "response." + LIST_ENDPOINT_SUFFIX + ".findAll {it." + getKeyProperty() + ".startsWith(\"" + getNamePrefix() + "\")}";
        }
    
        @Override
        protected List<String> getIdList(final Map<String, Object> body) {
    Java
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/DslDocModel.groovy

            docBuilder = new ClassDocBuilder(this, javadocConverter)
        }
    
        Collection<gradlebuild.docs.dsl.docbook.model.ClassDoc> getClasses() {
            return classes.values().findAll { !it.name.contains('.internal.') }
        }
    
        boolean isKnownType(String className) {
            return classMetaData.find(className) != null
        }
    
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 4.9K bytes
    - Viewed (0)
  6. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/IncubatingInternalInterfaceAddedRule.groovy

                collect(result, c.superclass)
            }
        }
    
        private List<String> filterChangesToReport(CtClass c, Map<String, CtClass> interfaces) {
            return interfaces.values().findAll { implementedDirectly(it, c) && addedInterfaceIsIncubatingOrInternal(it, c) }*.name.sort()
        }
    
        private boolean implementedDirectly(CtClass interf, CtClass c) {
            return c.interfaces.any { it.name == interf.name }
    Groovy
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Thu Oct 06 19:15:15 GMT 2022
    - 2.8K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/it/admin/WebAuthTests.java

            searchBody.put("name", "test_webconfig");
            String res = checkMethodBase(searchBody).get("/api/admin/webconfig/settings").asString();
            List<String> webConfigList = JsonPath.from(res).getList("response.settings.findAll {it.name.startsWith(\"test_webconfig\")}.id");
            return webConfigList.get(0);
        }
    
        @AfterEach
        void deleteWebConfig() {
            final Map<String, Object> searchBody = new HashMap<>();
    Java
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/it/admin/FileAuthTests.java

            searchBody.put("name", "test_fileconfig");
            String res = checkMethodBase(searchBody).get("/api/admin/fileconfig/settings").asString();
            List<String> fileConfigList = JsonPath.from(res).getList("response.settings.findAll {it.name.startsWith(\"test_fileconfig\")}.id");
            return fileConfigList.get(0);
        }
    
        @AfterEach
        void deleteFileConfig() {
            final Map<String, Object> searchBody = new HashMap<>();
    Java
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  9. build-logic/documentation/src/test/groovy/gradlebuild/docs/XmlSpecification.groovy

                    Attr attr = element.attributes.item(i)
                    target.append(" $attr.name=\"$attr.value\"")
                }
    
                element.childNodes.findAll { it instanceof Text }.each {
                    assert it.textContent != null : "Found null text element in <$element.tagName>"
                }
    
                List<Node> trimmedContent = element.childNodes.collect { it };
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 4.1K bytes
    - Viewed (0)
  10. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/model/ClassDoc.groovy

            }
            return table
        }
    
        private Element getSection(String title) {
            def sections = classSection.section.findAll {
                it.title[0] && it.title[0].text().trim() == title
            }
            if (sections.size() < 1) {
                throw new RuntimeException("Docbook content for $className does not contain a '$title' section.")
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 6.2K bytes
    - Viewed (0)
Back to top