- Sort Score
- Result 10 results
- Languages All
Results 2761 - 2770 of 3,853 for Hint (0.02 sec)
-
tests/test_dependency_security_overrides.py
return [1, 2, 3] def get_data_override(): return [3, 4, 5] @app.get("/user") def read_user( user_data: Tuple[str, List[str]] = Security(get_user, scopes=["foo", "bar"]), data: List[int] = Depends(get_data), ): return {"user": user_data[0], "scopes": user_data[1], "data": data} client = TestClient(app) def test_normal(): response = client.get("/user")
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Jun 14 15:54:46 UTC 2020 - 1.4K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/-ChallengeCommon.kt
import okhttp3.Challenge fun Challenge.commonEquals(other: Any?): Boolean { return other is Challenge && other.scheme == scheme && other.authParams == authParams } fun Challenge.commonHashCode(): Int { var result = 29 result = 31 * result + scheme.hashCode() result = 31 * result + authParams.hashCode() return result }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.1K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/XmlTransformer.java
for (int i = 0; i < nnm.getLength(); i++) { final Node attr = nnm.item(i); final String aname = attr.getNodeName(); final boolean isPrefix = aname.startsWith("xmlns:"); if (isPrefix || "xmlns".equals(aname)) { final int index = aname.indexOf(':');
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Sat Oct 12 01:41:37 UTC 2024 - 17.9K bytes - Viewed (0) -
.github/actions/people/app/main.py
class Comments(BaseModel): nodes: List[CommentsNode] class DiscussionsComments(BaseModel): nodes: List[DiscussionsCommentsNode] class DiscussionsNode(BaseModel): number: int author: Union[Author, None] = None title: str createdAt: datetime comments: DiscussionsComments class DiscussionsEdge(BaseModel): cursor: str node: DiscussionsNode
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Aug 17 04:13:50 UTC 2024 - 19.2K bytes - Viewed (1) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/AbstractModelInterpolatorTest.java
assertEquals(0, collector.getFatals().size(), "Expected no fatals"); } protected void assertCollectorState( int numFatals, int numErrors, int numWarnings, SimpleProblemCollector collector) { assertEquals(numErrors, collector.getErrors().size(), "Errors"); assertEquals(numWarnings, collector.getWarnings().size(), "Warnings");
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 22.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/storage/AdminStorageAction.java
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 19.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/CollectionTestSuiteBuilder.java
} @Override public Collection<E> create(Object... elements) { return SerializableTester.reserialize(gen.create(elements)); } @Override public E[] createArray(int length) { return gen.createArray(length); } @Override public Iterable<E> order(List<E> insertionOrder) { return gen.order(insertionOrder); } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Aug 18 22:49:45 UTC 2021 - 3.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/TestContainerGenerator.java
*/ T create(Object... elements); /** * Helper method to create an array of the appropriate type used by this generator. The returned * array will contain only nulls. */ E[] createArray(int length); /** * Returns the iteration ordering of elements, given the order in which they were added to the * container. This method may return the original list unchanged, the original list modified in
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 2.4K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/util/concurrent/testing/TestingExecutorsTest.java
} }; Future<Integer> future = TestingExecutors.sameThreadScheduledExecutor().schedule(task, 10000, MILLISECONDS); assertTrue("Should run callable immediately", taskDone); assertEquals(6, (int) future.get()); } public void testSameThreadScheduledExecutorWithException() throws InterruptedException { Runnable runnable = new Runnable() { @Override public void run() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 3.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/TablesTransformValuesTest.java
}; @Override protected Table<String, Integer, Character> create(@Nullable Object... data) { Table<String, Integer, String> table = HashBasedTable.create(); checkArgument(data.length % 3 == 0); for (int i = 0; i < data.length; i += 3) { String value = (data[i + 2] == null) ? null : (data[i + 2] + "transformed"); table.put((String) data[i], (Integer) data[i + 1], value); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 3.1K bytes - Viewed (0)