- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 185 for VALID (0.03 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
tests/test_serialize_response_model.py
app = FastAPI() class Item(BaseModel): name: str = Field(alias="aliased_name") price: float | None = None owner_ids: list[int] | None = None @app.get("/items/valid", response_model=Item) def get_valid(): return Item(aliased_name="valid", price=1.0) @app.get("/items/coerce", response_model=Item) def get_coerce(): return Item(aliased_name="coerce", price="1.0")
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 4.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/app/web/admin/design/AdminDesignActionTest.java
assertTrue("Empty path should be valid (default host)", result); } @Test public void test_isValidVirtualHostPath_nullPath() throws Exception { setupVirtualHostHelper(); Boolean result = invokeIsValidVirtualHostPath(null); assertTrue("Null path should be valid (default host)", result); } @Test
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 13.6K bytes - Click Count (0) -
android/guava/src/com/google/common/net/InternetDomainName.java
/** * Validation method used by {@code from} to ensure that the domain name is syntactically valid * according to RFC 1035. * * @return Is the domain name syntactically valid? */ private static boolean validateSyntax(List<String> parts) { int lastIndex = parts.size() - 1; // Validate the last part specially, as it has different syntax rules. if (!validatePart(parts.get(lastIndex), true)) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 21:21:59 GMT 2026 - 26.2K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2.kt
/** Lookup table for valid frame types. */ private val FRAME_NAMES = arrayOf( "DATA", "HEADERS", "PRIORITY", "RST_STREAM", "SETTINGS", "PUSH_PROMISE", "PING", "GOAWAY", "WINDOW_UPDATE", "CONTINUATION", ) /** * Lookup table for valid flags for DATA, HEADERS, CONTINUATION. Invalid combinations areCreated: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 5.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/validation/CustomSizeValidatorTest.java
final CustomSize validAnnotation = createBasicAnnotation(); try { validator.initialize(validAnnotation); assertTrue("Valid annotation should initialize successfully", true); } catch (final IllegalArgumentException e) { fail("Valid annotation should not cause IllegalArgumentException: " + e.getMessage()); } } @Test public void test_isValid_basic() {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 5.4K bytes - Click Count (0) -
utils/utils_test.go
{"error not equal", errors.New("1"), errors.New("2"), false}, {"driver.Valuer equal", ModifyAt{Time: now, Valid: true}, ModifyAt{Time: now, Valid: true}, true}, {"driver.Valuer not equal", ModifyAt{Time: now, Valid: true}, ModifyAt{Time: now.Add(time.Second), Valid: true}, false}, {"driver.Valuer equal (ptr to nil ptr)", (*ModifyAt)(nil), &ModifyAt{}, false}, } for _, test := range assertEqualTests {Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Mar 21 11:31:30 GMT 2026 - 5.5K bytes - Click Count (0) -
tests/test_stream_json_validation_error.py
@app.get("/items/stream-invalid") async def stream_items_invalid() -> AsyncIterable[Item]: yield {"name": "valid", "price": 1.0} yield {"name": "invalid", "price": "not-a-number"} @app.get("/items/stream-invalid-sync") def stream_items_invalid_sync() -> Iterable[Item]: yield {"name": "valid", "price": 1.0} yield {"name": "invalid", "price": "not-a-number"} client = TestClient(app)
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Feb 27 18:56:47 GMT 2026 - 991 bytes - Click Count (0) -
src/test/java/org/codelibs/fess/crawler/FessCrawlerThreadTest.java
FessCrawlerThread crawlerThread = new FessCrawlerThread(); Set<RequestData> result = crawlerThread.getAnchorSet("http://example.com"); assertNotNull(result, "getAnchorSet should not return null for valid string"); assertEquals(1, result.size()); RequestData requestData = result.iterator().next(); assertEquals("http://example.com", requestData.getUrl()); } /**
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 9.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/filter/CorsFilterTest.java
corsFilter.doFilter(mockRequest, mockResponse, mockFilterChain); assertTrue(mockFilterChain.wasDoFilterCalled()); assertFalse(corsHandlerFactory.wasGetCalled()); } // Test with valid Origin but no CorsHandler found @Test public void test_doFilter_noCorsHandler() throws IOException, ServletException { mockRequest.setHeader("Origin", "http://example.com");Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 21 06:04:58 GMT 2026 - 22.6K bytes - Click Count (0) -
android/guava/src/com/google/common/cache/ReferenceEntry.java
import org.jspecify.annotations.Nullable; /** * An entry in a reference map. * * <p>Entries in the map can be in the following states: * * <p>Valid: * * <ul> * <li>Live: valid key/value are set * <li>Loading: loading is pending * </ul> * * <p>Invalid: * * <ul> * <li>Expired: time expired (key/value may still be set)
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 13:13:59 GMT 2026 - 3.5K bytes - Click Count (0)