- Sort Score
- Num 10 results
- Language All
Results 6341 - 6350 of 7,132 for String (0.08 seconds)
-
guava-tests/test/com/google/common/math/LongMathTest.java
assertOperationEquals( a, b, "s^", saturatedCast(valueOf(a).pow(b)), LongMath.saturatedPow(a, b)); } } } private void assertOperationEquals(long a, long b, String op, long expected, long actual) { if (expected != actual) { fail("Expected for " + a + " " + op + " " + b + " = " + expected + ", but got " + actual); } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Oct 30 14:15:36 GMT 2025 - 31.4K bytes - Click Count (0) -
docs/zh/docs/tutorial/query-params-str-validations.md
# 查询参数和字符串校验 { #query-parameters-and-string-validations } **FastAPI** 允许你为参数声明额外的信息和校验。 让我们以下面的应用为例: {* ../../docs_src/query_params_str_validations/tutorial001_py310.py hl[7] *} 查询参数 `q` 的类型为 `str | None`,这意味着它是 `str` 类型,但也可以是 `None`。其默认值确实为 `None`,所以 FastAPI 会知道它不是必填的。 /// note | 注意 FastAPI 会因为默认值 `= None` 而知道 `q` 的值不是必填的。 将类型标注为 `str | None` 能让你的编辑器提供更好的辅助和错误检测。 /// ## 额外校验 { #additional-validation }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 15.4K bytes - Click Count (0) -
guava/src/com/google/common/collect/AbstractBiMap.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 15:50:50 GMT 2025 - 14.3K bytes - Click Count (0) -
helm-releases/minio-5.0.6.tgz
hPrefix }} {{- end }} {{- end }} {{- range $key, $val := .Values.environment }} - name: {{ $key }} value: {{ $val | quote }} {{- end}} resources: {{ toYaml .Values.resources | indent 12 }} {{- with .Values.extraContainers }} {{- if eq (typeOf .) "string" }} {{- tpl . $ | nindent 8 }} {{- else }} {{- toYaml . | nindent 8 }} {{- end }} {{- end }} {{- with .Values.nodeSelector }} nodeSelector: {{ toYaml . | indent 8 }} {{- end }} {{- include "minio.imagePullSecrets" . | indent 6 }} {{- with .Values.affinity...Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon Feb 13 06:53:06 GMT 2023 - 20.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/ByteSourceTest.java
} public void testHash() throws IOException { ByteSource byteSource = new TestByteSource("hamburger\n".getBytes(US_ASCII)); // Pasted this expected string from `echo hamburger | sha512sum` assertThat(byteSource.hash(sha512()).toString()) .isEqualTo(
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 15.6K bytes - Click Count (0) -
android/guava/src/com/google/common/cache/CacheStats.java
&& totalLoadTime == other.totalLoadTime && evictionCount == other.evictionCount; } return false; } @Override public String toString() { return MoreObjects.toStringHelper(this) .add("hitCount", hitCount) .add("missCount", missCount) .add("loadSuccessCount", loadSuccessCount)Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 12.6K bytes - Click Count (0) -
guava/src/com/google/common/cache/CacheStats.java
&& totalLoadTime == other.totalLoadTime && evictionCount == other.evictionCount; } return false; } @Override public String toString() { return MoreObjects.toStringHelper(this) .add("hitCount", hitCount) .add("missCount", missCount) .add("loadSuccessCount", loadSuccessCount)Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 12.6K bytes - Click Count (0) -
guava/src/com/google/common/collect/AbstractMapBasedMultimap.java
return delegate.equals(object); } @Override public int hashCode() { refreshIfEmpty(); return delegate.hashCode(); } @Override public String toString() { refreshIfEmpty(); return delegate.toString(); } Collection<V> getDelegate() { return delegate; } @Override public Iterator<V> iterator() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Nov 17 22:50:48 GMT 2025 - 48.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractScheduledServiceTest.java
return TestingExecutors.noOpScheduledExecutor(); } @Override protected void runOneIteration() throws Exception {} @Override protected String serviceName() { return "Foo"; } }; TimeoutException e = assertThrows( TimeoutException.class, () -> service.startAsync().awaitRunning(1, MILLISECONDS));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 22.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractScheduledServiceTest.java
return TestingExecutors.noOpScheduledExecutor(); } @Override protected void runOneIteration() throws Exception {} @Override protected String serviceName() { return "Foo"; } }; TimeoutException e = assertThrows( TimeoutException.class, () -> service.startAsync().awaitRunning(1, MILLISECONDS));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 22.8K bytes - Click Count (0)