🌐
GitHub
github.com › buhman › saturn-examples › blob › main › memcpy.c
saturn-examples/memcpy.c at main · buhman/saturn-examples
void *memcpy(void *restrict dest, const void *restrict src, uint32_t n) { unsigned char *d = dest; const unsigned char *s = src; ·
Author   buhman
🌐
GitHub
github.com › ARM-software › optimized-routines › blob › master › string › bench › memcpy.c
optimized-routines/string/bench/memcpy.c at master · ARM-software/optimized-routines
* memcpy benchmark. * * Copyright (c) 2020-2023, Arm Limited. * SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception · */ · #define _GNU_SOURCE · #include <stdint.h> #include <stdio.h> #include <string.h> #include <assert.h> #include "stringlib.h" #include "benchlib.h" ·
Author   ARM-software
🌐
npm
npmjs.com › package › memcpy
memcpy - npm
July 14, 2015 - // C++ binding i memcpy.100k > ... i memcpy.100k > js ArrayBuffer -> ArrayBuffer: 1626.182ms · Source and target regions may overlap. ... Please keep in mind that - besides the nice numbers - this is still to be considered experimental. I'd love if you'd review the C++ code to validate ...
      » npm install memcpy
    
Published   Jul 14, 2015
Version   0.6.0
Author   Daniel Wirtz
🌐
Debian
sources.debian.org › src › glibc › 2.28-8 › string › memcpy.c
File: memcpy.c | Debian Sources
sources / glibc / 2.28-8 / string / memcpy.c · package info (click to toggle) glibc 2.28-8 · links: PTS, VCS · area: main · in suites: buster · size: 271,788 kB ·
🌐
GitHub
github.com › gcc-mirror › gcc › blob › master › libgcc › memcpy.c
gcc/libgcc/memcpy.c at master · gcc-mirror/gcc
memcpy (void *dest, const void *src, size_t len) { char *d = dest; const char *s = src; while (len--) *d++ = *s++; return dest; }
Author   gcc-mirror
🌐
KooR
koor.fr › C › cstring › memcpy.wp
KooR.fr - memcpy - Langage C
source : permet de définir l'adresse du bloc de mémoire à dupliquer. ... La fonction renvoie l'adresse du bloc de mémoire de destination. #include <stdio.h> #include <stdlib.h> #include <string.h> int main() { int array [] = { 54, 85, 20, ...
Find elsewhere
🌐
GitHub
github.com › lattera › freebsd › blob › master › lib › libc › string › memcpy.c
freebsd/lib/libc/string/memcpy.c at master · lattera/freebsd
FreeBSD's source with custom patches. Contribute to lattera/freebsd development by creating an account on GitHub.
Author   lattera
🌐
GitHub
github.com › ARM-software › arm-trusted-firmware › blob › master › lib › libc › memcpy.c
arm-trusted-firmware/lib/libc/memcpy.c at master · ARM-software/arm-trusted-firmware
void *memcpy(void *dst, const void *src, size_t len) { const char *s = src; char *d = dst; · while (len--) { *d++ = *s++; } ·
Author   ARM-software
🌐
Programiz
programiz.com › cpp-programming › library-function › cstring › memcpy
C++ memcpy() - C++ Standard Library
We have then used the memcpy() function to copy 5 elements of source[] to destination[]. ... Notice the argument sizeof(int) * 5. The code sizeof(int) gives the total bytes occupied by a single int data i.e.
🌐
GitHub
github.com › embeddedartistry › embedded-resources › blob › master › examples › libc › string › memcpy.c
embedded-resources/examples/libc/string/memcpy.c at master · embeddedartistry/embedded-resources
Embedded Artistry Templates, Documents, and Source Code - embedded-resources/examples/libc/string/memcpy.c at master · embeddedartistry/embedded-resources
Author   embeddedartistry
🌐
cppreference.com
en.cppreference.com › c › string › byte › memcpy
memcpy, memcpy_s - cppreference.com
... #define __STDC_WANT_LIB_EXT1__ ... simple usage char source[] = "once upon a midnight dreary...", dest[4]; memcpy(dest, source, sizeof dest); for(size_t n = 0; n < sizeof dest; ++n) putchar(dest[n]); // setting effective type of allocated memory to be int int *p = ...
🌐
GitHub
github.com › huntinux › C › blob › master › memcpy.c
C/memcpy.c at master · huntinux/C
memcpy(void *dest, const void *src, size_t n) { char *pdest; · const char *psrc; int i ; · pdest = (char *)dest; psrc = (const char *)src; · assert(pdest!=NULL && psrc!=NULL); · // 处理区域重叠问题 · if(pdest > psrc ...
Author   huntinux
🌐
GitHub
github.com › lattera › glibc › blob › master › sysdeps › x86_64 › memcpy.S
glibc/sysdeps/x86_64/memcpy.S at master · lattera/glibc
February 5, 2022 - GNU Libc - Extremely old repo used for research purposes years ago. Please do not rely on this repo. - glibc/sysdeps/x86_64/memcpy.S at master · lattera/glibc
Author   lattera
🌐
Linux Man Pages
man7.org › linux › man-pages › man3 › memcpy.3.html
memcpy(3) - Linux manual page
The memcpy() function copies n bytes from memory area src to memory area dest. The memory areas must not overlap.
🌐
Code Browser
codebrowser.dev › glibc › glibc › string › memcpy.c.html
memcpy.c source code [glibc/string/memcpy.c] - Codebrowser
Generated while processing glibc/benchtests/bench-memcpy.c Generated on 2026-Feb-08 from project glibc revision glibc-2.39-288-gce65d944e3 Powered by Code Browser 2.1 Generator usage only permitted with license.