MCPcopy Create free account
hub / github.com/apache/impala / has_limit

Method has_limit

be/src/runtime/mem-tracker.h:281–281  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

279
280 int64_t limit() const { return limit_; }
281 bool has_limit() const { return limit_ >= 0; }
282 int64_t soft_limit() const { return soft_limit_; }
283 int64_t GetLimit(MemLimit mode) const {
284 if (mode == MemLimit::SOFT) return soft_limit();

Callers 6

TESTFunction · 0.45
ChangeConsumptionMethod · 0.45
InitMethod · 0.45
GetLowestLimitMethod · 0.45
MemLimitExceededMethod · 0.45
TransferReservationToMethod · 0.45

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.36