Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. internal/http/transports.go

    // tlsClientSessionCacheSize is the cache size for client sessions.
    var tlsClientSessionCacheSize = 100
    
    const (
    	WriteBufferSize = 64 << 10 // WriteBufferSize 64KiB moving up from 4KiB default
    	ReadBufferSize  = 64 << 10 // ReadBufferSize 64KiB moving up from 4KiB default
    )
    
    // ConnSettings - contains connection settings.
    type ConnSettings struct {
    	DialContext DialContext // Custom dialContext, DialTimeout is ignored if this is already setup.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 6K 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Jun 29 01:20:27 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  3. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 49K bytes
    - Viewed (0)
Back to top