Searched refs:CHUNK_SIZE (Results 1 – 6 of 6) sorted by relevance
18 m_pTestee = new LinearAllocator<Data, CHUNK_SIZE>(); in LinearAllocatorTest()40 ASSERT_EQ(CHUNK_SIZE, m_pTestee->max_size()); in TEST_F()47 ASSERT_EQ(CHUNK_SIZE, m_pTestee->max_size()); in TEST_F()52 Data* pointer = m_pTestee->allocate(CHUNK_SIZE + 1); in TEST_F()
18 m_pTestee = new LinearAllocator<Data, 0>(CHUNK_SIZE); in RTLinearAllocatorTest()41 ASSERT_TRUE(CHUNK_SIZE == m_pTestee->max_size()); in TEST_F()48 ASSERT_TRUE(CHUNK_SIZE == m_pTestee->max_size()); in TEST_F()53 Data* pointer = m_pTestee->allocate(CHUNK_SIZE + 1); in TEST_F()
64 enum TemplateArgsType { CHUNK_SIZE = 32 }; enumerator65 typedef mcld::LinearAllocator<Data, CHUNK_SIZE> Alloc;
62 enum { CHUNK_SIZE = 32 }; enumerator
614 final int CHUNK_SIZE = 1000000; // copy random data in 1000000-char chunks in createFileOnSD() local616 int nextChunkSize = CHUNK_SIZE; in createFileOnSD()623 if (remaining < CHUNK_SIZE) { in createFileOnSD()629 remaining -= CHUNK_SIZE; in createFileOnSD()
624 private static final int CHUNK_SIZE = 4 * 1024; field in PermissionControllerManager.FileWriterTask664 for (int offset = 0; offset < buffer.length; offset += CHUNK_SIZE) { in doInBackground()665 out.write(buffer, offset, min(CHUNK_SIZE, buffer.length - offset)); in doInBackground()