Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for my8 (0.01 sec)

  1. test/copy.go

    	if in+n > N {
    		n = N - in
    	}
    	if out+n > N {
    		n = N - out
    	}
    	return n
    }
    
    func doAllSlices(length, in, out int) {
    	reset()
    	n := copy(my8(output8[out:clamp(out+length)]), input8[in:clamp(in+length)])
    	verify8(length, in, out, n)
    	n = copy(my8(outputS[out:clamp(out+length)]), myS(inputS[in:clamp(in+length)]))
    	verifyS(length, in, out, n)
    	n = copy(my16(output16[out:clamp(out+length)]), input16[in:clamp(in+length)])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 12 18:17:49 UTC 2013
    - 6.6K bytes
    - Viewed (0)
Back to top