Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1031 - 1040 of 1,188 for chose (0.1 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. docs/zh/docs/tutorial/dependencies/dependencies-with-yield.md

    # 使用yield的依赖项
    
    FastAPI支持在完成后执行一些<abbr title='有时也被称为"退出"("exit"),"清理"("cleanup"),"拆卸"("teardown"),"关闭"("close"),"上下文管理器"("context managers")。 ...'>额外步骤</abbr>的依赖项.
    
    为此,你需要使用 `yield` 而不是 `return`,然后再编写这些额外的步骤(代码)。
    
    /// tip | 提示
    
    确保在每个依赖中只使用一次 `yield`。
    
    ///
    
    /// note | 技术细节
    
    任何一个可以与以下内容一起使用的函数:
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 11.3K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/suggest/index/writer/SuggestIndexWriterTest.java

            runner.ensureYellow();
            writer = new SuggestIndexWriter();
        }
    
        @AfterClass
        public static void afterClass() throws Exception {
            runner.close();
            runner.clean();
        }
    
        @Before
        public void before() throws Exception {
            runner.admin().indices().prepareDelete("_all").execute().actionGet();
            runner.refresh();
    Created: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Mon Nov 24 03:40:05 GMT 2025
    - 18.2K bytes
    - Click Count (0)
  3. src/main/java/jcifs/smb/MultiChannelManager.java

            }
        }
    
        /**
         * Cleanup and shutdown the multi-channel manager.
         */
        public void shutdown() {
            log.info("Shutting down MultiChannelManager");
    
            // Close all channels
            for (String sessionId : new ArrayList<>(sessionChannels.keySet())) {
                removeChannels(sessionId);
            }
    
            // Shutdown thread pools
            healthCheckExecutor.shutdown();
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 20.5K bytes
    - Click Count (0)
  4. cmd/metrics.go

    			if err := enc.Encode(mf); err != nil {
    				// client may disconnect for any reasons
    				// we do not have to log this.
    				return
    			}
    		}
    		if closer, ok := enc.(expfmt.Closer); ok {
    			closer.Close()
    		}
    	})
    }
    
    // NoAuthMiddleware no auth middle ware.
    func NoAuthMiddleware(h http.Handler) http.Handler {
    	return h
    }
    
    // AuthMiddleware checks if the bearer token is valid and authorized.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Oct 24 04:06:31 GMT 2025
    - 16.7K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb1/Config.java

                if (filename != null && filename.length() > 1) {
                    in = new FileInputStream(filename);
                }
                Config.load(in);
                if (in != null) {
                    in.close();
                }
            } catch (final IOException ioe) {
                if (LogStream.level > 0) {
                    ioe.printStackTrace(log);
                }
            }
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 14.5K bytes
    - Click Count (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt

       *
       * @param method defaults to "GET" if [body] is null, and "POST" otherwise.
       */
      constructor(
        url: HttpUrl,
        headers: Headers = headersOf(),
        // '\u0000' is a sentinel value that'll choose based on what the body is:
        method: String = "\u0000",
        body: RequestBody? = null,
      ) : this(
        Builder()
          .url(url)
          .headers(headers)
          .method(
            when {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Thu Oct 30 13:46:58 GMT 2025
    - 14.7K bytes
    - Click Count (1)
  7. android/guava/src/com/google/common/collect/ForwardingNavigableMap.java

     * provided {@code standardPutAll} method.
     *
     * <p><b>{@code default} method warning:</b> This class does <i>not</i> forward calls to {@code
     * default} methods. Instead, it inherits their default implementations. When those implementations
     * invoke methods, they invoke methods on the {@code ForwardingNavigableMap}.
     *
     * <p>Each of the {@code standard} methods uses the map's comparator (or the natural ordering of the
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 14.1K bytes
    - Click Count (0)
  8. guava/src/com/google/common/collect/ForwardingNavigableMap.java

     * provided {@code standardPutAll} method.
     *
     * <p><b>{@code default} method warning:</b> This class does <i>not</i> forward calls to {@code
     * default} methods. Instead, it inherits their default implementations. When those implementations
     * invoke methods, they invoke methods on the {@code ForwardingNavigableMap}.
     *
     * <p>Each of the {@code standard} methods uses the map's comparator (or the natural ordering of the
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 14.3K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/core/beans/util/CopyOptions.java

        public CopyOptions excludeWhitespace() {
            excludesWhitespace = true;
            return this;
        }
    
        /**
         * Specifies the prefix.
         * <p>
         * When a prefix is specified, only properties whose names start with the prefix will be included in the copy operation.
         * Additionally, the prefix will be removed from the source property name to form the destination property name.
         * </p>
         *
         * @param prefix
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sat Jul 05 00:11:05 GMT 2025
    - 17.5K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/maintenance/AdminMaintenanceAction.java

                                    e -> logger.warn("Failed to open index: {}", docIndex, e)));
                }, e -> logger.warn("Failed to close index: {}", docIndex, e)));
            });
            saveInfo(messages -> messages.addSuccessStartedDataUpdate(GLOBAL));
            return redirect(getClass());
        }
    
        /**
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 18.1K bytes
    - Click Count (0)
Back to Top