Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. src/archive/tar/strconv_test.go

    			}
    		}
    		if string(got) != v.want {
    			t.Errorf("formatNumeric(%d): got %q, want %q", v.in, got, v.want)
    		}
    	}
    }
    
    func TestFitsInOctal(t *testing.T) {
    	vectors := []struct {
    		input int64
    		width int
    		ok    bool
    	}{
    		{-1, 1, false},
    		{-1, 2, false},
    		{-1, 3, false},
    		{0, 1, true},
    		{0 + 1, 1, false},
    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