Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 561 - 570 of 575 for todo (0.02 seconds)

  1. docs/zh-hant/docs/async.md

    # 並行與 async / await
    
    有關*路徑操作函式*的 `async def` 語法的細節與非同步 (asynchronous) 程式碼、並行 (concurrency) 與平行 (parallelism) 的一些背景知識。
    
    ## 趕時間嗎?
    
    <abbr title="too long; didn't read(文長慎入)"><strong>TL;DR:</strong></abbr>
    
    如果你正在使用要求你以 `await` 語法呼叫的第三方函式庫,例如:
    
    ```Python
    results = await some_library()
    ```
    
    然後,使用 `async def` 宣告你的*路徑操作函式*:
    
    
    ```Python hl_lines="2"
    @app.get('/')
    async def read_results():
        results = await some_library()
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Aug 31 09:56:21 GMT 2025
    - 21.1K bytes
    - Click Count (0)
  2. docs/zh/docs/async.md

    # 并发 async / await
    
    有关路径操作函数的 `async def` 语法以及异步代码、并发和并行的一些背景知识。
    
    ## 赶时间吗?
    
    <abbr title="too long; didn't read(长文警告)"><strong>TL;DR:</strong></abbr>
    
    如果你正在使用第三方库,它们会告诉你使用 `await` 关键字来调用它们,就像这样:
    
    ```Python
    results = await some_library()
    ```
    
    然后,通过 `async def` 声明你的 *路径操作函数*:
    
    ```Python hl_lines="2"
    @app.get('/')
    async def read_results():
        results = await some_library()
        return results
    ```
    
    /// note
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Aug 31 09:56:21 GMT 2025
    - 21.5K bytes
    - Click Count (0)
  3. src/cmd/asm/internal/asm/testdata/amd64enc_extra.s

    	// Test VPERMQ with both uint8 and int8 immediate args
    	VPERMQ $-40, Y8, Y8 // c443fd00c0d8
    	VPERMQ $216, Y8, Y8 // c443fd00c0d8
    	// Test that VPERMPD that shares ytab list with VPERMQ continues to work too.
    	VPERMPD $-40, Y7, Y7 // c4e3fd01ffd8
    	VPERMPD $216, Y7, Y7 // c4e3fd01ffd8
    	// Check that LEAL is permitted to use overflowing offset.
    	LEAL 2400959708(BP)(R10*1), BP // 428dac15dcbc1b8f
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Thu Feb 20 11:20:03 GMT 2025
    - 57.7K bytes
    - Click Count (0)
  4. cmd/xl-storage-format-v2.go

    	if x == o {
    		return false
    	}
    	// Prefer newest modtime.
    	if x.ModTime != o.ModTime {
    		return x.ModTime > o.ModTime
    	}
    
    	// The following doesn't make too much sense, but we want sort to be consistent nonetheless.
    	// Prefer lower types
    	if x.Type != o.Type {
    		return x.Type < o.Type
    	}
    	// Consistent sort on signature
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 65.6K bytes
    - Click Count (1)
  5. cmd/object-handlers_test.go

    			secretKey:          credentials.SecretKey,
    			shouldPass:         false,
    			fault:              chunkDateMismatch,
    		},
    		// Test case - 11
    		// Set x-amz-decoded-content-length to a value too big to hold in int64.
    		{
    			bucketName:         bucketName,
    			objectName:         objectName,
    			data:               oneKData,
    			dataLen:            1024,
    			chunkSize:          1024,
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 163.1K bytes
    - Click Count (0)
  6. cmd/bucket-handlers.go

    		maxMemoryBytes -= int64(len(name))
    		maxMemoryBytes -= mapEntryOverhead
    		if maxMemoryBytes < 0 {
    			// We can't actually take this path, since nextPart would already have
    			// rejected the MIME headers for being too large. Check anyway.
    			apiErr := errorCodes.ToAPIErr(ErrMalformedPOSTRequest)
    			apiErr.Description = fmt.Sprintf("%s (%v)", apiErr.Description, multipart.ErrMessageTooLarge)
    			writeErrorResponse(ctx, w, apiErr, r.URL)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 63.9K bytes
    - Click Count (0)
  7. docs/ja/docs/async.md

    # 並行処理と async / await
    
    *path operation 関数*のための `async def` に関する詳細と非同期 (asynchronous) コード、並行処理 (Concurrency)、そして、並列処理 (Parallelism) の背景について。
    
    ## 急いでいますか?
    
    <abbr title="too long; didn't read (長すぎて読めない人のための要約という意味のスラング)"><strong>TL;DR:</strong></abbr>
    
    次のような、`await` を使用して呼び出すべきサードパーティライブラリを使用している場合:
    
    ```Python
    results = await some_library()
    ```
    
    以下の様に `async def` を使用して*path operation 関数*を宣言します。
    
    ```Python hl_lines="2"
    @app.get('/')
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Aug 31 09:56:21 GMT 2025
    - 27.7K bytes
    - Click Count (0)
  8. cmd/metrics-v2.go

    					Description:    getS3RequestsCanceledMD(),
    					Value:          float64(value),
    					VariableLabels: map[string]string{"api": api},
    				})
    			}
    			return metrics
    		}
    
    		// If we have too many, limit them
    		bConnStats := globalBucketConnStats.getS3InOutBytes()
    		buckets := mapKeysSorted(bConnStats)
    		buckets = buckets[:min(v2MetricsMaxBuckets, len(buckets))]
    
    		for _, bucket := range buckets {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 133.6K bytes
    - Click Count (0)
  9. doc/go_spec.html

    '\377'
    '\x07'
    '\xff'
    '\u12e4'
    '\U00101234'
    '\''         // rune literal containing single quote character
    'aa'         // illegal: too many characters
    '\k'         // illegal: k is not recognized after a backslash
    '\xa'        // illegal: too few hexadecimal digits
    '\0'         // illegal: too few octal digits
    '\400'       // illegal: octal value over 255
    '\uDFFF'     // illegal: surrogate half
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Dec 02 23:07:19 GMT 2025
    - 286.5K bytes
    - Click Count (1)
  10. cmd/object-api-listobjects_test.go

    			}
    		}
    
    		for _, maxKeys := range []int{1, 10, 49} {
    			// Test ListObjects V2
    			totalObjs, didRuns := 0, 0
    			marker := ""
    			for {
    				didRuns++
    				if didRuns > 1000 {
    					t.Fatal("too many runs")
    					return
    				}
    				result, err := obj.ListObjectsV2(context.Background(), upload.bucket, "", marker, "", maxKeys, false, "")
    				if err != nil {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Oct 10 18:57:03 GMT 2025
    - 76.1K bytes
    - Click Count (0)
Back to Top