- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 458 for readDir (0.14 sec)
-
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt
} override fun fromDer(reader: DerReader): Any? { if (isOptional && !reader.hasNext()) return optionalValue val peekedHeader = reader.peekHeader() ?: throw ProtocolException("expected a value at $reader") for ((_, adapter) in choices) { if (adapter.matches(peekedHeader)) { return adapter.fromDer(reader) } }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 15K bytes - Viewed (0) -
internal/s3select/progress.go
if r == nil { return 0 } return atomic.LoadInt64(&r.bytesRead) } func newCountUpReader(reader io.Reader) *countUpReader { return &countUpReader{ reader: reader, } } type progressReader struct { rc io.ReadCloser scannedReader *countUpReader processedReader *countUpReader closedMu sync.Mutex closer io.ReadCloser closed bool }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Sep 22 00:33:43 UTC 2024 - 4.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/BaseEncodingTest.java
// of // InputStream.read(byte[], int, int) // See https://github.com/google/guava/issues/3542 Reader reader = new StringReader(cannotDecode); InputStream decodingStream = encoding.decodingStream(reader); try { ByteStreams.exhaust(decodingStream); fail("Expected DecodingException"); } catch (DecodingException expected) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 16:27:30 UTC 2024 - 24.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/MultiReaderTest.java
String result = CharStreams.toString(joinedReader); assertEquals(testString.length() * 3, result.length()); } public void testReady() throws Exception { CharSource source = newCharSource("a"); Iterable<? extends CharSource> list = ImmutableList.of(source, source); Reader joinedReader = CharSource.concat(list).openStream();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 3.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/MultiReaderTest.java
String result = CharStreams.toString(joinedReader); assertEquals(testString.length() * 3, result.length()); } public void testReady() throws Exception { CharSource source = newCharSource("a"); Iterable<? extends CharSource> list = ImmutableList.of(source, source); Reader joinedReader = CharSource.concat(list).openStream();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 3.7K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/ReaderUtil.java
} } /** * {@link Reader}からテキストを読み込みます。 * <p> * {@link Reader}はクローズされません。 * </p> * * @param reader * 読み込み文字ストリーム。{@literal null}であってはいけません * @return テキスト */ public static String readText(final Reader reader) { assertArgumentNotNull("reader", reader); final StringBuilder buf = new StringBuilder(BUF_SIZE);
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 4.5K bytes - Viewed (0) -
cmd/untar.go
// disconnectReader will ensure that no reads can take place on // the upstream reader after close has been called. type disconnectReader struct { r io.Reader mu sync.Mutex } func (d *disconnectReader) Read(p []byte) (n int, err error) { d.mu.Lock() defer d.mu.Unlock() if d.r != nil { return d.r.Read(p) } return 0, errors.New("reader closed") } func (d *disconnectReader) Close() error {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Sep 22 00:33:43 UTC 2024 - 6K bytes - Viewed (2) -
android/guava/src/com/google/common/io/LineReader.java
while (lines.peek() == null) { Java8Compatibility.clear(cbuf); // The default implementation of Reader#read(CharBuffer) allocates a // temporary char[], so we call Reader#read(char[], int, int) instead. int read = (reader != null) ? reader.read(buf, 0, buf.length) : readable.read(cbuf); if (read == -1) { lineBuf.finish(); break; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed May 17 14:35:11 UTC 2023 - 3.1K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/LineIterator.java
assertArgumentNotNull("reader", reader); return () -> new LineIterator(reader); } /** * インスタンスを構築します。 * * @param reader * 文字列を読み込む{@link Reader}。{@literal null}であってはいけません */ public LineIterator(final Reader reader) { assertArgumentNotNull("reader", reader); this.reader = new BufferedReader(reader); } /**
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 3.8K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/XmlFactory.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Nov 17 15:52:15 UTC 2023 - 3.9K bytes - Viewed (0)