Show More
@@ -19,7 +19,7 b'' | |||||
19 |
|
19 | |||
20 | /* Hash implementation from diffutils */ |
|
20 | /* Hash implementation from diffutils */ | |
21 | #define ROL(v, n) ((v) << (n) | (v) >> (sizeof(v) * CHAR_BIT - (n))) |
|
21 | #define ROL(v, n) ((v) << (n) | (v) >> (sizeof(v) * CHAR_BIT - (n))) | |
22 |
#define HASH(h, c) ((c) + ROL(h |
|
22 | #define HASH(h, c) ((c) + ROL(h, 7)) | |
23 |
|
23 | |||
24 | struct pos { |
|
24 | struct pos { | |
25 | int pos, len; |
|
25 | int pos, len; |
General Comments 0
You need to be logged in to leave comments.
Login now