| 1921 | |
| 1922 | static struct pbase_tree_cache *(pbase_tree_cache[256]); |
| 1923 | static int pbase_tree_cache_ix(const struct object_id *oid) |
| 1924 | { |
| 1925 | return oid->hash[0] % ARRAY_SIZE(pbase_tree_cache); |
| 1926 | } |
| 1927 | static int pbase_tree_cache_ix_incr(int ix) |
| 1928 | { |
| 1929 | return (ix+1) % ARRAY_SIZE(pbase_tree_cache); |