Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 101 for 1000000000 (0.08 sec)

  1. src/math/rand/regress_test.go

    	[]byte{0x85, 0x7a, 0xab, 0x99, 0xc5, 0xb2, 0x52, 0xc7, 0x42},       // Read([0 0 0 0 0 0 0 0 0])
    	[]byte{0x9c, 0x32, 0xf3, 0xa8, 0xae, 0xb7, 0x9e, 0xf8, 0x56, 0xf6}, // Read([0 0 0 0 0 0 0 0 0 0])
    	[]byte{0x59}, // Read([0])
    	[]byte{0xc1, 0x8f, 0xd, 0xce, 0xcc, 0x77, 0xc7},                    // Read([0 0 0 0 0 0 0])
    	[]byte{0x5e, 0x7a, 0x81, 0xbf, 0xde, 0x27, 0x5f, 0x67},             // Read([0 0 0 0 0 0 0 0])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 17.8K bytes
    - Viewed (0)
  2. src/runtime/time_windows_arm64.s

    	MUL	R1, R0
    
    	// Code stolen from compiler output for:
    	//
    	//	var x uint64
    	//	func f() (sec uint64, nsec uint32) { return x / 1000000000, uint32(x % 1000000000) }
    	//
    	LSR	$1, R0, R1
    	MOVD	$-8543223759426509416, R2
    	UMULH	R1, R2, R1
    	LSR	$28, R1, R1
    	MOVD	R1, sec+0(FP)
    	MOVD	$1000000000, R2
    	MSUB	R1, R0, R2, R0
    	MOVW	R0, nsec+8(FP)
    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_amd64.s

    	SUBQ	DI, AX
    	IMULQ	$100, AX
    
    	// generated code for
    	//	func f(x uint64) (uint64, uint64) { return x/1000000000, x%1000000000 }
    	// adapted to reduce duplication
    	MOVQ	AX, CX
    	MOVQ	$1360296554856532783, AX
    	MULQ	CX
    	ADDQ	CX, DX
    	RCRQ	$1, DX
    	SHRQ	$29, DX
    	MOVQ	DX, sec+0(FP)
    	IMULQ	$1000000000, DX
    	SUBQ	DX, CX
    	MOVL	CX, nsec+8(FP)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 07 17:19:45 UTC 2023
    - 786 bytes
    - Viewed (0)
  4. src/math/rand/v2/regress_test.go

    	int64(73220195),            // Int64N(1000000000)
    	int64(686060398),           // Int64N(1073741824)
    
    	int64(0),                   // IntN(1)
    	int64(6),                   // IntN(10)
    	int64(8),                   // IntN(32)
    	int64(704922),              // IntN(1048576)
    	int64(245656),              // IntN(1048577)
    	int64(41205257),            // IntN(1000000000)
    	int64(43831929),            // IntN(1073741824)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:03:11 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  5. src/runtime/sys_plan9_amd64.s

    	MOVQ	0(SP), AX
    
    	// generated code for
    	//	func f(x uint64) (uint64, uint64) { return x/1000000000, x%1000000000 }
    	// adapted to reduce duplication
    	MOVQ	AX, CX
    	MOVQ	$1360296554856532783, AX
    	MULQ	CX
    	ADDQ	CX, DX
    	RCRQ	$1, DX
    	SHRQ	$29, DX
    	MOVQ	DX, sec+0(FP)
    	IMULQ	$1000000000, DX
    	SUBQ	DX, CX
    	MOVL	CX, nsec+8(FP)
    	RET
    
    TEXT runtime·notify(SB),NOSPLIT,$0
    	MOVQ	$28, BP
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 01 16:41:22 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  6. src/internal/types/testdata/fixedbugs/issue20583.go

    package issue20583
    
    const (
    	_ = 6e886451608 /* ERROR "malformed constant" */ /2
    	_ = 6e886451608i /* ERROR "malformed constant" */ /2
    	_ = 0 * 1e+1000000000 // ERROR "malformed constant"
    
    	x = 1e100000000
    	_ = x*x*x*x*x*x* /* ERROR "not representable" */ x
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:25 UTC 2023
    - 420 bytes
    - Viewed (0)
  7. src/runtime/os_wasip1.go

    }
    
    func walltime1() (sec int64, nsec int32) {
    	var time timestamp
    	if clock_time_get(clockRealtime, 0, unsafe.Pointer(&time)) != 0 {
    		throw("clock_time_get failed")
    	}
    	return int64(time / 1000000000), int32(time % 1000000000)
    }
    
    func nanotime1() int64 {
    	var time timestamp
    	if clock_time_get(clockMonotonic, 0, unsafe.Pointer(&time)) != 0 {
    		throw("clock_time_get failed")
    	}
    	return int64(time)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 7K bytes
    - Viewed (0)
  8. src/runtime/time_windows_386.s

    	// but we avoid overflow in the high word.)
    	MOVL	$1000000000, CX
    	DIVL	CX
    	MOVL	AX, DI
    	MOVL	DX, SI
    
    	// DI = nano/100/1e9 = nano/1e11 = sec/100, DX = SI = nano/100%1e9
    	// split DX into seconds and nanoseconds by div 1e7 magic multiply.
    	MOVL	DX, AX
    	MOVL	$1801439851, CX
    	MULL	CX
    	SHRL	$22, DX
    	MOVL	DX, BX
    	IMULL	$10000000, DX
    	MOVL	SI, CX
    	SUBL	DX, CX
    
    	// DI = sec/100 (still)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 07 17:19:45 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  9. src/runtime/time_windows_arm.s

    	// unscale by discarding low 32 bits, shifting the rest by 29
    	MOVW	R6>>29,R6		// R7:R6 = (R7:R6:R5 >> 61)
    	ORR	R7<<3,R6
    	MOVW	R7>>29,R7
    
    	// subtract (10**9 * sec) from nsec to get nanosecond remainder
    	MOVW	$1000000000, R5	// 10**9
    	MULLU	R6,R5,(R9,R8)   // R9:R8 = R7:R6 * R5
    	MULA	R7,R5,R9,R9
    	SUB.S	R8,R1		// R2:R1 -= R9:R8
    	SBC	R9,R2
    
    	// because reciprocal was a truncated repeating fraction, quotient
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 07 17:19:45 UTC 2023
    - 2K bytes
    - Viewed (0)
  10. src/runtime/time_linux_amd64.s

    	LEAQ	0(SP), SI
    	MOVQ	runtime·vdsoClockgettimeSym(SB), AX
    	CALL	AX
    
    ret:
    	MOVQ	16(SP), AX	// realtime sec
    	MOVQ	24(SP), DI	// realtime nsec (moved to BX below)
    	MOVQ	0(SP), CX	// monotonic sec
    	IMULQ	$1000000000, CX
    	MOVQ	8(SP), DX	// monotonic nsec
    
    	MOVQ	R12, SP		// Restore real SP
    
    	// Restore vdsoPC, vdsoSP
    	// We don't worry about being signaled between the two stores.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Nov 06 10:24:44 UTC 2021
    - 2K bytes
    - Viewed (0)
Back to top