Searched refs:originalData (Results 1 – 7 of 7) sorted by relevance
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/ |
D | GzipInflatingBufferTest.java | 57 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/ |
D | RandomKey.java | 249 …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/skia/tests/ |
D | Writer32Test.cpp | 150 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/skqp/tests/ |
D | Writer32Test.cpp | 150 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/fonttools/Tests/ufoLib/ |
D | UFO1_test.py | 38 originalData = dict(fontInfoVersion1) 39 self._writeInfoToPlist(originalData)
|
D | UFO2_test.py | 38 originalData = dict(fontInfoVersion2) 39 self._writeInfoToPlist(originalData) 46 self.assertEqual(originalData, readData)
|
D | UFO3_test.py | 44 originalData = dict(fontInfoVersion3) 45 self._writeInfoToPlist(originalData) 52 self.assertEqual(originalData, readData)
|