Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ResetTimer (0.07 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 Dec 30 11:13:12 UTC 2025
    - Last Modified: Tue Dec 23 23:54:14 UTC 2025
    - 62.9K bytes
    - Viewed (0)
  2. lib/fips140/v1.1.0-rc1.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 Dec 30 11:13:12 UTC 2025
    - Last Modified: Thu Dec 11 16:27:41 UTC 2025
    - 663K bytes
    - Viewed (0)
Back to top