Searched refs:truncate (Results 1 - 25 of 54) sorted by relevance

123

/openjdk10/jdk/src/java.base/share/classes/jdk/internal/misc/
H A DJavaNioAccess.java54 void truncate(Buffer buf); method in interface:JavaNioAccess
/openjdk10/jdk/src/java.base/share/classes/java/nio/channels/
H A DSeekableByteChannel.java41 * decreases when it is {@link #truncate <i>truncated</i>}.
43 * <p> The {@link #position(long) position} and {@link #truncate truncate} methods
167 SeekableByteChannel truncate(long size) throws IOException; method in interface:SeekableByteChannel
H A DAsynchronousFileChannel.java47 * when it is {@link #truncate truncated}.
346 public abstract AsynchronousFileChannel truncate(long size) throws IOException; method in class:AsynchronousFileChannel
H A DFileChannel.java49 * decreases when it is {@link #truncate <i>truncated</i>}. The
509 public abstract FileChannel truncate(long size) throws IOException; method in class:FileChannel
/openjdk10/jdk/src/java.sql/share/classes/java/sql/
H A DBlob.java266 void truncate(long len) throws SQLException; method in interface:Blob
H A DClob.java310 void truncate(long len) throws SQLException; method in interface:Clob
/openjdk10/jdk/test/sun/security/util/BitArray/
H A DNamedBitList.java81 ba = ba.truncate();
89 ba = ba.truncate();
98 ba = ba.truncate();
/openjdk10/jdk/src/java.base/share/classes/sun/nio/ch/
H A DFileDispatcher.java41 abstract int truncate(FileDescriptor fd, long size) throws IOException; method in class:FileDispatcher
/openjdk10/nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/debug/
H A DASTWriter.java124 int truncate = type.indexOf("Node");
125 if (truncate == -1) {
126 truncate = type.indexOf("Statement");
128 if (truncate != -1) {
129 type = type.substring(0, truncate);
/openjdk10/jdk/test/java/nio/channels/FileChannel/
H A DTruncate.java26 * @summary Test truncate method of FileChannel
40 * Testing FileChannel's truncate method.
59 * Basic test of asserts in truncate's specification.
77 fc.truncate(newSize);
85 throw new RuntimeException("Unexpected size after truncate");
101 * Test behavior of truncate method when file is opened for append
111 // truncate file
113 fc.truncate(newSize);
129 * Test exceptions specified by truncate method
175 * Checks that FileChannel truncate throw
[all...]
H A DLoopingTruncate.java27 * @summary (fc) Infinite loop FileChannel.truncate
65 fc.truncate(FATEFUL_SIZE);
/openjdk10/jdk/test/java/nio/MappedByteBuffer/
H A DTruncate.java51 fc.truncate(TRUNCATED_FILE_SIZE);
/openjdk10/jdk/test/javax/sql/testng/util/
H A DStubBlob.java90 public void truncate(long len) method in class:StubBlob
H A DStubClob.java101 public void truncate(long len) throws SQLException { method in class:StubClob
/openjdk10/jdk/src/java.base/share/classes/java/util/stream/
H A DNode.java120 default Node<T> truncate(long from, long to, IntFunction<T[]> generator) { method in interface:Node
256 T_NODE truncate(long from, long to, IntFunction<T[]> generator); method in interface:Node.OfPrimitive
359 default Node.OfInt truncate(long from, long to, IntFunction<Integer[]> generator) { method in interface:Node.OfInt
436 default Node.OfLong truncate(long from, long to, IntFunction<Long[]> generator) { method in interface:Node.OfLong
515 default Node.OfDouble truncate(long from, long to, IntFunction<Double[]> generator) { method in interface:Node.OfDouble
/openjdk10/jdk/src/java.base/share/classes/java/nio/
H A DBits.java254 public void truncate(Buffer buf) {
255 buf.truncate();
/openjdk10/jdk/test/sun/security/krb5/auto/
H A DReplayCachePrecise.java70 ch.truncate(ch.position());
/openjdk10/jdk/test/java/nio/channels/AsynchronousFileChannel/
H A DBasic.java87 ch.truncate(0L);
120 ch.truncate(0L);
486 // exercise truncate method
497 // attempt to truncate to a size greater than the current size
498 if (ch.truncate(size + 1L).size() != size)
501 // truncate file
502 if (ch.truncate(size - 1L).size() != (size - 1L))
507 ch.truncate(-1L);
517 ch.truncate(0L);
525 ch.truncate(
[all...]
/openjdk10/langtools/src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/
H A DItems.java251 int typecode1 = Code.truncate(typecode);
252 int targetcode1 = Code.truncate(targetcode);
397 code.emitop0(iload_0 + Code.truncate(typecode) * 4 + reg);
399 code.emitop1w(iload + Code.truncate(typecode), reg);
405 code.emitop0(istore_0 + Code.truncate(typecode) * 4 + reg);
407 code.emitop1w(istore + Code.truncate(typecode), reg);
645 if (Code.truncate(typecode) == INTcode)
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.phases.common/src/org/graalvm/compiler/phases/common/inlining/walker/
H A DComputeInliningRelevance.java302 truncate(pathBeginNodes, pathBeginCount);
325 truncate(pathBeginNodes, pathBeginCount);
334 private static void truncate(ArrayList<FixedNode> pathBeginNodes, int pathBeginCount) { method in class:ComputeInliningRelevance
/openjdk10/jdk/test/javax/sql/testng/test/rowset/serial/
H A DSerialClobTests.java100 * Validate calling truncate() after calling free() throws an
107 sc.truncate(1);
447 * Check that truncate() truncates the length of the SerialClob to the
453 sc.truncate(0);
456 sc.truncate(5);
H A DSerialBlobTests.java149 * Validate calling truncate() after calling free() throws an
156 sb.truncate(1);
311 * Validate that truncate reduces the length of the SerlizedBlob to the
317 sb.truncate(0);
320 sb.truncate(3);
/openjdk10/langtools/test/tools/javac/6567415/
H A DT6567415.java105 wfc.truncate(BAD_FILE_LENGTH);
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.printer/src/org/graalvm/compiler/printer/
H A DGraphPrinter.java135 String rawvalue = GraphPrinter.truncate(toString);
173 static String truncate(String s) {
/openjdk10/jdk/test/javax/imageio/plugins/png/
H A DItxtUtf8Test.java33 * @run main/othervm/timeout=10 -Xmx4m ItxtUtf8Test truncate
126 if (argList.contains("truncate")) {
140 public static void runTest(boolean dump, boolean truncate) argument
185 if (truncate)

Completed in 147 milliseconds

123