FreeBSD/contrib/subversion/subversion/libsvn_subr/cache-membuffer.c
/* Count a hit in ENTRY within CACHE.
 */
Count a hit in ENTRY within CACHE.
Count a hit in ENTRY within CACHE .
static void
increment_hit_counters(svn_membuffer_t *cache, entry_t *entry)
{
  svn_atomic_inc(&entry->hit_count);
  cache->total_hits++;
}
static void increment_hit_counters ( svn_membuffer_t * cache , entry_t * entry ) { svn_atomic_inc ( & entry -> hit_count ) ; cache -> total_hits ++ ; }
Count a hit in ENTRY within CACHE.
Count a hit in ENTRY within CACHE .
/* To minimize the memory footprint of the cache index, we limit local
   * hit counters to 32 bits.  These may overflow but we don't really
   * care because at worst, ENTRY will be dropped from cache once every
   * few billion hits. */ /* That one is for stats only. */