| 2382 | } |
| 2383 | |
| 2384 | static int match_hash(unsigned len, const unsigned char *a, const unsigned char *b) |
| 2385 | { |
| 2386 | do { |
| 2387 | if (*a != *b) |
| 2388 | return 0; |
| 2389 | a++; |
| 2390 | b++; |
| 2391 | len -= 2; |
| 2392 | } while (len > 1); |
| 2393 | if (len) |
| 2394 | if ((*a ^ *b) & 0xf0) |
| 2395 | return 0; |
| 2396 | return 1; |
| 2397 | } |
| 2398 | |
| 2399 | static int for_each_prefixed_object_in_midx( |
| 2400 | struct packfile_store *store, |
no outgoing calls
no test coverage detected