MCPcopy Create free account
hub / github.com/ashvardanian/StringZilla / sz_dispatch_table_init

Function sz_dispatch_table_init

c/stringzilla.c:343–346  ·  view source on GitHub ↗

* @brief Initializes a global static "virtual table" of supported backends * Run it just once to avoiding unnecessary `if`-s. */

Source from the content-addressed store, hash-verified

341 * Run it just once to avoiding unnecessary `if`-s.
342 */
343SZ_DYNAMIC void sz_dispatch_table_init(void) {
344 sz_capability_t caps = sz_capabilities();
345 sz_dispatch_table_update_implementation_(caps);
346}
347
348SZ_DYNAMIC void sz_dispatch_table_update(sz_capability_t caps) { sz_dispatch_table_update_implementation_(caps); }
349

Callers 2

DllMainFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…