* Compute index term limit based on configuration. */
| 374 | * Compute index term limit based on configuration. |
| 375 | */ |
| 376 | inline static uint32_t |
| 377 | ComputeIndexTermLimit(uint32_t baseIndexTermLimit) |
| 378 | { |
| 379 | uint32_t indexTermLimit = baseIndexTermLimit; |
| 380 | |
| 381 | if (IndexTruncationLimitOverride > 0 && |
| 382 | ((uint32_t) IndexTruncationLimitOverride) < indexTermLimit) |
| 383 | { |
| 384 | indexTermLimit = IndexTruncationLimitOverride; |
| 385 | } |
| 386 | |
| 387 | return indexTermLimit; |
| 388 | } |
| 389 | |
| 390 | |
| 391 | inline static bool |
no outgoing calls
no test coverage detected