Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 37 for 100000000Z (0.07 sec)

  1. src/time/format_test.go

    		}
    	}
    }
    
    var longFractionalDigitsTests = []struct {
    	value string
    	want  int
    }{
    	// 9 digits
    	{"2021-09-29T16:04:33.000000000Z", 0},
    	{"2021-09-29T16:04:33.000000001Z", 1},
    	{"2021-09-29T16:04:33.100000000Z", 100_000_000},
    	{"2021-09-29T16:04:33.100000001Z", 100_000_001},
    	{"2021-09-29T16:04:33.999999999Z", 999_999_999},
    	{"2021-09-29T16:04:33.012345678Z", 12_345_678},
    	// 10 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)
  2. 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)
  3. 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)
  4. staging/src/k8s.io/apimachinery/pkg/api/resource/quantity_test.go

    		{decQuantity(1000000, 3, DecimalSI), "1G", ""},
    		{decQuantity(1000000000, 0, DecimalSI), "1G", ""},
    		{decQuantity(1, -3, DecimalSI), "1m", "1000u"},
    		{decQuantity(80, -3, DecimalSI), "80m", ""},
    		{decQuantity(1080, -3, DecimalSI), "1080m", "1.08"},
    		{decQuantity(108, -2, DecimalSI), "1080m", "1080000000n"},
    		{decQuantity(10800, -4, DecimalSI), "1080m", ""},
    		{decQuantity(300, 6, DecimalSI), "300M", ""},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:10 UTC 2024
    - 49.4K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. pkg/kubelet/stats/cri_stats_provider_test.go

    					Timestamp: 1,
    					UsageCoreNanoSeconds: &runtimeapi.UInt64Value{
    						Value: 10000000000,
    					},
    				},
    			},
    			cpuUsageCache: map[string]*cpuUsageRecord{
    				"1": {
    					stats: &runtimeapi.CpuUsage{
    						Timestamp: 0,
    						UsageCoreNanoSeconds: &runtimeapi.UInt64Value{
    							Value: 10000000000,
    						},
    					},
    				},
    			},
    			expected: &value0,
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 54.5K bytes
    - Viewed (0)
  8. 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)
  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. platforms/core-execution/persistent-cache/src/integTest/groovy/org/gradle/cache/internal/DefaultFileLockManagerContentionIntegrationTest.groovy

            def socket = new DatagramSocket(0, addressFactory.wildcardBindingAddress)
            (1..500).each {
                addressFactory.communicationAddresses.each { address ->
                    byte[] bytes = [1, 0, 0, 0, 0, 0, 0, 0, 0]
                    DatagramPacket confirmPacket = new DatagramPacket(bytes, bytes.length, address, receivingSocket.localPort)
                    socket.send(confirmPacket)
                }
            }
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 15.1K bytes
    - Viewed (0)
Back to top