Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 58 for _seek (0.11 sec)

  1. 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 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 91.3K bytes
    - Viewed (0)
  2. 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.
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Sat Aug 03 01:05:29 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  3. 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.SetDriveCount
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 21:50:11 UTC 2024
    - 35.2K bytes
    - Viewed (1)
  4. 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)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
  5. 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 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Dec 23 07:19:11 UTC 2023
    - 76.2K bytes
    - Viewed (0)
  6. 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
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Jul 30 21:14:09 UTC 2015
    - 46.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbFile.java

                        }
                        fileSize = seekResp.getOffset();
                    }
                    catch ( Exception e ) {
                        log.debug("Seek failed", e);
                        haveSize = false;
                    }
                    fh = new SmbFileHandleImpl(config, response.getFid(), h, uncPath, flags, access, 0, 0, fileSize);
                }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu May 23 01:50:13 UTC 2024
    - 82.3K bytes
    - Viewed (0)
  8. api/go1.2.txt

    pkg syscall (freebsd-386-cgo), func Revoke(string) error
    pkg syscall (freebsd-386-cgo), func RouteRIB(int, int) ([]uint8, error)
    pkg syscall (freebsd-386-cgo), func Seek(int, int64, int) (int64, error)
    pkg syscall (freebsd-386-cgo), func Select(int, *FdSet, *FdSet, *FdSet, *Timeval) error
    pkg syscall (freebsd-386-cgo), func Sendfile(int, int, *int64, int) (int, error)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Oct 18 04:36:59 UTC 2013
    - 1.9M bytes
    - Viewed (0)
  9. okhttp/src/test/resources/okhttp3/internal/publicsuffix/public_suffix_list.dat

    // seat : 2014-05-22 SEAT, S.A. (Sociedad Unipersonal)
    seat
    
    // secure : 2015-08-27 Amazon Registry Services, Inc.
    secure
    
    // security : 2015-05-14 XYZ.COM LLC
    security
    
    // seek : 2014-12-04 Seek Limited
    seek
    
    // select : 2015-10-08 Registry Services, LLC
    select
    
    // sener : 2014-10-24 Sener IngenierĂ­a y Sistemas, S.A.
    sener
    
    // services : 2014-02-27 Binky Moon, LLC
    services
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Dec 20 23:27:07 UTC 2023
    - 240.3K bytes
    - Viewed (0)
  10. api/go1.16.txt

    pkg io, func NopCloser(Reader) ReadCloser
    pkg io, func ReadAll(Reader) ([]uint8, error)
    pkg io, type ReadSeekCloser interface { Close, Read, Seek }
    pkg io, type ReadSeekCloser interface, Close() error
    pkg io, type ReadSeekCloser interface, Read([]uint8) (int, error)
    pkg io, type ReadSeekCloser interface, Seek(int64, int) (int64, error)
    pkg io, var Discard Writer
    pkg io/fs, const ModeAppend = 1073741824
    pkg io/fs, const ModeAppend FileMode
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Dec 02 16:30:41 UTC 2022
    - 479.2K bytes
    - Viewed (0)
Back to top