- Sort Score
- Num 10 results
- Language All
Results 791 - 800 of 1,654 for Some (0.02 seconds)
-
guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java
ListenableFuture<?> unused = serializer.submitAsync(() -> settableFuture, directExecutor()); for (int i = 0; i < 50_000; i++) { if (i % DIRECT_EXECUTIONS_PER_THREAD == 0) { // after some number of iterations, switch threads unused = serializer.submit( () -> { holder.count++; return null; },
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 13.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/info/Smb2SetInfoRequestTest.java
verify(mockInfo, times(1)).encode(any(byte[].class), anyInt()); // Verify total bytes written assertTrue(bytesWritten > 32); // At least the fixed part plus some info } catch (Exception e) { throw new RuntimeException(e); } } @ParameterizedTest @DisplayName("Test writeBytesWireFormat with different info sizes")
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.9K bytes - Click Count (0) -
docs/zh-hant/docs/tutorial/security/first-steps.md
那是因為它沿用了 OpenAPI 規格中的名稱。如此一來,若你要深入查閱這些安全方案,便能直接複製貼上去搜尋更多資訊。 /// 變數 `oauth2_scheme` 是 `OAuth2PasswordBearer` 的實例,但同時它也是「可呼叫的」(callable)。 它可以這樣被呼叫: ```Python oauth2_scheme(some, parameters) ``` 因此它可以配合 `Depends` 使用。 ### 如何使用 { #use-it } 現在你可以在相依性中傳入 `oauth2_scheme` 與 `Depends` 搭配。 {* ../../docs_src/security/tutorial001_an_py310.py hl[12] *}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 7.2K bytes - Click Count (0) -
docs/zh/docs/tutorial/security/first-steps.md
这是因为它使用了与 OpenAPI 规范中相同的名称。这样当你需要深入了解这些安全方案时,可以直接复制粘贴去查找更多信息。 /// `oauth2_scheme` 变量是 `OAuth2PasswordBearer` 的一个实例,同时它也是“可调用”的。 可以像这样调用: ```Python oauth2_scheme(some, parameters) ``` 因此,它可以与 `Depends` 一起使用。 ### 使用 { #use-it } 现在你可以通过 `Depends` 将 `oauth2_scheme` 作为依赖传入。 {* ../../docs_src/security/tutorial001_an_py310.py hl[12] *}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 7.5K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/DirectedGraphConnections.java
/* * TODO(cpovirk): `return (V) removedValue` once our checker permits that. * * (We promoted a class of warnings into errors because sometimes they indicate real problems. * But now we need to "undo" some instance of spurious errors, as discussed in * https://github.com/jspecify/checker-framework/issues/8.) */ return removedValue == null ? null : (V) removedValue; } @OverrideCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Jan 18 02:54:30 GMT 2025 - 17.8K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-HostnamesCommon.kt
labelStart = dot + 1 } return false } internal fun String.containsInvalidHostnameAsciiCodes(): Boolean { for (i in 0 until length) { val c = this[i] // The WHATWG Host parsing rules accepts some character codes which are invalid by // definition for OkHttp's host header checks (and the WHATWG Host syntax definition). Here // we rule out characters that would cause problems in host headers.
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 11.2K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java
*/ /* * These generators also rely on consecutive integer inputs (not necessarily in order, but no * holes). */ // SetCreationTester has some tests that pass in duplicates. Dedup them. private static <E extends Comparable<? super E>> SortedSet<E> nullCheckedTreeSet(E[] elements) { SortedSet<E> set = newTreeSet(); for (E element : elements) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 08 18:35:13 GMT 2025 - 15.9K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/Striped64.java
* CASes when performing an update operation (see method * retryUpdate). Upon a collision, if the table size is less than * the capacity, it is doubled in size unless some other thread * holds the lock. If a hashed slot is empty, and lock is * available, a new Cell is created. Otherwise, if the slot * exists, a CAS is tried. Retries proceed by "double hashing",
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jan 15 22:17:15 GMT 2025 - 11.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockResponseTest.java
// Verify that the response inherits from ServerMessageBlock2Response assertTrue(response instanceof jcifs.internal.smb2.ServerMessageBlock2Response); // Test some inherited methods assertFalse(response.isReceived()); assertFalse(response.isError()); assertNull(response.getExpiration()); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.1K bytes - Click Count (0) -
compat/maven-model-builder/src/site/apt/index.apt
*----+------+------+ | <<<*>>> | model properties, such as project properties set in the pom | <<<$\{any.key\}>>> | *----+------+------+ | <<<maven.home>>> | The path to the current Maven home. | <<<$\{maven.home\}>>> | *----+------+------+ | <<<maven.version>>> | The version number of the current Maven execution <(since 3.0.4)>. For example, "<<<3.0.5>>>". | <<<$\{maven.version\}>>> | *----+------+------+Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jan 03 08:42:52 GMT 2025 - 13.2K bytes - Click Count (0)