- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 91 for Goff (0.18 sec)
-
android/guava/src/com/google/common/io/ByteStreams.java
bufs.add(buf); int off = 0; while (off < buf.length) { // always OK to fill buf; its size plus the rest of bufs is never more than MAX_ARRAY_LEN int r = in.read(buf, off, buf.length - off); if (r == -1) { return combineBuffers(bufs, totalLen); } off += r; totalLen += r; } }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Jan 17 18:59:58 GMT 2024 - 29.7K bytes - Viewed (0) -
android/guava/src/com/google/common/io/ByteProcessor.java
/** * This method will be called for each chunk of bytes in an input stream. The implementation * should process the bytes from {@code buf[off]} through {@code buf[off + len - 1]} (inclusive). * * @param buf the byte array containing the data to process * @param off the initial offset into the array * @param len the length of data to be processed * @return true to continue processing, false to stop */
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed May 17 14:35:11 GMT 2023 - 2K bytes - Viewed (0) -
android/guava/src/com/google/common/io/ReaderInputStream.java
} // TODO(chrisn): Consider trying to encode/flush directly to the argument byte // buffer when possible. @Override public int read(byte[] b, int off, int len) throws IOException { // Obey InputStream contract. checkPositionIndexes(off, off + len, b.length); if (len == 0) { return 0; } // The rest of this method implements the process described by the CharsetEncoder javadoc.
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Feb 28 20:13:02 GMT 2023 - 9.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/ByteSourceTest.java
ByteProcessor<byte[]> processor = new ByteProcessor<byte[]>() { int pos; @Override public boolean processBytes(byte[] buf, int off, int len) throws IOException { System.arraycopy(buf, off, processedBytes, pos, len); pos += len; return true; } @Override public byte[] getResult() {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 16.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/ByteStreamsTest.java
new ByteProcessor<Integer>() { @Override public boolean processBytes(byte[] buf, int off, int len) { assertThat(newPreFilledByteArray(8192)) .isEqualTo(Arrays.copyOfRange(buf, off, off + len)); return false; } @Override public Integer getResult() {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 21.9K bytes - Viewed (0) -
api/maven-api-metadata/src/main/java/org/apache/maven/api/metadata/package-info.java
// CHECKSTYLE_OFF: RegexpHeader /** * Maven Repository Metadata model. */
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Thu Apr 11 14:06:34 GMT 2024 - 115 bytes - Viewed (0) -
api/maven-api-xml/src/main/java/org/apache/maven/api/xml/package-info.java
// CHECKSTYLE_OFF: RegexpHeader /** * Maven immutable XML api. */
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Fri Nov 17 15:52:15 GMT 2023 - 102 bytes - Viewed (0) -
android/guava/src/com/google/common/io/LittleEndianDataOutputStream.java
public LittleEndianDataOutputStream(OutputStream out) { super(new DataOutputStream(Preconditions.checkNotNull(out))); } @Override public void write(byte[] b, int off, int len) throws IOException { // Override slow FilterOutputStream impl out.write(b, off, len); } @Override public void writeBoolean(boolean v) throws IOException { ((DataOutputStream) out).writeBoolean(v); } @Override
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed May 17 14:35:11 GMT 2023 - 5.2K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/Funnels.java
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed May 25 20:32:46 GMT 2022 - 7.3K bytes - Viewed (0) -
android/guava/src/com/google/common/io/FileBackedOutputStream.java
@Override public synchronized void write(byte[] b) throws IOException { write(b, 0, b.length); } @Override public synchronized void write(byte[] b, int off, int len) throws IOException { update(len); out.write(b, off, len); } @Override public synchronized void close() throws IOException { out.close(); } @Override
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 22 17:40:56 GMT 2024 - 8.2K bytes - Viewed (0)