- Sort Score
- Result 10 results
- Languages All
Results 1501 - 1510 of 4,245 for get3 (0.02 sec)
-
docs_src/dependencies/tutorial001_py310.py
app = FastAPI() async def common_parameters(q: str | None = None, skip: int = 0, limit: int = 100): return {"q": q, "skip": skip, "limit": limit} @app.get("/items/") async def read_items(commons: dict = Depends(common_parameters)): return commons @app.get("/users/") async def read_users(commons: dict = Depends(common_parameters)):
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Jan 07 14:11:31 UTC 2022 - 404 bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/MemoryUtil.java
import java.util.Map; import java.util.Objects; /** * Utility class for memory operations and size calculations. */ public final class MemoryUtil { private MemoryUtil() { } /** * Gets a formatted memory usage log string. * * @return formatted memory usage information */ public static String getMemoryUsageLog() { final Runtime runtime = Runtime.getRuntime();Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 5.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/RdmaProvider.java
*/ RdmaMemoryRegion registerMemory(ByteBuffer buffer, EnumSet<RdmaAccess> access) throws IOException; /** * Get provider name (e.g., "InfiniBand", "iWARP", "RoCE", "TCP Fallback") * * @return human-readable provider name */ String getProviderName(); /** * Get maximum message size supported by this provider * * @return maximum message size in bytes */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 3K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/ListenableFutureTester.java
assertEquals(expectedValue, future.get()); } public void testCancelledFuture() throws InterruptedException, ExecutionException { assertTrue(future.isDone()); assertTrue(future.isCancelled()); assertTrue(latch.await(5, SECONDS)); assertTrue(future.isDone()); assertTrue(future.isCancelled()); assertThrows(CancellationException.class, () -> future.get()); }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 3.3K bytes - Viewed (0) -
docs_src/path_params_numeric_validations/tutorial001_an_py39.py
from typing import Annotated, Union from fastapi import FastAPI, Path, Query app = FastAPI() @app.get("/items/{item_id}") async def read_items( item_id: Annotated[int, Path(title="The ID of the item to get")], q: Annotated[Union[str, None], Query(alias="item-query")] = None, ): results = {"item_id": item_id} if q: results.update({"q": q})
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 388 bytes - Viewed (0) -
docs_src/security/tutorial003_an_py310.py
raise HTTPException(status_code=400, detail="Inactive user") return current_user @app.post("/token") async def login(form_data: Annotated[OAuth2PasswordRequestForm, Depends()]): user_dict = fake_users_db.get(form_data.username) if not user_dict: raise HTTPException(status_code=400, detail="Incorrect username or password") user = UserInDB(**user_dict) hashed_password = fake_hash_password(form_data.password)
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Nov 24 19:03:06 UTC 2025 - 2.5K bytes - Viewed (0) -
ci/official/containers/ml_build/setup.sources.sh
# # Sets up custom apt sources for our TF images. # Prevent apt install tzinfo from asking our location (assumes UTC) export DEBIAN_FRONTEND=noninteractive # Set up shared custom sources apt-get update apt-get install -y gnupg ca-certificates # Deadsnakes: https://launchpad.net/~deadsnakes/+archive/ubuntu/ppa apt-key adv --keyserver keyserver.ubuntu.com --recv-keys F23C5A6CF475977595C89F51BA6932366A755776
Registered: Tue Dec 30 12:39:10 UTC 2025 - Last Modified: Thu Oct 03 21:13:05 UTC 2024 - 1.6K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/KotlinModifiersBreakingChangeRule.groovy
return null } JApiMethod method = (JApiMethod) member def metadata = KotlinMetadataQueries.INSTANCE def oldMethod = method.oldMethod.get() def newMethod = method.newMethod.get() def oldIsOperator = metadata.isKotlinOperatorFunction(oldMethod) def newIsOperator = metadata.isKotlinOperatorFunction(newMethod)Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Thu Oct 06 19:15:15 UTC 2022 - 2.4K bytes - Viewed (0) -
okhttp-java-net-cookiejar/src/main/kotlin/okhttp3/java/net/cookiejar/JavaNetCookieJar.kt
} catch (e: IOException) { Platform.get().log("Saving cookies failed for " + url.resolve("/...")!!, WARN, e) } } override fun loadForRequest(url: HttpUrl): List<Cookie> { val cookieHeaders = try { // The RI passes all headers. We don't have 'em, so we don't pass 'em! cookieHandler.get(url.toUri(), emptyMap<String, List<String>>()) } catch (e: IOException) {
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat May 10 11:15:14 UTC 2025 - 3.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/net/HttpHeadersTest.java
} } // Tests that there are no duplicate HTTP header names public void testNoDuplicateFields() throws Exception { ImmutableList.Builder<String> httpHeaders = ImmutableList.builder(); for (Field field : httpHeadersFields()) { httpHeaders.add((String) field.get(null)); } assertThat(httpHeaders.build()).containsNoDuplicates();
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 3.9K bytes - Viewed (0)