- Sort Score
- Num 10 results
- Language All
Results 7061 - 7070 of 7,804 for RETURN (0.06 seconds)
-
tensorflow/c/eager/c_api_remote_test.cc
TEST(CAPI, RemoteExecuteAsync) { TestRemoteExecute(true); } void TestRemoteExecuteSilentCopiesOp(bool async, bool remote, bool remote_func_outputs = false) { return TestRemoteExecuteSilentCopies(async, remote, /*func=*/false, /*heavy_load_on_streaming_rpc=*/false, remote_func_outputs); }Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Wed Aug 12 00:14:22 GMT 2020 - 5.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java
assertThat(UnsignedBytes.join(",", (byte) 128, (byte) -1)).isEqualTo("128,255"); } private static boolean unsafeComparatorAvailable() { return UnsafeComparator.INSTANCE.isFunctional(); } public void testLexicographicalComparatorChoice() { Comparator<byte[]> defaultComparator = UnsignedBytes.lexicographicalComparator();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 01:43:32 GMT 2026 - 14K bytes - Click Count (0) -
tests/scan_test.go
} var results []result DB.Table("users").Select("name, age").Where("id in ?", []uint{user2.ID, user3.ID}).Scan(&results) sort.Slice(results, func(i, j int) bool { return strings.Compare(results[i].Name, results[j].Name) <= -1 }) if len(results) != 2 || results[0].Name != user2.Name || results[1].Name != user3.Name { t.Errorf("Scan into struct map, got %#v", results) }
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Wed Jun 12 10:57:36 GMT 2024 - 10.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/FuturesGetCheckedInputs.java
String message, String a1, String a2, String a3, String a4, String a5, String a6) { super(message); } public @Nullable Throwable getAntecedent() { return antecedent; } } @SuppressWarnings("unused") // we're testing that they're not used public static final class ExceptionWithSomePrivateConstructors extends Exception {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 6.3K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt
val code = response.code if (code != HTTP_TEMP_REDIRECT && code != HTTP_PERM_REDIRECT) return response val method = response.request.method if (method == "GET" || method == "HEAD") return response val location = response.header("Location") ?: return response return response .newBuilder() .removeHeader("Location")Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 133.3K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/SuccessorsFunction.java
* * {@snippet : * someGraphAlgorithm(startNode, MyNode::getChildren); * } * * <p>If you have some other mechanism for returning the successors of a node, or one that doesn't * return an {@code Iterable<? extends N>}, then you can use a lambda to perform a more general * transformation: * * {@snippet : * someGraphAlgorithm(startNode, node -> ImmutableList.of(node.leftChild(), node.rightChild())); * }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 11 01:10:31 GMT 2026 - 4.2K bytes - Click Count (0) -
tests/test_dependency_yield_scope_websockets.py
global_state = global_context.get() global_state["named_func_session_closed"] = True def get_named_regular_func_session(session: SessionFuncDep) -> Any: named_session = NamedSession(name="named") return named_session, session BrokenSessionsDep = Annotated[ tuple[NamedSession, Session], Depends(get_named_func_session) ] NamedSessionsFuncDep = Annotated[
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 6K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapEqualsTester.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 4.9K bytes - Click Count (0) -
guava-testlib/test/com/google/common/testing/AbstractPackageSanityTestsTest.java
@SuppressWarnings("unused") // accessed reflectively public void testPublic() {} } private List<Class<?>> findClassesToTest( Iterable<? extends Class<?>> classes, String... explicitTestNames) { return sanityTests.findClassesToTest(classes, Arrays.asList(explicitTestNames)); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 28 02:48:50 GMT 2024 - 5.4K bytes - Click Count (0) -
docs/zh-hant/docs/async.md
async def read_results(): results = await some_library() return results ``` /// note | 注意 你只能在 `async def` 建立的函式內使用 `await`。 /// --- 如果你使用的是第三方函式庫並且它需要與某些外部資源(例如資料庫、API、檔案系統等)進行通訊,但不支援 `await`(目前大多數資料庫函式庫都是這樣),在這種情況下,你可以像平常一樣使用 `def` 宣告*路徑操作函式*,如下所示: ```Python hl_lines="2" @app.get('/') def results(): results = some_library() return results ``` ---
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 21.7K bytes - Click Count (0)