Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for DNS (0.18 sec)

  1. src/archive/tar/strconv_test.go

    			} else {
    				t.Errorf("parsePAXTime(%q): got parsing success, want failure", v.in)
    			}
    		}
    		if ok && !ts.Equal(v.want) {
    			t.Errorf("parsePAXTime(%q): got (%ds %dns), want (%ds %dns)",
    				v.in, ts.Unix(), ts.Nanosecond(), v.want.Unix(), v.want.Nanosecond())
    		}
    	}
    }
    
    func TestFormatPAXTime(t *testing.T) {
    	vectors := []struct {
    		sec, nsec int64
    		want      string
    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