/openjdk7/jdk/test/java/io/StringReader/ |
H A D | Skip.java | 26 * @summary Test StringReader.skip with negative param 36 if (in.skip(3) != 3) 37 throw new RuntimeException("skip(3) failed"); 39 throw new RuntimeException("post skip read failure"); 42 if (in.skip(-2) != -2) 43 throw new RuntimeException("skip(-2) failed"); 45 throw new RuntimeException("read failed after negative skip"); 47 // Attempt to skip backward past the beginning and read 48 if (in.skip(-6) != -3) 49 throw new RuntimeException("skip( [all...] |
/openjdk7/jdk/test/java/io/PushbackReader/ |
H A D | Skip.java | 26 * @summary check skip method after pushing data back 45 // Check skip without unread chars present 46 pr.skip(1); 50 // Check skip over and beyond unread chars 51 pr.skip(4); 56 // Check skip within unread chars 57 pr.skip(1); 60 // Check skip after unread chars have been used 61 pr.skip(3);
|
/openjdk7/jdk/test/java/util/zip/ZipInputStream/ |
H A D | Skip.java | 26 @summary Make sure ZipInputStream.skip(n) will check 39 z.skip(-1);
|
/openjdk7/jdk/test/java/io/LineNumberReader/ |
H A D | Skip.java | 26 * @summary Check if LineNumberReader will skip right number of characters and 45 reader.skip(-10); 53 throw new Exception("Failed test: Negative value for skip()"); 55 long realnum = reader.skip(nchars); 59 throw new Exception("Failed test: Should skip 164, really skipped "
|
/openjdk7/jdk/test/java/io/FileInputStream/ |
H A D | LargeFileAvailable.java | 77 long skip = is.skip(toSkip); 78 if (skip != toSkip) { 79 throw new RuntimeException("skip() returns " + skip 82 long remaining = avail - skip; 87 System.out.println("Skipped " + skip + " bytes " 94 return skip;
|
/openjdk7/jdk/src/share/classes/java/io/ |
H A D | FilterReader.java | 82 public long skip(long n) throws IOException { method in class:FilterReader 83 return in.skip(n);
|
H A D | ObjectInput.java | 90 public long skip(long n) throws IOException; method in interface:ObjectInput
|
H A D | FilterInputStream.java | 138 * input stream. The <code>skip</code> method may, for a variety of 143 * This method simply performs <code>in.skip(n)</code>. 150 public long skip(long n) throws IOException { method in class:FilterInputStream 151 return in.skip(n); 158 * the same thread or another thread. A single read or skip of this 159 * many bytes will not block, but may read or skip fewer bytes.
|
/openjdk7/jdk/test/java/io/BufferedReader/ |
H A D | SkipNegative.java | 40 long actual = BR.skip(nchars);
|
/openjdk7/jdk/test/java/io/Reader/ |
H A D | Skip.java | 26 @summary Test if skip works correctly 40 long actual = fr.skip(nchars); 44 ("Should skip " + nchars + ", but skipped " +actual+" chars");
|
H A D | SkipNegative.java | 40 long actual = fr.skip(nchars);
|
/openjdk7/langtools/test/tools/javac/ |
H A D | T6705935.java | 59 skip++; 81 if (skip == 0) 84 System.out.println(test + " files found, " + skip + " files skipped"); 86 if (test == skip) 97 private int skip; field in class:T6705935
|
/openjdk7/jdk/test/javax/management/query/ |
H A D | QueryExpStringTest.java | 186 if (skip(ss, "(")) 189 if (skip(ss, "not (")) { 191 if (!skip(ss, ")")) 198 if (skip(ss, " like ")) { 209 if (skip(ss, " in (")) { 211 if (!skip(ss, ")")) { 214 } while (skip(ss, ", ")); 215 if (!skip(ss, ")")) 237 if (skip(ss, ") and (")) 239 else if (skip(s 420 skip(String[] ss, String skip) argument [all...] |
/openjdk7/jdk/src/share/classes/com/sun/tools/hat/internal/parser/ |
H A D | PositionInputStream.java | 63 public long skip(long n) throws IOException { method in class:PositionInputStream 64 long res = super.skip(n);
|
/openjdk7/jdk/test/java/io/BufferedInputStream/ |
H A D | SkipTest.java | 27 * @summary Test bufferedinputstream for data loss during skip 45 // set up to contain only some of the bytes to skip 50 // the skip must be longer than the buffer size 53 skipped += in.skip(15-skipped); 62 throw new RuntimeException("BufferedInputStream skip lost data"); 75 public long skip(long n) { method in class:DataSupplier
|
/openjdk7/jdk/test/java/io/ByteArrayInputStream/ |
H A D | Skip.java | 27 * @summary check for ByteArrayInputStream.skip 39 "\nNumber of bytes to skip = " + toskip + 46 long n = in.skip(avail); 51 long skipped = in.skip(toskip); 63 /* test for skip */ 67 /* test for negative skip */ 70 /* check for skip after EOF */ 73 /* check for skip beyond EOF starting from before EOF */ 76 /* check for skip if the pos + toskip causes integer overflow */
|
/openjdk7/jdk/test/java/io/LineNumberInputStream/ |
H A D | SkipEOL.java | 27 @summary Test for correct CR/LF handling in LineNumberInputStream.skip 41 long skipped = in.skip(3); // skip 3 bytes 44 RuntimeException("LineNumberInputStream.skip - " +
|
/openjdk7/jdk/test/java/nio/file/Files/walkFileTree/ |
H A D | SkipSiblings.java | 45 static boolean skip(Path path) { method in class:SkipSiblings 61 if (skip(dir)) 68 if (skip(file))
|
/openjdk7/jdk/src/share/classes/sun/security/ssl/ |
H A D | ByteBufferInputStream.java | 111 public long skip(long n) throws IOException { method in class:ByteBufferInputStream 114 throw new IOException("skip on a closed InputStream"); 126 int skip = Math.min(bb.remaining(), nInt); 128 bb.position(bb.position() + skip);
|
/openjdk7/hotspot/src/share/vm/gc_implementation/shared/ |
H A D | vmGCOperations.cpp | 85 // we want to skip this GC attempt altogether, without doing a futile 88 bool skip = (_gc_count_before != Universe::heap()->total_collections()); local 89 if (_full && skip) { 90 skip = (_full_gc_count_before != Universe::heap()->total_full_collections()); 92 if (!skip && GC_locker::is_active_and_needs_gc()) { 93 skip = Universe::heap()->is_maximal_no_gc(); 94 assert(!(skip && (_gc_cause == GCCause::_gc_locker)), 97 return skip; 112 // skip collection
|
/openjdk7/jdk/src/share/classes/sun/security/util/ |
H A D | ManifestEntryVerifier.java | 70 private boolean skip = true; field in class:ManifestEntryVerifier 102 skip = true; 146 skip = false; 160 if (skip) return; 171 if (skip) return; 198 if (skip) {
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/messaging/saaj/util/ |
H A D | TeeInputStream.java | 87 public long skip(long n) throws IOException { method in class:TeeInputStream 88 return source.skip(n);
|
/openjdk7/jdk/test/java/io/PushbackInputStream/ |
H A D | Skip.java | 26 @summary Test for correct implementation of PushbackInputStream.skip 41 in.skip(2); 53 in.skip(2);
|
/openjdk7/jdk/src/share/classes/sun/rmi/log/ |
H A D | LogInputStream.java | 99 public long skip(long n) throws IOException { method in class:LogInputStream 101 throw new IOException("Too many bytes to skip - " + n); 105 n = in.skip(n);
|
/openjdk7/jdk/src/share/classes/sun/rmi/transport/proxy/ |
H A D | HttpSendInputStream.java | 92 public long skip(long n) throws IOException method in class:HttpSendInputStream 98 return in.skip(n);
|