MCPcopy Create free account
hub / github.com/F-Stack/f-stack / ngx_memcpy

Function ngx_memcpy

app/nginx-1.28.0/src/core/ngx_string.c:2093–2102  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2091#if (NGX_MEMCPY_LIMIT)
2092
2093void *
2094ngx_memcpy(void *dst, const void *src, size_t n)
2095{
2096 if (n > NGX_MEMCPY_LIMIT) {
2097 ngx_log_error(NGX_LOG_ALERT, ngx_cycle->log, 0, "memcpy %uz bytes", n);
2098 ngx_debug_point();
2099 }
2100
2101 return memcpy(dst, src, n);
2102}
2103
2104#endif

Calls 3

ngx_log_errorFunction · 0.85
ngx_debug_pointFunction · 0.85
memcpyFunction · 0.50

Tested by

no test coverage detected