- Sort Score
- Num 10 results
- Language All
Results 41 - 50 of 62 for _seek (0.04 seconds)
-
docs/LICENSE
violation; or 2. upon express reinstatement by the Licensor. For the avoidance of doubt, this Section 6(b) does not affect any right the Licensor may have to seek remedies for Your violations of this Public License. c. For the avoidance of doubt, the Licensor may also offer the Licensed Material under separate terms or conditions or stopCreated: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Mon May 10 16:50:06 GMT 2021 - 18.2K bytes - Click Count (0) -
src/bufio/bufio_test.go
buf := NewReader(r) allocs := testing.AllocsPerRun(100, func() { r.Seek(0, io.SeekStart) buf.Reset(r) _, err := buf.ReadString('\n') if err != nil { t.Fatal(err) } }) if allocs != 1 { t.Errorf("Unexpected number of allocations, got %f, want 1", allocs)
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Fri Feb 07 01:08:54 GMT 2025 - 51.6K bytes - Click Count (0) -
cmd/erasure-metadata.go
if offset == 0 { // Special case - if offset is 0, then partIndex and partOffset are always 0. return 0, 0, nil } partOffset = offset // Seek until object offset maps to a particular part offset. for i, part := range fi.Parts { partIndex = i // Offset is smaller than size we have reached the proper part offset. if partOffset < part.Size {Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 21.3K bytes - Click Count (0) -
cmd/xl-storage.go
// Verify it is a regular file, otherwise subsequent Seek is // undefined. if !st.Mode().IsRegular() { file.Close() return nil, errIsNotRegular } if st.Size() < offset+length { // Expected size cannot be satisfied for // requested offset and length file.Close() return nil, errFileCorrupt } if offset > 0 { if _, err = file.Seek(offset, io.SeekStart); err != nil {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 91.7K bytes - Click Count (0) -
src/archive/zip/reader.go
r.File = make([]*File, 0, end.directoryRecords) } r.Comment = end.comment rs := io.NewSectionReader(rdr, 0, size) if _, err = rs.Seek(r.baseOffset+int64(end.directoryOffset), io.SeekStart); err != nil { return err } buf := bufio.NewReader(rs) // The count of files inside a zip is truncated to fit in a uint16.
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Tue Mar 11 22:19:38 GMT 2025 - 28.4K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/ServerMessageBlock.java
/** * SMB command to check if a directory exists. */ public static final byte SMB_COM_CHECK_DIRECTORY = (byte) 0x10; /** * SMB command to seek within a file. */ public static final byte SMB_COM_SEEK = (byte) 0x12; /** * SMB command for file locking operations. */ public static final byte SMB_COM_LOCKING_ANDX = (byte) 0x24;Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 38.9K bytes - Click Count (0) -
cmd/server-main.go
for _, list := range cfV1.Pools { pools = append(pools, poolArgs{ args: list, setDriveCount: setDriveCount, }) } case "v2": cf := config.ServerConfig{} cfReader.Seek(0, io.SeekStart) if err = yaml.Unmarshal(rd, &cf); err != nil { return err } pools = make([]poolArgs, 0, len(cf.Pools)) for _, list := range cf.Pools { driveCount := list.SetDriveCountCreated: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue May 27 15:18:36 GMT 2025 - 35.9K bytes - Click Count (4) -
internal/s3select/select_test.go
return newBytesRSC([]byte(s)) } func newBytesRSC(b []byte) io.ReadSeekCloser { r := bytes.NewReader(b) segmentReader := func(offset int64) (io.ReadCloser, error) { _, err := r.Seek(offset, io.SeekStart) if err != nil { return nil, err } return io.NopCloser(r), nil } return NewObjectReadSeekCloser(segmentReader, int64(len(b))) } type testResponseWriter struct {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 76.1K bytes - Click Count (0) -
api/go1.txt
pkg io, type Seeker interface { Seek } pkg io, type Seeker interface, Seek(int64, int) (int64, error) pkg io, type WriteCloser interface { Close, Write } pkg io, type WriteCloser interface, Close() error pkg io, type WriteCloser interface, Write([]uint8) (int, error) pkg io, type WriteSeeker interface { Seek, Write } pkg io, type WriteSeeker interface, Seek(int64, int) (int64, error)Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Wed Aug 14 18:58:28 GMT 2013 - 1.7M bytes - Click Count (0) -
api/go1.5.txt
pkg debug/dwarf, method (*Entry) AttrField(Attr) *Field pkg debug/dwarf, method (*LineReader) Next(*LineEntry) error pkg debug/dwarf, method (*LineReader) Reset() pkg debug/dwarf, method (*LineReader) Seek(LineReaderPos) pkg debug/dwarf, method (*LineReader) SeekPC(uint64, *LineEntry) error pkg debug/dwarf, method (*LineReader) Tell() LineReaderPos pkg debug/dwarf, method (*Reader) AddressSize() int
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Thu Jul 30 21:14:09 GMT 2015 - 46.6K bytes - Click Count (0)