* Return a numerical hash value between 0 and n-1 for the object with * the specified sha1. n must be a power of 2. Please note that the * return value is *not* consistent across computer architectures. */
| 64 | * return value is *not* consistent across computer architectures. |
| 65 | */ |
| 66 | static unsigned int hash_obj(const struct object_id *oid, unsigned int n) |
| 67 | { |
| 68 | return oidhash(oid) & (n - 1); |
| 69 | } |
| 70 | |
| 71 | /* |
| 72 | * Insert obj into the hash table hash, which has length size (which |
no test coverage detected