- Sort Score
- Num 10 results
- Language All
Results 1171 - 1180 of 1,660 for Rome (0.03 seconds)
-
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) -
cmd/sftp-server-driver.go
_ = w.w.CloseWithError(err) _ = w.r.CloseWithError(err) w.err = err } func (w *writerAt) Close() (err error) { switch { case len(w.buffer) > 0: err = errors.New("some file segments were not flushed from the queue") _ = w.w.CloseWithError(err) case w.err != nil: // No need to close here since both pipes were // closing inside TransferError() err = w.err default:
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon Feb 10 16:35:49 GMT 2025 - 11.6K bytes - Click Count (0) -
src/archive/tar/strconv.go
func (f *formatter) formatString(b []byte, s string) { if len(s) > len(b) { f.err = ErrFieldTooLong } copy(b, s) if len(s) < len(b) { b[len(s)] = 0 } // Some buggy readers treat regular files with a trailing slash // in the V7 path field as a directory even though the full path // recorded elsewhere (e.g., via PAX record) contains no trailing slash.
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Tue Dec 30 15:28:53 GMT 2025 - 9.1K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java
* list with one before {@code index}. Under these circumstances it returns a pair of elements as * a {@link MoveDesc}. The first one is the element that was previously at the end of the heap and * is now at some position before {@code index}. The second element is the one that was swapped * down to replace the element at {@code index}. This fact is used by iterator.remove so as to * visit elements during a traversal once and only once.Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 13:11:08 GMT 2026 - 34K bytes - Click Count (0) -
src/main/java/jcifs/netbios/NbtAddress.java
*/ @Override public String getHostName() { /* * 2010 - We no longer try a Node Status to get the * hostname because apparently some servers do not respond * anymore. I think everyone post Windows 98 will accept * an IP address as the tconHostName which is the principal * use of this method. */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 15.1K bytes - Click Count (0) -
compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionTest.java
* which was showing transitive inconsistency: since A > B and B > C then we should have A > C * otherwise sorting a list of ComparableVersions() will in some cases throw runtime exception; * see Netbeans issues <a href="https://netbeans.org/bugzilla/show_bug.cgi?id=240845">240845</a> and * <a href="https://netbeans.org/bugzilla/show_bug.cgi?id=226100">226100</a> */Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Mar 21 04:56:21 GMT 2025 - 17.8K bytes - Click Count (0) -
docs/zh/docs/tutorial/dependencies/index.md
首先关注依赖项。 它只是一个函数,且可以接收与*路径操作函数*相同的所有参数: {* ../../docs_src/dependencies/tutorial001_an_py310.py hl[8:9] *} 大功告成。 **2 行**。 它的形式和结构与所有*路径操作函数*相同。 你可以把它当作没有“装饰器”(没有 `@app.get("/some-path")`)的*路径操作函数*。 而且它可以返回任何你想要的内容。 本例中的依赖项预期接收: * 类型为 `str` 的可选查询参数 `q` * 类型为 `int` 的可选查询参数 `skip`,默认值 `0` * 类型为 `int` 的可选查询参数 `limit`,默认值 `100` 然后它只需返回一个包含这些值的 `dict`。 /// info | 信息Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 8.7K bytes - Click Count (0) -
tensorflow/c/c_api_experimental.h
// `len`. The format is subject to change in the future. // The returned string is heap-allocated, and caller should call free() on it. // // Do not return const char*, because some foreign language binding // (e.g. swift) cannot then call free() on the returned pointer. TF_CAPI_EXPORT extern char* TF_FunctionDebugString(TF_Function* func, size_t* len);
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Thu Apr 27 21:07:00 GMT 2023 - 15.1K bytes - Click Count (0) -
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)