Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for FindAll (0.04 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) {
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Fri May 16 07:58:02 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  2. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/AcceptedViolationsProvider.groovy

        }
    
        Map<String, String> get() {
            if (acceptedViolations == null) {
                acceptedViolations = AcceptedApiChanges.parse(
                    acceptedViolationsDir.listFiles()
                        .findAll { it.name.endsWith(".json") }
                        .collect { it.text }
                ).toAcceptedChangesMap()
            }
            return acceptedViolations
        }
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Tue Dec 30 10:14:25 UTC 2025
    - 1.3K 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()
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Dec 24 14:15:15 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  4. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/CleanAcceptedApiChanges.groovy

        @TaskAction
        void clean() {
            def jsonFileManager = new AcceptedApiChangesJsonFileManager()
            jsonFileDirectory.asFile.get().listFiles()
                ?.findAll { it.name.endsWith(".json") }
                ?.each { jsonFileManager.emptyAcceptedApiChanges(it) }
        }
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Jun 05 08:27:29 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  5. fastapi/utils.py

            return True
        current_status_code = int(status_code)
        return not (current_status_code < 200 or current_status_code in {204, 205, 304})
    
    
    def get_path_param_names(path: str) -> set[str]:
        return set(re.findall("{(.*?)}", path))
    
    
    _invalid_args_message = (
        "Invalid args for response field! Hint: "
        "check that {type_} is a valid Pydantic field type. "
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  6. .github/workflows/CheckBadMerge.groovy

            if (p1Branches.contains("origin/master") && !p2Branches.contains("origin/master") && p2Branches.any { it.startsWith("origin/release") }) {
                List<String> badFiles = filesFromMerge(commit).findAll {gitFile -> MONITORED_PATHS.any { forbiddenPath -> gitFile.startsWith(forbiddenPath)} }
                if (!badFiles.empty) {
                    System.err.println("Found bad files in merge commit $commit, run the listed commands:")
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Fri Jan 24 10:03:31 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  7. build-logic/buildquality/src/main/kotlin/gradlebuild/incubation/action/IncubatingApiReportWorkAction.kt

                    }
            }
            return versionsToIncubating
        }
    
        private
        fun CompilationUnit.findAllIncubating() =
            findAll(Node::class.java).filter { it.isIncubating }
    
        private
        val Node.isIncubating: Boolean
            get() = (this as? NodeWithAnnotations<*>)?.annotations?.any { it.nameAsString == "Incubating" } ?: false
    
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Mon Jun 02 09:57:54 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  8. okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt

         */
        @JvmStatic
        fun decode(certificateAndPrivateKeyPem: String): HeldCertificate {
          var certificatePem: String? = null
          var pkcs8Base64: String? = null
          for (match in PEM_REGEX.findAll(certificateAndPrivateKeyPem)) {
            when (val label = match.groups[1]!!.value) {
              "CERTIFICATE" -> {
                require(certificatePem == null) { "string includes multiple certificates" }
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 21.6K bytes
    - Viewed (0)
  9. tests/query_test.go

    	if err := DB.Where("name = ?", "find").Find(&all).Error; err != nil || len(all) != 3 {
    		t.Errorf("errors happened when query find: %v, length: %v", err, len(all))
    	} else {
    		for idx, user := range users {
    			t.Run("FindAll#"+strconv.Itoa(idx+1), func(t *testing.T) {
    				CheckUser(t, all[idx], user)
    			})
    		}
    	}
    
    	t.Run("FirstMap", func(t *testing.T) {
    		first := map[string]interface{}{}
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Tue Jul 22 06:21:04 UTC 2025
    - 51K bytes
    - Viewed (0)
Back to top