MCPcopy Create free account
hub / github.com/CodingGay/BlackDex / pushObject

Method pushObject

Bcore/src/main/cpp/Dobby/external/xnucxx/LiteMutableArray.cc:20–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18}
19
20bool LiteMutableArray::pushObject(const LiteObject *object) {
21 unsigned int newCount = array_count + 1;
22 if (newCount > array_capacity && newCount > ensureCapacity(newCount))
23 return false;
24
25 array[array_count] = object;
26 array_count++;
27 return true;
28}
29
30unsigned int LiteMutableArray::getCount() {
31 return array_count;

Callers 15

AllocateChunkMethod · 0.80
PushPageMethod · 0.80
AllocateChunkMethod · 0.80
registerPluginMethod · 0.80
link_toMethod · 0.80
AppendRelocLabelEntryMethod · 0.80
link_toMethod · 0.80
AppendRelocLabelEntryMethod · 0.80
link_toMethod · 0.80
AppendRelocLabelEntryMethod · 0.80
link_toMethod · 0.80
AppendRelocLabelEntryMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected