Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for 10MB (0.04 sec)

  1. cmd/object-api-putobject_test.go

    }
    
    // BenchmarkPutObject10MbFS - Benchmark FS.PutObject() for object size of 10MB.
    func BenchmarkPutObject10MbFS(b *testing.B) {
    	benchmarkPutObject(b, "FS", 10*humanize.MiByte)
    }
    
    // BenchmarkPutObject10MbErasure - Benchmark Erasure.PutObject() for object size of 10MB.
    func BenchmarkPutObject10MbErasure(b *testing.B) {
    	benchmarkPutObject(b, "Erasure", 10*humanize.MiByte)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  2. istioctl/pkg/cli/kubectl_factory.go

    }
    
    var _ util.Factory = Factory{}
    
    // MakeKubeFactory turns a partial kubetl factory from CLIClient into a full util.Factory
    // This is done under istioctl/ to avoid excessive binary bloat in other packages; this pulls in around 10mb of
    // dependencies.
    var MakeKubeFactory = func(k kube.CLIClient) util.Factory {
    	kf := k.UtilFactory()
    	return Factory{
    		PartialFactory: kf,
    		full:           util.NewFactory(kf),
    	}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Jun 09 18:17:49 UTC 2023
    - 2K bytes
    - Viewed (0)
  3. internal/http/response-recorder.go

    	lrw.bytesWritten += n
    	if lrw.ttfbBody == 0 {
    		lrw.ttfbBody = time.Now().UTC().Sub(lrw.StartTime)
    	}
    
    	if (lrw.LogErrBody && lrw.StatusCode >= http.StatusBadRequest) || lrw.LogAllBody {
    		// If body is > 10MB, drop it.
    		if lrw.bytesWritten+len(p) > 10<<20 {
    			lrw.LogAllBody = false
    			lrw.body = bytes.Buffer{}
    		} else {
    			// Always logging error responses.
    			lrw.body.Write(p)
    		}
    	}
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 17:13:00 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  4. internal/config/crypto_test.go

    		}
    	}
    	b.Run("1KB", func(b *testing.B) { benchmarkEncrypt(1*1024, b) })
    	b.Run("512KB", func(b *testing.B) { benchmarkEncrypt(512*1024, b) })
    	b.Run("1MB", func(b *testing.B) { benchmarkEncrypt(1024*1024, b) })
    	b.Run("10MB", func(b *testing.B) { benchmarkEncrypt(10*1024*1024, b) })
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 07 23:55:37 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  5. cmd/object-api-multipart_test.go

    }
    
    // BenchmarkPutObjectPart10MbFS - Benchmark FS.PutObjectPart() for object size of 10MB.
    func BenchmarkPutObjectPart10MbFS(b *testing.B) {
    	benchmarkPutObjectPart(b, "FS", 10*humanize.MiByte)
    }
    
    // BenchmarkPutObjectPart10MbErasure - Benchmark Erasure.PutObjectPart() for object size of 10MB.
    func BenchmarkPutObjectPart10MbErasure(b *testing.B) {
    	benchmarkPutObjectPart(b, "Erasure", 10*humanize.MiByte)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 09:42:21 UTC 2024
    - 88.8K bytes
    - Viewed (0)
  6. cmd/server_test.go

    	for i := 0; i < 10*1024; i++ {
    		buffer.WriteString(fmt.Sprintf("[%05d] %s\n", i, line))
    	}
    
    	putContent := buffer.String()
    	buf := bytes.NewReader([]byte(putContent))
    
    	objectName := "test-big-10Mb-file"
    	// HTTP request to upload the object.
    	request, err = newTestSignedRequest(http.MethodPut, getPutObjectURL(s.endPoint, bucketName, objectName),
    		int64(buf.Len()), buf, s.accessKey, s.secretKey, s.signer)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 15 16:28:02 UTC 2024
    - 116.3K bytes
    - Viewed (0)
Back to top