Searched defs:available (Results 101 - 125 of 125) sorted by relevance

12345

/openjdk7/jdk/src/share/classes/sun/net/www/http/
H A DHttpClient.java276 if (!ret.available()) {
370 protected synchronized boolean available() { method in class:HttpClient
371 boolean available = true;
382 logFinest("HttpClient.available(): " +
383 "read returned -1: not available");
384 available = false;
387 logFinest("HttpClient.available(): " +
388 "SocketTimeout: its available");
394 logFinest("HttpClient.available(): " +
395 "SocketException: not available");
[all...]
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/encoding/
H A DCDRInputStream.java383 public final int available() throws IOException { method in class:CDRInputStream
384 return impl.available();
486 * if there are enough bytes available to do so. Otherwise,
/openjdk7/jdk/src/share/classes/java/net/
H A DAbstractPlainSocketImpl.java456 protected synchronized int available() throws IOException { method in class:AbstractPlainSocketImpl
470 * If no bytes available and we were previously notified
/openjdk7/jdk/src/share/classes/java/util/concurrent/
H A DScheduledThreadPoolExecutor.java26 * This file is available under and governed by the GNU General Public
820 * we are not guaranteed to have such indices available, in
858 * Condition signalled when a newer task becomes available at the
861 private final Condition available = lock.newCondition(); field in class:ScheduledThreadPoolExecutor.DelayedWorkQueue
1022 available.signal();
1079 available.await();
1085 available.await();
1090 available.awaitNanos(delay);
1100 available.signal();
1117 nanos = available
[all...]
/openjdk7/jdk/src/windows/native/java/net/
H A DTwoStacksPlainSocketImpl.c776 jint available = -1; local
787 res = ioctlsocket(fd, FIONREAD, &available);
790 NET_ThrowNew(env, res, "socket available");
792 return available;
/openjdk7/jdk/src/share/classes/sun/security/jgss/krb5/
H A DCipherHelper.java1495 public final int available() throws IOException { method in class:CipherHelper.WrapTokenInputStream
1496 return Math.min(remaining, is.available());
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/io/
H A DIIOPInputStream.java659 public final int available() throws IOException{ method in class:IIOPInputStream
925 // tell the readObject how much data is available, so we always
/openjdk7/jdk/src/share/classes/sun/awt/image/
H A DPNGImageDecoder.java816 public int available() throws IOException { method in class:PNGFilterInputStream
817 return owner.limit-owner.pos+in.available();}
/openjdk7/hotspot/src/share/vm/gc_implementation/concurrentMarkSweep/
H A DconcurrentMarkSweepGeneration.cpp898 size_t available = max_available(); local
900 bool res = (available >= av_promo) || (available >= max_promotion_in_bytes);
903 "CMS: promo attempt is%s safe: available("SIZE_FORMAT") %s av_promo("SIZE_FORMAT"),"
905 res? "":" not", available, res? ">=":"<",
985 gclog_or_tty->print_cr(" contiguous available "SIZE_FORMAT,
1353 // allocation, P-bits, when available, may be used to determine the
2813 gclog_or_tty->print(" Contiguous available "SIZE_FORMAT" bytes ",
3360 // If there's not enough expansion space available, give up.
3388 // If there's not enough expansion space available, giv
[all...]
/openjdk7/hotspot/src/share/vm/gc_implementation/parallelScavenge/
H A DpsParallelCompact.hpp301 // Whether this region is available to be claimed, has been claimed, or has
307 bool available() const { return _dc_and_los < dc_one; } function in class:ParallelCompactData::RegionData
573 if (available()) {
1140 // Add available regions to the stack and draining tasks to the task queue.
H A DpsParallelCompact.cpp716 // available and can be claimed and then filled.
1685 // Find a dense prefix that makes the right amount of space available.
1730 // available.
1943 const size_t available = pointer_delta(dst_space_end, *new_top_addr); local
1947 if (live > 0 && live <= available) {
2544 // Find all regions that are available (can be filled immediately) and
2622 dense_prefix_cp->available() ||
2774 // and all Regions between new_top() and top() should be available (i.e.,
2799 if (!c->available()) {
3241 // Regions up to new_top() are enqueued if they become available
[all...]
/openjdk7/hotspot/src/share/vm/memory/
H A Dgeneration.cpp184 size_t available = max_contiguous_available(); local
185 bool res = (available >= max_promotion_in_bytes);
188 "Generation: promo attempt is%s safe: available("SIZE_FORMAT") %s max_promo("SIZE_FORMAT")",
189 res? "":" not", available, res? ">=":"<",
511 // If there's not enough expansion space available, give up.
/openjdk7/jdk/src/share/classes/com/sun/media/sound/
H A DDirectAudioDevice.java630 public int available() { method in class:DirectAudioDevice.DirectDL
H A DSoftSynthesizer.java90 public int available() throws IOException { method in class:SoftSynthesizer.WeakAudioStream
93 return local_stream.available();
1088 controlbuffersize = ais.available();
1325 throw new MidiUnavailableException("No transmitter available");
1349 throw new MidiUnavailableException("No transmitter available");
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/
H A DXMLEntityManager.java2416 * null if none is available.
2433 * if none is available.
2465 * if none is available.
2505 * @return The line number, or -1 if none is available.
2547 * @return The column number, or -1 if none is available.
2933 * available() method should indicate how much can be read without
2935 * that bytes in its buffer are available; otherwise, the result of
2936 * available() on the underlying InputStream is appropriate.
2941 public int available() throws IOException { method in class:XMLEntityManager.RewindableInputStream
2947 return fCurrentEntity.mayReadChunks ? fInputStream.available()
[all...]
/openjdk7/jdk/src/share/classes/sun/awt/datatransfer/
H A DDataTransferer.java523 * So as to avoid loading all available character converters, optional,
974 * format and localeTransferable(on decoding, if available)
1370 int avail = is.available();
2004 public int available() throws IOException { method in class:DataTransferer.ReencodingInputStream
/openjdk7/jdk/src/share/classes/java/io/
H A DObjectInputStream.java516 * Reads the persistent fields from the stream and makes them available by
833 * Reads a byte of data. This method will block if no input is available.
844 * is available. Consider using java.io.DataInputStream.readFully to read
869 * @return the number of available bytes.
873 public int available() throws IOException { method in class:ObjectInputStream
874 return bin.available();
2343 public int available() throws IOException { method in class:ObjectInputStream.PeekInputStream
2344 return in.available() + ((peekb >= 0) ? 1 : 0);
2467 int avail = canBlock ? Integer.MAX_VALUE : in.available();
2523 * unread fields to reflect the new amount of available bloc
2650 public int available() throws IOException { method in class:ObjectInputStream.BlockDataInputStream
[all...]
/openjdk7/jdk/src/solaris/native/sun/java2d/x11/
H A DXRBackendNative.c120 jboolean available = JNI_TRUE; local
142 available = JNI_FALSE;
146 available = JNI_FALSE;
204 available = JNI_FALSE;
237 return available;
/openjdk7/jdk/src/windows/native/com/sun/media/sound/
H A DPLATFORM_API_WinOS_DirectSound.cpp162 /* failure case: more than MAX_DS_DEVICES available... */
1033 * (a) if (fromPlayCursor == FALSE), returns number of bytes available
1039 * (c) if (fromPlayCursor == FALSE), returns number of bytes available
1052 int available; local
1081 available = *bufferSize;
1086 // playCursor surpassed writePos - no valid data, whole buffer available
1087 available = *bufferSize;
1092 available = 0;
1095 available = *bufferSize - currWriteAhead;
1114 available
1146 int available; local
1238 int available; local
1304 int available, bufferSize; local
1372 int available, bufferSize; local
[all...]
/openjdk7/jdk/src/share/demo/nio/zipfs/src/com/sun/nio/zipfs/
H A DZipFileSystem.java1440 public int available() throws IOException {
1521 public int available() { method in class:ZipFileSystem.EntryInputStream
1610 // List of available Inflater objects for decompression
1613 // Gets an inflater from the list of available inflaters or allocates
1627 // Releases the specified inflater to the list of available inflaters.
1639 // List of available Deflater objects for compression
1642 // Gets an deflater from the list of available deflaters or allocates
1656 // Releases the specified inflater to the list of available inflaters.
/openjdk7/jdk/src/share/classes/sun/net/www/protocol/http/
H A DHttpURLConnection.java2438 * if everything is not available immediately
2880 * resource. If the timeout expires before there is data available
3325 public int available() throws IOException { method in class:HttpURLConnection.ErrorStream
3329 return buffer.remaining()+is.available();
3378 public int available() { method in class:EmptyInputStream
/openjdk7/hotspot/src/os/bsd/vm/
H A Dos_bsd.cpp1388 // variable is available since the very early days. However, because it is
3435 // > check available large pages: cat /proc/meminfo
3440 // Note 2: it's possible there's enough physical memory available but
3505 // available (and not reserved for something else).
5197 int os::available(int fd, jlong *bytes) { function in class:os
5308 // the fast estimate available on the platform.
5835 // Return immediately if a permit is available.
/openjdk7/hotspot/src/os/linux/vm/
H A Dos_linux.cpp1196 // variable is available since the very early days. However, because it is
3353 // > check available large pages: cat /proc/meminfo
3358 // Note 2: it's possible there's enough physical memory available but
3426 // available (and not reserved for something else).
4984 int os::available(int fd, jlong *bytes) { function in class:os
5086 // the fast estimate available on the platform.
5574 // Return immediately if a permit is available.
/openjdk7/hotspot/src/os/solaris/vm/
H A Dos_solaris.cpp528 // Query the number of cpus available to us.
569 // not available on S8.0.
628 // Make up markers for available processors.
650 // ... find the next available processor in the board.
678 // Find the processor id's of all the available CPUs.
1303 // enough LWPs available to service them. This can occur when the
1625 // The value of thr_self is available as %g7(36).
1648 // small number - point is NO swap space available
1972 // available even if the vm is built on a machine that does
2004 // no, only dladdr is available
5749 int os::available(int fd, jlong *bytes) { function in class:os
[all...]
/openjdk7/hotspot/src/os/windows/vm/
H A Dos_windows.cpp2055 // Once a system header becomes available, the "real" define should be
2633 // Windows large page support is available on Windows 2003. In order to use
3041 // available (and not reserved for something else).
3571 // Processor level is not available on non-NT systems, use vm_version instead
3878 // out-of-memory situations, where all available address-space has been
3997 // the fast estimate available on the platform.
4309 int os::available(int fd, jlong *bytes) { function in class:os
4344 /* This is used for available on non-seekable devices
4412 /* Examine input records for the number of bytes available */

Completed in 240 milliseconds

12345