Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for LeadingError (0.07 sec)

  1. src/archive/tar/strconv_test.go

    			in:   "1.123456789123",
    			want: time.Unix(1, 123456789),
    			ok:   true,
    		},
    		{
    			name: "TrailingError",
    			in:   "1.123abc",
    			want: time.Time{},
    			ok:   false,
    		},
    		{
    			name: "LeadingError",
    			in:   "1.abc123",
    			want: time.Time{},
    			ok:   false,
    		},
    	}
    	for _, tt := range tests {
    		b.Run(tt.name, func(b *testing.B) {
    			b.ReportAllocs()
    			for b.Loop() {
    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