- Sort Score
- Result 10 results
- Languages All
Results 3431 - 3440 of 3,609 for uint (0.04 sec)
-
okhttp/src/test/java/okhttp3/InterceptorTest.kt
assertThat(recordedResponse.failure, "canceled due to java.lang.RuntimeException: boom!") recordedResponse.failure!!.assertSuppressed { throwables: List<Throwable>? -> assertThat(throwables!!).contains(boom) Unit } assertThat(call.isCanceled()).isTrue() assertThat(executor.takeException()).isEqualTo(boom) } @Test fun networkInterceptorReturnsConnectionOnEmptyBody() { server.enqueue(
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Jan 14 10:20:09 UTC 2024 - 27.8K bytes - Viewed (0) -
docs/ko/docs/tutorial/query-params-str-validations.md
`List[str]` 대신 `list`를 직접 사용할 수도 있습니다: ```Python hl_lines="7" {!../../docs_src/query_params_str_validations/tutorial013.py!} ``` /// note | "참고" 이 경우 FastAPI는 리스트의 내용을 검사하지 않음을 명심하기 바랍니다. 예를 들어, `List[int]`는 리스트 내용이 정수인지 검사(및 문서화)합니다. 하지만 `list` 단독일 경우는 아닙니다. /// ## 더 많은 메타데이터 선언 매개변수에 대한 정보를 추가할 수 있습니다. 해당 정보는 생성된 OpenAPI에 포함되고 문서 사용자 인터페이스 및 외부 도구에서 사용됩니다. /// note | "참고"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 9.5K bytes - Viewed (0) -
docs/zh/docs/tutorial/first-steps.md
/// ### 步骤 5:返回内容 ```Python hl_lines="8" {!../../docs_src/first_steps/tutorial001.py!} ``` 你可以返回一个 `dict`、`list`,像 `str`、`int` 一样的单个值,等等。 你还可以返回 Pydantic 模型(稍后你将了解更多)。 还有许多其他将会自动转换为 JSON 的对象和模型(包括 ORM 对象等)。尝试下使用你最喜欢的一种,它很有可能已经被支持。 ## 总结 * 导入 `FastAPI`。 * 创建一个 `app` 实例。 * 编写一个**路径操作装饰器**(如 `@app.get("/")`)。
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 9.1K bytes - Viewed (0) -
cmd/metrics-v3-types.go
return false } if !strings.HasSuffix(arg, SlashSeparator) { arg += SlashSeparator } return strings.HasPrefix(descendant, arg) } // MetricType - represents the type of a metric. type MetricType int const ( // CounterMT - represents a counter metric. CounterMT MetricType = iota // GaugeMT - represents a gauge metric. GaugeMT // HistogramMT - represents a histogram metric. HistogramMT )
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jul 30 22:28:46 UTC 2024 - 15.6K bytes - Viewed (0) -
cmd/signature-v4.go
} if UTCNow().Sub(pSignValues.Date) > pSignValues.Expires { return ErrExpiredPresignRequest } // Save the date and expires. t := pSignValues.Date expireSeconds := int(pSignValues.Expires / time.Second) // Construct new query. query := make(url.Values) clntHashedPayload := req.Form.Get(xhttp.AmzContentSha256) if clntHashedPayload != "" {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu May 16 23:13:47 UTC 2024 - 12.4K bytes - Viewed (0) -
internal/hash/reader.go
return nil } r.contentHasher = cs.Type.Hasher() if r.contentHasher == nil { return ErrInvalidChecksum } return nil } func (r *Reader) Read(p []byte) (int, error) { n, err := r.src.Read(p) r.bytesRead += int64(n) if r.sha256 != nil { r.sha256.Write(p[:n]) } if r.contentHasher != nil { r.contentHasher.Write(p[:n]) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Sep 19 12:59:07 UTC 2024 - 10.9K bytes - Viewed (0) -
internal/event/target/nats.go
} `json:"jetStream"` Streaming struct { Enable bool `json:"enable"` ClusterID string `json:"clusterID"` Async bool `json:"async"` MaxPubAcksInflight int `json:"maxPubAcksInflight"` } `json:"streaming"` RootCAs *x509.CertPool `json:"-"` } // Validate NATSArgs fields func (n NATSArgs) Validate() error { if !n.Enable { return nil }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Sep 06 23:06:30 UTC 2024 - 12.9K bytes - Viewed (0) -
docs/uk/docs/tutorial/first-steps.md
/// ### Крок 5: поверніть результат ```Python hl_lines="8" {!../../docs_src/first_steps/tutorial001.py!} ``` Ви можете повернути `dict`, `list`, а також окремі значення `str`, `int`, ітд. Також можна повернути моделі Pydantic (про це ви дізнаєтесь пізніше).
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 15.6K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/CacheStats.java
saturatedAdd(loadExceptionCount, other.loadExceptionCount), saturatedAdd(totalLoadTime, other.totalLoadTime), saturatedAdd(evictionCount, other.evictionCount)); } @Override public int hashCode() { return Objects.hashCode( hitCount, missCount, loadSuccessCount, loadExceptionCount, totalLoadTime, evictionCount); } @Override public boolean equals(@CheckForNull Object object) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 12.6K bytes - Viewed (0) -
guava/src/com/google/common/cache/CacheStats.java
saturatedAdd(loadExceptionCount, other.loadExceptionCount), saturatedAdd(totalLoadTime, other.totalLoadTime), saturatedAdd(evictionCount, other.evictionCount)); } @Override public int hashCode() { return Objects.hashCode( hitCount, missCount, loadSuccessCount, loadExceptionCount, totalLoadTime, evictionCount); } @Override public boolean equals(@CheckForNull Object object) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 12.6K bytes - Viewed (0)