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

Function buffreplace

app/redis-6.2.6/deps/lua/src/llex.c:172–177  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

170
171
172static void buffreplace (LexState *ls, char from, char to) {
173 size_t n = luaZ_bufflen(ls->buff);
174 char *p = luaZ_buffer(ls->buff);
175 while (n--)
176 if (p[n] == from) p[n] = to;
177}
178
179
180static void trydecpoint (LexState *ls, SemInfo *seminfo) {

Callers 2

trydecpointFunction · 0.70
read_numeralFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected