- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 75 for Syscall (0.47 sec)
-
api/go1.22.txt
pkg syscall (linux-386), type SysProcAttr struct, PidFD *int #51246 pkg syscall (linux-386-cgo), type SysProcAttr struct, PidFD *int #51246 pkg syscall (linux-amd64), type SysProcAttr struct, PidFD *int #51246 pkg syscall (linux-amd64-cgo), type SysProcAttr struct, PidFD *int #51246 pkg syscall (linux-arm), type SysProcAttr struct, PidFD *int #51246 pkg syscall (linux-arm-cgo), type SysProcAttr struct, PidFD *int #51246
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed Jan 24 20:54:27 UTC 2024 - 7.7K bytes - Viewed (0) -
docs/debugging/reorder-disks/main.go
}) if err != nil { return nil, err } return result, nil } type localDisk struct { index int path string } func getMajorMinor(path string) (string, error) { var stat syscall.Stat_t if err := syscall.Stat(path, &stat); err != nil { return "", fmt.Errorf("unable to stat `%s`: %w", path, err) } devID := uint64(stat.Dev) major := (devID & 0x00000000000fff00) >> 8
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 5.4K bytes - Viewed (0) -
misc/go_android_exec/main.go
lockPath := filepath.Join(os.TempDir(), "go_android_exec-adb-lock") lock, err := os.OpenFile(lockPath, os.O_CREATE|os.O_RDWR, 0666) if err != nil { return 0, err } defer lock.Close() if err := syscall.Flock(int(lock.Fd()), syscall.LOCK_EX); err != nil { return 0, err } // In case we're booting a device or emulator alongside all.bash, wait for // it to be ready. adb wait-for-device is not enough, we have to
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon Aug 21 17:46:57 UTC 2023 - 15.3K bytes - Viewed (0) -
cmd/os-dirent_fileino.go
// // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import "syscall" func direntInode(dirent *syscall.Dirent) uint64 { return uint64(dirent.Fileno)
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Thu Aug 19 01:35:22 UTC 2021 - 950 bytes - Viewed (0) -
api/go1.21.txt
pkg syscall (freebsd-386-cgo), type SysProcAttr struct, Jail int #46259 pkg syscall (freebsd-386), type SysProcAttr struct, Jail int #46259 pkg syscall (freebsd-amd64-cgo), type SysProcAttr struct, Jail int #46259 pkg syscall (freebsd-amd64), type SysProcAttr struct, Jail int #46259 pkg syscall (freebsd-arm64-cgo), type SysProcAttr struct, Jail int #46259
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon Aug 07 09:39:17 UTC 2023 - 25.6K bytes - Viewed (0) -
cmd/os-reliable.go
// directory" error message. Handle this specifically // here. return errFileAccessDenied } } return err } // Reliably retries os.RemoveAll if for some reason os.RemoveAll returns // syscall.ENOTEMPTY (children has files). func reliableRemoveAll(dirPath string) (err error) { i := 0 for { // Removes all the directories and files. if err = RemoveAll(dirPath); err != nil {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Mon Apr 22 17:49:30 UTC 2024 - 5.8K bytes - Viewed (0) -
cmd/xl-storage_windows_test.go
err = fs.AppendFile(context.Background(), "voldir", "/file", []byte("hello")) if err != nil { t.Fatal(err) } // Try to create a file that includes a file in its path components. // In *nix, this returns syscall.ENOTDIR while in windows we receive the following error. err = fs.AppendFile(context.Background(), "voldir", "/file/obj1", []byte("hello")) if err != errFileAccessDenied {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Nov 29 06:35:16 UTC 2023 - 2.8K bytes - Viewed (0) -
src/cmd/asm/internal/asm/testdata/mips64.s
// { // outcode(int($1), &$2, 0, &nullgen); // } NOP $4 // // special // SYSCALL BREAK // overloaded cache opcode: BREAK R1, (R1) // // RET // // LRETRN comma // asm doesn't support the trailing comma. // { // outcode(int($1), &nullgen, 0, &nullgen); // } SYSCALL BEQ R1, 2(PC) RET // More JMP/JAL cases, and canonical names JMP, CALL.
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Tue Aug 08 12:17:12 UTC 2023 - 12.4K bytes - Viewed (0) -
cmd/os-instrumented.go
default: defer updateOSMetrics(osMetricOpenFileR, name)(err) } return os.OpenFile(name, flag, perm) } // Access captures time taken to call syscall.Access() // on windows, plan9 and solaris syscall.Access uses // os.Lstat() func Access(name string) (err error) { defer updateOSMetrics(osMetricAccess, name)(err) return access(name) } // Open captures time taken to call os.Open
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 6.2K bytes - Viewed (0) -
misc/ios/go_ios_exec.go
lockName := filepath.Join(os.TempDir(), "go_ios_exec-"+deviceID+".lock") lock, err = os.OpenFile(lockName, os.O_CREATE|os.O_RDONLY, 0666) if err != nil { return 1, err } if err := syscall.Flock(int(lock.Fd()), syscall.LOCK_EX); err != nil { return 1, err } err = runOnSimulator(appdir) if err != nil { return 1, err } return 0, nil } func runOnSimulator(appdir string) error {
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Tue Jun 18 16:32:49 UTC 2024 - 8.7K bytes - Viewed (0)