MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / Count

Method Count

Source/Engine/Threading/ConcurrentBuffer.h:67–70  ·  view source on GitHub ↗

Gets the amount of the elements in the collection. The items count.

Source from the content-addressed store, hash-verified

65 /// </summary>
66 /// <returns>The items count.</returns>
67 FORCE_INLINE int64 Count()
68 {
69 return Platform::AtomicRead(&_count);
70 }
71
72 /// <summary>
73 /// Get amount of the elements that can be holed by collection without resizing.

Callers 1

AddMethod · 0.45

Calls 1

AtomicReadFunction · 0.50

Tested by

no test coverage detected