Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 43 of 43 for ResetTimer (0.08 sec)

  1. 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)
    			}
    		})
    	}
    }
    
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Jul 28 18:13:58 UTC 2025
    - 62.9K bytes
    - Viewed (0)
  2. lib/fips140/v1.0.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...
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Jan 29 15:10:35 UTC 2025
    - 635K bytes
    - Viewed (0)
  3. 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{})
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
Back to top