- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 1,742 for Read (0.02 sec)
-
internal/ringbuffer/ring_buffer_test.go
t.Errorf("Read error: got %T, want testError1", err) } if _, err := rb.TryRead([]byte{0}); err != (testError1{}) { t.Errorf("Read error: got %T, want testError1", err) } rb.CloseWithError(testError2{}) if _, err := rb.Read(nil); err != (testError1{}) { t.Errorf("Read error: got %T, want testError1", err) } if _, err := rb.Read([]byte{0}); err != (testError1{}) {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed May 15 00:11:04 UTC 2024 - 26.8K bytes - Viewed (0) -
docs/en/docs/how-to/general.md
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Aug 19 19:54:04 UTC 2023 - 2.3K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelProcessor.java
return modelReader.read(pomFile, options).getDelegate(); } else if (input != null) { return modelReader.read(input, options).getDelegate(); } else { return modelReader.read(reader, options).getDelegate(); } } @Deprecated @Override public org.apache.maven.model.Model read(File file, Map<String, ?> options) throws IOException {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8.5K bytes - Viewed (0) -
.github/workflows/contributor-pr.yml
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Fri Oct 11 18:32:33 UTC 2024 - 3.9K bytes - Viewed (0) -
compat/maven-model/src/main/java/org/apache/maven/model/io/xpp3/MavenXpp3Reader.java
* any. * @return Model */ public Model read(Reader reader) throws IOException, XmlPullParserException { return read(reader, true); } // -- Model read( Reader ) protected Model read(InputStream is, boolean strict, InputSource source) throws IOException, XmlPullParserException { try { org.apache.maven.api.model.Model model =
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.2K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/XmlFactory.java
/** * Generic interface to read/write objects to/from XML. * * @param <T> the object type to read/write * @since 4.0.0 */ @Experimental public interface XmlFactory<T> extends Service { @Nonnull default T read(@Nonnull Path path) throws XmlReaderException { return read(path, true); } @Nonnull default T read(@Nonnull Path path, boolean strict) throws XmlReaderException {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Nov 17 15:52:15 UTC 2023 - 3.9K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/io/DefaultModelReader.java
this.transformer = transformer; } @Override public Model read(File input, Map<String, ?> options) throws IOException { Objects.requireNonNull(input, "input cannot be null"); return read(input.toPath(), options); } @Override public Model read(Path path, Map<String, ?> options) throws IOException { Objects.requireNonNull(path, "path cannot be null");
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.8K bytes - Viewed (0) -
src/bytes/buffer.go
} var errUnreadByte = errors.New("bytes.Buffer: UnreadByte: previous operation was not a successful read") // UnreadByte unreads the last byte returned by the most recent successful // read operation that read at least one byte. If a write has happened since // the last read, if the last read returned an error, or if the read read zero // bytes, UnreadByte returns an error. func (b *Buffer) UnreadByte() error {
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Tue Oct 29 16:47:05 UTC 2024 - 15.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/ByteSourceTest.java
// The stream reports no bytes... importantly, it doesn't read the byte at index 5 when it // should be reading the byte at index 10. // We could use a custom InputStream instead to make the read start at index 10, but since this // is a racy situation anyway, this behavior seems reasonable. assertEquals(-1, in.read()); } private static class AppendableByteSource extends ByteSource {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 15.4K bytes - Viewed (0) -
src/test/java/jcifs/tests/RandomAccessFileTest.java
int rs = Math.min(bufSize, (int) ( length - p )); int read = is.read(buffer, 0, rs); if ( read < 0 ) { fail("Unexpected EOF"); } byte verify[] = new byte[read]; ReadWriteTest.randBytes(r, verify); byte actual[] = Arrays.copyOfRange(buffer, 0, read); assertArrayEquals("Data matches at offset " + p, actual, verify);
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 11.4K bytes - Viewed (0)