| 111 | |
| 112 | #define COMPRESS_MAX ((1 << QL_COMP_BITS)-1) |
| 113 | void quicklistSetCompressDepth(quicklist *quicklist, int compress) { |
| 114 | if (compress > COMPRESS_MAX) { |
| 115 | compress = COMPRESS_MAX; |
| 116 | } else if (compress < 0) { |
| 117 | compress = 0; |
| 118 | } |
| 119 | quicklist->compress = compress; |
| 120 | } |
| 121 | |
| 122 | #define FILL_MAX ((1 << (QL_FILL_BITS-1))-1) |
| 123 | void quicklistSetFill(quicklist *quicklist, int fill) { |
no outgoing calls
no test coverage detected