| 8533 | * state. |
| 8534 | */ |
| 8535 | |
| 8536 | #define DS4_TOOL_MEMORY_DEFAULT_MAX_IDS 100000 |
| 8537 | #define DS4_TOOL_MEMORY_MAX_BYTES (512u * 1024u * 1024u) |
| 8538 | |
| 8539 | static int tool_memory_max_entries(const tool_memory *m) { |
| 8540 | return m && m->max_entries > 0 ? m->max_entries : DS4_TOOL_MEMORY_DEFAULT_MAX_IDS; |
no test coverage detected