- Sort Score
- Num 10 results
- Language All
Results 2011 - 2020 of 4,666 for inT (0.06 seconds)
-
docs_src/dependency_testing/tutorial001_an_py310.py
from typing import Annotated from fastapi import Depends, FastAPI from fastapi.testclient import TestClient 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: Annotated[dict, Depends(common_parameters)]): return {"message": "Hello Items!", "params": commons}
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Mar 18 12:29:59 GMT 2023 - 1.5K bytes - Click Count (0) -
docs_src/dependencies/tutorial002_an_py310.py
app = FastAPI() fake_items_db = [{"item_name": "Foo"}, {"item_name": "Bar"}, {"item_name": "Baz"}] class CommonQueryParams: def __init__(self, q: str | None = None, skip: int = 0, limit: int = 100): self.q = q self.skip = skip self.limit = limit @app.get("/items/") async def read_items(commons: Annotated[CommonQueryParams, Depends(CommonQueryParams)]): response = {}
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Mar 18 12:29:59 GMT 2023 - 664 bytes - Click Count (0) -
guava-tests/test/com/google/common/primitives/TestPlatform.java
package com.google.common.primitives; import com.google.common.annotations.GwtCompatible; import org.jspecify.annotations.NullUnmarked; @GwtCompatible @NullUnmarked final class TestPlatform { static int reduceIterationsIfGwt(int iterations) { return iterations; } private TestPlatform() {}Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Aug 10 19:54:19 GMT 2025 - 907 bytes - Click Count (0) -
src/test/java/jcifs/internal/dfs/DfsReferralDataInternalTest.java
void testGetPathConsumed() { int pathConsumed = 20; // Test with mock when(mockReferralData.getPathConsumed()).thenReturn(pathConsumed); assertEquals(pathConsumed, mockReferralData.getPathConsumed()); verify(mockReferralData, times(1)).getPathConsumed(); // Test with concrete implementation
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 28.2K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/AddressPolicy.kt
*/ @JvmField val minimumConcurrentCalls: Int = 0, /** How long to wait to retry pre-emptive connection attempts that fail. */ @JvmField val backoffDelayMillis: Long = 60 * 1000, /** How much jitter to introduce in connection retry backoff delays */ @JvmField val backoffJitterMillis: Int = 100,
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jun 03 17:10:08 GMT 2025 - 1.3K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/TestMultimapGenerator.java
@NullMarked public interface TestMultimapGenerator< K extends @Nullable Object, V extends @Nullable Object, M extends Multimap<K, V>> extends TestContainerGenerator<M, Entry<K, V>> { K[] createKeyArray(int length); V[] createValueArray(int length); SampleElements<K> sampleKeys(); SampleElements<V> sampleValues(); Collection<V> createCollection(Iterable<? extends V> values);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 1.5K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/google/TestMultimapGenerator.java
@NullMarked public interface TestMultimapGenerator< K extends @Nullable Object, V extends @Nullable Object, M extends Multimap<K, V>> extends TestContainerGenerator<M, Entry<K, V>> { K[] createKeyArray(int length); V[] createValueArray(int length); SampleElements<K> sampleKeys(); SampleElements<V> sampleValues(); Collection<V> createCollection(Iterable<? extends V> values);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 1.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/ByteSourceTester.java
Random random = new Random(); byte[] expected = factory.getExpected(bytes); // if expected.length == 0, off has to be 0 but length doesn't matter--result will be empty int off = expected.length == 0 ? 0 : random.nextInt(expected.length); int len = expected.length == 0 ? 4 : random.nextInt(expected.length - off); ByteSourceFactory sliced = SourceSinkFactories.asSlicedByteSourceFactory(factory, off, len);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 8.6K bytes - Click Count (0) -
src/main/java/org/codelibs/core/beans/MethodDesc.java
* * @param index * the index of the parameter * @return {@literal true} if the parameter type at the specified index is parameterized */ boolean isParameterized(int index); /** * Returns {@literal true} if the return type is parameterized. * * @return {@literal true} if the return type is parameterized */ boolean isParameterized();Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 5.9K bytes - Click Count (0) -
src/test/java/jcifs/SmbResourceLocatorTest.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8K bytes - Click Count (0)