Retoor software development Projects Research SearchXNG
Register Sign In

12 lines
233 B
C
Raw Normal View History

feat: add backup files for rlib core modules including arena, nsock, and autocomplete Introduces initial backup snapshots of core rlib components: arena allocator with construct/new/alloc/free/reset API, nsock network socket wrapper with select-based event loop, autocomplete string list implementation, argument parser utilities, and main dispatcher for httpd/rmerge/rcov/rcase tools. Includes MIT license header and rlib.h umbrella include with 30+ submodule headers.
2025-03-20 04:16:06 +01:00
#include "rhashtable.h"
#include "rtest.h"
#include "rstring.h"
int main() {
for (int i = 0; i < 1000; i++) {
char *key = rgenerate_key();
rset(key, "tast");
rasserts(!strcmp(rget(key), "tast"));
}
}
Reference in New Issue Copy Permalink
2ffc9b82ed
rlib/.backup.1.rhashtable.c
Response time: 31ms
Mail Licenses API