- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 15 for Info (0.14 sec)
-
src/archive/zip/reader_test.go
t.Logf("%q (Open error: %v)", dirEntry.Name(), err) } t.FailNow() } info, err := dirEntries[0].Info() if err != nil { t.Fatalf("Error reading info entry: %v", err) } if name := info.Name(); name != "test.txt" { t.Errorf("Inconsistent name in info entry: %v", name) } } func TestUnderSize(t *testing.T) { z, err := OpenReader("testdata/readme.zip")
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Mar 27 18:23:49 GMT 2024 - 55.3K bytes - Viewed (0) -
src/cmd/cgo/internal/cgotest/overlaydir.go
} return filepath.Walk(srcRoot, func(srcPath string, info os.FileInfo, err error) error { if err != nil || srcPath == srcRoot { return err } suffix := strings.TrimPrefix(srcPath, srcRoot) for len(suffix) > 0 && suffix[0] == filepath.Separator { suffix = suffix[1:] } dstPath := filepath.Join(dstRoot, suffix) perm := info.Mode() & os.ModePerm if info.Mode()&os.ModeSymlink != 0 { info, err = os.Stat(srcPath)
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon May 22 20:56:09 GMT 2023 - 1.7K bytes - Viewed (0) -
src/all.bash
Shell Script - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Mar 11 19:53:58 GMT 2024 - 377 bytes - Viewed (0) -
.gitignore
/test/times.out # This file includes artifacts of Go build that should not be checked in. # For files created by specific development environment (e.g. editor), # use alternative ways to exclude files from git.
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Thu Jun 22 19:44:52 GMT 2023 - 958 bytes - Viewed (0) -
.github/ISSUE_TEMPLATE/12-telemetry.yml
attributes: label: Do the counters carry sensitive user information? validations: required: true - type: textarea attributes: label: How? description: | How do we plan to compute the info? If available, include the code location or cl that uses the golang.org/x/telemetry/counter API. validations: required: true - type: textarea attributes: label: Proposed Graph Config
Others - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Mon Nov 27 17:23:51 GMT 2023 - 2.4K bytes - Viewed (0) -
src/archive/zip/struct.go
zip64ExtraID = 0x0001 // Zip64 extended information ntfsExtraID = 0x000a // NTFS unixExtraID = 0x000d // UNIX extTimeExtraID = 0x5455 // Extended timestamp infoZipUnixExtraID = 0x5855 // Info-ZIP Unix extension ) // FileHeader describes a file within a ZIP file. // See the [ZIP specification] for details. // // [ZIP specification]: https://support.pkware.com/pkzip/appnote type FileHeader struct {
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Oct 13 18:36:46 GMT 2023 - 12.1K bytes - Viewed (0) -
src/cmd/cgo/gcc.go
numTypedefs = len(p.typedefs) // Also ask about any typedefs we've seen so far. for _, info := range p.typedefList { if f.Name[info.typedef] != nil { continue } n := &Name{ Go: info.typedef, C: info.typedef, } f.Name[info.typedef] = n f.NamePos[n] = info.pos } needType := p.guessKinds(f) if len(needType) > 0 { p.loadDWARF(f, &conv, needType) }
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Nov 02 16:43:23 GMT 2023 - 97K bytes - Viewed (0) -
src/archive/tar/writer.go
if err != nil { return err } if d.IsDir() { return nil } info, err := d.Info() if err != nil { return err } // TODO(#49580): Handle symlinks when fs.ReadLinkFS is available. if !info.Mode().IsRegular() { return errors.New("tar: cannot add non-regular file") } h, err := FileInfoHeader(info, "") if err != nil { return err } h.Name = name
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Oct 13 18:36:46 GMT 2023 - 19.6K bytes - Viewed (0) -
src/cmd/cgo/internal/test/issue1435.go
if strings.HasPrefix(line, "Pid:\t") { // On loaded systems, it is possible // for a TID to be reused really // quickly. As such, we need to // validate that the thread status // info we just read is a task of the // same process PID as we are // currently running, and not a // recently terminated thread // resurfaced in a different process. if line != expectedProc { break
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri Jul 28 21:31:41 GMT 2023 - 7.5K bytes - Viewed (0) -
src/archive/zip/reader.go
func (f *fileListEntry) ModTime() time.Time { if f.file == nil { return time.Time{} } return f.file.FileHeader.Modified.UTC() } func (f *fileListEntry) Info() (fs.FileInfo, error) { return f, nil } func (f *fileListEntry) String() string { return fs.FormatDirEntry(f) } // toValidName coerces name to be a valid name for fs.FS.Open.
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Oct 13 18:36:46 GMT 2023 - 27.7K bytes - Viewed (0)