- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 1,555 for readN (0.08 sec)
-
internal/ioutil/read_file.go
_, err = io.ReadFull(f, dst) return dst, st, err } // ReadFile reads the named file and returns the contents. // A successful call returns err == nil, not err == EOF. // Because ReadFile reads the whole file, it does not treat an EOF from Read // as an error to be reported. // // passes NOATIME flag for reads on Unix systems to avoid atime updates. func ReadFile(name string) ([]byte, error) {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Dec 09 18:17:51 UTC 2023 - 2.3K bytes - Viewed (0) -
internal/bucket/bandwidth/reader.go
type MonitorReaderOptions struct { BucketOptions HeaderSize int } // Read implements a throttled read func (r *MonitoredReader) Read(buf []byte) (n int, err error) { if r.throttle == nil { return r.r.Read(buf) } if r.lastErr != nil { err = r.lastErr return } b := r.throttle.Burst() // maximum available tokens
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jul 12 14:57:31 UTC 2024 - 3.2K bytes - Viewed (0) -
internal/ioutil/hardlimitreader.go
// A HardLimitedReader reads from R but limits the amount of // data returned to just N bytes. Each call to Read // updates N to reflect the new amount remaining. // Read returns EOF when N <= 0 or when the underlying R returns EOF. type HardLimitedReader struct { R io.Reader // underlying reader N int64 // max bytes remaining } func (l *HardLimitedReader) Read(p []byte) (n int, err error) { if l.N < 0 {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat May 06 02:53:12 UTC 2023 - 2K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFileInputStream.java
} /** * Reads up to b.length bytes of data from this input stream into an array of bytes. * * @throws IOException * if a network error occurs */ @Override public int read ( byte[] b ) throws IOException { return read(b, 0, b.length); } /**
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun May 17 08:55:14 UTC 2020 - 13.2K bytes - Viewed (0) -
internal/http/headers.go
// Header indicates if the etag should be preserved by client MinIOSourceETag = "x-minio-source-etag" // Writes expected write quorum MinIOWriteQuorum = "x-minio-write-quorum" // Reads expected read quorum MinIOReadQuorum = "x-minio-read-quorum" // Indicates if we are using default storage class and there was problem loading config // if this header is set to "true" MinIOStorageClassDefaults = "x-minio-storage-class-defaults"
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 28 15:31:56 UTC 2024 - 10.4K bytes - Viewed (0) -
guava/src/com/google/common/io/CharSource.java
* block indefinitely or fail if the source creates an infinite reader. * <li><b>Non-destructive:</b> A <i>destructive</i> reader will consume or otherwise alter the * source as they are read from it. A source that provides such readers will not be reusable, * and operations that read from the stream (including {@link #length()}, in some
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:20:11 UTC 2024 - 25.5K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/io/ModelReader.java
* @throws ModelParseException If the input format could not be parsed. * @deprecated Use {@link #read(Path, Map)} instead. */ @Deprecated Model read(File input, Map<String, ?> options) throws IOException, ModelParseException; /** * Reads the model from the specified file. * * @param input The file to deserialize the model from, must not be {@code null}.
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbCopyUtil.java
private byte[] b; private int n; private boolean ready; private SmbFileOutputStream out; private SmbException e = null; WriterThread () { super("JCIFS-WriterThread"); this.ready = false; } /** * @return the ready */ boolean isReady () { return this.ready; } /** * @throws SmbException
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Tue Jul 07 10:52:42 UTC 2020 - 17.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/MultiReaderTest.java
Reader joinedReader = CharSource.concat(list).openStream(); assertTrue(joinedReader.ready()); assertEquals('a', joinedReader.read()); assertEquals('a', joinedReader.read()); assertEquals(-1, joinedReader.read()); assertFalse(joinedReader.ready()); } public void testSimple() throws Exception { String testString = "abcdefgh";
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
Reader joinedReader = CharSource.concat(list).openStream(); assertTrue(joinedReader.ready()); assertEquals('a', joinedReader.read()); assertEquals('a', joinedReader.read()); assertEquals(-1, joinedReader.read()); assertFalse(joinedReader.ready()); } public void testSimple() throws Exception { String testString = "abcdefgh";
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 3.7K bytes - Viewed (0)