Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 58 for 1000000000 (0.07 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. pkg/apis/scheduling/types.go

    	// HighestUserDefinablePriority is the highest priority for user defined priority classes. Priority values larger than 1 billion are reserved for Kubernetes system use.
    	HighestUserDefinablePriority = int32(1000000000)
    	// SystemCriticalPriority is the beginning of the range of priority values for critical system components.
    	SystemCriticalPriority = 2 * HighestUserDefinablePriority
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 07 23:13:00 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  8. src/runtime/sys_linux_riscv64.s

    	MOV	32(X2), T2
    	MOV	T2, m_vdsoSP(S3)
    	// sec is in T0, nsec in T1
    	// return nsec in T0
    	MOV	$1000000000, T2
    	MUL	T2, T0
    	ADD	T1, T0
    	MOV	T0, ret+0(FP)
    	RET
    
    fallback:
    	MOV	$8(X2), A1
    	MOV	$SYS_clock_gettime, A7
    	ECALL
    	MOV	8(X2), T0	// sec
    	MOV	16(X2), T1	// nsec
    	MOV	$1000000000, T2
    	MUL	T2, T0
    	ADD	T1, T0
    	MOV	T0, ret+0(FP)
    	RET
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 13:57:06 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/taglib/FessFunctionsTest.java

            assertEquals("1000", FessFunctions.formatFileSize(1000));
            assertEquals("976.6K", FessFunctions.formatFileSize(1000000));
            assertEquals("953.7M", FessFunctions.formatFileSize(1000000000));
            assertEquals("931.3G", FessFunctions.formatFileSize(1000000000000L));
            assertEquals("909.5T", FessFunctions.formatFileSize(1000000000000000L));
        }
    
        public void test_parseDate() {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  10. src/runtime/os3_solaris.go

    		throw("sem_init")
    	}
    	mp.waitsema = uintptr(unsafe.Pointer(sem))
    }
    
    //go:nosplit
    func semasleep(ns int64) int32 {
    	mp := getg().m
    	if ns >= 0 {
    		mp.ts.tv_sec = ns / 1000000000
    		mp.ts.tv_nsec = ns % 1000000000
    
    		mp.libcall.fn = uintptr(unsafe.Pointer(&libc_sem_reltimedwait_np))
    		mp.libcall.n = 2
    		mp.scratch = mscratch{}
    		mp.scratch.v[0] = mp.waitsema
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 17.6K bytes
    - Viewed (0)
Back to top