- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 289 for Weaver (0.17 sec)
-
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) {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Apr 06 12:56:11 GMT 2023 - 24.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/DcerpcMessage.java
alloc_hint = length - alloc_hint_index; buf.enc_ndr_long(alloc_hint); } buf.setIndex(start); encode_header(buf); buf.setIndex(start + length); } public void decode(NdrBuffer buf) throws NdrException { decode_header(buf); if (ptype != 12 && ptype != 2 && ptype != 3 && ptype != 13) throw new NdrException("Unexpected ptype: " + ptype);
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Fri Mar 22 20:39:42 GMT 2019 - 4.2K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/DcerpcMessage.java
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 5K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/execution/DefaultBuildResumptionDataRepository.java
LOGGER.warn("The {} file does not exist. The --resume / -r feature will not work.", path); return properties; } try (Reader reader = Files.newBufferedReader(path)) { properties.load(reader); } catch (IOException e) { LOGGER.warn("Unable to read {}. The --resume / -r feature will not work.", path); } return properties; }
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Apr 06 08:51:18 GMT 2023 - 4.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/SourceSinkFactories.java
} @Override public String getSinkContents() throws IOException { Path file = getPath(); try (Reader reader = java.nio.file.Files.newBufferedReader(file, Charsets.UTF_8)) { StringBuilder builder = new StringBuilder(); for (int c = reader.read(); c != -1; c = reader.read()) { builder.append((char) c); } return builder.toString(); } } }
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Thu Sep 09 17:57:59 GMT 2021 - 17.9K bytes - Viewed (0) -
android/guava/src/com/google/common/io/BaseEncoding.java
} /** * Returns an {@code InputStream} that decodes base-encoded input from the specified {@code * Reader}. The returned stream throws a {@link DecodingException} upon decoding-specific errors. */ @J2ktIncompatible @GwtIncompatible // Reader,InputStream public abstract InputStream decodingStream(Reader reader); /** * Returns a {@code ByteSource} that reads base-encoded bytes from the specified {@code
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri Mar 15 16:33:32 GMT 2024 - 41.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/CloseablesTest.java
Closeables.close(null, false); } public void testCloseQuietlyNull_inputStream() { Closeables.closeQuietly((InputStream) null); } public void testCloseQuietlyNull_reader() { Closeables.closeQuietly((Reader) null); } // Set up a closeable to expect to be closed, and optionally to throw an // exception. private void setupCloseable(boolean shouldThrow) throws IOException {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/TestCharSource.java
* limitations under the License. */ package com.google.common.io; import static com.google.common.base.Charsets.UTF_8; import java.io.IOException; import java.io.InputStreamReader; import java.io.Reader; /** * A char source for testing that has configurable options. * * @author Colin Decker */ public class TestCharSource extends CharSource implements TestStreamSupplier {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri Apr 21 02:27:51 GMT 2017 - 1.4K bytes - Viewed (0) -
src/main/java/jcifs/netbios/NameServicePacket.java
static final int NBSTAT = 0x0021; static final int IN = 0x0001; static final int A = 0x0001; static final int NS = 0x0002; static final int NULL = 0x000a; static final int HEADER_LENGTH = 12; // header field offsets static final int OPCODE_OFFSET = 2; static final int QUESTION_OFFSET = 4; static final int ANSWER_OFFSET = 6; static final int AUTHORITY_OFFSET = 8;
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 12K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocScanner.java
return; } StringBuilder builder = new StringBuilder(); try { BufferedReader reader = new BufferedReader(new StringReader(rawCommentText)); String line; while ((line = reader.readLine()) != null) { line = line.replaceFirst("\\s*\\* ?", ""); if (line.startsWith("@")) {
Java - Registered: Wed Apr 17 11:36:08 GMT 2024 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 4.3K bytes - Viewed (0)