Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 331 - 340 of 544 for xBytes (0.03 seconds)

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

  1. internal/grid/grid_types_msgp_test.go

    			bts, err = msgp.Skip(bts)
    			if err != nil {
    				err = msgp.WrapError(err)
    				return
    			}
    		}
    	}
    	o = bts
    	return
    }
    
    // Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
    func (z testRequest) Msgsize() (s int) {
    	s = 1 + 4 + msgp.IntSize + 7 + msgp.StringPrefixSize + len(z.String)
    	return
    }
    
    // DecodeMsg implements msgp.Decodable
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 8.1K bytes
    - Click Count (0)
  2. internal/grid/msg.go

    	FlagPayloadIsErr
    
    	// FlagPayloadIsZero means that payload is 0-length slice and not nil.
    	FlagPayloadIsZero
    
    	// FlagSubroute indicates that the message has subroute.
    	// Subroute will be 32 bytes long and added before any CRC.
    	FlagSubroute
    )
    
    // This struct cannot be changed and retain backwards compatibility.
    // If changed, endpoint version must be bumped.
    //
    //msgp:tuple message
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Jul 25 21:07:21 GMT 2024
    - 7.6K bytes
    - Click Count (0)
  3. docs/zh-hant/docs/tutorial/request-forms-and-files.md

    以與 `Body` 或 `Query` 相同的方式建立檔案與表單參數:
    
    {* ../../docs_src/request_forms_and_files/tutorial001_an_py310.py hl[10:12] *}
    
    檔案與表單欄位會作為表單資料上傳,而你將能接收到這些檔案與欄位。
    
    你也可以將部分檔案宣告為 `bytes`,另一些宣告為 `UploadFile`。
    
    /// warning
    
    你可以在一個路徑操作 (path operation) 中宣告多個 `File` 與 `Form` 參數,但不能同時再宣告預期以 JSON 接收的 `Body` 欄位,因為該請求的本文會使用 `multipart/form-data` 而非 `application/json` 進行編碼。
    
    這不是 **FastAPI** 的限制,這是 HTTP 通訊協定本身的規範。
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 1.4K bytes
    - Click Count (0)
  4. internal/disk/stat_solaris.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package disk
    
    import (
    	"errors"
    	"fmt"
    
    	"golang.org/x/sys/unix"
    )
    
    // GetInfo returns total and free bytes available in a directory, e.g. `/`.
    func GetInfo(path string, _ bool) (info Info, err error) {
    	s := unix.Statvfs_t{}
    	if err = unix.Statvfs(path, &s); err != nil {
    		return Info{}, err
    	}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Feb 26 19:34:50 GMT 2024
    - 1.8K bytes
    - Click Count (0)
  5. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/LoggingOutputStream.java

     */
    public abstract class LoggingOutputStream extends OutputStream {
        /** The starting length of the buffer */
        private static final int DEFAULT_BUFFER_LENGTH = 4096;
    
        /** The buffer of bytes sent to the stream */
        private byte[] buffer = new byte[DEFAULT_BUFFER_LENGTH];
    
        /** Offset of the start of unwritten data in the buffer */
        private int start = 0;
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 2.1K bytes
    - Click Count (0)
  6. src/archive/tar/tar_test.go

    						b.Errorf("unexpected Close error: %v", err)
    					}
    				}
    			})
    		}
    	})
    
    	b.Run("Reader", func(b *testing.B) {
    		for _, v := range vectors {
    			var buf bytes.Buffer
    			var r bytes.Reader
    
    			// Write the archive to a byte buffer.
    			tw := NewWriter(&buf)
    			for _, file := range v.files {
    				tw.WriteHeader(file.hdr)
    				tw.Write(file.body)
    			}
    			tw.Close()
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Jul 25 00:25:45 GMT 2024
    - 23.9K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/fscc/FileFsFullSizeInformationTest.java

                buffer.putLong(524288L); // Actual free allocation units (512K)
                buffer.putInt(8); // Sectors per allocation unit
                buffer.putInt(512); // Bytes per sector
                byte[] bufferArray = buffer.array();
    
                // When
                int bytesConsumed = fileFsFullSizeInfo.decode(bufferArray, 0, bufferArray.length);
    
                // Then
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 30.5K bytes
    - Click Count (0)
  8. docs/uk/docs/tutorial/request-forms-and-files.md

    {* ../../docs_src/request_forms_and_files/tutorial001_an_py310.py hl[10:12] *}
    
    Файли та поля форми будуть завантажені як формові дані, і ви отримаєте файли та поля форми.
    
    Ви також можете оголосити деякі файли як `bytes`, а деякі як `UploadFile`.
    
    /// warning | Попередження
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 2.2K bytes
    - Click Count (0)
  9. docs/pt/docs/advanced/security/http-basic-auth.md

    O `secrets.compare_digest()` necessita receber `bytes` ou `str` que possuem apenas caracteres ASCII (os em inglês). Isso significa que não funcionaria com caracteres como o `á`, como em `Sebastián`.
    
    Para lidar com isso, primeiramente nós convertemos o `username` e o `password` para `bytes`, codificando-os com UTF-8.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 5.2K bytes
    - Click Count (0)
  10. docs/uk/docs/advanced/stream-data.md

    Це також означає, що з `StreamingResponse` у вас є свобода і відповідальність формувати та кодувати байти даних саме так, як їх потрібно надіслати, незалежно від анотацій типів. 🤓
    
    ### Потік байтів { #stream-bytes }
    
    Один з основних сценаріїв - передавати потоком `bytes` замість строк; це, звісно, підтримується.
    
    {* ../../docs_src/stream_data/tutorial001_py310.py ln[44:47] hl[47] *}
    
    ## Користувацький `PNGStreamingResponse` { #a-custom-pngstreamingresponse }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:25:54 GMT 2026
    - 8.5K bytes
    - Click Count (0)
Back to Top