- Sort Score
- Result 10 results
- Languages All
Results 6861 - 6870 of 7,200 for RETURN (0.14 sec)
-
impl/maven-core/src/test/java/org/apache/maven/internal/transformation/impl/ConsumerPomBuilderTest.java
new DefaultDependencyCoordinatesFactory(), new DefaultVersionParser(new DefaultModelVersionParser(new MavenVersionScheme())), dependencyResolver)); return services; } @Test void testTrivialConsumer() throws Exception { InternalMavenSession.from(InternalSession.from(session)) .getMavenSession() .getRequest()
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Nov 06 18:32:25 UTC 2025 - 7.2K bytes - Viewed (0) -
docs/zh/docs/tutorial/dependencies/sub-dependencies.md
在高级使用场景中,如果不想使用「缓存」值,而是为需要在同一请求的每一步操作(多次)中都实际调用依赖项,可以把 `Depends` 的参数 `use_cache` 的值设置为 `False` : ```Python hl_lines="1" async def needy_dependency(fresh_value: str = Depends(get_value, use_cache=False)): return {"fresh_value": fresh_value} ``` ## 小结 千万别被本章里这些花里胡哨的词藻吓倒了,其实**依赖注入**系统非常简单。 依赖注入无非是与*路径操作函数*一样的函数罢了。 但它依然非常强大,能够声明任意嵌套深度的「图」或树状的依赖结构。 /// tip | 提示 这些简单的例子现在看上去虽然没有什么实用价值,
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 3.2K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/util/CharUtilTest.java
assertFalse(CharUtil.isUrlChar(' ')); // space assertFalse(CharUtil.isUrlChar('\t')); // tab assertFalse(CharUtil.isUrlChar('\n')); // newline assertFalse(CharUtil.isUrlChar('\r')); // carriage return assertFalse(CharUtil.isUrlChar('<')); // less than assertFalse(CharUtil.isUrlChar('>')); // greater than assertFalse(CharUtil.isUrlChar('"')); // double quote
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/jcifs/DialectVersionTest.java
assertTrue(DialectVersion.SMB311.compareTo(DialectVersion.SMB1) > 0); assertEquals(0, DialectVersion.SMB302.compareTo(DialectVersion.SMB302)); } @Test @DisplayName("Should return consistent ordinal values") void testOrdinalValues() { // Ordinal values should be consistent with enum declaration order assertTrue(DialectVersion.SMB1.ordinal() < DialectVersion.SMB202.ordinal());
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionIteratorTester.java
new IteratorTester<E>( Platform.collectionIteratorTesterNumIterations(), features, elements, knownOrder) { @Override protected Iterator<E> newTargetIterator() { resetCollection(); return collection.iterator(); } @Override protected void verify(List<E> elements) { expectContents(elements); } }.test(); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6.1K bytes - Viewed (0) -
tests/test_sub_callbacks.py
external API with the notification of the invoice event (e.g. "payment successful"). """ # Send the invoice, collect the money, send the notification (the callback) return {"msg": "Invoice received"} app.include_router(subrouter, callbacks=events_callback_router.routes) client = TestClient(app) def test_get(): response = client.post(Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 18:19:10 UTC 2025 - 12.9K bytes - Viewed (0) -
architecture/standards/0008-use-nullaway.md
* When annotating existing internal code, use `org.jetbrains.annotations.Contract`, e.g. `@Contract(null -> null; !null -> !null)`. When doing so, still annotate nullable parameters and the return type as `@Nullable`. * Do not use `@Contract` for public APIs. * For polynull public APIs, the solution has to be decided on a case-by-case basis.Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Thu Dec 11 10:24:40 UTC 2025 - 4K bytes - Viewed (0) -
build-logic-commons/basics/src/main/kotlin/gradlebuild.minify.gradle.kts
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Thu Dec 25 16:18:05 UTC 2025 - 5.6K bytes - Viewed (0) -
docs/ko/docs/tutorial/dependencies/dependencies-with-yield.md
# yield를 사용하는 의존성 FastAPI는 <abbr title='때로는 "종료 코드", "정리 코드", "종료 처리 코드", "닫기 코드", "컨텍스트 관리자 종료 코드" 등으로도 불립니다'>작업 완료 후 추가 단계를 수행하는</abbr> 의존성을 지원합니다. 이를 구현하려면 `return` 대신 `yield`를 사용하고, 추가로 실행할 단계 (코드)를 그 뒤에 작성하세요. /// tip | 팁 각 의존성마다 `yield`는 한 번만 사용해야 합니다. /// /// note | 기술 세부사항 다음과 함께 사용할 수 있는 모든 함수:
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sun Feb 09 14:54:09 UTC 2025 - 14.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/RangeTest.java
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 24.2K bytes - Viewed (0)