Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 141 - 150 of 586 for opens (0.08 seconds)

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

  1. cmd/os_other.go

    // the directory itself, if the dirPath doesn't exist this function doesn't return
    // an error.
    func readDirFn(dirPath string, filter func(name string, typ os.FileMode) error) error {
    	d, err := Open(dirPath)
    	if err != nil {
    		if osErrToFileErr(err) == errFileNotFound {
    			return nil
    		}
    		return osErrToFileErr(err)
    	}
    	defer d.Close()
    
    	maxEntries := 1000
    	for {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Sep 13 15:14:36 GMT 2023
    - 4K bytes
    - Click Count (0)
  2. okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingSSLSocketFactory.kt

    import javax.net.ssl.SSLSocket
    import javax.net.ssl.SSLSocketFactory
    
    /**
     * A [SSLSocketFactory] that delegates calls. Sockets can be configured after creation by
     * overriding [.configureSocket].
     */
    open class DelegatingSSLSocketFactory(
      private val delegate: SSLSocketFactory,
    ) : SSLSocketFactory() {
      @Throws(IOException::class)
      override fun createSocket(): SSLSocket {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  3. docs/debugging/healing-bin/main.go

    			cli.ShowAppHelpAndExit(c, 1) // last argument is exit code
    		}
    
    		ht := make(map[string]map[string]any)
    		file := c.Args().Get(0)
    		if strings.HasSuffix(file, ".zip") {
    			var sz int64
    			f, err := os.Open(file)
    			if err != nil {
    				return err
    			}
    			if st, err := f.Stat(); err == nil {
    				sz = st.Size()
    			}
    			defer f.Close()
    			zr, err := zip.NewReader(f, sz)
    			if err != nil {
    				return err
    			}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  4. docs/zh-hant/docs/how-to/configure-swagger-ui.md

    # 設定 Swagger UI { #configure-swagger-ui }
    
    你可以設定一些額外的 [Swagger UI 參數](https://swagger.io/docs/open-source-tools/swagger-ui/usage/configuration/)。
    
    要設定它們,建立 `FastAPI()` 應用物件時,或呼叫 `get_swagger_ui_html()` 函式時,傳入參數 `swagger_ui_parameters`。
    
    `swagger_ui_parameters` 接受一個 dict,內容會直接傳給 Swagger UI 作為設定。
    
    FastAPI 會把這些設定轉換成 **JSON**,以便與 JavaScript 相容,因為 Swagger UI 需要的是這種格式。
    
    ## 停用語法醒目提示 { #disable-syntax-highlighting }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 2.7K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/base/AndroidIncompatible.java

     *       that we could probably work around. Or we could manually strip the test from open-source
     *       Guava while continuing to run it internally, as we do with many other tests. This would
     *       suffice because we our Android users and tests are using the open-source version, which
     *       would no longer have the problematic test. But why bother when we can instead strip it with
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Jul 07 15:40:13 GMT 2023
    - 3.9K bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb1/smb1/SmbConstants.java

        /** Verify all writes flag */
        int FLAGS_VERIFY_ALL_WRITES = 0x0010;
        /** Tree copy flag */
        int FLAGS_TREE_COPY = 0x0020;
    
        // open function
        /** Open function fail if exists */
        int OPEN_FUNCTION_FAIL_IF_EXISTS = 0x0000;
        /** Open function overwrite if exists */
        int OPEN_FUNCTION_OVERWRITE_IF_EXISTS = 0x0020;
    
        /** Process ID */
        int PID = (int) (Math.random() * 65536d);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  7. docs_src/custom_response/tutorial008_py310.py

    from fastapi import FastAPI
    from fastapi.responses import StreamingResponse
    
    some_file_path = "large-video-file.mp4"
    app = FastAPI()
    
    
    @app.get("/")
    def main():
        def iterfile():  # (1)
            with open(some_file_path, mode="rb") as file_like:  # (2)
                yield from file_like  # (3)
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 360 bytes
    - Click Count (0)
  8. src/test/java/jcifs/smb/SmbPipeOutputStreamTest.java

            // Arrange
            SmbPipeOutputStream out = newStream();
            CIFSException boom = new CIFSException("open-fail");
            when(handle.ensureOpen()).thenThrow(boom);
    
            // Act + Assert
            CIFSException ex = assertThrows(CIFSException.class, out::ensureOpen);
            assertEquals("open-fail", ex.getMessage());
            verify(handle, times(1)).ensureOpen();
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  9. src/main/java/jcifs/DialectVersion.java

            }
            return b;
        }
    
        /**
         * Creates a range of dialect versions between min and max.
         *
         * @param min
         *            may be null for open end
         * @param max
         *            may be null for open end
         * @return range of versions
         */
        public static Set<DialectVersion> range(final DialectVersion min, final DialectVersion max) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  10. docs/sts/ldap.go

    	// LDAP STS API.
    
    	// Initialize LDAP credentials
    	var ldapOpts []cr.LDAPIdentityOpt
    	if sessionPolicyFile != "" {
    		var policy string
    		if f, err := os.Open(sessionPolicyFile); err != nil {
    			log.Fatalf("Unable to open session policy file %s: %v", sessionPolicyFile, err)
    		} else {
    			bs, err := io.ReadAll(f)
    			if err != nil {
    				log.Fatalf("Error reading session policy file: %v", err)
    			}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Aug 07 12:59:47 GMT 2024
    - 4K bytes
    - Click Count (0)
Back to Top