Searched defs:CHARS_PER_LINE (Results 1 - 3 of 3) sorted by relevance

/openjdk7/jdk/test/java/nio/channels/FileChannel/
H A DRead.java46 private static int CHARS_PER_LINE = File.separatorChar == '/' ? 5 : 6; field in class:Read
62 long offset = x * CHARS_PER_LINE;
63 long expectedResult = offset / CHARS_PER_LINE;
64 offset = expectedResult * CHARS_PER_LINE;
65 ByteBuffer bleck = ByteBuffer.allocateDirect(CHARS_PER_LINE);
H A DMapTest.java46 private static int CHARS_PER_LINE = File.separatorChar == '/' ? 5 : 6; field in class:MapTest
119 long expectedResult = offset / CHARS_PER_LINE;
120 offset = expectedResult * CHARS_PER_LINE;
H A DPread.java47 private static int CHARS_PER_LINE = File.separatorChar == '/' ? 5 : 6; field in class:Pread
107 long expectedResult = offset / CHARS_PER_LINE;
108 offset = expectedResult * CHARS_PER_LINE;

Completed in 47 milliseconds