Searched refs:CONTENT (Results 1 – 5 of 5) sorted by relevance
43 private static final char[] CONTENT = "large file!\n".toCharArray(); field in ScannerParseLargeFileBenchmarkTest.FakeLargeFile60 int contentIndex = count % CONTENT.length; in read()63 buffer[bufferIndex++] = CONTENT[contentIndex++]; in read()64 if (contentIndex == CONTENT.length) { in read()
44 …private final String CONTENT = "The best things in life are nearest: Breath in your nostrils, ligh… field in FileChannelLockingTest58 writer.write(CONTENT); in setUp()
59 private static final String CONTENT = "MYTESTSTRING needs to be a little long"; field in FileChannelTest70 CONTENT_AS_BYTES = CONTENT.getBytes("iso8859-1");77 private static final int CONTENT_LENGTH = CONTENT.length();1859 mapped = readWriteFileChannel.map(MapMode.READ_ONLY, 0, CONTENT in test_map_ReadOnly()1896 assertEquals(CONTENT, new String(checkBuffer.array(), "iso8859-1")); in test_map_Private()1900 mapped.put(("test" + CONTENT).getBytes("iso8859-1")); in test_map_Private()1924 mapped = readWriteFileChannel.map(MapMode.READ_WRITE, 0, CONTENT in test_map_ReadWrite()1930 String checkString = "test" + CONTENT.substring(4); in test_map_ReadWrite()1938 mapped.put(("test" + CONTENT).getBytes("iso8859-1")); in test_map_ReadWrite()1954 assertEquals(CONTENT.length() - 10, mapped.capacity()); in test_map_ReadWrite_NonZeroPosition()[all …]
43 private static final String CONTENT = "MYTESTSTRING needs to be a little long"; field in OldFileChannelTest55 private static final int CONTENT_LENGTH = CONTENT.length();57 private static final byte[] CONTENT_AS_BYTES = CONTENT.getBytes();778 String test = CONTENT.substring(pos); in test_writeLByteBufferJ_NonZeroPosition()
413 private static final byte[] CONTENT = hexToBytes( field in SignatureTest458 sig.update(CONTENT); in test18566_AlgorithmOid_MissingNull_Failure()