- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 181 for read (0.14 sec)
-
android/guava/src/com/google/common/io/ByteStreams.java
byte[] buf = createBuffer(); int read; do { read = input.read(buf); } while (read != -1 && processor.processBytes(buf, 0, read)); return processor.getResult(); } /** * Reads some bytes from an input stream and stores them into the buffer array {@code b}. This * method blocks until {@code len} bytes of input data have been read into the array, or end of
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) -
guava-testlib/test/com/google/common/testing/FakeTickerTest.java
assertEquals(0, ticker.read()); assertEquals(10, ticker.read()); assertEquals(20, ticker.read()); } public void testAutoIncrementStep_millis() { FakeTicker ticker = new FakeTicker().setAutoIncrementStep(1, TimeUnit.MILLISECONDS); assertEquals(0, ticker.read()); assertEquals(1000000, ticker.read()); assertEquals(2000000, ticker.read()); }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Feb 06 14:40:46 GMT 2024 - 6.3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/text/Tokenizer.java
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 8.6K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/internal/impl/DefaultModelXmlFactory.java
if (inputStream != null) { return xml.read(inputStream, request.isStrict(), source); } else if (reader != null) { return xml.read(reader, request.isStrict(), source); } else if (path != null) { try (InputStream is = Files.newInputStream(path)) { return xml.read(is, request.isStrict(), source); } } else {
Java - Registered: Sun Mar 24 03:35:10 GMT 2024 - Last Modified: Thu Dec 07 20:05:02 GMT 2023 - 5.1K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultModelXmlFactory.java
if (inputStream != null) { return xml.read(inputStream, request.isStrict(), source); } else if (reader != null) { return xml.read(reader, request.isStrict(), source); } else if (path != null) { try (InputStream is = Files.newInputStream(path)) { return xml.read(is, request.isStrict(), source); } } else {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 5.4K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/internal/impl/DefaultToolchainsXmlFactory.java
if (reader != null) { return xml.read(reader, request.isStrict()); } else { return xml.read(inputStream, request.isStrict()); } } catch (Exception e) { throw new XmlReaderException("Unable to read toolchains", e); } } @Override
Java - Registered: Sun Mar 24 03:35:10 GMT 2024 - Last Modified: Thu Dec 07 20:05:02 GMT 2023 - 3.7K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultToolchainsXmlFactory.java
if (reader != null) { return xml.read(reader, request.isStrict()); } else { return xml.read(inputStream, request.isStrict()); } } catch (Exception e) { throw new XmlReaderException("Unable to read toolchains: " + getMessage(e), getLocation(e), e); } } @Override
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Mon Mar 25 10:50:01 GMT 2024 - 3.9K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/internal/impl/DefaultPluginXmlFactory.java
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Mon Mar 25 10:50:01 GMT 2024 - 5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/MapMakerInternalMap.java
// We need to guarantee that any existing reads of old Map can // proceed. So we cannot yet null out each bin. E head = oldTable.get(oldIndex); if (head != null) { E next = head.getNext(); int headIndex = head.getHash() & newMask; // Single node on list if (next == null) { newTable.set(headIndex, head); } else {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 91.9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/FileUtil.java
try { final FileChannel channel = is.getChannel(); final ByteBuffer buffer = ByteBuffer.allocate((int) ChannelUtil.size(channel)); ChannelUtil.read(channel, buffer); return buffer.array(); } finally { CloseableUtil.close(is); } } /** * デフォルトエンコーディングでファイルからテキストを読み込みます。 *
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 9K bytes - Viewed (0)