- Sort Score
- Result 10 results
- Languages All
Results 191 - 200 of 1,466 for round (0.02 sec)
-
src/test/java/jcifs/NameServiceClientTest.java
// Arrange NetbiosAddress inputAddress = mock(NetbiosAddress.class); when(nameServiceClient.getNbtAllByAddress(inputAddress)).thenThrow(new UnknownHostException("Host not found")); // Act & Assert assertThrows(UnknownHostException.class, () -> nameServiceClient.getNbtAllByAddress(inputAddress)); verify(nameServiceClient, times(1)).getNbtAllByAddress(inputAddress); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.4K bytes - Viewed (0) -
docs_src/sql_databases/tutorial002_py310.py
raise HTTPException(status_code=404, detail="Hero not found") return hero @app.patch("/heroes/{hero_id}", response_model=HeroPublic) def update_hero( hero_id: int, hero: HeroUpdate, session: Session = Depends(get_session) ): hero_db = session.get(Hero, hero_id) if not hero_db: raise HTTPException(status_code=404, detail="Hero not found") hero_data = hero.model_dump(exclude_unset=True)
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Oct 09 19:44:42 UTC 2024 - 2.5K bytes - Viewed (0) -
cmd/storage-errors.go
var errCorruptedBackend = StorageErr("corrupted backend") // errUnformattedDisk - unformatted disk found. var errUnformattedDisk = StorageErr("unformatted drive found") // errInconsistentDisk - inconsistent disk found. var errInconsistentDisk = StorageErr("inconsistent drive found") // errUnsupporteDisk - when disk does not support O_DIRECT flag.
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Thu Apr 04 12:04:40 UTC 2024 - 6.4K bytes - Viewed (0) -
tests/test_starlette_exception.py
items = {"foo": "The Foo Wrestlers"} @app.get("/items/{item_id}") async def read_item(item_id: str): if item_id not in items: raise HTTPException( status_code=404, detail="Item not found", headers={"X-Error": "Some custom header"}, ) return {"item": items[item_id]} @app.get("/http-no-body-statuscode-exception") async def no_body_status_code_exception():Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 7.4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/SystemUtil.java
* * @param key the property key * @return the property value, or null if not found */ public static String getProperty(String key) { return System.getProperty(key); } /** * Returns the system property value for the specified key, or the default value if not found. * * @param key the property key * @param defaultValue the default valueRegistered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 3.6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/ClassUtil.java
* <p> * Returns {@code null} if the class cannot be found. * </p> * * @param <T> * The class represented by the returned {@link Class} object * @param className * The fully qualified name of the desired class * @return The {@link Class} object for the class with the specified name, or {@code null} if not found * @see Class#forName(String) */Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 25.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/error/ErrorNotfoundAction.java
import org.lastaflute.web.Execute; import org.lastaflute.web.response.HtmlResponse; /** * Action class for handling HTTP 404 Not Found error pages. * This action displays error pages when the requested resource * cannot be found on the server. */ public class ErrorNotfoundAction extends FessSearchAction { /** * Default constructor for ErrorNotfoundAction. */Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 2.1K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/FindMissingDocumentationFiles.java
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Thu Aug 21 15:38:58 UTC 2025 - 8.5K bytes - Viewed (0) -
guava/src/com/google/common/io/Resources.java
URL url = loader.getResource(resourceName); checkArgument(url != null, "resource %s not found.", resourceName); return url; } /** * Given a {@code resourceName} that is relative to {@code contextClass}, returns a {@code URL} * pointing to the named resource. * * @throws IllegalArgumentException if the resource is not found */ @CanIgnoreReturnValue // being used to check if a resource exists
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 7.4K bytes - Viewed (0) -
docs_src/sql_databases/tutorial002_py39.py
raise HTTPException(status_code=404, detail="Hero not found") return hero @app.patch("/heroes/{hero_id}", response_model=HeroPublic) def update_hero( hero_id: int, hero: HeroUpdate, session: Session = Depends(get_session) ): hero_db = session.get(Hero, hero_id) if not hero_db: raise HTTPException(status_code=404, detail="Hero not found") hero_data = hero.model_dump(exclude_unset=True)
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Oct 09 19:44:42 UTC 2024 - 2.6K bytes - Viewed (0)