Searched defs:needed (Results 1 - 2 of 2) sorted by relevance

/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/encoding/
H A DByteBufferWithInfo.java56 public int needed; // How many more bytes are needed on overflow. field in class:ByteBufferWithInfo
71 this.needed = 0;
126 this.needed = 0;
139 this.needed = bbwi.needed;
187 // Grow byteBuffer to a size larger than position() + needed
197 while (position() + needed >= newLength)
246 str.append(" needed = " + needed);
[all...]
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/jvm/
H A DClassReader.java2275 * ensureCapacity will increase the buffer as needed, taking note that
2276 * the new buffer will always be greater than the needed and never
2277 * exactly equal to the needed size or bp. If equal then the read (above)
2280 private static byte[] ensureCapacity(byte[] buf, int needed) { argument
2281 if (buf.length <= needed) {
2283 buf = new byte[Integer.highestOneBit(needed) << 1];

Completed in 37 milliseconds