Lines Matching refs:clamp
89 func clamp(n int) int {
109 n := copy(my8(output8[out:clamp(out+length)]), input8[in:clamp(in+length)])
111 n = copy(my8(outputS[out:clamp(out+length)]), myS(inputS[in:clamp(in+length)]))
113 n = copy(my16(output16[out:clamp(out+length)]), input16[in:clamp(in+length)])
115 n = copy(my32(output32[out:clamp(out+length)]), my32b(input32[in:clamp(in+length)]))
117 n = copy(my64(output64[out:clamp(out+length)]), input64[in:clamp(in+length)])