MCPcopy Create free account
hub / github.com/HaxeFoundation/hxcpp / concat

Method concat

include/Array.h:1198–1203  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1196
1197template<typename ELEM_>
1198Array<ELEM_> Array_obj<ELEM_>::concat( Array<ELEM_> inTail )
1199{
1200 Array_obj *result = new Array_obj(inTail->__length()+(int)length,0);
1201 hx::ArrayBase::Concat(result,inTail->GetBase(),inTail->__length());
1202 return result;
1203}
1204
1205template<typename ELEM_>
1206Array<ELEM_> Array_obj<ELEM_>::copy( )

Callers 5

FieldMapAppendFieldsFunction · 0.80
SLJIT_CALL arrayConcatFunction · 0.80
runObjectMethod · 0.80
runConcatMethod · 0.80
SLJIT_CALL arrayConcatFunction · 0.80

Calls 1

__lengthMethod · 0.45

Tested by

no test coverage detected