Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 121 for 1000000000 (0.39 sec)

  1. 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)
  2. src/runtime/sys_freebsd_riscv64.s

    	BEQ	T0, ZERO, ok
    	NEG	A0, A0
    ok:
    	MOVW	A0, ret+24(FP)
    	RET
    
    // func usleep(usec uint32)
    TEXT runtime·usleep(SB),NOSPLIT,$24-4
    	MOVWU	usec+0(FP), A0
    	MOV	$1000, A1
    	MUL	A1, A0, A0
    	MOV	$1000000000, A1
    	DIV	A1, A0, A2
    	MOV	A2, 8(X2)
    	REM	A1, A0, A3
    	MOV	A3, 16(X2)
    	ADD	$8, X2, A0
    	MOV	ZERO, A1
    	MOV	$SYS_nanosleep, T0
    	ECALL
    	RET
    
    // func thr_self() thread
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 18:49:01 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  3. src/runtime/sys_netbsd_386.s

    	MOVL	$CLOCK_MONOTONIC, 4(SP)	// arg 1 - clock_id
    	MOVL	BX, 8(SP)		// arg 2 - tp
    	MOVL	$SYS___clock_gettime50, AX
    	INT	$0x80
    
    	MOVL	16(SP), CX		// sec - h32
    	IMULL	$1000000000, CX
    
    	MOVL	12(SP), AX		// sec - l32
    	MOVL	$1000000000, BX
    	MULL	BX			// result in dx:ax
    
    	MOVL	20(SP), BX		// nsec
    	ADDL	BX, AX
    	ADCL	CX, DX			// add high bits with carry
    
    	MOVL	AX, ret_lo+0(FP)
    	MOVL	DX, ret_hi+4(FP)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 18:49:01 UTC 2023
    - 9.6K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. src/runtime/sys_linux_loong64.s

    	MOVV	$SYS_pipe2, R11
    	SYSCALL
    	MOVW	R4, errno+16(FP)
    	RET
    
    // func usleep(usec uint32)
    TEXT runtime·usleep(SB),NOSPLIT,$16-4
    	MOVWU	usec+0(FP), R7
    	MOVV	$1000, R6
    	MULVU	R6, R7, R7
    	MOVV	$1000000000, R6
    
    	DIVVU	R6, R7, R5	// ts->tv_sec
    	REMVU	R6, R7, R4	// ts->tv_nsec
    	MOVV	R5, 8(R3)
    	MOVV	R4, 16(R3)
    
    	// nanosleep(&ts, 0)
    	ADDV	$8, R3, R4
    	MOVV	R0, R5
    	MOVV	$SYS_nanosleep, R11
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 25 20:58:13 UTC 2023
    - 14.2K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. maven-embedder/src/test/java/org/apache/maven/cli/transfer/FileSizeFormatTest.java

            assertEquals("1.0 GB", format.format(_999_megabytes, ScaleUnit.GIGABYTE));
    
            long _1000_megabytes = 1000L * 1000L * 1000L;
            assertEquals("1.0 GB", format.format(_1000_megabytes));
            assertEquals("1000000000 B", format.format(_1000_megabytes, ScaleUnit.BYTE));
            assertEquals("1000000 kB", format.format(_1000_megabytes, ScaleUnit.KILOBYTE));
            assertEquals("1000 MB", format.format(_1000_megabytes, ScaleUnit.MEGABYTE));
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 21:48:41 UTC 2024
    - 13K bytes
    - Viewed (0)
Back to top