Commit 20f8851e authored by KLOCZKO Thibaud's avatar KLOCZKO Thibaud
Browse files

ZUC development still in progress.

parent 09072cdd
This diff is collapsed.
......@@ -42,7 +42,7 @@ void dtkRoundUpNextPowerOfTwo(quint64& nalloc)
qintptr dtkAllocMore(qintptr alloc, qintptr extra)
{
Q_ASSERT(alloc >= 0 && extra >= 0);
Q_ASSERT_X(alloc < (1 << 62) - extra, "dtkAllocMore", "Requested size is too large!");
Q_ASSERT_X(alloc < (1ll << 62) - extra, "dtkAllocMore", "Requested size is too large!");
quint64 nalloc = alloc + extra;
......
......@@ -141,7 +141,6 @@ inline dtkArrayData::AllocationOptions dtkArrayData::cloneFlags(void) const
return result;
}
// /////////////////////////////////////////////////////////////////
//
// /////////////////////////////////////////////////////////////////
......@@ -283,7 +282,7 @@ template <typename T> inline dtkTypedArrayData<T> *dtkTypedArrayData<T>::fromRaw
template <typename T> inline dtkTypedArrayData<T> *dtkTypedArrayData<T>::sharedNull(void)
{
Q_STATIC_ASSERT(sizeof(dtkTypedArrayData) == sizeof(QArrayData));
Q_STATIC_ASSERT(sizeof(dtkTypedArrayData) == sizeof(dtkArrayData));
return static_cast<dtkTypedArrayData *>(dtkArrayData::sharedNull());
}
......@@ -300,7 +299,7 @@ template <typename T> inline dtkTypedArrayData<T> *dtkTypedArrayData<T>::unshara
Q_STATIC_ASSERT(sizeof(dtkTypedArrayData) == sizeof(dtkArrayData));
return allocate(/* capacity */ 0, Unsharable);
}
}
//
// dtkArrayData.h ends here
This diff is collapsed.
......@@ -26,30 +26,30 @@ private slots:
private slots:
void testCreate(void);
void testCopyAndAssignement(void);
void testAppend(void);
/* void testAppendTwoAtATime(void); */
/* void testAppendThreeAtATime(void); */
/* void testAppendFourAtATime(void); */
/* void testAppendArray(void); */
/* void testSetAt(void); */
/* void testValue(void); */
/* void testReplace(void); */
/* void testCopy(void); */
/* void testResize(void); */
/* void testReserve(void); */
/* void testSqueeze(void); */
void testAppendTwoAtATime(void);
void testAppendThreeAtATime(void);
void testAppendFourAtATime(void);
void testAppendArray(void);
void testSetAt(void);
void testValue(void);
void testReplace(void);
void testResize(void);
void testReserve(void);
void testSqueeze(void);
/* void testCompare(void); */
/* void testRemove(void); */
/* void testRemoveFirstLast(void); */
void testRemove(void);
void testRemoveFirstLast(void);
/* void testExtend(void); */
/* void testReverse(void); */
/* void testReversed(void); */
/* void testMid(void); */
/* void testLeft(void); */
/* void testRight(void); */
/* void testIterate(void); */
/* void testCopyPrealloc(void); */
/* void testInsert(void); */
void testIterate(void);
void testCopyPrealloc(void);
void testInsert(void);
/* void testSetRawData(void); */
/* void testFromRawData(void); */
/* void testFromWritableRawData(void); */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment