Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for sentBytes (0.12 sec)

  1. cmd/metrics-v3-api.go

    		recvBytes := inOut.In
    		if recvBytes > 0 {
    			m.Set(apiTrafficSentBytes, float64(recvBytes), "bucket", bucket, "type", "s3")
    		}
    		sentBytes := inOut.Out
    		if sentBytes > 0 {
    			m.Set(apiTrafficRecvBytes, float64(sentBytes), "bucket", bucket, "type", "s3")
    		}
    
    		httpStats := globalBucketHTTPStats.load(bucket)
    		for k, v := range httpStats.currentS3Requests.Load(false) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Sep 24 17:13:00 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  2. cmd/metrics-v2.go

    					Value:          float64(recvBytes),
    					VariableLabels: map[string]string{"bucket": bucket},
    				})
    			}
    			sentBytes := inOut.Out
    			if sentBytes > 0 {
    				metrics = append(metrics, MetricV2{
    					Description:    getBucketTrafficSentBytes(),
    					Value:          float64(sentBytes),
    					VariableLabels: map[string]string{"bucket": bucket},
    				})
    			}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 133.4K bytes
    - Viewed (0)
  3. cmd/data-usage-cache_gen_test.go

    	bts := make([]byte, 0, v.Msgsize())
    	bts, _ = v.MarshalMsg(bts[0:0])
    	b.SetBytes(int64(len(bts)))
    	b.ReportAllocs()
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		bts, _ = v.MarshalMsg(bts[0:0])
    	}
    }
    
    func BenchmarkUnmarshalallTierStats(b *testing.B) {
    	v := allTierStats{}
    	bts, _ := v.MarshalMsg(nil)
    	b.ReportAllocs()
    	b.SetBytes(int64(len(bts)))
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Oct 04 22:23:33 UTC 2024
    - 19K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/ServerMessageBlockTest.java

            smb.setParamWords(params);
            smb.setBytes(bytes);
    
            byte[] buffer = new byte[1024];
            int length = smb.encode(buffer, 0);
    
            // Create a new SMB to decode into
            TestServerMessageBlock decodedSmb = new TestServerMessageBlock();
            decodedSmb.setParamWords(new byte[params.length]);
            decodedSmb.setBytes(new byte[bytes.length]);
            decodedSmb.decode(buffer, 0);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  5. cmd/storage-datatypes_test.go

    		Name:    "uuid",
    		Created: time.Now(),
    	}
    	var buf bytes.Buffer
    	msgp.Encode(&buf, &v)
    	rd := msgp.NewEndlessReader(buf.Bytes(), b)
    	dc := msgp.NewReader(rd)
    	b.Log("Size:", buf.Len(), "bytes")
    	b.SetBytes(1)
    	b.ReportAllocs()
    
    	for b.Loop() {
    		err := v.DecodeMsg(dc)
    		if err != nil {
    			b.Fatal(err)
    		}
    	}
    }
    
    func BenchmarkDecodeDiskInfoMsgp(b *testing.B) {
    	v := DiskInfo{
    		Total:     1000,
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  6. cmd/xl-storage-format_test.go

    				b.Fatal(err)
    			}
    			b.Logf("Serialized size: %d bytes", len(enc))
    			rng := rand.New(rand.NewSource(0))
    			dump := make([]byte, len(enc))
    			b.Run("UpdateObjectVersion", func(b *testing.B) {
    				b.SetBytes(int64(size))
    				b.ResetTimer()
    				b.ReportAllocs()
    				for b.Loop() {
    					// Load...
    					xl = xlMetaV2{}
    					err := xl.Load(enc)
    					if err != nil {
    						b.Fatal(err)
    					}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  7. cmd/erasure-sets_test.go

    		key int
    	}{
    		{16},
    		{64},
    		{128},
    		{256},
    		{512},
    		{1024},
    	}
    	for _, testCase := range cases {
    		key := randString(testCase.key)
    		b.Run("", func(b *testing.B) {
    			b.SetBytes(1024)
    			b.ReportAllocs()
    			b.ResetTimer()
    			for b.Loop() {
    				crcHashMod(key, 16)
    			}
    		})
    	}
    }
    
    func BenchmarkSipHash(b *testing.B) {
    	cases := []struct {
    		key int
    	}{
    		{16},
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  8. cmd/metrics-v3-bucket-replication.go

    	bucketReplProxiedPutTaggingRequestsFailures    = "proxied_put_tagging_requests_failures"
    	bucketReplProxiedPutTaggingRequestsTotal       = "proxied_put_tagging_requests_total"
    	bucketReplSentBytes                            = "sent_bytes"
    	bucketReplSentCount                            = "sent_count"
    	bucketReplTotalFailedBytes                     = "total_failed_bytes"
    	bucketReplTotalFailedCount                     = "total_failed_count"
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Jun 04 20:45:31 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  9. cmd/xl-storage-format-v2_test.go

    	}
    
    	b.Run("requested-none", func(b *testing.B) {
    		b.ReportAllocs()
    		b.ResetTimer()
    		b.SetBytes(855) // number of versions...
    		for b.Loop() {
    			mergeXLV2Versions(8, false, 0, vers...)
    		}
    	})
    
    	b.Run("requested-v1", func(b *testing.B) {
    		b.ReportAllocs()
    		b.ResetTimer()
    		b.SetBytes(855) // number of versions...
    		for b.Loop() {
    			mergeXLV2Versions(8, false, 1, vers...)
    		}
    	})
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 37.8K bytes
    - Viewed (0)
  10. cmd/generic-handlers_test.go

    		{name: "long", input: strings.Repeat("a/", 2000), want: false},
    		{name: "long-fail", input: strings.Repeat("a/", 2000) + "../..", want: true},
    	}
    	for _, tt := range tests {
    		t.Run(tt.name, func(b *testing.B) {
    			b.SetBytes(int64(len(tt.input)))
    			b.ReportAllocs()
    			for b.Loop() {
    				if got := hasBadPathComponent(tt.input); got != tt.want {
    					t.Fatalf("hasBadPathComponent() = %v, want %v", got, tt.want)
    				}
    			}
    		})
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 6.2K bytes
    - Viewed (0)
Back to top