Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestParsePAXTime (0.17 sec)

  1. src/archive/tar/strconv_test.go

    	}
    
    	for _, v := range vectors {
    		ok := fitsInOctal(v.width, v.input)
    		if ok != v.ok {
    			t.Errorf("checkOctal(%d, %d): got %v, want %v", v.input, v.width, ok, v.ok)
    		}
    	}
    }
    
    func TestParsePAXTime(t *testing.T) {
    	vectors := []struct {
    		in   string
    		want time.Time
    		ok   bool
    	}{
    		{"1350244992.023960108", time.Unix(1350244992, 23960108), true},
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Feb 09 05:28:50 GMT 2021
    - 14K bytes
    - Viewed (0)
Back to top