Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 59 for 1000000000 (0.09 sec)

  1. src/runtime/sys_plan9_386.s

    	MOVL	$-1, ret_hi+8(FP)
    	RET
    
    // func walltime() (sec int64, nsec int32)
    TEXT runtime·walltime(SB),NOSPLIT,$8-12
    	CALL	runtime·nanotime1(SB)
    	MOVL	0(SP), AX
    	MOVL	4(SP), DX
    
    	MOVL	$1000000000, CX
    	DIVL	CX
    	MOVL	AX, sec_lo+0(FP)
    	MOVL	$0, sec_hi+4(FP)
    	MOVL	DX, nsec+8(FP)
    	RET
    
    TEXT runtime·notify(SB),NOSPLIT,$0
    	MOVL	$28, AX
    	INT	$64
    	MOVL	AX, ret+4(FP)
    	RET
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 21 22:12:04 UTC 2021
    - 4.5K bytes
    - Viewed (0)
  2. pkg/kubelet/cm/container_manager_linux_test.go

    	assert.Equal(t, uint64(0), getCPUWeight(nil))
    
    	v := uint64(2)
    	assert.Equal(t, uint64(1), getCPUWeight(&v))
    
    	v = uint64(262144)
    	assert.Equal(t, uint64(10000), getCPUWeight(&v))
    
    	v = uint64(1000000000)
    	assert.Equal(t, uint64(10000), getCPUWeight(&v))
    }
    
    func TestSoftRequirementsValidationSuccess(t *testing.T) {
    	if cgroups.IsCgroup2UnifiedMode() {
    		t.Skip("skipping cgroup v1 test on a cgroup v2 system")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  3. src/runtime/sys_plan9_arm.s

    	// unscale by discarding low 32 bits, shifting the rest by 29
    	MOVW	R6>>29,R6		// R6:R7 = (R5:R6:R7 >> 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)		// R8:R9 = R6:R7 * R5
    	MULA	R7,R5,R9,R9
    	SUB.S	R8,R1			// R1:R2 -= R8:R9
    	SBC	R9,R2
    
    	// because reciprocal was a truncated repeating fraction, quotient
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 29 14:15:04 UTC 2021
    - 7K bytes
    - Viewed (0)
  4. src/runtime/os_aix.go

    	_CLOCK_MONOTONIC = 10
    )
    
    //go:nosplit
    func nanotime1() int64 {
    	tp := &timespec{}
    	if clock_gettime(_CLOCK_REALTIME, tp) != 0 {
    		throw("syscall clock_gettime failed")
    	}
    	return tp.tv_sec*1000000000 + tp.tv_nsec
    }
    
    func walltime() (sec int64, nsec int32) {
    	ts := &timespec{}
    	if clock_gettime(_CLOCK_REALTIME, ts) != 0 {
    		throw("syscall clock_gettime failed")
    	}
    	return ts.tv_sec, int32(ts.tv_nsec)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  5. src/cmd/go/internal/cache/cache_test.go

    	dir, err := os.MkdirTemp("", "cachetest-")
    	if err != nil {
    		t.Fatal(err)
    	}
    	defer os.RemoveAll(dir)
    
    	c, err := Open(dir)
    	if err != nil {
    		t.Fatalf("Open: %v", err)
    	}
    	const start = 1000000000
    	now := int64(start)
    	c.now = func() time.Time { return time.Unix(now, 0) }
    
    	checkTime := func(name string, mtime int64) {
    		t.Helper()
    		file := filepath.Join(c.dir, name[:2], name)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 25 00:49:37 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  6. src/runtime/sys_freebsd_386.s

    	LEAL	12(SP), BX
    	MOVL	$CLOCK_MONOTONIC, 4(SP)
    	MOVL	BX, 8(SP)
    	INT	$0x80
    	MOVL	12(SP), AX	// sec
    	MOVL	16(SP), BX	// nsec
    
    	// sec is in AX, nsec in BX
    	// convert to DX:AX nsec
    	MOVL	$1000000000, CX
    	MULL	CX
    	ADDL	BX, AX
    	ADCL	$0, DX
    
    	MOVL	AX, ret_lo+0(FP)
    	MOVL	DX, ret_hi+4(FP)
    	RET
    
    
    TEXT runtime·asmSigaction(SB),NOSPLIT,$-4
    	MOVL	$SYS_sigaction, AX
    	INT	$0x80
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 18:49:01 UTC 2023
    - 9.4K bytes
    - Viewed (0)
  7. src/runtime/sys_dragonfly_amd64.s

    	MOVL	$232, AX
    	MOVQ	$4, DI  	// CLOCK_MONOTONIC
    	LEAQ	8(SP), SI
    	SYSCALL
    	MOVQ	8(SP), AX	// sec
    	MOVQ	16(SP), DX	// nsec
    
    	// sec is in AX, nsec in DX
    	// return nsec in AX
    	IMULQ	$1000000000, AX
    	ADDQ	DX, AX
    	MOVQ	AX, ret+0(FP)
    	RET
    
    TEXT runtime·sigaction(SB),NOSPLIT,$-8
    	MOVL	sig+0(FP), DI		// arg 1 sig
    	MOVQ	new+8(FP), SI		// arg 2 act
    	MOVQ	old+16(FP), DX		// arg 3 oact
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 18:49:01 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  8. src/runtime/sys_freebsd_arm64.s

    	MOVD	$CLOCK_MONOTONIC, R0
    	MOVD	$8(RSP), R1
    	MOVD	$SYS_clock_gettime, R8
    	SVC
    	MOVD	8(RSP), R0	// sec
    	MOVW	16(RSP), R2	// nsec
    
    	// sec is in R0, nsec in R2
    	// return nsec in R2
    	MOVD	$1000000000, R3
    	MUL	R3, R0
    	ADD	R2, R0
    
    	MOVD	R0, ret+0(FP)
    	RET
    
    // func asmSigaction(sig uintptr, new, old *sigactiont) int32
    TEXT runtime·asmSigaction(SB),NOSPLIT|NOFRAME,$0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 18:49:01 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  9. src/runtime/sys_netbsd_arm64.s

    	MOVD	$8(RSP), R1		// arg 2 - tp
    	SVC	$SYS___clock_gettime50
    	MOVD	8(RSP), R0		// sec
    	MOVD	16(RSP), R2		// nsec
    
    	// sec is in R0, nsec in R2
    	// return nsec in R2
    	MOVD	$1000000000, R3
    	MUL	R3, R0
    	ADD	R2, R0
    
    	MOVD	R0, ret+0(FP)
    	RET
    
    TEXT runtime·getcontext(SB),NOSPLIT,$-8
    	MOVD	ctxt+0(FP), R0		// arg 1 - context
    	SVC	$SYS_getcontext
    	BCS	fail
    	RET
    fail:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 18:49:01 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  10. src/runtime/sys_openbsd_mips64.s

    	MOVW	CLOCK_MONOTONIC, R4	// arg 1 - clock_id
    	MOVV	$8(R29), R5		// arg 2 - tp
    	MOVV	$87, R2			// sys_clock_gettime
    	SYSCALL
    
    	MOVV	8(R29), R3		// sec
    	MOVV	16(R29), R5		// nsec
    
    	MOVV	$1000000000, R4
    	MULVU	R4, R3
    	MOVV	LO, R3
    	ADDVU	R5, R3
    	MOVV	R3, ret+0(FP)
    	RET
    
    TEXT runtime·sigaction(SB),NOSPLIT,$0
    	MOVW	sig+0(FP), R4		// arg 1 - signum
    	MOVV	new+8(FP), R5		// arg 2 - new sigaction
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 18:49:01 UTC 2023
    - 8.8K bytes
    - Viewed (0)
Back to top