e.g. Calendar Search Help
You must enter a value before pressing Search
Search Results OK to copy? Examples 1 through 10 of 18 (0.0010 seconds)
Class: org.apache.axis.message.InputStreamBody  ©, Rating: 0% of 0, C1

80 { 81 try { 82 byte[] buf = new byte[ inputStream.available() ]; 83 inputStream.read( buf ); 84 String contents = new String(buf);

Class: org.apache.tomcat.util.net.TcpConnection  ©, Rating: 0% of 3, C1

097 while (available > 0 && count++ < MAX_SHUTDOWN_TRIES) { 098 is.skip (available); 099 available = is.available(); 100 } 101 }catch(NullPointerException npe) {

Class: org.apache.tomcat.util.net.TcpConnection  ©, Rating: 0% of 0, C1

088 try { 089 InputStream is = socket.getInputStream(); 090 int available = is.available (); 091 int count=0; 092

Class: org.apache.axis.components.image.JDK13IO  ©, Rating: 0% of 0, C1

115 } 116 else { 117 byte[] bytes = new byte[in.available()]; 118 in.read(bytes); 119 return Toolkit.getDefaultToolkit().createImage(bytes);

Class: org.apache.axis.components.image.JDK13IO  ©, Rating: 0% of 0, C1

111 */ 112 public Image loadImage(InputStream in) throws Exception { 113 if (in.available() <= 0) { 114 return null; 115 }

Class: org.apache.batik.ext.awt.image.codec.ForwardSeekableStream  ©, Rating: 0% of 0, C1

106 /** Forwards the request to the real <code>InputStream</code>. */ 107 public final int available() throws IOException { 108 return src.available(); 109 } 110

Class: org.apache.axis.attachments.SourceDataSource  ©, Rating: 0% of 0, C3

110 byte[] bytes = null; 111 int avail; 112 while ((avail = is.available()) > 0) { 113 if (bytes == null || avail > bytes.length) 114 bytes = new byte[avail];

Class: org.apache.axis.transport.http.NonBlockingBufferedInputStream  ©, Rating: 0% of 0, C1

190 191 // return buffered + available from the stream 192 return (numbytes-offset) + in.available(); 193 } 194

Class: org.apache.axis.transport.http.NonBlockingBufferedInputStream  ©, Rating: 0% of 0, C2

103 104 // determine number of bytes to read 105 numbytes = in.available(); 106 if (numbytes > remainingContent) numbytes=remainingContent; 107 if (numbytes > buffer.length) numbytes=buffer.length;

Class: org.apache.axis.transport.http.ChunkedInputStream  ©, Rating: 0% of 0, C1

143 int rc = (int) Math.min(chunkSize, Integer.MAX_VALUE); 144 145 return Math.min(rc, in.available()); 146 } 147

Result Page:  1.0  |  2.0   Next