- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 250 for star (0.15 sec)
-
src/archive/tar/reader.go
nul(v7.modTime()) && nul(ustar.devMajor()) && nul(ustar.devMinor())) { hdr.Format = FormatUnknown // Numeric fields must end in NUL } case format.has(formatSTAR): star := tr.blk.toSTAR() prefix = p.parseString(star.prefix()) hdr.AccessTime = time.Unix(p.parseNumeric(star.accessTime()), 0) hdr.ChangeTime = time.Unix(p.parseNumeric(star.changeTime()), 0) case format.has(FormatGNU): hdr.Format = format
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri Mar 08 01:59:14 GMT 2024 - 26.8K bytes - Viewed (0) -
src/archive/tar/format.go
const ( magicGNU, versionGNU = "ustar ", " \x00" magicUSTAR, versionUSTAR = "ustar\x00", "00" trailerSTAR = "tar\x00" ) // Size constants from various tar specifications. const ( blockSize = 512 // Size of each block in a tar stream nameSize = 100 // Max length of the name field in USTAR format prefixSize = 155 // Max length of the prefix field in USTAR format
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri Oct 13 18:36:46 GMT 2023 - 11.3K bytes - Viewed (0) -
statement.go
return func(tableColumn string) (table, column string) { if matches := nameMatcher.FindStringSubmatch(tableColumn); len(matches) == 4 { table = matches[1] star := matches[2] columnName := matches[3] if star != "" { return table, star } return table, columnName } return "", "" } }() // SelectAndOmitColumns get select and omit columns, select -> true, omit -> false
Go - Registered: Sun Apr 28 09:35:09 GMT 2024 - Last Modified: Fri Jan 12 08:42:21 GMT 2024 - 19.8K bytes - Viewed (0) -
src/cmd/cgo/ast.go
// invalid input; see issue #57926.) if decl.Recv != nil && len(decl.Recv.List) > 0 { recvType := decl.Recv.List[0].Type if recvType != nil { t := recvType if star, ok := unparen(t).(*ast.StarExpr); ok { t = star.X } if sel, ok := unparen(t).(*ast.SelectorExpr); ok { var buf strings.Builder format.Node(&buf, fset, recvType)
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Wed Jun 07 16:54:27 GMT 2023 - 14.3K bytes - Viewed (0) -
src/archive/tar/reader_test.go
}, { // Matches the behavior of GNU, BSD, and STAR tar utilities. file: "testdata/gnu-multi-hdrs.tar", headers: []*Header{{ Name: "GNU2/GNU2/long-path-name", Linkname: "GNU4/GNU4/long-linkpath-name", ModTime: time.Unix(0, 0), Typeflag: '2', Format: FormatGNU, }}, }, { // GNU tar file with atime and ctime fields set. // Created with the GNU tar v1.27.1.
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Mon Nov 21 21:14:38 GMT 2022 - 47.1K bytes - Viewed (0) -
src/archive/tar/writer_test.go
file string // Optional filename of expected output tests []testFnc }{{ // The writer test file was produced with this command: // tar (GNU tar) 1.26 // ln -s small.txt link.txt // tar -b 1 --format=ustar -c -f writer.tar small.txt small2.txt link.txt file: "testdata/writer.tar", tests: []testFnc{ testHeader{Header{ Typeflag: TypeReg, Name: "small.txt", Size: 5, Mode: 0640,
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Tue Feb 27 16:39:23 GMT 2024 - 38.7K bytes - Viewed (0) -
src/cmd/cgo/gcc.go
// Walk backward so that in C.f1(C.f2()) we rewrite C.f2 first. for _, call := range f.Calls { if call.Done { continue } start := f.offset(call.Call.Pos()) end := f.offset(call.Call.End()) str, nu := p.rewriteCall(f, call) if str != "" { f.Edit.Replace(start, end, str) if nu { needsUnsafe = true } } } return needsUnsafe }
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Thu Nov 02 16:43:23 GMT 2023 - 97K bytes - Viewed (0) -
internal/disk/stat_test.go
"testing" ) func TestReadDriveStats(t *testing.T) { if runtime.GOOS == "windows" { t.Skip("skipping this test in windows") } testCases := []struct { stat string expectedIOStats IOStats expectErr bool }{ { stat: "1432553 420084 66247626 2398227 7077314 8720147 157049224 7469810 0 7580552 9869354 46037 0 41695120 1315 0 0", expectedIOStats: IOStats{
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Mon Feb 26 19:34:50 GMT 2024 - 3.6K bytes - Viewed (0) -
src/archive/tar/stat_actime1.go
// license that can be found in the LICENSE file. //go:build aix || linux || dragonfly || openbsd || solaris package tar import ( "syscall" "time" ) func statAtime(st *syscall.Stat_t) time.Time { return time.Unix(st.Atim.Unix()) } func statCtime(st *syscall.Stat_t) time.Time { return time.Unix(st.Ctim.Unix())
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Thu Oct 28 18:17:57 GMT 2021 - 431 bytes - Viewed (0) -
src/archive/tar/tar_test.go
t.Errorf("test %d, inverseSparseEntries():\ngot %v\nwant %v", i, gotInverted, v.wantInverted) } } } func TestFileInfoHeader(t *testing.T) { fi, err := os.Stat("testdata/small.txt") if err != nil { t.Fatal(err) } h, err := FileInfoHeader(fi, "") if err != nil { t.Fatalf("FileInfoHeader: %v", err) } if g, e := h.Name, "small.txt"; g != e {
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri Mar 15 16:01:50 GMT 2024 - 24K bytes - Viewed (0)