MCPcopy Create free account
hub / github.com/defold/defold / empty

Method empty

engine/dlib/src/basis/transcoder/basisu_containers.h:355–355  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

353 BASISU_FORCE_INLINE T* end() { return m_p + m_size; }
354
355 BASISU_FORCE_INLINE bool empty() const { return !m_size; }
356 BASISU_FORCE_INLINE uint32_t size() const { return m_size; }
357 BASISU_FORCE_INLINE uint32_t size_in_bytes() const { return m_size * sizeof(T); }
358 BASISU_FORCE_INLINE uint32_t capacity() const { return m_capacity; }

Callers 15

retrieveMethod · 0.45
wait_for_allMethod · 0.45
job_threadMethod · 0.45
start_transcodingMethod · 0.45
transcode_image_levelMethod · 0.45
hash_map_testFunction · 0.45
clearMethod · 0.45
ReadNameFunction · 0.45
AllRecordsHaveTtlFunction · 0.45
TESTFunction · 0.45
AssertBufferEqualFunction · 0.45
nFunction · 0.45

Calls

no outgoing calls

Tested by 4

ReadNameFunction · 0.36
AllRecordsHaveTtlFunction · 0.36
TESTFunction · 0.36
AssertBufferEqualFunction · 0.36