- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 21 for 2048 (0.32 sec)
-
cmd/generic-handlers_test.go
{header: generateHeader(1024, 0), shouldFail: false}, {header: generateHeader(2048, 0), shouldFail: false}, {header: generateHeader(8*1024+1, 0), shouldFail: true}, {header: generateHeader(0, 1024), shouldFail: false}, {header: generateHeader(0, 2048), shouldFail: true}, {header: generateHeader(0, 2048+1), shouldFail: true}, } func generateHeader(size, usersize int) http.Header { header := http.Header{}
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Mar 28 17:44:56 GMT 2024 - 5.4K bytes - Viewed (0) -
cmd/typed-errors.go
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Jan 18 07:03:17 GMT 2024 - 5.3K bytes - Viewed (0) -
internal/bpool/bpool_test.go
package bpool import "testing" // Tests - bytePool functionality. func TestBytePool(t *testing.T) { size := uint64(4) width := 1024 capWidth := 2048 bufPool := NewBytePoolCap(size, width, capWidth) // Check the width if bufPool.Width() != width { t.Fatalf("bytepool width invalid: got %v want %v", bufPool.Width(), width) } // Check with width cap
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Jan 30 19:13:27 GMT 2024 - 2.6K bytes - Viewed (0) -
docs/debugging/inspect/main.go
// Export xl.meta to stdout if *export { fatalErr(inspectToExportType(outputFileName, *djson)) os.Remove(outputFileName) } } func generateKeys() { privatekey, err := rsa.GenerateKey(crand.Reader, 2048) if err != nil { fmt.Printf("error generating key: %s n", err) os.Exit(1) } // dump private key to file privateKeyBytes := x509.MarshalPKCS1PrivateKey(privatekey) privateKeyBlock := &pem.Block{
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 11 21:22:47 GMT 2024 - 4.8K bytes - Viewed (0) -
cmd/xl-storage-disk-id-check.go
if errp != nil { err := *errp if err == nil || errors.Is(err, io.EOF) { p.health.logSuccess() } } si(errp) }) }, nil } var toWrite = []byte{2048: 42} // monitorDiskStatus should be called once when a drive has been marked offline. // Once the disk has been deemed ok, it will return to online status.
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sun Apr 28 17:53:50 GMT 2024 - 33K bytes - Viewed (0) -
cmd/server_test.go
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Feb 22 06:26:06 GMT 2024 - 108K bytes - Viewed (0) -
cmd/format-erasure_test.go
benchmarkInitStorageDisksN(b, 1024) } func BenchmarkInitStorageDisks2048(b *testing.B) { benchmarkInitStorageDisksN(b, 2048) } func BenchmarkInitStorageDisksMax(b *testing.B) { benchmarkInitStorageDisksN(b, 32*204) } func benchmarkInitStorageDisksN(b *testing.B, nDisks int) { b.ResetTimer() b.ReportAllocs() fsDirs, err := getRandomDisks(nDisks)
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Mon Apr 15 08:25:46 GMT 2024 - 12.9K bytes - Viewed (0) -
cmd/iam.go
if err != nil { return auth.Credentials{}, time.Time{}, err } policyBuf, err = json.Marshal(opts.sessionPolicy) if err != nil { return auth.Credentials{}, time.Time{}, err } if len(policyBuf) > 2048 { return auth.Credentials{}, time.Time{}, errSessionPolicyTooLarge } } // found newly requested service account, to be same as // parentUser, reject such operations. if parentUser == opts.accessKey {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 25 21:28:16 GMT 2024 - 71.1K bytes - Viewed (1) -
cmd/erasure-server-pool.go
} ) // Maximum number of reusable buffers per node at any given point in time. n := uint64(1024) // single node single/multiple drives set this to 1024 entries if globalIsDistErasure { n = 2048 } // Avoid allocating more than half of the available memory if maxN := availableMemory() / (blockSizeV2 * 2); n > maxN { n = maxN } if globalIsCICD || strconv.IntSize == 32 {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri May 03 20:08:20 GMT 2024 - 80.5K bytes - Viewed (0) -
cmd/sts-handlers.go
// The plain text that you use for both inline and managed session // policies shouldn't exceed 2048 characters. if len(sessionPolicyStr) > 2048 { writeSTSErrorResponse(ctx, w, ErrSTSInvalidParameterValue, fmt.Errorf("Session policy should not exceed 2048 characters")) return } if len(sessionPolicyStr) > 0 {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed May 01 21:31:13 GMT 2024 - 34.7K bytes - Viewed (2)