Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for WithNanoPadding (0.08 sec)

  1. src/archive/tar/strconv_test.go

    			want: time.Unix(123456, 0),
    			ok:   true,
    		},
    		{
    			name: "ExactNanos",
    			in:   "1.123456789",
    			want: time.Unix(1, 123456789),
    			ok:   true,
    		},
    		{
    			name: "WithNanoPadding",
    			in:   "1.123",
    			want: time.Unix(1, 123000000),
    			ok:   true,
    		},
    		{
    			name: "WithNanoTruncate",
    			in:   "1.123456789123",
    			want: time.Unix(1, 123456789),
    			ok:   true,
    		},
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Sep 08 17:08:20 UTC 2025
    - 15K bytes
    - Viewed (0)
Back to top