Search Options

Results per page
Sort
Preferred Languages
Advance

Results 961 - 970 of 1,130 for Closer (0.77 sec)

  1. docs/zh/docs/tutorial/request-files.md

    * `read(size)`:按指定数量的字节或字符(`size` (`int`))读取文件内容;
    * `seek(offset)`:移动至文件 `offset` (`int`)字节处的位置;
        * 例如,`await myfile.seek(0) ` 移动到文件开头;
        * 执行 `await myfile.read()` 后,需再次读取已读取内容时,这种方法特别好用;
    * `close()`:关闭文件。
    
    因为上述方法都是 `async` 方法,要搭配「await」使用。
    
    例如,在 `async` *路径操作函数* 内,要用以下方式读取文件内容:
    
    ```Python
    contents = await myfile.read()
    ```
    
    在普通 `def` *路径操作函数*  内,则可以直接访问 `UploadFile.file`,例如:
    
    ```Python
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  2. misc/ios/go_ios_exec.go

    	return nil
    }
    
    func copyLocalDir(dst, src string) error {
    	if err := os.Mkdir(dst, 0755); err != nil {
    		return err
    	}
    
    	d, err := os.Open(src)
    	if err != nil {
    		return err
    	}
    	defer d.Close()
    	fi, err := d.Readdir(-1)
    	if err != nil {
    		return err
    	}
    
    	for _, f := range fi {
    		if f.IsDir() {
    			if f.Name() == "testdata" {
    				if err := cp(dst, filepath.Join(src, f.Name())); err != nil {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Jun 18 16:32:49 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/suggest/SuggesterTest.java

                    .pluginTypes("org.codelibs.opensearch.extension.ExtensionPlugin"));
            runner.ensureYellow();
        }
    
        @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();
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 37K bytes
    - Viewed (0)
  4. okhttp-idna-mapping-table/src/main/resources/okhttp3/internal/idna/IdnaMappingTable.txt

    25A0..25EF    ; valid                  ;      ; NV8    # 1.1  BLACK SQUARE..LARGE CIRCLE
    25F0..25F7    ; valid                  ;      ; NV8    # 3.0  WHITE SQUARE WITH UPPER LEFT QUADRANT..WHITE CIRCLE WITH UPPER RIGHT QUADRANT
    25F8..25FF    ; valid                  ;      ; NV8    # 3.2  UPPER LEFT TRIANGLE..LOWER RIGHT TRIANGLE
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Feb 10 11:25:47 UTC 2024
    - 854.1K bytes
    - Viewed (0)
  5. docs/ja/docs/project-generation.md

        * ビルド時にフロントエンドテスト実行 (無効化も可能)。
        * 可能な限りモジュール化されているのでそのまま使用できますが、Vue CLIで再生成したり、必要に応じて作成したりして、必要なものを再利用可能。
    * PostgreSQLデータベースのための**PGAdmin**。(PHPMyAdminとMySQLを使用できるように簡単に変更可能)
    * Celeryジョブ監視のための**Flower**。
    * **Traefik**を使用してフロントエンドとバックエンド間をロードバランシング。同一ドメインに配置しパスで区切る、ただし、異なるコンテナで処理。
    * Traefik統合。Let's Encrypt **HTTPS**証明書の自動生成を含む。
    * GitLab **CI** (継続的インテグレーション)。フロントエンドおよびバックエンドテストを含む。
    
    ## フルスタック FastAPI Couchbase
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Jul 29 23:35:07 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  6. cmd/local-locker.go

    		if len(v) == 0 {
    			delete(l.lockMap, k)
    			continue
    		}
    		lockCopy[k] = append(make([]lockRequesterInfo, 0, len(v)), v...)
    	}
    	return lockCopy
    }
    
    func (l *localLocker) Close() error {
    	return nil
    }
    
    // IsOnline - local locker is always online.
    func (l *localLocker) IsOnline() bool {
    	return true
    }
    
    // IsLocal - local locker returns true.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 24 10:24:01 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  7. scripts/docs.py

    
    def get_lang_paths() -> List[Path]:
        return sorted(docs_path.iterdir())
    
    
    def lang_callback(lang: Optional[str]) -> Union[str, None]:
        if lang is None:
            return None
        lang = lang.lower()
        return lang
    
    
    def complete_existing_lang(incomplete: str):
        lang_path: Path
        for lang_path in get_lang_paths():
            if lang_path.is_dir() and lang_path.name.startswith(incomplete):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 08 11:01:17 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  8. docs/de/docs/tutorial/schema-extra-example.md

    Da die Swagger-Benutzeroberfläche derzeit nicht mehrere JSON Schema Beispiele unterstützt (Stand: 26.08.2023), hatten Benutzer keine Möglichkeit, mehrere Beispiele in der Dokumentation anzuzeigen.
    
    Um dieses Problem zu lösen, hat FastAPI `0.103.0` **Unterstützung** für die Deklaration desselben alten **OpenAPI-spezifischen** `examples`-Felds mit dem neuen Parameter `openapi_examples` hinzugefügt. 🤓
    
    ### Zusammenfassung
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  9. api/go1.9.txt

    pkg crypto, const BLAKE2s_256 Hash
    pkg crypto/x509, type Certificate struct, ExcludedDNSDomains []string
    pkg database/sql, method (*Conn) BeginTx(context.Context, *TxOptions) (*Tx, error)
    pkg database/sql, method (*Conn) Close() error
    pkg database/sql, method (*Conn) ExecContext(context.Context, string, ...interface{}) (Result, error)
    pkg database/sql, method (*Conn) PingContext(context.Context) error
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Oct 04 20:20:20 UTC 2021
    - 10.7K bytes
    - Viewed (0)
  10. cmd/perf-tests.go

    							retError = err.Error()
    						})
    					}
    					downloadsCancel()
    					return
    				}
    				fbr := firstByteRecorder{
    					r: r,
    				}
    				n, err := xioutil.Copy(xioutil.Discard, &fbr)
    				r.Close()
    				if err == nil {
    					response := time.Since(t)
    					ttfb := time.Since(*fbr.t)
    					// Only capture success criteria - do not
    					// have to capture failed reads, truncated
    					// reads etc.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 11.8K bytes
    - Viewed (0)
Back to top