MCPcopy Create free account
hub / github.com/9miao/CrossApp / append

Method append

scripting/javascript/spidermonkey-ios/include/js/Vector.h:813–826  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

811template <class T, size_t N, class AP>
812template <class U>
813JS_ALWAYS_INLINE bool
814Vector<T,N,AP>::append(U t)
815{
816 REENTRANCY_GUARD_ET_AL;
817 if (mLength == mCapacity && !growStorageBy(1))
818 return false;
819
820#ifdef DEBUG
821 if (mLength + 1 > mReserved)
822 mReserved = mLength + 1;
823#endif
824 internalAppend(t);
825 return true;
826}
827
828template <class T, size_t N, class AP>
829template <class U>

Callers 4

appendFunction · 0.45
CompartmentStatsMethod · 0.45
addMethod · 0.45
JSBDebug_BufferWriteFunction · 0.45

Calls 4

PointerRangeSizeFunction · 0.50
appendFunction · 0.50
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected