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
518
int
needed_slots
= 0;
local
525
needed_slots
+= 3 + t->depth;
527
needed_slots
+= 100; // Slop in case list grows
528
needed_slots
+=
needed_slots
/8; // An extra 12.5% slop
531
void** result = new void*[
needed_slots
];
535
needed_slots
* sizeof(*result));
545
ASSERT(used_slots <
needed_slots
); // Need to leave room for terminator
546
if (used_slots + 3 + t->depth >=
needed_slots
) {
[
all
...]
Completed in 226 milliseconds