- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 102 for get$default (0.23 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_dump_json_fast_path.py
from fastapi.testclient import TestClient from pydantic import BaseModel class Item(BaseModel): name: str price: float app = FastAPI() @app.get("/default") def get_default() -> Item: return Item(name="widget", price=9.99) @app.get("/explicit", response_class=JSONResponse) def get_explicit() -> Item: return Item(name="widget", price=9.99)
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 22 16:07:19 GMT 2026 - 1.4K 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) -
android/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 - 7.3K 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) -
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 Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Oct 16 06:12:36 GMT 2025 - 55.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessUserTimeZoneProcessProviderTest.java
assertEquals(TimeZone.getDefault(), result); } // Test getRequestedTimeZone() with different default time zone @Test public void test_getRequestedTimeZone_withDifferentDefaultTimeZone() { // Store original time zone TimeZone originalTimeZone = TimeZone.getDefault(); try { // Change default time zone temporarily
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 7.2K 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 Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 13.4K bytes - Click Count (1)