OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:needed_slots
(Results
1 - 2
of
2
) sorted by null
/external/chromium_org/third_party/tcmalloc/vendor/src/
tcmalloc.cc
490
int
needed_slots
= 0;
local
497
needed_slots
+= 3 + t->depth;
499
needed_slots
+= 100; // Slop in case list grows
500
needed_slots
+=
needed_slots
/8; // An extra 12.5% slop
503
void** result = new void*[
needed_slots
];
507
needed_slots
* sizeof(*result));
517
ASSERT(used_slots <
needed_slots
); // Need to leave room for terminator
518
if (used_slots + 3 + t->depth >=
needed_slots
) {
[
all
...]
/external/chromium_org/third_party/tcmalloc/chromium/src/
tcmalloc.cc
521
int
needed_slots
= 0;
local
528
needed_slots
+= 3 + t->depth;
530
needed_slots
+= 100; // Slop in case list grows
531
needed_slots
+=
needed_slots
/8; // An extra 12.5% slop
534
void** result = new void*[
needed_slots
];
538
needed_slots
* sizeof(*result));
548
ASSERT(used_slots <
needed_slots
); // Need to leave room for terminator
549
if (used_slots + 3 + t->depth >=
needed_slots
) {
[
all
...]
Completed in 318 milliseconds