Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 55 for 000000001s (0.14 sec)

  1. 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)
  2. 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)
  3. src/crypto/tls/testdata/Server-TLSv12-RSA-AES

    00000000  16 03 03 00 86 10 00 00  82 00 80 19 dc d4 4c b0  |..............L.|
    00000010  5c 30 24 b8 fd e1 cd 4e  af bc c3 f5 78 12 8c 51  |\0$....N....x..Q|
    00000020  a9 a9 ab fd 87 72 a4 bc  0c fc 87 5e 1d af 67 02  |.....r.....^..g.|
    00000030  13 c5 c2 8c 00 5f 33 d1  86 43 50 b3 3a 1d b8 69  |....._3..CP.:..i|
    00000040  b1 2f ce 82 cd 8d 31 0d  15 c1 fb af b3 47 64 57  |./....1......GdW|
    00000050  38 24 33 46 03 d5 ba 33  36 a0 eb de 21 2b ae 64  |8$3F...36...!+.d|
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 25 00:13:30 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  4. pkg/proxy/ipvs/README.md

    KUBE-FIREWALL  all  --  0.0.0.0/0            0.0.0.0/0            match-set KUBE-LOAD-BALANCER-FW dst,dst
    RETURN     all  --  0.0.0.0/0            0.0.0.0/0            match-set KUBE-LOAD-BALANCER-LOCAL dst,dst
    KUBE-MARK-MASQ  all  --  0.0.0.0/0            0.0.0.0/0
    
    Chain KUBE-MARK-DROP (1 references)
    target     prot opt source               destination
    MARK       all  --  0.0.0.0/0            0.0.0.0/0            MARK or 0x8000
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 20 02:32:29 UTC 2021
    - 18.8K bytes
    - Viewed (0)
  5. src/database/sql/convert_test.go

    		{s: time.Unix(1, 2).UTC(), d: &scanstr, wantstr: "1970-01-01T00:00:01.000000002Z"},
    		{s: time.Time{}, d: &scanstr, wantstr: "0001-01-01T00:00:00Z"},
    		{s: time.Unix(1, 2).UTC(), d: &scanbytes, wantbytes: []byte("1970-01-01T00:00:01.000000002Z")},
    		{s: time.Unix(1, 2).UTC(), d: &scaniface, wantiface: time.Unix(1, 2).UTC()},
    
    		// To []byte
    		{s: nil, d: &scanbytes, wantbytes: nil},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 10 20:23:22 UTC 2024
    - 17K bytes
    - Viewed (0)
  6. test/fixedbugs/issue11371.go

    const d int = 1 - 1e-70  // ERROR "constant truncated to integer|truncated to int|truncated"
    const e int = 1.00000001 // ERROR "constant truncated to integer|truncated to int|truncated"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 23 05:11:09 UTC 2021
    - 946 bytes
    - Viewed (0)
  7. src/encoding/hex/example_test.go

    	// Output:
    	// Hello Gopher!
    }
    
    func ExampleDump() {
    	content := []byte("Go is an open source programming language.")
    
    	fmt.Printf("%s", hex.Dump(content))
    
    	// Output:
    	// 00000000  47 6f 20 69 73 20 61 6e  20 6f 70 65 6e 20 73 6f  |Go is an open so|
    	// 00000010  75 72 63 65 20 70 72 6f  67 72 61 6d 6d 69 6e 67  |urce programming|
    	// 00000020  20 6c 61 6e 67 75 61 67  65 2e                    | language.|
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Sep 10 21:40:16 UTC 2016
    - 2.3K bytes
    - Viewed (0)
  8. test/fixedbugs/issue19201.go

    // license that can be found in the LICENSE file.
    
    package main
    
    import (
    	"encoding/binary"
    )
    
    var (
    	ch1 = make(chan int)
    	ch2 = make(chan int)
    
    	bin  = []byte("a\000\000\001")
    	want = binary.BigEndian.Uint32(bin)
    
    	c consumer = noopConsumer{}
    )
    
    type msg struct {
    	code uint32
    }
    
    type consumer interface {
    	consume(msg)
    }
    
    type noopConsumer struct{}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 28 19:07:23 UTC 2017
    - 765 bytes
    - Viewed (0)
  9. src/time/format_test.go

    }{
    	// 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
    	{"2021-09-29T16:04:33.0000000000Z", 0},
    	{"2021-09-29T16:04:33.0000000001Z", 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:58:29 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  10. src/math/rand/regress_test.go

    	[]byte{0x85, 0x7a, 0xab, 0x99, 0xc5, 0xb2, 0x52, 0xc7, 0x42},       // Read([0 0 0 0 0 0 0 0 0])
    	[]byte{0x9c, 0x32, 0xf3, 0xa8, 0xae, 0xb7, 0x9e, 0xf8, 0x56, 0xf6}, // Read([0 0 0 0 0 0 0 0 0 0])
    	[]byte{0x59}, // Read([0])
    	[]byte{0xc1, 0x8f, 0xd, 0xce, 0xcc, 0x77, 0xc7},                    // Read([0 0 0 0 0 0 0])
    	[]byte{0x5e, 0x7a, 0x81, 0xbf, 0xde, 0x27, 0x5f, 0x67},             // Read([0 0 0 0 0 0 0 0])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 17.8K bytes
    - Viewed (0)
Back to top