- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for mirror (0.02 sec)
-
src/archive/tar/strconv.go
b := make([]byte, 0, len(s)) for _, c := range s { if c < 0x80 && c != 0x00 { b = append(b, byte(c)) } } return string(b) } type parser struct { err error // Last error seen } type formatter struct { err error // Last error seen } // parseString parses bytes as a NUL-terminated C-style string. // If a NUL byte is not found then the whole slice is returned as a string.
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon Sep 08 17:08:20 UTC 2025 - 9.1K bytes - Viewed (0) -
src/archive/tar/strconv_test.go
b.ReportAllocs() for b.Loop() { ts, err := parsePAXTime(tt.in) if (err == nil) != tt.ok { if err != nil { b.Fatal(err) } b.Fatal("expected error") } if !ts.Equal(tt.want) { b.Fatalf("time mismatch: got %v, want %v", ts, tt.want) } } }) }
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon Sep 08 17:08:20 UTC 2025 - 15K bytes - Viewed (0)