MCPcopy Create free account
hub / github.com/BoevaLab/FREEC / setbounds

Method setbounds

src/ap.h:326–342  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

324
325
326 void setbounds( int iLow, int iHigh )
327 {
328 if(m_Vec)
329 {
330 if( Aligned )
331 ap::afree(m_Vec);
332 else
333 delete[] m_Vec;
334 }
335 m_iLow = iLow;
336 m_iHigh = iHigh;
337 m_iVecSize = iHigh-iLow+1;
338 if( Aligned )
339 m_Vec = (T*)ap::amalloc((size_t)(m_iVecSize*sizeof(T)), 16);
340 else
341 m_Vec = new T[(size_t)m_iVecSize];
342 };
343
344
345 void setlength(int iLen)

Callers 15

lrbuildFunction · 0.45
lrbuildsFunction · 0.45
lrbuildzsFunction · 0.45
lrbuildzFunction · 0.45
lrunpackFunction · 0.45
lrpackFunction · 0.45
lrcopyFunction · 0.45
lrserializeFunction · 0.45
lrunserializeFunction · 0.45
lrlineFunction · 0.45
lrinternalFunction · 0.45
rmatrixsvdFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected