Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for 30000000ss (0.2 sec)

  1. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/request/seat_seconds_test.go

    		{ss: SeatSeconds(1), expectFloat: 1.0 / ssScale, expectStr: "0.00000001ss"},
    		{ss: SeatSeconds(ssScale - 1), expectFloat: (ssScale - 1) / ssScale, expectStr: "0.99999999ss"},
    		{ss: 0, expectFloat: 0, expectStr: "0.00000000ss"},
    		{ss: SeatsTimesDuration(1, time.Second), expectFloat: 1, expectStr: "1.00000000ss"},
    		{ss: SeatsTimesDuration(123, 100*time.Millisecond), expectFloat: 12.3, expectStr: "12.30000000ss"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 29 20:20:16 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  2. pkg/kubelet/winstats/perfcounter_nodestats_test.go

    		{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{}
    		p.cpuUsageCoreNanoSecondsCache = cpuUsageCoreNanoSecondsCache{
    			latestValue:   tc.latestValue,
    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. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/TikaExtractorTest.java

            assertEquals("Normal", extractData.getValues("extended-properties:Template")[0]);
            assertEquals("たいとる", extractData.getValues("dc:title")[0]);
            assertEquals("3000000000", extractData.getValues("extended-properties:TotalTime")[0]);
            assertEquals("たぐ", extractData.getValues("meta:keyword")[0]);
            assertEquals("花子", extractData.getValues("extended-properties:Manager")[0]);
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  4. src/time/time_test.go

    	{"2.2ms", 2200 * Microsecond},
    	{"3.3s", 3300 * Millisecond},
    	{"4m5s", 4*Minute + 5*Second},
    	{"4m5.001s", 4*Minute + 5001*Millisecond},
    	{"5h6m7.001s", 5*Hour + 6*Minute + 7001*Millisecond},
    	{"8m0.000000001s", 8*Minute + 1*Nanosecond},
    	{"2562047h47m16.854775807s", 1<<63 - 1},
    	{"-2562047h47m16.854775808s", -1 << 63},
    }
    
    func TestDurationString(t *testing.T) {
    	for _, tt := range durationTests {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:13:47 UTC 2024
    - 56.5K bytes
    - Viewed (0)
  5. src/time/time.go

    }
    
    // format formats the representation of d into the end of buf and
    // returns the offset of the first character.
    func (d Duration) format(buf *[32]byte) int {
    	// Largest time is 2540400h10m10.000000000s
    	w := len(buf)
    
    	u := uint64(d)
    	neg := d < 0
    	if neg {
    		u = -u
    	}
    
    	if u < uint64(Second) {
    		// Special case: if duration is smaller than a second,
    		// use smaller units, like 1.2ms
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 50.7K bytes
    - Viewed (0)
  6. src/encoding/json/decode_test.go

    		data:        `{"a":` + strings.Repeat(`{"a":`, 10000) + `0` + strings.Repeat(`}`, 10000) + `}`,
    		errMaxDepth: true,
    	}, {
    		CaseName:    Name("ObjectOverStackDepth"),
    		data:        `{"a":` + strings.Repeat(`{"a":`, 3000000) + `0` + strings.Repeat(`}`, 3000000) + `}`,
    		errMaxDepth: true,
    	}}
    
    	targets := []struct {
    		CaseName
    		newValue func() any
    	}{{
    		CaseName: Name("unstructured"),
    		newValue: func() any {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 16:40:14 UTC 2024
    - 67.6K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/validation/validation_test.go

    		},
    		{
    			name:              "2 costs",
    			costs:             []uint64{5000000, 25000000},
    			expectedExpensive: []uint64{25000000, 5000000},
    			expectedTotal:     uint64(30000000),
    		},
    		{
    			name:              "3 costs, one ignored",
    			costs:             []uint64{5000000, 25000000, 900000},
    			expectedExpensive: []uint64{25000000, 5000000},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 349.4K bytes
    - Viewed (0)
Back to top