Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for checkOctal (0.06 sec)

  1. src/archive/tar/strconv_test.go

    		{-012345670123, 12, false},
    		{-01564164, 12, false},
    		{-1564164, 30, false},
    	}
    
    	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
    	}{
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Feb 09 05:28:50 UTC 2021
    - 14K bytes
    - Viewed (0)
Back to top