- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 87 for get$default (0.06 seconds)
-
src/test/java/org/codelibs/fess/validation/CustomSizeTest.java
private interface AnotherTestGroup { } private static class AnotherTestPayload implements Payload { } // Helper methods to get default values private String getDefaultMessage() { try { final Method method = CustomSize.class.getMethod("message"); final Object defaultValue = method.getDefaultValue();Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 17.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/validation/UriTypeTest.java
assertEquals("Same annotation should have same hashCode", annotation1.hashCode(), annotation1Copy.hashCode()); } // Helper methods to get default values private String getDefaultMessage() { try { final Method method = UriType.class.getMethod("message"); final Object defaultValue = method.getDefaultValue();
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 21.3K bytes - Click Count (0) -
tests/test_annotated.py
from typing import Annotated import pytest from fastapi import APIRouter, FastAPI, Query from fastapi.testclient import TestClient from inline_snapshot import snapshot 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 Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 08 10:18:38 GMT 2026 - 10.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/AtomicDoubleTest.java
} /** constructor initializes to given value */ public void testConstructor() { for (double x : VALUES) { AtomicDouble a = new AtomicDouble(x); assertBitEquals(x, a.get()); } } /** default constructed initializes to zero */ public void testConstructor2() { AtomicDouble a = new AtomicDouble(); assertBitEquals(0.0, a.get()); } /** get returns the last value set */
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 10.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 Apr 05 03:35:12 GMT 2026 - 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 Apr 05 03:35:12 GMT 2026 - 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: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 19.5K bytes - Click Count (1) -
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 Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 13.4K bytes - Click Count (1) -
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 Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Mar 21 04:56:21 GMT 2025 - 17.8K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/ServerMessageBlockTest.java
TimeZone original = TimeZone.getDefault(); try { TimeZone.setDefault(TimeZone.getTimeZone("UTC")); ServerMessageBlock.writeUTime(unixTime * 1000L, buffer, 0); long readTime = ServerMessageBlock.readUTime(buffer, 0); assertEquals(unixTime * 1000L, readTime); } finally { TimeZone.setDefault(original); } } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.9K bytes - Click Count (0)