@@ -275,13 +275,13 @@ function unsafe_copyto!(dest::Ptr{T}, src::Ptr{T}, n) where T
275
275
end
276
276
277
277
"""
278
- unsafe_copyto!(dest::Array, do , src::Array, so, N )
278
+ unsafe_copyto!(dest::Array, doffs , src::Array, soffs, n )
279
279
280
- Copy `N ` elements from a source array to a destination, starting at the linear index `so ` in the
281
- source and `do ` in the destination (1-indexed).
280
+ Copy `n ` elements from a source array to a destination, starting at the linear index `soffs ` in the
281
+ source and `doffs ` in the destination (1-indexed).
282
282
283
283
The `unsafe` prefix on this function indicates that no validation is performed to ensure
284
- that N is inbounds on either array. Incorrect usage may corrupt or segfault your program, in
284
+ that n is inbounds on either array. Incorrect usage may corrupt or segfault your program, in
285
285
the same manner as C.
286
286
"""
287
287
function unsafe_copyto! (dest:: Array , doffs, src:: Array , soffs, n)
@@ -291,10 +291,10 @@ function unsafe_copyto!(dest::Array, doffs, src::Array, soffs, n)
291
291
end
292
292
293
293
"""
294
- copyto!(dest, do , src, so, N )
294
+ copyto!(dest, doffs , src, soffs, n )
295
295
296
- Copy `N ` elements from collection `src` starting at the linear index `so `, to array `dest` starting at
297
- the index `do `. Return `dest`.
296
+ Copy `n ` elements from collection `src` starting at the linear index `soffs `, to array `dest` starting at
297
+ the index `doffs `. Return `dest`.
298
298
"""
299
299
copyto! (dest:: Array , doffs:: Integer , src:: Array , soffs:: Integer , n:: Integer ) = _copyto_impl! (dest, doffs, src, soffs, n)
300
300
copyto! (dest:: Array , doffs:: Integer , src:: Memory , soffs:: Integer , n:: Integer ) = _copyto_impl! (dest, doffs, src, soffs, n)
0 commit comments