MCPcopy Create free account
hub / github.com/GaijinEntertainment/daScript / empty

Method empty

src/simulate/simulate_gc.cpp:22–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20 PtrRange ( char * F, size_t size ) : from(F), to(F+size) {}
21 void clear() { from = to = nullptr; }
22 __forceinline bool empty() const { return from==to; }
23 __forceinline bool contains ( const PtrRange & r ) { return !empty() && !r.empty() && from<=r.from && to>=r.to; }
24 };
25

Callers 5

containsMethod · 0.45
markRangeMethod · 0.45
ReportHistoryMethod · 0.45
markAndPushRangeMethod · 0.45
collectHeapMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected