- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for BenchmarkPaeth (0.11 sec)
-
src/image/png/paeth_test.go
want := slowPaeth(uint8(a), uint8(b), uint8(c)) if got != want { t.Errorf("a, b, c = %d, %d, %d: got %d, want %d", a, b, c, got, want) } } } } } func BenchmarkPaeth(b *testing.B) { for i := 0; i < b.N; i++ { paeth(uint8(i>>16), uint8(i>>8), uint8(i)) } } func TestPaethDecode(t *testing.T) { pdat0 := make([]byte, 32) pdat1 := make([]byte, 32)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 08 04:08:51 UTC 2014 - 2.2K bytes - Viewed (0)