- Sort Score
- Num 10 results
- Language All
Results 1281 - 1290 of 2,463 for just (0.16 seconds)
-
docs/zh-hant/docs/advanced/response-directly.md
如果你沒有宣告回應模型,FastAPI 會使用在[JSON 相容編碼器](../tutorial/encoder.md)中說明的 `jsonable_encoder`,並把它放進 `JSONResponse`。 但你也可以直接從路徑操作回傳 `JSONResponse`。 /// tip 通常使用 [回應模型](../tutorial/response-model.md) 會有更好的效能,因為那樣會在 Rust 端使用 Pydantic 來序列化資料,而不是直接回傳 `JSONResponse`。 /// ## 回傳 `Response` { #return-a-response } 其實,你可以回傳任何 `Response`,或其任何子類別。 /// info `JSONResponse` 本身就是 `Response` 的子類別。 ///Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 3.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/log/cbean/cq/bs/BsUserInfoCQ.java
bool((must, should, mustNot, filter) -> { filteredLambda.callback(must, filter); }, opLambda); } public void not(OperatorCall<UserInfoCQ> notLambda) { not(notLambda, null); } public void not(final OperatorCall<UserInfoCQ> notLambda, final ConditionOptionCall<BoolQueryBuilder> opLambda) {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 15 06:53:53 GMT 2025 - 20.1K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/CertificatePinner.kt
* .build(); * ``` * * ## Domain Patterns * * Pinning is per-hostname and/or per-wildcard pattern. To pin both `publicobject.com` and * `www.publicobject.com` you must configure both hostnames. Or you may use patterns to match * sets of related domain names. The following forms are permitted: * * * **Full domain name**: you may pin an exact domain name like `www.publicobject.com`. It won't
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 14.2K bytes - Click Count (1) -
src/main/java/jcifs/util/SimpleCircuitBreaker.java
if (failureThreshold < 1) { throw new IllegalArgumentException("Failure threshold must be at least 1"); } if (successThreshold < 1) { throw new IllegalArgumentException("Success threshold must be at least 1"); } if (timeoutMillis < 0) { throw new IllegalArgumentException("Timeout must be non-negative"); } } /**
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 11.3K bytes - Click Count (0) -
src/main/java/jcifs/util/InputValidator.java
throw new IllegalArgumentException("Arrays cannot be null"); } if (srcOffset < 0 || dstOffset < 0 || length < 0) { throw new IllegalArgumentException("Offsets and length must be non-negative"); } if (srcOffset + length > src.length) { throw new IllegalArgumentException(
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 13.5K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/OkHttpClientTest.kt
assertFailsWith<IllegalArgumentException> { OkHttpClient .Builder() .protocols(protocols as List<Protocol>) }.also { expected -> assertThat(expected.message).isEqualTo("protocols must not contain null") } } @Test fun spdy3IsRemovedFromProtocols() { val protocols = mutableListOf( Protocol.HTTP_1_1, Protocol.SPDY_3, ) val client =
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 13.4K bytes - Click Count (1) -
android/guava/src/com/google/common/escape/ArrayBasedUnicodeEscaper.java
// This is a bit of a hack but lets us do quicker per-character checks in // the fast path code. The safe min/max values are very unlikely to extend // into the range of surrogate characters, but if they do we must not test // any values in that range. To see why, consider the case where: // safeMin <= {hi,lo} <= safeMax // where {hi,lo} are characters forming a surrogate pair such that: // codePointOf(hi, lo) > safeMaxCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 13 15:45:16 GMT 2025 - 8.5K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/ThreadFactoryBuilder.java
// are nicer though and will fail-fast. checkArgument( priority >= Thread.MIN_PRIORITY, "Thread priority (%s) must be >= %s", priority, Thread.MIN_PRIORITY); checkArgument( priority <= Thread.MAX_PRIORITY, "Thread priority (%s) must be <= %s", priority, Thread.MAX_PRIORITY); this.priority = priority; return this; } /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Dec 29 17:36:00 GMT 2025 - 9.2K bytes - Click Count (0) -
src/main/java/org/codelibs/core/net/MimeTypeUtil.java
/** * Do not instantiate. */ protected MimeTypeUtil() { } /** * Guesses the content type. * * @param path * The path. Must not be {@literal null} or an empty string. * @return The content type. */ public static String guessContentType(final String path) { assertArgumentNotEmpty("path", path);Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 1.9K bytes - Click Count (0) -
src/main/java/org/codelibs/core/text/DecimalFormatSymbolsUtil.java
return getDecimalFormatSymbols(LocaleUtil.getDefault()); } /** * Returns {@link DecimalFormatSymbols}. * * @param locale * The locale. Must not be {@literal null}. * @return {@link DecimalFormatSymbols} */ public static DecimalFormatSymbols getDecimalFormatSymbols(final Locale locale) { assertArgumentNotNull("locale", locale);
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 2K bytes - Click Count (0)