- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 200 for Nsec (0.39 sec)
-
src/runtime/sys_netbsd_amd64.s
SYSCALL RET // func walltime() (sec int64, nsec int32) TEXT runtime·walltime(SB), NOSPLIT, $32 MOVQ $CLOCK_REALTIME, DI // arg 1 - clock_id LEAQ 8(SP), SI // arg 2 - tp MOVL $SYS___clock_gettime50, AX SYSCALL MOVQ 8(SP), AX // sec MOVQ 16(SP), DX // nsec // sec is in AX, nsec in DX MOVQ AX, sec+0(FP) MOVL DX, nsec+8(FP) RET TEXT runtime·nanotime1(SB),NOSPLIT,$32
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 06 18:49:01 UTC 2023 - 9.8K bytes - Viewed (0) -
src/syscall/types_windows.go
// Invented values to support what package os expects. type Timeval struct { Sec int32 Usec int32 } func (tv *Timeval) Nanoseconds() int64 { return (int64(tv.Sec)*1e6 + int64(tv.Usec)) * 1e3 } func NsecToTimeval(nsec int64) (tv Timeval) { tv.Sec = int32(nsec / 1e9) tv.Usec = int32(nsec % 1e9 / 1e3) return } type SecurityAttributes struct { Length uint32
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 20 06:04:31 UTC 2024 - 27.8K bytes - Viewed (0) -
src/runtime/sys_linux_s390x.s
MOVD 16(R15), R12 MOVD R12, m_vdsoPC(R6) return: // sec is in R3, nsec in R5 // return nsec in R3 MOVD R3, sec+0(FP) MOVW R5, nsec+8(FP) RET // Syscall fallback fallback: MOVD $tp-16(SP), R3 MOVW $SYS_clock_gettime, R1 SYSCALL LMG tp-16(SP), R2, R3 // sec is in R2, nsec in R3 MOVD R2, sec+0(FP) MOVW R3, nsec+8(FP) RET TEXT runtime·nanotime1(SB),NOSPLIT,$32-8
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 24 18:53:44 UTC 2023 - 12.5K bytes - Viewed (0) -
src/runtime/sys_linux_riscv64.s
JALR RA, A7 finish: MOV 8(X2), T0 // sec MOV 16(X2), T1 // nsec MOV S2, X2 // restore stack MOV 24(X2), A2 MOV A2, m_vdsoPC(S3) MOV 32(X2), A3 MOV A3, m_vdsoSP(S3) MOV T0, sec+0(FP) MOVW T1, nsec+8(FP) RET fallback: MOV $8(X2), A1 MOV $SYS_clock_gettime, A7 ECALL MOV 8(X2), T0 // sec MOV 16(X2), T1 // nsec MOV T0, sec+0(FP) MOVW T1, nsec+8(FP)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 09 13:57:06 UTC 2023 - 11.5K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/apis/meta/fuzzer/fuzzer.go
// Fuzzing sec and nsec in a smaller range (uint32 instead of int64), // so that the result Unix time is a valid date and can be parsed into RFC3339 format. var sec, nsec uint32 c.Fuzz(&sec) c.Fuzz(&nsec) j.CreationTimestamp = metav1.Unix(int64(sec), int64(nsec)).Rfc3339Copy() if j.DeletionTimestamp != nil { c.Fuzz(&sec) c.Fuzz(&nsec)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 03 15:12:26 UTC 2024 - 9.9K bytes - Viewed (0) -
src/runtime/sys_linux_mips64x.s
// we cannot receive another signal. MOVV 16(R29), R1 MOVV R1, m_vdsoSP(R17) MOVV 8(R29), R1 MOVV R1, m_vdsoPC(R17) // sec is in R3, nsec in R5 // return nsec in R3 MOVV $1000000000, R4 MULVU R4, R3 MOVV LO, R3 ADDVU R5, R3 MOVV R3, ret+0(FP) RET fallback: MOVV $SYS_clock_gettime, R2 SYSCALL JMP finish
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 18 20:57:24 UTC 2022 - 12K bytes - Viewed (0) -
src/runtime/sys_freebsd_amd64.s
MOVL $SYS_setitimer, AX SYSCALL RET // func fallback_walltime() (sec int64, nsec int32) TEXT runtime·fallback_walltime(SB), NOSPLIT, $32-12 MOVL $SYS_clock_gettime, AX MOVQ $CLOCK_REALTIME, DI LEAQ 8(SP), SI SYSCALL MOVQ 8(SP), AX // sec MOVQ 16(SP), DX // nsec // sec is in AX, nsec in DX MOVQ AX, sec+0(FP) MOVL DX, nsec+8(FP) RET TEXT runtime·fallback_nanotime(SB), NOSPLIT, $32-8
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 06 18:49:01 UTC 2023 - 12.7K bytes - Viewed (0) -
src/runtime/sys_linux_386.s
// we cannot receive another signal. MOVL 4(SP), CX MOVL CX, m_vdsoSP(SI) MOVL 0(SP), CX MOVL CX, m_vdsoPC(SI) // sec is in AX, nsec in BX MOVL AX, sec_lo+0(FP) MOVL $0, sec_hi+4(FP) MOVL BX, nsec+8(FP) RET // int64 nanotime(void) so really // void nanotime(int64 *nsec) TEXT runtime·nanotime1(SB), NOSPLIT, $8-8 // Switch to g0 stack. See comment above in runtime·walltime.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 24 18:53:44 UTC 2023 - 17.9K bytes - Viewed (0) -
src/runtime/sys_linux_ppc64x.s
MOVW flags+0(FP), R4 SYSCALL $SYS_pipe2 MOVW R3, errno+16(FP) RET // func usleep(usec uint32) TEXT runtime·usleep(SB),NOSPLIT,$16-4 MOVW usec+0(FP), R3 // Use magic constant 0x8637bd06 and shift right 51 // to perform usec/1000000. MOVD $0x8637bd06, R4 MULLD R3, R4, R4 // Convert usec to S. SRD $51, R4, R4 MOVD R4, 8(R1) // Store to tv_sec MOVD $1000000, R5
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 18:17:17 UTC 2024 - 18.1K bytes - Viewed (0) -
src/runtime/sys_linux_loong64.s
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Aug 25 20:58:13 UTC 2023 - 14.2K bytes - Viewed (0)