Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestPaethDecode (0.1 sec)

  1. src/image/png/paeth_test.go

    				}
    			}
    		}
    	}
    }
    
    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)
    	pdat2 := make([]byte, 32)
    	cdat0 := make([]byte, 32)
    	cdat1 := make([]byte, 32)
    	cdat2 := make([]byte, 32)
    	r := rand.New(rand.NewSource(1))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 08 04:08:51 UTC 2014
    - 2.2K bytes
    - Viewed (0)
Back to top