Validate that the entry doesn't reach outside the listpack allocation. */
| 924 | |
| 925 | /* Validate that the entry doesn't reach outside the listpack allocation. */ |
| 926 | static inline void lpAssertValidEntry(unsigned char* lp, size_t lpbytes, unsigned char *p) { |
| 927 | assert(lpValidateNext(lp, &p, lpbytes)); |
| 928 | } |
| 929 | |
| 930 | /* Validate the integrity of the data structure. |
| 931 | * when `deep` is 0, only the integrity of the header is validated. |
no test coverage detected