Home
last modified time | relevance | path

Searched refs:kMB (Results 1 – 1 of 1) sorted by relevance

/third_party/node/src/
Dnode_worker.cc43 constexpr double kMB = 1024 * 1024; variable
101 resource_limits_[kMaxYoungGenerationSizeMb] * kMB); in UpdateResourceConstraints()
104 constraints->max_young_generation_size_in_bytes() / kMB; in UpdateResourceConstraints()
109 resource_limits_[kMaxOldGenerationSizeMb] * kMB); in UpdateResourceConstraints()
112 constraints->max_old_generation_size_in_bytes() / kMB; in UpdateResourceConstraints()
117 resource_limits_[kCodeRangeSizeMb] * kMB); in UpdateResourceConstraints()
120 constraints->code_range_size_in_bytes() / kMB; in UpdateResourceConstraints()
622 if (w->resource_limits_[kStackSizeMb] * kMB < kStackBufferSize) { in StartThread()
623 w->resource_limits_[kStackSizeMb] = kStackBufferSize / kMB; in StartThread()
626 w->stack_size_ = w->resource_limits_[kStackSizeMb] * kMB; in StartThread()
[all …]