Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for BenchmarkParsePAXTIme (0.82 sec)

  1. src/archive/tar/strconv_test.go

    			}
    		}
    		if got != v.want {
    			t.Errorf("formatPAXRecord(%q, %q): got %q, want %q",
    				v.inKey, v.inVal, got, v.want)
    		}
    	}
    }
    
    func BenchmarkParsePAXTIme(b *testing.B) {
    	tests := []struct {
    		name string
    		in   string
    		want time.Time
    		ok   bool
    	}{
    		{
    			name: "NoNanos",
    			in:   "123456",
    			want: time.Unix(123456, 0),
    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