- Sort Score
- Num 10 results
- Language All
Results 291 - 300 of 5,808 for What (0.02 seconds)
-
android/guava-tests/test/com/google/common/collect/OrderingTest.java
list.add(new Object()); } Ordering<Object> arbitrary = Ordering.arbitrary(); sort(list, arbitrary); // Now we don't care what order it's put the list in, only that // comparing any pair of elements gives the answer we expect. testComparator(arbitrary, list); assertThat(arbitrary.toString()).isEqualTo("Ordering.arbitrary()"); } @J2ktIncompatible // ArbitraryOrdering
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 43.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/OrderingTest.java
list.add(new Object()); } Ordering<Object> arbitrary = Ordering.arbitrary(); sort(list, arbitrary); // Now we don't care what order it's put the list in, only that // comparing any pair of elements gives the answer we expect. testComparator(arbitrary, list); assertThat(arbitrary.toString()).isEqualTo("Ordering.arbitrary()"); } @J2ktIncompatible // ArbitraryOrdering
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 43.2K bytes - Click Count (0) -
docs/debugging/README.md
``` ## Subnet Health
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Aug 12 18:20:36 GMT 2025 - 8.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/OptionalTest.java
private static FluentIterable<? extends Number> getSomeNumbers() { return FluentIterable.from(ImmutableList.<Number>of()); } /* * The following tests demonstrate the shortcomings of or() and test that the casting workaround * mentioned in the method Javadoc does in fact compile. */ @SuppressWarnings("unused") // compilation test public void testSampleCodeError1() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 10.6K bytes - Click Count (0) -
docs/en/docs/advanced/additional-responses.md
The correct place is: * In the key `content`, that has as value another JSON object (`dict`) that contains: * A key with the media type, e.g. `application/json`, that contains as value another JSON object, that contains: * A key `schema`, that has as the value the JSON Schema from the model, here's the correct place.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 8.8K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/InternalDistributionBwcSetupPlugin.java
* For this we need to check out and build the unreleased versions. * Since these depend on the current version, we can't name the Gradle projects statically, and don't know what the * unreleased versions are when Gradle projects are set up, so we use "build-unreleased-version-*" as placeholders * and configure them to build various versions here. */
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Wed Aug 18 09:11:28 GMT 2021 - 14.5K bytes - Click Count (0) -
docs/ko/docs/tutorial/security/first-steps.md
OpenAPI(및 자동 API 문서)와 통합되는 모든 보안 유틸리티는 `SecurityBase`를 상속하며, 그래서 **FastAPI**가 이를 OpenAPI에 어떻게 통합할지 알 수 있습니다. /// ## 무엇을 하는지 { #what-it-does } 요청에서 `Authorization` 헤더를 찾아, 값이 `Bearer `에 어떤 token이 붙은 형태인지 확인한 뒤, 그 token을 `str`로 반환합니다. `Authorization` 헤더가 없거나, 값에 `Bearer ` token이 없다면, 곧바로 401 상태 코드 오류(`UNAUTHORIZED`)로 응답합니다.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:06:26 GMT 2026 - 9.6K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/RecordingExecutor.kt
import java.util.concurrent.RejectedExecutionException import java.util.concurrent.TimeUnit import okhttp3.internal.connection.RealCall import okhttp3.internal.finishedAccessor /** * A fake executor for testing that never executes anything! Instead, it just keeps track of what's * been enqueued. */ internal class RecordingExecutor( private val dispatcherTest: DispatcherTest, ) : AbstractExecutorService() {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Oct 06 18:34:01 GMT 2025 - 2.2K bytes - Click Count (0) -
docs/changelogs/upgrading_to_okhttp_4.md
`OkHttpClient` has 26 accessors like `interceptors()` and `writeTimeoutMillis()` that were non-final in OkHttp 3.x and are final in 4.x. These were made non-final for use with mocking frameworks like [Mockito][mockito]. We believe subtyping `OkHttpClient` is the wrong way to test with OkHttp. If you must, mock `Call.Factory` which is the interface that `OkHttpClient` implements. #### Internal API changes
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Feb 06 16:58:16 GMT 2022 - 10.9K bytes - Click Count (0) -
docs/zh-hant/docs/tutorial/dependencies/classes-as-dependencies.md
{* ../../docs_src/dependencies/tutorial001_an_py310.py hl[9] *} 但接著我們在路徑操作函式(*path operation function*)的參數 `commons` 中取得的是一個 `dict`。 而我們知道,編輯器對 `dict` 無法提供太多輔助(例如自動完成),因為它無法預先知道其中的鍵與值的型別。 我們可以做得更好... ## 什麼算是相依性 { #what-makes-a-dependency } 到目前為止,你看到的相依性都是宣告成函式。 但那不是宣告相依性的唯一方式(雖然那大概是最常見的)。 關鍵在於,相依性應該要是「callable」。 在 Python 中,「**callable**」指的是任何可以像函式一樣被 Python「呼叫」的東西。 因此,如果你有一個物件 `something`(它可能不是函式),而你可以像這樣「呼叫」(執行)它:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Feb 14 08:15:26 GMT 2026 - 6.7K bytes - Click Count (0)