MCPcopy Create free account
hub / github.com/ARM-software/ComputeLibrary / push_back

Method push_back

arm_compute/core/IArray.h:76–87  ·  view source on GitHub ↗

Append the passed argument to the end of the array if there is room. * * @param[in] val Value to add to the array. * * @return True if the point was successfully added to the array. False if the array is full and the point couldn't be added. */

Source from the content-addressed store, hash-verified

74 * @return True if the point was successfully added to the array. False if the array is full and the point couldn't be added.
75 */
76 bool push_back(const T &val)
77 {
78 ARM_COMPUTE_ERROR_ON(0 == _max_size);
79 if (_num_values >= max_num_values())
80 {
81 _num_values = max_num_values() + 1;
82 return false;
83 }
84 at(_num_values) = val;
85 _num_values++;
86 return true;
87 }
88 /** Clear all the points from the array. */
89 void clear()
90 {

Callers 15

parseMethod · 0.80
PriorBoxLayerInfoMethod · 0.80
from_stringMethod · 0.80
add_nodeMethod · 0.80
ConcatLayerMethod · 0.80
create_layerMethod · 0.80
StackLayerMethod · 0.80
create_layerMethod · 0.80
create_concatenate_layerFunction · 0.80
create_stack_layerFunction · 0.80
decode_base64Function · 0.80
configureMethod · 0.80

Calls

no outgoing calls

Tested by 2

test_stopMethod · 0.64
test_startMethod · 0.64