Searched refs:needed_slots (Results 1 – 1 of 1) sorted by relevance
3224 int needed_slots = 0; in CreateCacheIfNecessary() local3229 needed_slots += 3 + stack->depth; in CreateCacheIfNecessary()3231 needed_slots += 100; // Slop in case sample grows in CreateCacheIfNecessary()3232 needed_slots += needed_slots/8; // An extra 12.5% slop in CreateCacheIfNecessary()3235 void** result = new void*[needed_slots]; in CreateCacheIfNecessary()3238 needed_slots); in CreateCacheIfNecessary()3245 ASSERT(used_slots < needed_slots); // Need to leave room for terminator in CreateCacheIfNecessary()3247 if (used_slots + 3 + stack->depth >= needed_slots) { in CreateCacheIfNecessary()