- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 101 for Syscall (0.66 seconds)
-
cmd/os-dirent_namelen_bsd.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 direntNamlen(dirent *syscall.Dirent) (uint64, error) { return uint64(dirent.Namlen), nil
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Thu Aug 19 01:35:22 GMT 2021 - 982 bytes - Click Count (0) -
api/go1.10.txt
pkg strings, type Builder struct pkg syscall (freebsd-386), const SYS_UTIMENSAT = 547 pkg syscall (freebsd-386), const SYS_UTIMENSAT ideal-int pkg syscall (freebsd-386-cgo), const SYS_UTIMENSAT = 547 pkg syscall (freebsd-386-cgo), const SYS_UTIMENSAT ideal-int pkg syscall (freebsd-amd64), const SYS_UTIMENSAT = 547 pkg syscall (freebsd-amd64), const SYS_UTIMENSAT ideal-int pkg syscall (freebsd-amd64-cgo), const SYS_UTIMENSAT = 547
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Tue Feb 06 05:00:01 GMT 2018 - 30.1K bytes - Click Count (0) -
internal/disk/fdatasync_unix.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package disk import ( "os" "syscall" ) // Fdatasync is fsync on freebsd/darwin func Fdatasync(f *os.File) error { return syscall.Fsync(int(f.Fd())) } // FadviseDontNeed is a no-op func FadviseDontNeed(f *os.File) error { return nil
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Sep 29 23:40:28 GMT 2021 - 1.1K bytes - Click Count (0) -
internal/http/dial_others.go
package http import ( "context" "net" "syscall" "time" ) // TODO: if possible implement for non-linux platforms, not a priority at the moment // //nolint:unused func setTCPParametersFn(opts TCPOptions) func(network, address string, c syscall.RawConn) error { return func(network, address string, c syscall.RawConn) error { return nil } }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Apr 24 04:08:47 GMT 2024 - 1.6K bytes - Click Count (0) -
internal/disk/stat_freebsd.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package disk import ( "errors" "fmt" "syscall" ) // GetInfo returns total and free bytes available in a directory, e.g. `/`. func GetInfo(path string, _ bool) (info Info, err error) { s := syscall.Statfs_t{} err = syscall.Statfs(path, &s) if err != nil { return Info{}, err } reservedBlocks := s.Bfree - uint64(s.Bavail) info = Info{
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon Feb 26 19:34:50 GMT 2024 - 1.7K bytes - Click Count (0) -
cmd/os_other.go
} if opts.count > 0 { remaining-- } } } return entries, nil } func globalSync() { // no-op not sure about plan9/solaris support for syscall support defer globalOSMetrics.time(osMetricSync)() syscall.Sync()
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Sep 13 15:14:36 GMT 2023 - 4K bytes - Click Count (0) -
api/go1.8.txt
pkg sort, func SliceStable(interface{}, func(int, int) bool) pkg syscall (linux-arm-cgo), func TimevalToNsec(Timeval) int64 pkg syscall (linux-arm), func TimevalToNsec(Timeval) int64 pkg syscall (openbsd-386), const SYS_KILL = 122 pkg syscall (openbsd-386-cgo), const SYS_KILL = 122 pkg syscall (openbsd-amd64), const SYS_KILL = 122 pkg syscall (openbsd-amd64-cgo), const SYS_KILL = 122 pkg syscall (windows-386), const ERROR_DIR_NOT_EMPTY = 145
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Wed Dec 21 05:25:57 GMT 2016 - 16.3K bytes - Click Count (0) -
cmd/xl-storage_noatime_supported.go
package cmd import ( "os" "syscall" ) var ( // Disallow updating access times // Add non-block to avoid syscall to attempt to set epoll on files. readMode = os.O_RDONLY | 0x40000 | syscall.O_NONBLOCK // O_NOATIME // Write with data sync only used only for `xl.meta` writes writeMode = 0x1000 | syscall.O_NONBLOCK // O_DSYNC
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Jul 23 16:36:24 GMT 2024 - 1.1K bytes - Click Count (0) -
src/bytes/boundary_test.go
func dangerousSlice(t *testing.T) []byte { pagesize := syscall.Getpagesize() b, err := syscall.Mmap(0, 0, 3*pagesize, syscall.PROT_READ|syscall.PROT_WRITE, syscall.MAP_ANONYMOUS|syscall.MAP_PRIVATE) if err != nil { t.Fatalf("mmap failed %s", err) } err = syscall.Mprotect(b[:pagesize], syscall.PROT_NONE) if err != nil { t.Fatalf("mprotect low failed %s\n", err) } err = syscall.Mprotect(b[2*pagesize:], syscall.PROT_NONE)
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Nov 30 20:05:58 GMT 2023 - 2.8K bytes - Click Count (0) -
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
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Wed Jan 24 20:54:27 GMT 2024 - 7.7K bytes - Click Count (0)