MCPcopy Create free account
hub / github.com/antirez/ds4 / status_name

Function status_name

ds4_eval.c:1738–1749  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1736 c.ssd_streaming_cache_bytes = bytes;
1737 } else if (!strcmp(arg, "--ssd-streaming-full-layers")) {
1738 int v = parse_nonnegative_int_arg(need_arg(&i, argc, argv, arg), arg);
1739 c.ssd_streaming_full_layers = (uint32_t)v;
1740 c.ssd_streaming_full_layers_set = true;
1741 } else if (!strcmp(arg, "--ssd-streaming-preload-experts")) {
1742 int v = parse_int_arg(need_arg(&i, argc, argv, arg), arg);
1743 if (v <= 0) {
1744 fprintf(stderr, "ds4-eval: --ssd-streaming-preload-experts must be positive\n");
1745 exit(2);
1746 }
1747 c.ssd_streaming_preload_experts = (uint32_t)v;
1748 } else if (!strcmp(arg, "--simulate-used-memory")) {
1749 if (!ds4_parse_gib_arg(need_arg(&i, argc, argv, arg),
1750 &c.simulate_used_memory_bytes)) {
1751 fprintf(stderr,
1752 "ds4-eval: --simulate-used-memory must be a positive GiB value, e.g. 64GB\n");

Callers 1

tui_draw_leftFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected