About 3,320,000 results
Open links in new tab
  1. python - seek() function? - Stack Overflow

    A seek() operation moves that pointer to some other part of the file so you can read or write at that place. So, if you want to read the whole file but skip the first 20 bytes, open the file, seek(20) …

  2. How does Python's seek function work? - Stack Overflow

    Nov 7, 2012 · file.seek(offset[, whence]) Set the file’s current position, like stdio‘s fseek(). The whence argument is optional and defaults to os.SEEK_SET or 0 (absolute file positioning); …

  3. SQL Server Plans : difference between Index Scan / Index Seek

    Feb 27, 2012 · Index Seek. When SQL Server does a seek it knows where in the index that the data is going to be, so it loads up the index from disk, goes directly to the part of the index that …

  4. c++ - fstream seekg(), seekp(), and write() - Stack Overflow

    Mar 28, 2013 · What this means is that when you use a std::basic_fstream, which by default uses a std::basic_filebuf, the single file position is moved by both seekp() and seekg(); unless you …

  5. What is the difference between Lookup, Scan and Seek?

    May 15, 2017 · Every individual seek, scan, lookup, or update on the specified index by one query execution is counted as a use of that index and increments the corresponding counter in this …

  6. Why is the beginning of a C file stream called `SEEK_SET`?

    Jun 3, 2019 · If whence is set to SEEK_SET, SEEK_CUR, or SEEK_END, the offset is relative to the start of the file, the current position indicator, or end-of-file, respectively. From the …

  7. How to improve performance on a clustered index seek

    Dec 29, 2009 · A clustered index range seek that returns 138 rows is not your problem. Technically you can improve the seek performance by making the clustered index narrower: …

  8. Stream.Seek (0, SeekOrigin.Begin) or Position = 0

    Additionally : when calling Seek(), even if no actual seek on the file system is needed (the seek position is within the buffer boundary), it will always cause data in the buffer to be copied (see …

  9. problem: FFMPEG seeking with av_seek_frame using byte positions

    Jun 13, 2010 · To set the file position: url_seek(AVFormatContext.pb, Position, SEEK_SET); for example: url_seek(pFormatCtx->pb, 27909056, SEEK_SET); Don't forget to flush the buffers if …

  10. c - behaviour of fseek and SEEK_END - Stack Overflow

    Dec 18, 2014 · With this in mind, the very last byte of the file is the one found at (-1, SEEK_END) and thus the (-3, SEEK_END) byte is the 8. Note that this is consistent with how C usually …

Refresh