- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 82 for readIDs (0.08 sec)
-
cmd/erasure-decode.go
copy(tmp, p.orgReaders) p.readers = tmp // next is the next non-preferred index. next := 0 for i, ok := range prefer { if !ok || p.readers[i] == nil { continue } if i == next { next++ continue } // Move reader with index i to index next. // Do this by swapping next and i p.readers[next], p.readers[i] = p.readers[i], p.readers[next] p.readerToBuf[next] = i
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 29 01:40:52 UTC 2024 - 9.5K bytes - Viewed (0) -
guava/src/com/google/common/io/CharSource.java
* encoding} may be viewed as a {@code CharSource} using {@link ByteSource#asCharSource(Charset)}. * * <p><b>Note:</b> In general, {@code CharSource} is intended to be used for "file-like" sources * that provide readers that are: * * <ul> * <li><b>Finite:</b> Many operations, such as {@link #length()} and {@link #read()}, will either * block indefinitely or fail if the source creates an infinite reader.
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:20:11 UTC 2024 - 25.5K bytes - Viewed (0) -
istioctl/pkg/analyze/analyze.go
return nil, err } readers = append(readers, dirReaders...) } else { if !isValidFile(f) { fmt.Fprintf(cmd.ErrOrStderr(), "Skipping file %v, recognized file extensions are: %v\n", f, fileExtensions) continue } rs, err := gatherFile(f) if err != nil { return nil, err } readers = append(readers, rs) } } return readers, nil }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Oct 31 06:53:50 UTC 2024 - 17.6K bytes - Viewed (0) -
cmd/storage-rest-client.go
return res, toStorageErr(err) } defer storageRenameDataRPC.PutResponse(resp) return *resp, nil } // where we keep old *Readers var readMsgpReaderPool = sync.Pool{New: func() interface{} { return &msgp.Reader{} }} // mspNewReader returns a *Reader that reads from the provided reader. // The reader will be buffered. // Return with readMsgpReaderPoolPut when done. func msgpNewReader(r io.Reader) *msgp.Reader {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Oct 13 13:07:21 UTC 2024 - 30.2K bytes - Viewed (0) -
src/bufio/bufio_test.go
} var bufreaders = []bufReader{ {"1", func(b *Reader) string { return reads(b, 1) }}, {"2", func(b *Reader) string { return reads(b, 2) }}, {"3", func(b *Reader) string { return reads(b, 3) }}, {"4", func(b *Reader) string { return reads(b, 4) }}, {"5", func(b *Reader) string { return reads(b, 5) }}, {"7", func(b *Reader) string { return reads(b, 7) }}, {"bytes", readBytes}, {"lines", readLines}, }
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Nov 01 21:52:12 UTC 2024 - 51.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/CharStreamsTest.java
Appendable secretlyAWriter = new StringWriter(); result = CharStreams.asWriter(secretlyAWriter); assertSame(secretlyAWriter, result); } // CharStreams.copy has type specific optimizations for Readers,StringBuilders and Writers public void testCopy() throws IOException { StringBuilder builder = new StringBuilder(); long copied = CharStreams.copy(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 14:28:19 UTC 2024 - 11.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/CharStreamsTest.java
Appendable secretlyAWriter = new StringWriter(); result = CharStreams.asWriter(secretlyAWriter); assertSame(secretlyAWriter, result); } // CharStreams.copy has type specific optimizations for Readers,StringBuilders and Writers public void testCopy() throws IOException { StringBuilder builder = new StringBuilder(); long copied = CharStreams.copy(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 14:28:19 UTC 2024 - 11.2K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/io/ModelReader.java
/** * Name of the property used to store the project's root directory to use with * XInclude support. */ String ROOT_DIRECTORY = "rootDirectory"; /** * 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) -
internal/store/store.go
} if vals := strings.Split(key.Name, "."); len(vals) == 2 { key.Extension = "." + vals[1] key.Name = strings.TrimSuffix(key.Name, key.Extension) } return } // replayItems - Reads the items from the store and replays. func replayItems[I any](store Store[I], doneCh <-chan struct{}, log logger, id string) <-chan Key { keyCh := make(chan Key) go func() { defer xioutil.SafeClose(keyCh)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Sep 06 23:06:30 UTC 2024 - 4.2K bytes - Viewed (0) -
src/bytes/buffer.go
} return data } // ReadByte reads and returns the next byte from the buffer. // If no byte is available, it returns error [io.EOF]. func (b *Buffer) ReadByte() (byte, error) { if b.empty() { // Buffer is empty, reset to recover space. b.Reset() return 0, io.EOF } c := b.buf[b.off] b.off++ b.lastRead = opRead return c, nil } // ReadRune reads and returns the next UTF-8-encoded
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Tue Oct 29 16:47:05 UTC 2024 - 15.7K bytes - Viewed (0)