| 68 | allocated = gc_allocated; |
| 69 | } |
| 70 | __forceinline bool isOwnPtr ( char * ptr ) const { |
| 71 | return (ptr>=data) && (ptr<data+totalBytes); |
| 72 | } |
| 73 | __forceinline bool isAllocatedPtr ( char * ptr ) { |
| 74 | ptrdiff_t idx = (ptr - data) / size; |
| 75 | DAS_ASSERT ( idx>=0 && idx<ptrdiff_t(total) ); |
no outgoing calls
no test coverage detected