- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 168 for lseek (0.08 sec)
-
src/embed/embed.go
f.offset += int64(n) return n, nil } func (f *openFile) Seek(offset int64, whence int) (int64, error) { switch whence { case 0: // offset += 0 case 1: offset += f.offset case 2: offset += int64(len(f.f.data)) } if offset < 0 || offset > int64(len(f.f.data)) { return 0, &fs.PathError{Op: "seek", Path: f.f.name, Err: fs.ErrInvalid} } f.offset = offset return offset, nil
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 19:42:51 UTC 2024 - 13.5K bytes - Viewed (0) -
src/vendor/golang.org/x/text/unicode/norm/iter.go
i.next = i.rb.f.nextMain i.asciiF = nextASCIIString i.info = i.rb.f.info(i.rb.src, i.p) i.rb.ss.first(i.info) } // Seek sets the segment to be returned by the next call to Next to start // at position p. It is the responsibility of the caller to set p to the // start of a segment. func (i *Iter) Seek(offset int64, whence int) (int64, error) { var abs int64 switch whence { case 0: abs = offset case 1:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 19:27:51 UTC 2019 - 11K bytes - Viewed (0) -
src/syscall/tables_js.go
ENOTTY Errno = 25 /* Not a typewriter */ EFBIG Errno = 27 /* File too large */ ENOSPC Errno = 28 /* No space left on device */ ESPIPE Errno = 29 /* Illegal seek */ EROFS Errno = 30 /* Read-only file system */ EMLINK Errno = 31 /* Too many links */ EPIPE Errno = 32 /* Broken pipe */ ENAMETOOLONG Errno = 36 /* File name too long */
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 28 18:17:57 UTC 2021 - 19.2K bytes - Viewed (0) -
src/internal/pkgbits/decoder.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 27 20:58:46 UTC 2022 - 13.2K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/text/unicode/norm/iter.go
i.next = i.rb.f.nextMain i.asciiF = nextASCIIString i.info = i.rb.f.info(i.rb.src, i.p) i.rb.ss.first(i.info) } // Seek sets the segment to be returned by the next call to Next to start // at position p. It is the responsibility of the caller to set p to the // start of a segment. func (i *Iter) Seek(offset int64, whence int) (int64, error) { var abs int64 switch whence { case 0: abs = offset case 1:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 24 13:01:26 UTC 2024 - 11K bytes - Viewed (0) -
src/syscall/zerrors_windows.go
ESHUTDOWN - APPLICATION_ERROR: "cannot send after transport endpoint shutdown", ESOCKTNOSUPPORT - APPLICATION_ERROR: "socket type not supported", ESPIPE - APPLICATION_ERROR: "illegal seek", ESRCH - APPLICATION_ERROR: "no such process", ESRMNT - APPLICATION_ERROR: "srmount error", ESTALE - APPLICATION_ERROR: "stale NFS file handle",
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 14 13:21:46 UTC 2018 - 10K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java
off += write_andx_resp.count; } while( len > 0 ); } public long getFilePointer() throws SmbException { return fp; } public void seek( long pos ) throws SmbException { fp = pos; } public long length() throws SmbException { return file.length(); } public void setLength( long newLength ) throws SmbException {
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 10.9K bytes - Viewed (0) -
src/cmd/asm/internal/asm/operand_test.go
{"X2", "X2"}, {"X3", "X3"}, {"X4", "X4"}, {"X5", "X5"}, {"X6", "X6"}, {"X7", "X7"}, {"X8", "X8"}, {"X9", "X9"}, {"_expand_key_128<>(SB)", "_expand_key_128<>(SB)"}, {"_seek<>(SB)", "_seek<>(SB)"}, {"a2+16(FP)", "a2+16(FP)"}, {"addr2+24(FP)", "addr2+24(FP)"}, {"asmcgocall<>(SB)", "asmcgocall<>(SB)"}, {"b+24(FP)", "b+24(FP)"}, {"b_len+32(FP)", "b_len+32(FP)"},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 29 18:31:05 UTC 2023 - 23.9K bytes - Viewed (0) -
platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/junit/result/TestOutputStore.java
} boolean ignoreClassLevel = !allClassOutput && testId != 0; boolean ignoreTestLevel = !allClassOutput && testId == 0; try { dataFile.seek(region.start); long maxPos = region.stop - region.start; KryoBackedDecoder decoder = new KryoBackedDecoder(new RandomAccessFileInputStream(dataFile));
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:49:51 UTC 2024 - 14.3K bytes - Viewed (0) -
pkg/apis/flowcontrol/validation/validation.go
} return nil } func hasWildcard(operations []string) bool { return memberInList("*", operations...) } func memberInList(seek string, a ...string) bool { for _, ai := range a { if ai == seek { return true } } return false
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 30 22:22:51 UTC 2023 - 26.7K bytes - Viewed (0)