- Sort Score
- Num 10 results
- Language All
Results 1151 - 1160 of 9,038 for Switch (0.07 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenSessionBuilderSupplier.java
* or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 *
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sat Mar 28 11:22:05 GMT 2026 - 8.1K bytes - Click Count (0) -
tests/test_response_model_invalid.py
class NonPydanticModel: pass def test_invalid_response_model_raises(): with pytest.raises(FastAPIError): app = FastAPI() @app.get("/", response_model=NonPydanticModel) def read_root(): pass # pragma: nocover def test_invalid_response_model_sub_type_raises(): with pytest.raises(FastAPIError): app = FastAPI()Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 1.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/exception/DataStoreException.java
* This is a system-level exception that indicates problems with data store * configuration, connectivity, or data processing. */ public class DataStoreException extends FessSystemException { private static final long serialVersionUID = 1L; /** * Creates a new DataStoreException with the specified message and cause. * * @param message the error messageCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 1.7K bytes - Click Count (0) -
tests/test_dependency_after_yield_websockets.py
session = Session() try: yield session finally: session.open = False def dep_session() -> Any: with acquire_session() as s: yield s def broken_dep_session() -> Any: with acquire_session() as s: s.open = False yield s SessionDep = Annotated[Session, Depends(dep_session)]
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 2K bytes - Click Count (0) -
docs_src/response_model/tutorial003_02_py310.py
app = FastAPI() @app.get("/portal") async def get_portal(teleport: bool = False) -> Response: if teleport: return RedirectResponse(url="https://www.youtube.com/watch?v=dQw4w9WgXcQ")
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 381 bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/InterpolatorException.java
* or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 *
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Sep 25 21:57:56 GMT 2025 - 2.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/exception/GsaConfigException.java
* This exception extends FessSystemException and is used to handle specific * configuration-related issues when working with GSA integration. * */ public class GsaConfigException extends FessSystemException { private static final long serialVersionUID = 1L; /** * Constructs a new GSA configuration exception with the specified detail message and cause. *Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 1.6K bytes - Click Count (0) -
src/test/java/jcifs/pac/PACDecodingExceptionTest.java
assertNull(e.getCause()); } /** * Test the constructor with a cause. */ @Test void testCauseConstructor() { Throwable cause = new RuntimeException("Root cause"); PACDecodingException e = new PACDecodingException(cause); // When constructed with only a cause, the implementation passes (null, cause) to super
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 2K bytes - Click Count (0) -
tests/test_exception_handlers.py
assert response.json() == {"exception": "server-error"} def test_traceback_for_dependency_with_yield(): client = TestClient(app, raise_server_exceptions=True) with pytest.raises(ValueError) as exc_info: client.get("/dependency-with-yield") last_frame = exc_info.traceback[-1] assert str(last_frame.path) == __file__
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Dec 03 22:37:12 GMT 2024 - 2.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/taglib/FessFunctions.java
return file.exists(); } /** * Generates a complete URL with context path and cache-busting timestamp. * * @param input the relative URL path starting with '/' * @return complete URL with context path and optional timestamp parameter * @throws IllegalArgumentException if input is null or doesn't start with '/' */ public static String url(final String input) {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 25.4K bytes - Click Count (1)