- Sort Score
- Num 10 results
- Language All
Results 161 - 164 of 164 for benchmark (0.09 seconds)
-
src/bytes/bytes_test.go
if r != needle { rs = append(rs, r) } } } // Shuffle the runes so that they are not in descending order. // The sort is deterministic since this is used for benchmarks, // which need to be repeatable. rr := rand.New(rand.NewSource(1)) rr.Shuffle(len(rs), func(i, j int) { rs[i], rs[j] = rs[j], rs[i] }) uchars := string(rs) return func(b *testing.B, n int) {Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Tue Dec 23 23:54:14 GMT 2025 - 62.9K bytes - Click Count (0) -
api/go1.txt
pkg syscall, type SysProcAttr struct pkg syscall, type Timespec struct pkg syscall, type Timeval struct pkg syscall, var ForkLock sync.RWMutex pkg syscall, var SocketDisableIPv6 bool pkg testing, func Benchmark(func(*B)) BenchmarkResult pkg testing, func Main(func(string, string) (bool, error), []InternalTest, []InternalBenchmark, []InternalExample) pkg testing, func RunBenchmarks(func(string, string) (bool, error), []InternalBenchmark)
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Wed Aug 14 18:58:28 GMT 2013 - 1.7M bytes - Click Count (0) -
lib/fips140/v1.1.0-rc1.zip
func BenchmarkCAST(b *testing.B) { // IG 10.3.A says "ML-DSA digital signature generation CASTs should cover // all applicable rejection sampling loop paths". For ML-DSA-44, there are // four paths. For ML-DSA-65 and ML-DSA-87, only three. This benchmark helps // us figure out which is faster: four rejections of ML-DSA-44, or three of // ML-DSA-65. (It's the former, but only barely.) b.Run("ML-DSA-44", func(b *testing.B) { // Same as TestACVPRejectionKAT/Test/Path/ML-DSA-44/1. seed := fromHex("5...
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Thu Dec 11 16:27:41 GMT 2025 - 663K bytes - Click Count (0) -
lib/fips140/v1.0.0-c2097c7c.zip
B(&x, B, &y) q1.ScalarBaseMult(&x) q2.ScalarBaseMult(&y) check.Add(&q1, &q2) checkOnCurve(t, &p, &check, &q1, &q2) return p.Equal(&check) == 1 } if err := quick.Check(varTimeDoubleBaseMul, quickCheckConfig(32)); err != nil { t.Error(err) } } // Benchmarks. func BenchmarkScalarBaseM(b *testing.B) { var p Point for i := 0; i < b.N; i++ { p.ScalarBaseMult(dalekScalar) } } func BenchmarkScalarMult(b *testing.B) { var p Point for i := 0; i < b.N; i++ { p.ScalarMult(dalekScalar, B) } } func BenchmarkVarTimeDoub(b...
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Thu Sep 25 19:53:19 GMT 2025 - 642.7K bytes - Click Count (0)