Search Options

Results per page
Sort
Preferred Languages
Advance

Results 911 - 920 of 979 for buffer (0.06 sec)

  1. android/guava/src/com/google/common/primitives/Longs.java

       * use a shared {@link java.nio.ByteBuffer} instance, or use {@link
       * com.google.common.io.ByteStreams#newDataOutput()} to get a growable buffer.
       */
      public static byte[] toByteArray(long value) {
        // Note that this code needs to stay compatible with GWT, which has known
        // bugs when narrowing byte casts of long values occur.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 29.1K bytes
    - Viewed (0)
  2. doc/go_spec.html

    make(chan int, 100)
    </pre>
    
    <p>
    The capacity, in number of elements, sets the size of the buffer in the channel.
    If the capacity is zero or absent, the channel is unbuffered and communication
    succeeds only when both a sender and receiver are ready. Otherwise, the channel
    is buffered and communication succeeds without blocking if the buffer
    is not full (sends) or not empty (receives).
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue May 06 19:12:15 UTC 2025
    - 286.2K bytes
    - Viewed (0)
  3. cmd/storage-rest-server.go

    // streamHTTPResponse has been used.
    // The returned reader contains the payload and must be closed if no error is returned.
    func waitForHTTPStream(respBody io.ReadCloser, w io.Writer) error {
    	var tmp [1]byte
    	// 8K copy buffer, reused for less allocs...
    	bufp := poolBuf8k.Get()
    	buf := *bufp
    	defer poolBuf8k.Put(bufp)
    
    	for {
    		_, err := io.ReadFull(respBody, tmp[:])
    		if err != nil {
    			return err
    		}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue May 27 15:19:03 UTC 2025
    - 45.7K bytes
    - Viewed (0)
  4. src/bytes/bytes.go

    		m = Count(s, old)
    	}
    	if m == 0 {
    		// Just return a copy.
    		return append([]byte(nil), s...)
    	}
    	if n < 0 || m < n {
    		n = m
    	}
    
    	// Apply replacements to buffer.
    	t := make([]byte, len(s)+n*(len(new)-len(old)))
    	w := 0
    	start := 0
    	if len(old) > 0 {
    		for range n {
    			j := start + Index(s[start:], old)
    			w += copy(t[w:], s[start:j])
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Sep 03 14:04:47 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  5. cmd/object-api-utils.go

    	// DNS separator (period), used for bucket name validation.
    	dnsDelimiter = "."
    	// On compressed files bigger than this;
    	compReadAheadSize = 100 << 20
    	// Read this many buffers ahead.
    	compReadAheadBuffers = 5
    	// Size of each buffer.
    	compReadAheadBufSize = 1 << 20
    	// Pad Encrypted+Compressed files to a multiple of this.
    	compPadEncrypted = 256
    	// Disable compressed file indices below this size
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Jun 25 15:08:54 UTC 2025
    - 37.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbFile.java

             * actual files has a smaller maxBufSize this could be
             * incorrect. To handle this properly it is necessary
             * to redirect the tree to the target server first before
             * establishing buffer size. These exists() calls facilitate
             * that.
             */
            resolveDfs(null);
    
            /* It is invalid for the source path to be a child of the destination
             * path or visa versa.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
  7. cmd/bucket-handlers.go

    		reader = part
    
    		possibleShardSize := (r.ContentLength - headerLen)
    		if globalStorageClass.ShouldInline(possibleShardSize, false) { // keep versioned false for this check
    			var b bytes.Buffer
    			n, err := io.Copy(&b, reader)
    			if err != nil {
    				apiErr := errorCodes.ToAPIErr(ErrMalformedPOSTRequest)
    				apiErr.Description = fmt.Sprintf("%s (%v)", apiErr.Description, err)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 63.9K bytes
    - Viewed (0)
  8. api/go1.txt

    pkg bytes, method (*Buffer) ReadString(uint8) (string, error)
    pkg bytes, method (*Buffer) Reset()
    pkg bytes, method (*Buffer) String() string
    pkg bytes, method (*Buffer) Truncate(int)
    pkg bytes, method (*Buffer) UnreadByte() error
    pkg bytes, method (*Buffer) UnreadRune() error
    pkg bytes, method (*Buffer) Write([]uint8) (int, error)
    pkg bytes, method (*Buffer) WriteByte(uint8) error
    pkg bytes, method (*Buffer) WriteRune(int32) (int, error)
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
  9. CHANGELOG/CHANGELOG-1.10.md

    * Get public IP for Azure vmss nodes. ([#68498](https://github.com/kubernetes/kubernetes/pull/68498), [@feiskyer](https://github.com/feiskyer))
    * adjusted http/2 buffer sizes for apiservers to prevent starvation issues between concurrent streams ([#67902](https://github.com/kubernetes/kubernetes/pull/67902), [@liggitt](https://github.com/liggitt))
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Thu May 05 13:44:43 UTC 2022
    - 341.8K bytes
    - Viewed (0)
  10. lib/fips140/v1.0.0.zip

    e], src[:BlockSize]) { panic("crypto/aes: invalid buffer overlap") } encryptBlock(c, dst, src) } func (c *Block) Decrypt(dst, src []byte) { // AES-ECB is not approved in FIPS 140-3 mode. fips140.RecordNonApproved() if len(src) < BlockSize { panic("crypto/aes: input not full block") } if len(dst) < BlockSize { panic("crypto/aes: output not full block") } if alias.InexactOverlap(dst[:BlockSize], src[:BlockSize]) { panic("crypto/aes: invalid buffer overlap") } decryptBlock(c, dst, src) } // EncryptBlockInternal...
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Jan 29 15:10:35 UTC 2025
    - 635K bytes
    - Viewed (0)
Back to top