j
k
j a
j l
... if (buflen >= 31) cnt = 31; else return buflen; cnt = buflen; I could simplify this if/else by: cnt = buflen & 0x1F; but I think it will not be readable for other people. ...
if (buflen >= 31) cnt = 31; else return buflen; cnt = buflen;
if (buflen >= 31)
cnt = 31; else
return buflen;
cnt = buflen;
I could simplify this if/else by:
cnt = buflen & 0x1F;
but I think it will not be readable for other people.
It would also be wrong ...
32 & 0x1F = 0 ...
Cheers,
Sylvain
Attachments:
Back to the thread
Back to the list