Searched refs:NMAX (Results 1 - 2 of 2) sorted by relevance

/xnu-2422.115.4/libkern/zlib/
H A Dadler32.c45 #define NMAX 5552 macro
46 /* NMAX is the largest n such that 255n(n+1)/2 + (n+1)(BASE-1) <= 2^32-1 */
130 /* do length NMAX blocks -- requires just one modulo operation */
131 while (len >= NMAX) {
132 len -= NMAX;
133 n = NMAX / 16; /* NMAX is divisible by 16 */
142 /* do remaining bytes (less than NMAX, still just one modulo) */
/xnu-2422.115.4/libkern/
H A Dmkext.c34 #define NMAX 5552 // the largest n such that 255n(n+1)/2 + (n+1)(BASE-1) <= 2^32-1 macro
51 k = len < NMAX ? len : NMAX;

Completed in 72 milliseconds