Home
last modified time | relevance | path

Searched refs:kMtfBits (Results 1 – 2 of 2) sorted by relevance

/dports/archivers/maxcso/maxcso-1.10.0/7zip/CPP/7zip/Compress/
H A DBZip2Decoder.cpp351 const unsigned kMtfBits = 4; in ReadBlock2() local
352 const UInt32 kMtfMask = (1 << kMtfBits) - 1; in ReadBlock2()
364 UInt32 tmp = (state2 >> (kMtfBits * state4)) & kMtfMask; in ReadBlock2()
365 UInt32 mask = ((UInt32)1 << ((state4 + 1) * kMtfBits)) - 1; in ReadBlock2()
367 state2 = ((state2 << kMtfBits) & mask) | (state2 & ~mask) | tmp; in ReadBlock2()
/dports/archivers/7-zip/7-zip-21.07/CPP/7zip/Compress/
H A DBZip2Decoder.cpp354 const unsigned kMtfBits = 4; in ReadBlock2() local
355 const UInt32 kMtfMask = (1 << kMtfBits) - 1; in ReadBlock2()
367 UInt32 tmp = (state2 >> (kMtfBits * state4)) & kMtfMask; in ReadBlock2()
368 UInt32 mask = ((UInt32)1 << ((state4 + 1) * kMtfBits)) - 1; in ReadBlock2()
370 state2 = ((state2 << kMtfBits) & mask) | (state2 & ~mask) | tmp; in ReadBlock2()