Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 121 for 1000000000 (0.07 sec)

  1. src/cmd/compile/internal/types/utils.go

    // Copyright 2017 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package types
    
    const BADWIDTH = -1000000000
    
    type bitset8 uint8
    
    func (f *bitset8) set(mask uint8, b bool) {
    	if b {
    		*(*uint8)(f) |= mask
    	} else {
    		*(*uint8)(f) &^= mask
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 29 09:57:31 UTC 2020
    - 339 bytes
    - Viewed (0)
  2. test/fixedbugs/bug339.go

    // run
    
    // Copyright 2011 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Issue 1608.
    // Size used to be -1000000000.
    
    package main
    
    import "unsafe"
    
    func main() {
    	var a interface{} = 0
    	size := unsafe.Sizeof(a)
    	if size != 2*unsafe.Sizeof((*int)(nil)) {
    		println("wrong size: ", size)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 390 bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. staging/src/k8s.io/apimachinery/pkg/api/resource/math.go

    	case 3:
    		return 1000
    	case 4:
    		return 10000
    	case 5:
    		return 100000
    	case 6:
    		return 1000000
    	case 7:
    		return 10000000
    	case 8:
    		return 100000000
    	case 9:
    		return 1000000000
    	case 10:
    		return 10000000000
    	case 11:
    		return 100000000000
    	case 12:
    		return 1000000000000
    	case 13:
    		return 10000000000000
    	case 14:
    		return 100000000000000
    	case 15:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jan 23 13:07:14 UTC 2020
    - 7.3K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. src/cmd/go/internal/modcmd/why.go

    			m := modload.PackageModule(path)
    			if m.Path != "" {
    				byModule[m.Path] = append(byModule[m.Path], path)
    			}
    		}
    		sep := ""
    		for _, m := range mods {
    			best := ""
    			bestDepth := 1000000000
    			for _, path := range byModule[m.Path] {
    				d := modload.WhyDepth(path)
    				if d > 0 && d < bestDepth {
    					best = path
    					bestDepth = d
    				}
    			}
    			why := modload.Why(best)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 01 21:32:23 UTC 2023
    - 3.8K bytes
    - Viewed (0)
Back to top