Lines Matching refs:ref
112 ref := make([]byte, size)
113 copyref(ref, dst)
119 copyref(ref[y:y+n], src[x:x+n])
120 p := cmpb(dst, ref)
122 t.Fatalf("Copy failed, copying from src[%d:%d] to dst[%d:%d].\nOffset %d is different, %v != %v", x, x+n, y, y+n, p, dst[p], ref[p])
132 ref := make([]byte, size)
140 copyref(ref, src)
143 copyref(ref[y:y+n], ref[x:x+n])
145 copybw(ref[y:y+n], ref[x:x+n])
147 p := cmpb(test, ref)
149 t.Fatalf("Copy failed, copying from src[%d:%d] to dst[%d:%d].\nOffset %d is different, %v != %v", x, x+n, y, y+n, p, test[p], ref[p])