Home
last modified time | relevance | path

Searched refs:originalData (Results 1 – 10 of 10) sorted by relevance

/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DGzipInflatingBufferTest.java57 private byte[] originalData; field in GzipInflatingBufferTest
71 originalData = ByteStreams.toByteArray(getClass().getResourceAsStream(UNCOMPRESSABLE_FILE)); in setUp()
72 truncatedData = Arrays.copyOf(originalData, TRUNCATED_DATA_SIZE); in setUp()
76 gzippingOutputStream.write(originalData); in setUp()
110 byte[] b = new byte[originalData.length]; in gzipInflateWorks()
111 assertEquals(originalData.length, gzipInflatingBuffer.inflateBytes(b, 0, originalData.length)); in gzipInflateWorks()
113 assertTrue("inflated data does not match", Arrays.equals(originalData, b)); in gzipInflateWorks()
121 byte[] b = new byte[originalData.length]; in splitGzipStreamWorks()
122 int n = gzipInflatingBuffer.inflateBytes(b, 0, originalData.length); in splitGzipStreamWorks()
129 int bytesRemaining = originalData.length - n; in splitGzipStreamWorks()
[all …]
/external/apache-commons-math/src/main/java/org/apache/commons/math/genetics/
DRandomKey.java249 …public static <S> List<Double> inducedPermutation(List<S> originalData, List<S> permutedData) thro… in inducedPermutation() argument
250 if (originalData.size() != permutedData.size()) { in inducedPermutation()
253 int l = originalData.size(); in inducedPermutation()
255 List<S> origDataCopy = new ArrayList<S> (originalData); in inducedPermutation()
/external/angle/src/tests/gl_tests/
DImageTest.cpp3695 GLubyte originalData[4] = {255, 0, 255, 255}; in TEST_P() local
3701 createEGLImage2DTextureSource(1, 1, GL_RGBA, GL_UNSIGNED_BYTE, kDefaultAttribs, originalData, in TEST_P()
3716 verifyResults2D(targetTexture, originalData); in TEST_P()
3717 verifyResultsRenderbuffer(targetRenderbuffer, originalData); in TEST_P()
3733 glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, 1, 1, GL_RGBA, GL_UNSIGNED_BYTE, originalData); in TEST_P()
3736 verifyResults2D(targetTexture, originalData); in TEST_P()
3737 verifyResultsRenderbuffer(targetRenderbuffer, originalData); in TEST_P()
3862 GLubyte originalData[4] = {255, 0, 255, 255}; in TEST_P() local
3868 createEGLImage2DTextureSource(1, 1, GL_RGBA, GL_UNSIGNED_BYTE, kDefaultAttribs, originalData, in TEST_P()
3880 verifyResults2D(target, originalData); in TEST_P()
[all …]
/external/skia/tests/
DWriter32Test.cpp91 SkAutoTMalloc<uint32_t> originalData(dataSize); in testWritePad() local
95 originalData[(int) i] = rand.nextU(); in testWritePad()
101 writer->writePad(originalData.get(), len); in testWritePad()
115 REPORTER_ASSERT(reporter, memcmp(readPtr, originalData.get(), len) == 0); in testWritePad()
/external/skqp/tests/
DWriter32Test.cpp150 SkAutoTMalloc<uint32_t> originalData(dataSize); in testWritePad() local
154 originalData[(int) i] = rand.nextU(); in testWritePad()
160 writer->writePad(originalData.get(), len); in testWritePad()
175 REPORTER_ASSERT(reporter, memcmp(readPtr, originalData.get(), len) == 0); in testWritePad()
/external/okio/okio/src/jvmTest/kotlin/okio/
DBufferCursorKotlinTest.kt62 val originalData = buffer.head!!.data in <lambda>() constant
66 assertSame(cursor.data, originalData) in <lambda>()
/external/fonttools/Tests/ufoLib/
DUFO1_test.py36 originalData = dict(fontInfoVersion1)
37 self._writeInfoToPlist(originalData)
DUFO2_test.py36 originalData = dict(fontInfoVersion2)
37 self._writeInfoToPlist(originalData)
44 self.assertEqual(originalData, readData)
DUFO3_test.py41 originalData = dict(fontInfoVersion3)
42 self._writeInfoToPlist(originalData)
49 self.assertEqual(originalData, readData)
/external/conscrypt/benchmark-android/
Dvogar.jarMETA-INF/ META-INF/MANIFEST.MF vogar/ vogar/TestProperties.class TestProperties ...