- Sort Score
- Num 10 results
- Language All
Results 191 - 200 of 385 for patterns (0.05 seconds)
-
api/maven-api-core/src/main/java/org/apache/maven/api/services/MessageBuilder.java
* * @param pattern a <a href="../util/Formatter.html#syntax">format string</a> * @param args arguments referenced by the format specifiers in the format string * @return the current builder */ @Nonnull default MessageBuilder format(String pattern, Object... args) { return append(String.format(pattern, args)); } /** * Set the buffer length.Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sat Nov 02 09:29:52 GMT 2024 - 7.6K bytes - Click Count (0) -
.idea/scopes/Gradle_public_API.xml
<component name="DependencyValidationManager"> <!-- The source of truth for this pattern is `build-logic/basics/src/main/kotlin/gradlebuild/basics/PublicApi.kt` file, please keep them in sync --> <scope name="Gradle public API"
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Thu Jul 18 15:08:47 GMT 2024 - 1.5K bytes - Click Count (0) -
build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/tasks/GenerateAutoTestedSamplesTestTask.kt
import org.gradle.api.tasks.Internal import org.gradle.api.tasks.OutputDirectory import org.gradle.api.tasks.PathSensitive import org.gradle.api.tasks.PathSensitivity import org.gradle.api.tasks.TaskAction import java.util.regex.Pattern import javax.inject.Inject /** * This task scans the main source set and findd samples in javadoc with `class='autoTested'`,
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Fri Dec 19 06:44:41 GMT 2025 - 3.9K bytes - Click Count (0) -
docs/ru/docs/tutorial/query-params-str-validations.md
Теперь вы знаете, что когда они понадобятся, вы сможете использовать их в **FastAPI**. ### `regex` из Pydantic v1 вместо `pattern` { #pydantic-v1-regex-instead-of-pattern } До Pydantic версии 2 и до FastAPI 0.100.0 этот параметр назывался `regex`, а не `pattern`, но сейчас он устарел. Вы всё ещё можете встретить такой код: //// tab | Pydantic v1Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 26.2K bytes - Click Count (0) -
build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/tasks/BuildReceipt.kt
private val isoTimestampFormat = newSimpleDateFormatUTC("yyyy-MM-dd HH:mm:ss z") private fun newSimpleDateFormatUTC(pattern: String) = SimpleDateFormat(pattern).apply { timeZone = TimeZone.getTimeZone("UTC") } fun readBuildReceiptFromString(buildReceipt: String) = Properties().apply { load(buildReceipt.reader()) }Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Thu Oct 16 02:21:13 GMT 2025 - 3.9K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cookie.kt
} @Suppress("NAME_SHADOWING") companion object { private val YEAR_PATTERN = Pattern.compile("(\\d{2,4})[^\\d]*") private val MONTH_PATTERN = Pattern.compile("(?i)(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec).*") private val DAY_OF_MONTH_PATTERN = Pattern.compile("(\\d{1,2})[^\\d]*") private val TIME_PATTERN = Pattern.compile("(\\d{1,2}):(\\d{1,2}):(\\d{1,2})[^\\d]*") private fun domainMatch(Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Mon May 05 16:01:00 GMT 2025 - 23.1K bytes - Click Count (0) -
docs_src/query_params_str_validations/tutorial004_an_py310.py
from typing import Annotated from fastapi import FastAPI, Query app = FastAPI() @app.get("/items/") async def read_items( q: Annotated[ str | None, Query(min_length=3, max_length=50, pattern="^fixedquery$") ] = None, ): results = {"items": [{"item_id": "Foo"}, {"item_id": "Bar"}]} if q: results.update({"q": q})
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Oct 24 20:26:06 GMT 2023 - 368 bytes - Click Count (0) -
docs/pt/docs/tutorial/query-params-str-validations.md
Agora você sabe que, sempre que precisar delas, pode usá-las no **FastAPI**. ### Pydantic v1 `regex` em vez de `pattern` { #pydantic-v1-regex-instead-of-pattern } Antes da versão 2 do Pydantic e antes do FastAPI 0.100.0, o parâmetro se chamava `regex` em vez de `pattern`, mas agora está descontinuado. Você ainda pode ver algum código usando isso: //// tab | Pydantic v1Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 18.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/PredicatesTest.java
} @GwtIncompatible // java.util.regex.Pattern public void testContains_equals() { new EqualsTester() .addEqualityGroup( Predicates.contains(Pattern.compile("foo")), Predicates.containsPattern("foo")) .addEqualityGroup(Predicates.contains(Pattern.compile("foo", Pattern.CASE_INSENSITIVE))) .addEqualityGroup(Predicates.containsPattern("bar"))
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 32.3K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/GenerateDocInfo.java
destinationDirectory.mkdirs(); Path adocDir = getDocumentationRoot().get().getAsFile().toPath(); getDocumentationFiles().getAsFileTree().matching(pattern -> pattern.include("**/*.adoc")).forEach(adocFile -> { String adocFileName = adocFile.getName(); // getting_started.adoc -> getting_started-docinfo.html
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Tue May 27 09:07:14 GMT 2025 - 3K bytes - Click Count (0)