MCPcopy Create free account
hub / github.com/clMathLibraries/clBLAS / kstrcpy

Function kstrcpy

src/library/common/kgen_basic.c:384–392  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

382}
383
384void
385kstrcpy(Kstring *kstr, const char *str)
386{
387 const int lastByte = sizeof(kstr->buf) - 1;
388
389 kstr->buf[lastByte] = '\0';
390 strncpy(kstr->buf, str, sizeof(kstr->buf));
391 assert(kstr->buf[lastByte] == '\0');
392}
393
394void
395ksprintf(Kstring *kstr, const char *fmt,...)

Callers 15

genPointerUpdateFunction · 0.85
sprintfComplexMulUpdateFunction · 0.85
sprintfFastScalarMadFunction · 0.85
sprintfVectorComponentFunction · 0.85
sprintfLinearOffsetFunction · 0.85
sprintfLeadingDimensionFunction · 0.85
fillRawLDFunction · 0.85
sprintfGboundKFunction · 0.85
sprintfOffsetStatelessFunction · 0.85
prepareTmpCoordsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected