| 1452 | }; |
| 1453 | |
| 1454 | static unsigned int pack_entry_hash(struct packed_git *p, off_t base_offset) |
| 1455 | { |
| 1456 | unsigned int hash; |
| 1457 | |
| 1458 | hash = (unsigned int)(intptr_t)p + (unsigned int)base_offset; |
| 1459 | hash += (hash >> 8) + (hash >> 16); |
| 1460 | return hash; |
| 1461 | } |
| 1462 | |
| 1463 | static struct delta_base_cache_entry * |
| 1464 | get_delta_base_cache_entry(struct packed_git *p, off_t base_offset) |
no outgoing calls
no test coverage detected