- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 33 for ReadSeeker (0.17 sec)
-
src/go/internal/gccgoimporter/ar.go
// arExportData takes an archive file and returns a ReadSeeker for the // export data in that file. This assumes that there is only one // object in the archive containing export data, which is not quite // what gccgo does; gccgo concatenates together all the export data // for all the objects in the file. In practice that case does not arise. func arExportData(archive io.ReadSeeker) (io.ReadSeeker, error) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 30 14:14:36 UTC 2022 - 4.4K bytes - Viewed (0) -
src/go/internal/gccgoimporter/importer.go
return types.Unsafe, nil } var reader io.ReadSeeker var fpath string var rc io.ReadCloser if lookup != nil { if p := imports[pkgpath]; p != nil && p.Complete() { return p, nil } rc, err = lookup(pkgpath) if err != nil { return nil, err } } if rc != nil { defer rc.Close() rs, ok := rc.(io.ReadSeeker) if !ok {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 20 18:41:18 UTC 2020 - 6.8K bytes - Viewed (0) -
tools/istio-iptables/pkg/dependencies/interface.go
type Dependencies interface { // Run runs a command Run(cmd constants.IptablesCmd, iptVer *IptablesVersion, stdin io.ReadSeeker, args ...string) error // RunQuietlyAndIgnore runs a command quietly and ignores errors RunQuietlyAndIgnore(cmd constants.IptablesCmd, iptVer *IptablesVersion, stdin io.ReadSeeker, args ...string) // DetectIptablesVersion consults the available binaries and in-use tables to determine
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Mar 11 17:46:23 UTC 2024 - 1.3K bytes - Viewed (0) -
src/debug/pe/section.go
func (s *Section) Data() ([]byte, error) { return saferio.ReadDataAt(s.sr, uint64(s.Size), 0) } // Open returns a new ReadSeeker reading the PE section s. // // If s.Offset is 0, the section has no contents, and all calls // to the returned reader will return a non-nil error. func (s *Section) Open() io.ReadSeeker { return io.NewSectionReader(s.sr, 0, 1<<63-1) } // Section characteristics flags. const (
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 18 19:33:30 UTC 2023 - 3.5K bytes - Viewed (0) -
tools/istio-iptables/pkg/dependencies/stub.go
} func (s *DependenciesStub) Run(cmd constants.IptablesCmd, iptVer *IptablesVersion, stdin io.ReadSeeker, args ...string) error { s.execute(false /*quietly*/, cmd, iptVer, stdin, args...) _ = s.writeAllToDryRunPath() return nil } func (s *DependenciesStub) RunQuietlyAndIgnore(cmd constants.IptablesCmd, iptVer *IptablesVersion, stdin io.ReadSeeker, args ...string) { s.execute(true /*quietly*/, cmd, iptVer, stdin, args...)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Mar 11 17:46:23 UTC 2024 - 3.4K bytes - Viewed (0) -
cmd/auth-handler_test.go
} } } // Provides a fully populated http request instance, fails otherwise. func mustNewRequest(method string, urlStr string, contentLength int64, body io.ReadSeeker, t *testing.T) *http.Request { req, err := newTestRequest(method, urlStr, contentLength, body) if err != nil { t.Fatalf("Unable to initialize new http request %s", err) } return req }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 15.4K bytes - Viewed (0) -
src/cmd/go/internal/cache/cache.go
// // As a special case, if the ReadSeeker is of type noVerifyReadSeeker, // the verification from GODEBUG=goverifycache=1 is skipped. // // After a success call to Get, OutputFile(Entry.OutputID) must // exist on disk for until Close is called (at the end of the process). Put(ActionID, io.ReadSeeker) (_ OutputID, size int64, _ error)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Mar 09 14:19:39 UTC 2024 - 20.3K bytes - Viewed (0) -
cmd/dummy-data-generator_test.go
// DummyDataGen returns a reader that repeats the bytes in `alphabets` // upto the desired length. type DummyDataGen struct { b []byte idx, length int64 } // NewDummyDataGen returns a ReadSeeker over the first `totalLength` // bytes from the infinite stream consisting of repeated // concatenations of `alphabets`. // // The skipOffset (generally = 0) can be used to skip a given number
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Sep 19 18:05:16 UTC 2022 - 4.8K bytes - Viewed (0) -
src/debug/pe/string.go
i := bytes.IndexByte(b, 0) if i == -1 { i = len(b) } return string(b[:i]) } // StringTable is a COFF string table. type StringTable []byte func readStringTable(fh *FileHeader, r io.ReadSeeker) (StringTable, error) { // COFF string table is located right after COFF symbol table. if fh.PointerToSymbolTable <= 0 { return nil, nil } offset := fh.PointerToSymbolTable + COFFSymbolSize*fh.NumberOfSymbols
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 07 19:06:17 UTC 2023 - 1.8K bytes - Viewed (0) -
tools/istio-iptables/pkg/dependencies/implementation_unspecified.go
return ErrNotImplemented } func (r *RealDependencies) executeXTables(cmd constants.IptablesCmd, iptVer *IptablesVersion, ignoreErrors bool, stdin io.ReadSeeker, args ...string) error { return ErrNotImplemented } func shouldUseBinaryForCurrentContext(iptablesBin string) (IptablesVersion, error) { return IptablesVersion{}, ErrNotImplemented
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Mar 12 08:35:16 UTC 2024 - 1.3K bytes - Viewed (0)