Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 45 for 1000000000 (0.43 sec)

  1. 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)
  2. pkg/kubelet/winstats/perfcounter_nodestats_test.go

    		expected      uint64
    	}{
    		{latestValue: uint64(0), previousValue: uint64(0), expected: uint64(0)},
    		{latestValue: uint64(2000000000), previousValue: uint64(0), expected: uint64(200000000 * perfCounterUpdatePeriodSeconds)},
    		{latestValue: uint64(5000000000), previousValue: uint64(2000000000), expected: uint64(300000000 * perfCounterUpdatePeriodSeconds)},
    	}
    
    	for _, tc := range testCases {
    		p := perfCounterNodeStatsClient{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 26 18:37:21 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  3. src/vendor/golang.org/x/net/dns/dnsmessage/message.go

    }
    
    func printUint16(i uint16) string {
    	return printUint32(uint32(i))
    }
    
    func printUint32(i uint32) string {
    	// Max value is 4294967295.
    	buf := make([]byte, 10)
    	for b, d := buf, uint32(1000000000); d > 0; d /= 10 {
    		b[0] = byte(i/d%10 + '0')
    		if b[0] == '0' && len(b) == len(buf) && len(buf) > 1 {
    			buf = buf[1:]
    		}
    		b = b[1:]
    		i %= d
    	}
    	return string(buf)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 09 00:09:40 UTC 2024
    - 69K bytes
    - Viewed (0)
  4. pkg/printers/internalversion/printers_test.go

    					Name:              "pc2",
    					CreationTimestamp: metav1.Time{Time: time.Now().Add(-3e11)},
    				},
    				Value:         1000000000,
    				GlobalDefault: true,
    			},
    			expected: []metav1.TableRow{{Cells: []interface{}{"pc2", int64(1000000000), bool(true), "5m"}}},
    		},
    	}
    
    	for i, test := range tests {
    		rows, err := printPriorityClass(&test.pc, printers.GenerateOptions{})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 218.6K bytes
    - Viewed (0)
  5. 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)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/AbstractCrawlerClientTest.java

            client.checkMaxContentLength(responseData);
    
            responseData.setContentLength(1000000L);
            client.checkMaxContentLength(responseData);
    
            responseData.setContentLength(1000000000L);
            client.checkMaxContentLength(responseData);
    
            responseData.setContentLength(1000000000000L);
            client.checkMaxContentLength(responseData);
        }
    
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 3K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/base/StopwatchTest.java

        stopwatch.start();
        ticker.advance(5000000000L);
        assertEquals("5.000 s", stopwatch.toString());
        stopwatch.reset();
        stopwatch.start();
        ticker.advance((long) (1.5 * 60 * 1000000000L));
        assertEquals("1.500 min", stopwatch.toString());
        stopwatch.reset();
        stopwatch.start();
        ticker.advance((long) (2.5 * 60 * 60 * 1000000000L));
        assertEquals("2.500 h", stopwatch.toString());
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 09 15:49:48 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  8. src/runtime/internal/wasitest/tcpecho_test.go

    	// default.
    	if os.Getenv("GOWASIENABLERACYTEST") != "1" {
    		t.Skip("skipping WASI test with unavoidable race condition")
    	}
    	var host string
    	port := rand.Intn(10000) + 40000
    	for attempts := 0; attempts < 10; attempts++ {
    		host = fmt.Sprintf("127.0.0.1:%d", port)
    		l, err := net.Listen("tcp", host)
    		if err == nil {
    			l.Close()
    			break
    		}
    		port++
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 22:01:11 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top