- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 404 for lseek (0.1 sec)
-
platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/filelock/LockInfoAccess.java
public LockInfo readLockInfo(RandomAccessFile lockFileAccess) throws IOException { if (lockFileAccess.length() <= infoRegionPos) { return new LockInfo(); } else { lockFileAccess.seek(infoRegionPos); DataInputStream inputStream = new DataInputStream(new BufferedInputStream(new RandomAccessFileInputStream(lockFileAccess))); byte protocolVersion = inputStream.readByte();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:49:51 UTC 2024 - 3.4K bytes - Viewed (0) -
src/go/internal/gccgoimporter/ar.go
// what gccgo does; gccgo concatenates together all the export data // for all the objects in the file. In practice that case does not arise. func arExportData(archive io.ReadSeeker) (io.ReadSeeker, error) { if _, err := archive.Seek(0, io.SeekStart); err != nil { return nil, err } var buf [len(armag)]byte if _, err := archive.Read(buf[:]); err != nil { return nil, err } switch string(buf[:]) { case armag:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 30 14:14:36 UTC 2022 - 4.4K bytes - Viewed (0) -
src/syscall/syscall_unix_test.go
} } } } } func TestSeekFailure(t *testing.T) { _, err := syscall.Seek(-1, 0, io.SeekStart) if err == nil { t.Fatalf("Seek(-1, 0, 0) did not fail") } str := err.Error() // used to crash on Linux t.Logf("Seek: %v", str) if str == "" { t.Fatalf("Seek(-1, 0, 0) return error with empty message") } } func TestSetsockoptString(t *testing.T) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 29 16:24:51 UTC 2022 - 9.4K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/syscall_linux_gc_386.go
//go:build linux && gc && 386 package unix import "syscall" // Underlying system call writes to newoffset via pointer. // Implemented in assembly to avoid allocation. func seek(fd int, offset int64, whence int) (newoffset int64, err syscall.Errno) func socketcall(call int, a0, a1, a2, a3, a4, a5 uintptr) (n int, err syscall.Errno)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 585 bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/filelock/LockStateAccess.java
dataOutput.flush(); lockFileAccess.seek(REGION_START); lockFileAccess.write(outstr.toByteArray()); assert lockFileAccess.getFilePointer() == stateRegionSize; } public LockState readState(RandomAccessFile lockFileAccess) throws IOException { try { byte[] buffer = new byte[stateRegionSize]; lockFileAccess.seek(REGION_START); int readPos = 0;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:08:47 UTC 2023 - 4K bytes - Viewed (0) -
src/internal/coverage/encodecounter/encode.go
} func (cfw *CoverageDataWriter) patchSegmentHeader(ws *slicewriter.WriteSeeker) error { // record position off, err := ws.Seek(0, io.SeekCurrent) if err != nil { return fmt.Errorf("error seeking in patchSegmentHeader: %v", err) } // seek back to start so that we can update the segment header if _, err := ws.Seek(0, io.SeekStart); err != nil { return fmt.Errorf("error seeking in patchSegmentHeader: %v", err) } if cfw.debug {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 7.8K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/plan9/asm_plan9_386.s
TEXT ·Syscall6(SB),NOSPLIT,$0-44 JMP syscall·Syscall6(SB) TEXT ·RawSyscall(SB),NOSPLIT,$0-28 JMP syscall·RawSyscall(SB) TEXT ·RawSyscall6(SB),NOSPLIT,$0-40 JMP syscall·RawSyscall6(SB) TEXT ·seek(SB),NOSPLIT,$0-36 JMP syscall·seek(SB) TEXT ·exit(SB),NOSPLIT,$4-4
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 15 19:02:39 UTC 2021 - 702 bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/syscall_linux_gc_arm.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 411 bytes - Viewed (0) -
src/syscall/syscall_openbsd1.go
// license that can be found in the LICENSE file. //go:build openbsd && mips64 package syscall //sys readlen(fd int, buf *byte, nbuf int) (n int, err error) = SYS_READ //sys Seek(fd int, offset int64, whence int) (newoffset int64, err error) = SYS_LSEEK //sys getcwd(buf []byte) (n int, err error) = SYS___GETCWD
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 20 18:12:35 UTC 2023 - 534 bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/syscall_linux_gccgo_arm.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build linux && gccgo && arm package unix import ( "syscall" "unsafe" ) func seek(fd int, offset int64, whence int) (int64, syscall.Errno) { var newoffset int64 offsetLow := uint32(offset & 0xffffffff) offsetHigh := uint32((offset >> 32) & 0xffffffff)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 596 bytes - Viewed (0)