Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 55 of 55 for ResetTimer (0.36 seconds)

  1. internal/s3select/csv/reader_contrib_test.go

    		want := 309
    		for i := 0; i < n; i++ {
    			f = append(f, f...)
    			want *= 2
    		}
    		b.Run(fmt.Sprint(len(f)/(1<<10), "K"), func(b *testing.B) {
    			b.ReportAllocs()
    			b.SetBytes(int64(len(f)))
    			b.ResetTimer()
    			var record sql.Record
    			for b.Loop() {
    				r, err := NewReader(io.NopCloser(bytes.NewBuffer(f)), &args)
    				if err != nil {
    					b.Fatalf("Reading init failed with %s", err)
    				}
    
    				got := 0
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 38.4K bytes
    - Click Count (0)
  2. src/bytes/bytes_test.go

    		name  string
    		input []byte
    	}{
    		{"Valid", []byte("typical")},
    		{"InvalidASCII", []byte("foo\xffbar")},
    		{"InvalidNonASCII", []byte("日本語\xff日本語")},
    	}
    	replacement := []byte("\uFFFD")
    	b.ResetTimer()
    	for _, test := range tests {
    		b.Run(test.name, func(b *testing.B) {
    			for i := 0; i < b.N; i++ {
    				ToValidUTF8(test.input, replacement)
    			}
    		})
    	}
    }
    
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Wed Mar 11 03:07:05 GMT 2026
    - 62.9K bytes
    - Click Count (0)
  3. lib/fips140/v1.26.0.zip

    := makeBenchmarkValue() y := makeBenchmarkValue() m := makeBenchmarkModulus() b.ResetTimer() for i := 0; i < b.N; i++ { x.Add(y, m) } } func BenchmarkModSub(b *testing.B) { x := makeBenchmarkValue() y := makeBenchmarkValue() m := makeBenchmarkModulus() b.ResetTimer() for i := 0; i < b.N; i++ { x.Sub(y, m) } } func BenchmarkMontgomeryR(b *testing.B) { x := makeBenchmarkValue() m := makeBenchmarkModulus() b.ResetTimer() for i := 0; i < b.N; i++ { x.montgomeryRepresenta(m) } } func BenchmarkMontgomeryM(b...
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Jan 08 17:58:32 GMT 2026
    - 660.3K bytes
    - Click Count (0)
  4. lib/fips140/v1.0.0-c2097c7c.zip

    := makeBenchmarkValue() y := makeBenchmarkValue() m := makeBenchmarkModulus() b.ResetTimer() for i := 0; i < b.N; i++ { x.Add(y, m) } } func BenchmarkModSub(b *testing.B) { x := makeBenchmarkValue() y := makeBenchmarkValue() m := makeBenchmarkModulus() b.ResetTimer() for i := 0; i < b.N; i++ { x.Sub(y, m) } } func BenchmarkMontgomeryR(b *testing.B) { x := makeBenchmarkValue() m := makeBenchmarkModulus() b.ResetTimer() for i := 0; i < b.N; i++ { x.montgomeryRepresenta(m) } } func BenchmarkMontgomeryM(b...
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Sep 25 19:53:19 GMT 2025
    - 642.7K bytes
    - Click Count (0)
  5. api/go1.txt

    pkg testing, method (*B) Fatalf(string, ...interface{})
    pkg testing, method (*B) Log(...interface{})
    pkg testing, method (*B) Logf(string, ...interface{})
    pkg testing, method (*B) ResetTimer()
    pkg testing, method (*B) SetBytes(int64)
    pkg testing, method (*B) StartTimer()
    pkg testing, method (*B) StopTimer()
    pkg testing, method (*T) Error(...interface{})
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Wed Aug 14 18:58:28 GMT 2013
    - 1.7M bytes
    - Click Count (0)
Back to Top