Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 143 for time_lo (1.65 sec)

  1. src/runtime/time_windows_amd64.s

    //go:build !faketime
    
    #include "go_asm.h"
    #include "textflag.h"
    #include "time_windows.h"
    
    TEXT time·now(SB),NOSPLIT,$0-24
    	MOVQ	$_INTERRUPT_TIME, DI
    	MOVQ	time_lo(DI), AX
    	IMULQ	$100, AX
    	MOVQ	AX, mono+16(FP)
    
    	MOVQ	$_SYSTEM_TIME, DI
    	MOVQ	time_lo(DI), AX
    	MOVQ	$116444736000000000, DI
    	SUBQ	DI, AX
    	IMULQ	$100, AX
    
    	// generated code for
    	//	func f(x uint64) (uint64, uint64) { return x/1000000000, x%1000000000 }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 07 17:19:45 UTC 2023
    - 786 bytes
    - Viewed (0)
  2. src/runtime/time_windows_arm64.s

    //go:build !faketime
    
    #include "go_asm.h"
    #include "textflag.h"
    #include "time_windows.h"
    
    TEXT time·now(SB),NOSPLIT,$0-24
    	MOVD	$_INTERRUPT_TIME, R3
    	MOVD	time_lo(R3), R0
    	MOVD	$100, R1
    	MUL	R1, R0
    	MOVD	R0, mono+16(FP)
    
    	MOVD	$_SYSTEM_TIME, R3
    	MOVD	time_lo(R3), R0
    	// convert to Unix epoch (but still 100ns units)
    	#define delta 116444736000000000
    	SUB	$delta, R0
    	// Convert to nSec
    	MOVD	$100, R1
    	MUL	R1, R0
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 07 17:19:45 UTC 2023
    - 906 bytes
    - Viewed (0)
  3. src/runtime/time_windows_386.s

    loop:
    	MOVL	(_INTERRUPT_TIME+time_hi1), AX
    	MOVL	(_INTERRUPT_TIME+time_lo), CX
    	MOVL	(_INTERRUPT_TIME+time_hi2), DI
    	CMPL	AX, DI
    	JNE	loop
    
    	// w = DI:CX
    	// multiply by 100
    	MOVL	$100, AX
    	MULL	CX
    	IMULL	$100, DI
    	ADDL	DI, DX
    	// w*100 = DX:AX
    	MOVL	AX, mono+12(FP)
    	MOVL	DX, mono+16(FP)
    
    wall:
    	MOVL	(_SYSTEM_TIME+time_hi1), CX
    	MOVL	(_SYSTEM_TIME+time_lo), AX
    	MOVL	(_SYSTEM_TIME+time_hi2), DX
    	CMPL	CX, DX
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 07 17:19:45 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  4. src/runtime/time_windows_arm.s

    //go:build !faketime
    
    #include "go_asm.h"
    #include "textflag.h"
    #include "time_windows.h"
    
    TEXT time·now(SB),NOSPLIT,$0-20
    	MOVW	$_INTERRUPT_TIME, R3
    loop:
    	MOVW	time_hi1(R3), R1
    	DMB	MB_ISH
    	MOVW	time_lo(R3), R0
    	DMB	MB_ISH
    	MOVW	time_hi2(R3), R2
    	CMP	R1, R2
    	BNE	loop
    
    	// wintime = R1:R0, multiply by 100
    	MOVW	$100, R2
    	MULLU	R0, R2, (R4, R3)    // R4:R3 = R1:R0 * R2
    	MULA	R1, R2, R4, R4
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 07 17:19:45 UTC 2023
    - 2K bytes
    - Viewed (0)
  5. src/runtime/time_windows.h

    // Must read hi1, then lo, then hi2. The snapshot is valid if hi1 == hi2.
    // Or, on 64-bit, just read lo:hi1 all at once atomically.
    #define _INTERRUPT_TIME 0x7ffe0008
    #define _SYSTEM_TIME 0x7ffe0014
    #define time_lo 0
    #define time_hi1 4
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 03 18:37:22 UTC 2021
    - 753 bytes
    - Viewed (0)
  6. src/runtime/sys_windows_386.s

    	MOVL	base+4(FP), DX
    	MOVL	runtime·tls_g(SB), CX
    	MOVL	DX, 0(CX)(FS)
    	RET
    
    TEXT runtime·nanotime1(SB),NOSPLIT,$0-8
    loop:
    	MOVL	(_INTERRUPT_TIME+time_hi1), AX
    	MOVL	(_INTERRUPT_TIME+time_lo), CX
    	MOVL	(_INTERRUPT_TIME+time_hi2), DI
    	CMPL	AX, DI
    	JNE	loop
    
    	// wintime = DI:CX, multiply by 100
    	MOVL	$100, AX
    	MULL	CX
    	IMULL	$100, DI
    	ADDL	DI, DX
    	// wintime*100 = DX:AX
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 21 15:56:43 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  7. src/runtime/sys_windows_arm64.s

    	BL	runtime·mstart(SB)
    
    	RESTORE_R19_TO_R28(8*3)
    
    	// Exit the thread.
    	MOVD	$0, R0
    	RET
    
    TEXT runtime·nanotime1(SB),NOSPLIT,$0-8
    	MOVD	$_INTERRUPT_TIME, R3
    	MOVD	time_lo(R3), R0
    	MOVD	$100, R1
    	MUL	R1, R0
    	MOVD	R0, ret+0(FP)
    	RET
    
    // This is called from rt0_go, which runs on the system stack
    // using the initial stack allocated by the OS.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 21 15:56:43 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  8. src/runtime/sys_windows_arm.s

    TEXT runtime·read_tls_fallback(SB),NOSPLIT,$0
    	MOVW	$0xabcd, R0
    	MOVW	R0, (R0)
    	RET
    
    TEXT runtime·nanotime1(SB),NOSPLIT,$0-8
    loop:
    	MOVW	time_hi1(R3), R1
    	DMB	MB_ISH
    	MOVW	time_lo(R3), R0
    	DMB	MB_ISH
    	MOVW	time_hi2(R3), R2
    	CMP	R1, R2
    	BNE	loop
    
    	// wintime = R1:R0, multiply by 100
    	MOVW	$100, R2
    	MULLU	R0, R2, (R4, R3)    // R4:R3 = R1:R0 * R2
    	MULA	R1, R2, R4, R4
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 21 15:56:43 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  9. src/runtime/sys_windows_amd64.s

    	RET
    
    // set tls base to DI
    TEXT runtime·settls(SB),NOSPLIT,$0
    	MOVQ	runtime·tls_g(SB), CX
    	MOVQ	DI, 0(CX)(GS)
    	RET
    
    TEXT runtime·nanotime1(SB),NOSPLIT,$0-8
    	MOVQ	$_INTERRUPT_TIME, DI
    	MOVQ	time_lo(DI), AX
    	IMULQ	$100, AX
    	MOVQ	AX, ret+0(FP)
    	RET
    
    // func osSetupTLS(mp *m)
    // Setup TLS. for use by needm on Windows.
    TEXT runtime·osSetupTLS(SB),NOSPLIT,$0-8
    	MOVQ	mp+0(FP), AX
    	LEAQ	m_tls(AX), DI
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 19 07:24:08 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/dcerpc/UUID.java

            return new String(arr);
        }
        private static byte B(int i) { return (byte)(i & 0xFF); }
        private static short S(int i) { return (short)(i & 0xFFFF); }
    
        public UUID(rpc.uuid_t uuid) {
            time_low = uuid.time_low;
            time_mid = uuid.time_mid;
            time_hi_and_version = uuid.time_hi_and_version;
            clock_seq_hi_and_reserved = uuid.clock_seq_hi_and_reserved;
            clock_seq_low = uuid.clock_seq_low;
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 4.1K bytes
    - Viewed (0)
Back to top