Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. 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)
  2. 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)
  3. 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)
  4. src/runtime/runtime_test.go

    			div: 2,
    			ret: 4,
    			rem: 0,
    		},
    		{
    			num: 9,
    			div: 2,
    			ret: 4,
    			rem: 1,
    		},
    		{
    			// Used by runtime.check.
    			num: 12345*1000000000 + 54321,
    			div: 1000000000,
    			ret: 12345,
    			rem: 54321,
    		},
    		{
    			num: 1<<32 - 1,
    			div: 2,
    			ret: 1<<31 - 1, // no overflow.
    			rem: 1,
    		},
    		{
    			num: 1 << 32,
    			div: 2,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  5. src/runtime/sys_linux_ppc64x.s

    	// we cannot receive another signal.
    	MOVD	40(R1), R6
    	MOVD	R6, m_vdsoSP(R21)
    	MOVD	32(R1), R6
    	MOVD	R6, m_vdsoPC(R21)
    
    return:
    	// sec is in R3, nsec in R5
    	// return nsec in R3
    	MOVD	$1000000000, R4
    	MULLD	R4, R3
    	ADD	R5, R3
    	MOVD	R3, ret+0(FP)
    	RET
    
    	// Syscall fallback
    fallback:
    	ADD	$32, R1, R4
    	SYSCALL $SYS_clock_gettime
    	MOVD	32(R1), R3
    	MOVD	40(R1), R5
    	JMP	return
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:17:17 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  6. src/cmd/go/internal/modfetch/cache.go

    func tempFile(ctx context.Context, dir, prefix string, perm fs.FileMode) (f *os.File, err error) {
    	for i := 0; i < 10000; i++ {
    		name := filepath.Join(dir, prefix+strconv.Itoa(rand.Intn(1000000000))+".tmp")
    		f, err = os.OpenFile(name, os.O_RDWR|os.O_CREATE|os.O_EXCL, perm)
    		if os.IsExist(err) {
    			if ctx.Err() != nil {
    				return nil, ctx.Err()
    			}
    			continue
    		}
    		break
    	}
    	return
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 18:15:22 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  7. pkg/kubelet/metrics/collectors/resource_metrics_test.go

    		},
    		{
    			name: "arbitrary node metrics",
    			summary: &statsapi.Summary{
    				Node: statsapi.NodeStats{
    					CPU: &statsapi.CPUStats{
    						Time:                 testTime,
    						UsageCoreNanoSeconds: uint64Ptr(10000000000),
    					},
    					Memory: &statsapi.MemoryStats{
    						Time:            testTime,
    						WorkingSetBytes: uint64Ptr(1000),
    					},
    					Swap: &statsapi.SwapStats{
    						Time:           testTime,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 15.3K bytes
    - Viewed (1)
  8. src/net/ip_test.go

    		[]byte("192.0.2.1"),
    		nil,
    	},
    	{
    		IP{0, 0, 0, 0},
    		"0.0.0.0",
    		[]byte("0.0.0.0"),
    		nil,
    	},
    
    	// IPv4-mapped IPv6 address
    	{
    		IP{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0xff, 0xff, 192, 0, 2, 1},
    		"192.0.2.1",
    		[]byte("192.0.2.1"),
    		nil,
    	},
    	{
    		IP{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0xff, 0xff, 0, 0, 0, 0},
    		"0.0.0.0",
    		[]byte("0.0.0.0"),
    		nil,
    	},
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 01:17:29 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  9. cluster/gce/gci/configure-kubeapiserver.sh

          # has an in-memory counter that doesn't notice if you truncate the file.
          # 2000000000 (in MiB) is a large number that fits in 31 bits. If the log
          # grows at 10MiB/s (~30K QPS), it will rotate after ~6 years if apiserver
          # never restarts. Please manually restart apiserver before this time.
          params+=" --audit-log-maxsize=2000000000"
    
          # Batching parameters
          if [[ -n "${ADVANCED_AUDIT_LOG_MODE:-}" ]]; then
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 11:08:30 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  10. src/time/format_test.go

    	{"2021-09-29T16:04:33.1000000009Z", 100_000_000},
    	{"2021-09-29T16:04:33.9999999999Z", 999_999_999},
    	{"2021-09-29T16:04:33.0123456789Z", 12_345_678},
    	// 11 digits, truncates
    	{"2021-09-29T16:04:33.10000000000Z", 100_000_000},
    	{"2021-09-29T16:04:33.00123456789Z", 1_234_567},
    	// 12 digits, truncates
    	{"2021-09-29T16:04:33.000123456789Z", 123_456},
    	// 15 digits, truncates
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:58:29 UTC 2024
    - 36.4K bytes
    - Viewed (0)
Back to top