Adopt naming conventions that are (1) case-consistent by identifier kind and (2) semantically self-documenting (what it represents/includes/excludes, and what the function returns).
Rules
*Shared* / *Unshared* when inclusion varies.should..., try..., is...) or the code should clearly define it in the comment immediately above the function.clientsCronRunClient-style).Examples
mem_clients_ref / mem_clients_orphan_ref (but ensure docs/state match inclusion).getClientMemoryUsage() vs getClientOutputBufferMemoryUsage() should clearly state inclusion/exclusion; if needed, rename one to reflect it (e.g., “Size” vs “Usage”).int shouldFreeClientAndHandleTimeout(...) over a generic cronHandleClients(...) if the return value drives control flow.uint64_t *kvObjMetaRef(...) (function: camelCase).lower_mask (locals: snake_case).Enter the URL of a public GitHub repository