- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 159 for settimeofday (0.3 sec)
-
src/cmd/vendor/golang.org/x/sys/unix/gccgo_linux_amd64.go
// license that can be found in the LICENSE file. //go:build gccgo && linux && amd64 package unix import "syscall" //extern gettimeofday func realGettimeofday(*Timeval, *byte) int32 func gettimeofday(tv *Timeval) (err syscall.Errno) { r := realGettimeofday(tv, nil) if r < 0 { return syscall.GetErrno() } return 0
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 436 bytes - Viewed (0) -
src/runtime/race/race_darwin_amd64.go
//go:cgo_import_dynamic fstat$INODE64 fstat$INODE64 "" //go:cgo_import_dynamic ftruncate ftruncate "" //go:cgo_import_dynamic getpid getpid "" //go:cgo_import_dynamic getrlimit getrlimit "" //go:cgo_import_dynamic gettimeofday gettimeofday "" //go:cgo_import_dynamic getuid getuid "" //go:cgo_import_dynamic grantpt grantpt "" //go:cgo_import_dynamic ioctl ioctl "" //go:cgo_import_dynamic isatty isatty ""
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 16 19:29:22 UTC 2023 - 5.6K bytes - Viewed (0) -
src/runtime/race/race_darwin_arm64.go
//go:cgo_import_dynamic fstat fstat "" //go:cgo_import_dynamic ftruncate ftruncate "" //go:cgo_import_dynamic getpid getpid "" //go:cgo_import_dynamic getrlimit getrlimit "" //go:cgo_import_dynamic gettimeofday gettimeofday "" //go:cgo_import_dynamic getuid getuid "" //go:cgo_import_dynamic grantpt grantpt "" //go:cgo_import_dynamic ioctl ioctl "" //go:cgo_import_dynamic isatty isatty "" //go:cgo_import_dynamic lstat lstat ""
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 16 19:29:22 UTC 2023 - 5.6K bytes - Viewed (0) -
src/cmd/cgo/internal/testsanitizers/testdata/tsan13.go
} static void* spin(void *arg) { size_t n; struct timeval tvstart, tvnow; int diff; void *prev; void *cur; prev = NULL; gettimeofday(&tvstart, NULL); for (n = 0; n < 1<<20; n++) { cur = malloc(n); free(prev); prev = cur; gettimeofday(&tvnow, NULL); diff = (tvnow.tv_sec - tvstart.tv_sec) * 1000 * 1000 + (tvnow.tv_usec - tvstart.tv_usec); // Profile frequency is 100Hz so we should definitely
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 1.7K bytes - Viewed (0) -
src/syscall/syscall_linux_amd64.go
//sys futimesat(dirfd int, path string, times *[2]Timeval) (err error) //go:noescape func gettimeofday(tv *Timeval) (err Errno) func Gettimeofday(tv *Timeval) (err error) { errno := gettimeofday(tv) if errno != 0 { return errno } return nil } func Time(t *Time_t) (tt Time_t, err error) { var tv Timeval errno := gettimeofday(&tv) if errno != 0 { return 0, errno } if t != nil { *t = Time_t(tv.Sec)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 21 22:23:07 UTC 2023 - 4.8K bytes - Viewed (0) -
src/cmd/cgo/internal/testsanitizers/testdata/tsan9.go
#include <stdlib.h> #include <sys/time.h> void spin() { size_t n; struct timeval tvstart, tvnow; int diff; void *prev = NULL, *cur; gettimeofday(&tvstart, NULL); for (n = 0; n < 1<<20; n++) { cur = malloc(n); free(prev); prev = cur; gettimeofday(&tvnow, NULL); diff = (tvnow.tv_sec - tvstart.tv_sec) * 1000 * 1000 + (tvnow.tv_usec - tvstart.tv_usec); // Profile frequency is 100Hz so we should definitely
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 1.3K bytes - Viewed (0) -
src/syscall/asm_linux_amd64.s
MOVQ a1+8(FP), DI MOVQ a2+16(FP), SI MOVQ a3+24(FP), DX MOVQ trap+0(FP), AX // syscall entry SYSCALL MOVQ AX, r1+32(FP) MOVQ DX, r2+40(FP) RET // func gettimeofday(tv *Timeval) (err uintptr) TEXT ·gettimeofday(SB),NOSPLIT,$0-16 MOVQ tv+0(FP), DI MOVQ $0, SI MOVQ runtime·vdsoGettimeofdaySym(SB), AX TESTQ AX, AX JZ fallback CALL AX ret: CMPQ AX, $0xfffffffffffff001 JLS ok7
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 07 19:11:15 UTC 2023 - 1.3K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/syscall_linux_amd64.go
//sys futimesat(dirfd int, path string, times *[2]Timeval) (err error) func Gettimeofday(tv *Timeval) (err error) { errno := gettimeofday(tv) if errno != 0 { return errno } return nil } func Time(t *Time_t) (tt Time_t, err error) { var tv Timeval errno := gettimeofday(&tv) if errno != 0 { return 0, errno } if t != nil { *t = Time_t(tv.Sec) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 5.3K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/syscall_linux_amd64_gc.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 290 bytes - Viewed (0) -
api/go1.2.txt
pkg syscall (freebsd-386-cgo), func SetsockoptString(int, int, int, string) error pkg syscall (freebsd-386-cgo), func SetsockoptTimeval(int, int, int, *Timeval) error pkg syscall (freebsd-386-cgo), func Settimeofday(*Timeval) error pkg syscall (freebsd-386-cgo), func Setuid(int) error pkg syscall (freebsd-386-cgo), func Shutdown(int, int) error pkg syscall (freebsd-386-cgo), func SlicePtrFromStrings([]string) ([]*uint8, error)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 18 04:36:59 UTC 2013 - 1.9M bytes - Viewed (0)