- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 117 for get$default (0.06 seconds)
-
tests/test_annotated.py
from typing import Annotated import pytest from fastapi import APIRouter, FastAPI, Query from fastapi.testclient import TestClient app = FastAPI() @app.get("/default") async def default(foo: Annotated[str, Query()] = "foo"): return {"foo": foo} @app.get("/required") async def required(foo: Annotated[str, Query(min_length=1)]): return {"foo": foo} @app.get("/multiple")
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 9.6K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecycleExecutionPlanCalculator.java
// so fall back to the default mojo execution configurator. // mojoExecutionConfigurator = mojoExecutionConfigurators.get("default"); } return mojoExecutionConfigurator; }Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Mar 25 09:45:07 GMT 2025 - 26.7K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java
ArtifactRepositoryPolicy snapshots, ArtifactRepositoryPolicy releases) { if (repositoryLayout == null) { repositoryLayout = layouts.get("default"); } return artifactRepositoryFactory.createArtifactRepository( repositoryId, url, repositoryLayout, snapshots, releases); }Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 31.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/CrawlingConfigHelper.java
case DATA -> { final DataConfigService dataConfigService = ComponentUtil.getComponent(DataConfigService.class); yield dataConfigService.getDataConfig(id).get(); } default -> null; }; }); } catch (final Exception e) { logger.warn("Failed to access a crawling config cache: {}", configId, e); return null;Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 19.5K bytes - Click Count (1) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildPlanExecutor.java
// so fall back to the default mojo execution configurator. // mojoExecutionConfigurator = mojoExecutionConfigurators.get("default"); } return mojoExecutionConfigurator; } public static void attachToThread(MavenProject currentProject) { ClassRealm projectRealm = currentProject.getClassRealm();Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Oct 16 06:12:36 GMT 2025 - 55.1K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/OkHttpClientTest.kt
} } companion object { private val DEFAULT_PROXY_SELECTOR = ProxySelector.getDefault() private val DEFAULT_COOKIE_HANDLER = CookieManager.getDefault() private val DEFAULT_RESPONSE_CACHE = ResponseCache.getDefault() }Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Jun 18 12:28:21 GMT 2025 - 13.4K bytes - Click Count (1) -
src/test/java/org/codelibs/core/convert/CalendarConversionUtilTest.java
/** * @throws Exception */ @Before public void setUp() throws Exception { TimeZone.setDefault(TimeZone.getTimeZone("GMT")); } /** * @throws Exception */ @After public void tearDown() throws Exception { TimeZone.setDefault(null); } /** * @throws Exception */ @Test public void testToCalendar() throws Exception {Created: Sat Dec 20 08:55:33 GMT 2025 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 2.4K bytes - Click Count (0) -
src/main/java/org/codelibs/core/misc/LocaleUtil.java
*/ public static Locale getDefault() { if (defaultLocaleSupplier != null) { return defaultLocaleSupplier.get(); } return Locale.ENGLISH; } /** * Sets the default locale supplier. * * @param localeSupplier * the supplier for the default locale */ public static void setDefault(final Supplier<Locale> localeSupplier) {Created: Sat Dec 20 08:55:33 GMT 2025 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 2.2K bytes - Click Count (0) -
src/main/java/jcifs/smb/NtlmAuthenticator.java
*/ public synchronized static void setDefault(final NtlmAuthenticator a) { if (auth != null) { return; } auth = a; } /** * Gets the default NTLM authenticator. * @return the default authentication credentials provider */ public static NtlmAuthenticator getDefault() { return auth; } /**Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4.4K bytes - Click Count (0) -
compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionTest.java
} @Test void testLocaleIndependent() { Locale orig = Locale.getDefault(); Locale[] locales = {Locale.ENGLISH, new Locale("tr"), Locale.getDefault()}; try { for (Locale locale : locales) { Locale.setDefault(locale); checkVersionsEqual("1-abcdefghijklmnopqrstuvwxyz", "1-ABCDEFGHIJKLMNOPQRSTUVWXYZ"); }Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Mar 21 04:56:21 GMT 2025 - 17.8K bytes - Click Count (0)