Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for 4KiB (0.02 sec)

  1. internal/http/transports.go

    )
    
    // tlsClientSessionCacheSize is the cache size for client sessions.
    var tlsClientSessionCacheSize = 100
    
    const (
    	// WriteBufferSize 64KiB moving up from 4KiB default
    	WriteBufferSize = 64 << 10
    
    	// ReadBufferSize 64KiB moving up from 4KiB default
    	ReadBufferSize = 64 << 10
    )
    
    // ConnSettings - contains connection settings.
    type ConnSettings struct {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 08 17:51:53 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  2. internal/bucket/object/lock/lock.go

    		} else {
    			r.Validity = t.AddDate(int(*config.Rule.DefaultRetention.Years), 0, 0).Sub(t)
    		}
    	}
    
    	return r
    }
    
    // Maximum 4KiB size per object lock config.
    const maxObjectLockConfigSize = 1 << 12
    
    // ParseObjectLockConfig parses ObjectLockConfig from xml
    func ParseObjectLockConfig(reader io.Reader) (*Config, error) {
    	config := Config{}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  3. cmd/streaming-signature-v4.go

    	}
    
    	// Return calculated signature.
    	return cred, newSignature, region, date, ErrNone
    }
    
    const maxLineLength = 4 * humanize.KiByte // assumed <= bufio.defaultBufSize 4KiB
    
    // lineTooLong is generated as chunk header is bigger than 4KiB.
    var errLineTooLong = errors.New("header line too long")
    
    // malformed encoding is generated when chunk header is wrongly formed.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt

       * case, we take a 4KiB body and throttle it to 1KiB/second.  We set the read timeout to two
       * seconds.  If our implementation is acting correctly, it will not throw, as it is progressing.
       */
      @Test
      fun readTimeoutMoreGranularThanBodySize() {
        val body = CharArray(4096) // 4KiB to read.
        Arrays.fill(body, 'y')
        server.enqueue(
          MockResponse
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Nov 01 12:18:11 UTC 2025
    - 67.4K bytes
    - Viewed (0)
  5. cmd/erasure-healing_test.go

    			t.Fatalf("Unexpected drive state (%d): %v", i+1, h.State)
    		}
    	}
    }
    
    func TestHealLastDataShard(t *testing.T) {
    	tests := []struct {
    		name     string
    		dataSize int64
    	}{
    		{"4KiB", 4 * humanize.KiByte},
    		{"64KiB", 64 * humanize.KiByte},
    		{"128KiB", 128 * humanize.KiByte},
    		{"1MiB", 1 * humanize.MiByte},
    		{"5MiB", 5 * humanize.MiByte},
    		{"10MiB", 10 * humanize.MiByte},
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 48.5K bytes
    - Viewed (0)
Back to top