Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 263 for resetTime (0.28 sec)

  1. cmd/batch-rotate_gen_test.go

    	v := BatchJobKeyRotateEncryption{}
    	b.ReportAllocs()
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		v.MarshalMsg(nil)
    	}
    }
    
    func BenchmarkAppendMsgBatchJobKeyRotateEncryption(b *testing.B) {
    	v := BatchJobKeyRotateEncryption{}
    	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])
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Aug 29 18:27:23 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  2. cmd/xl-storage-format-v2_gen_test.go

    	v := xlMetaDataDirDecoder{}
    	b.ReportAllocs()
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		v.MarshalMsg(nil)
    	}
    }
    
    func BenchmarkAppendMsgxlMetaDataDirDecoder(b *testing.B) {
    	v := xlMetaDataDirDecoder{}
    	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])
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Nov 18 20:15:22 UTC 2021
    - 11.5K bytes
    - Viewed (0)
  3. src/image/image_test.go

    	b.ResetTimer()
    
    	for i := 0; i < b.N; i++ {
    		m.RGBA64At(4, 5)
    	}
    }
    
    func BenchmarkRGBA64SetRGBA64(b *testing.B) {
    	m := NewRGBA64(Rect(0, 0, 10, 10))
    	c := color.RGBA64{0xffff, 0xffff, 0xffff, 0x1357}
    	b.ResetTimer()
    
    	for i := 0; i < b.N; i++ {
    		m.SetRGBA64(4, 5, c)
    	}
    }
    
    func BenchmarkNRGBAAt(b *testing.B) {
    	m := NewNRGBA(Rect(0, 0, 10, 10))
    	b.ResetTimer()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 30 02:00:49 UTC 2021
    - 10.8K bytes
    - Viewed (0)
  4. src/crypto/internal/nistec/fiat/fiat_test.go

    		b.ReportAllocs()
    		b.ResetTimer()
    		for i := 0; i < b.N; i++ {
    			v.Mul(v, v)
    		}
    	})
    	b.Run("P384", func(b *testing.B) {
    		v := new(fiat.P384Element).One()
    		b.ReportAllocs()
    		b.ResetTimer()
    		for i := 0; i < b.N; i++ {
    			v.Mul(v, v)
    		}
    	})
    	b.Run("P521", func(b *testing.B) {
    		v := new(fiat.P521Element).One()
    		b.ReportAllocs()
    		b.ResetTimer()
    		for i := 0; i < b.N; i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 05 21:53:03 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  5. cmd/metrics-v2_gen_test.go

    	v := MetricDescription{}
    	b.ReportAllocs()
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		v.MarshalMsg(nil)
    	}
    }
    
    func BenchmarkAppendMsgMetricDescription(b *testing.B) {
    	v := MetricDescription{}
    	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])
    	}
    }
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Mar 10 09:15:15 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  6. pkg/api/testing/serialization_proto_test.go

    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		if _, err := runtime.Encode(codec, &encodable[i%width]); err != nil {
    			b.Fatal(err)
    		}
    	}
    	b.StopTimer()
    }
    
    func BenchmarkEncodeProtobufGeneratedMarshal(b *testing.B) {
    	items := benchmarkItems(b)
    	width := len(items)
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 25 16:23:43 UTC 2022
    - 7.1K bytes
    - Viewed (0)
  7. src/runtime/memmove_test.go

    	p := new([7]byte)
    	Escape(p)
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		*p = [7]byte{}
    	}
    }
    
    func BenchmarkClearFat8(b *testing.B) {
    	p := new([8 / 4]uint32)
    	Escape(p)
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		*p = [8 / 4]uint32{}
    	}
    }
    
    func BenchmarkClearFat11(b *testing.B) {
    	p := new([11]byte)
    	Escape(p)
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 16:41:12 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  8. cmd/batch-handlers_gen_test.go

    	v := BatchJobRequest{}
    	b.ReportAllocs()
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		v.MarshalMsg(nil)
    	}
    }
    
    func BenchmarkAppendMsgBatchJobRequest(b *testing.B) {
    	v := BatchJobRequest{}
    	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])
    	}
    }
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Aug 29 18:27:23 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  9. cmd/storage-rest-common_gen_test.go

    	v := nsScannerOptions{}
    	b.ReportAllocs()
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		v.MarshalMsg(nil)
    	}
    }
    
    func BenchmarkAppendMsgnsScannerOptions(b *testing.B) {
    	v := nsScannerOptions{}
    	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])
    	}
    }
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Nov 21 01:09:35 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  10. internal/config/cache/remote_gen_test.go

    	v := CondCheck{}
    	b.ReportAllocs()
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		v.MarshalMsg(nil)
    	}
    }
    
    func BenchmarkAppendMsgCondCheck(b *testing.B) {
    	v := CondCheck{}
    	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])
    	}
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Nov 22 21:46:17 UTC 2023
    - 4.4K bytes
    - Viewed (0)
Back to top