Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestFitsInOctal (0.54 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 Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Sep 08 17:08:20 UTC 2025
    - 15K bytes
    - Viewed (0)
Back to top