Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for SectionReader (0.42 sec)

  1. src/io/io.go

    		// Assume we can read up to an offset of 1<<63 - 1.
    		remaining = maxint64
    	}
    	return &SectionReader{r, off, off, remaining, n}
    }
    
    // SectionReader implements Read, Seek, and ReadAt on a section
    // of an underlying [ReaderAt].
    type SectionReader struct {
    	r     ReaderAt // constant after creation
    	base  int64    // constant after creation
    	off   int64
    	limit int64 // constant after creation
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 17:34:10 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  2. src/internal/xcoff/ar.go

    // ArchiveHeader holds information about a big archive file header
    type ArchiveHeader struct {
    	magic string
    }
    
    // Member represents a member of an AIX big archive.
    type Member struct {
    	MemberHeader
    	sr *io.SectionReader
    }
    
    // MemberHeader holds information about a big archive member
    type MemberHeader struct {
    	Name string
    	Size uint64
    }
    
    // OpenArchive opens the named archive using os.Open and prepares it for use
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:32:51 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  3. src/mime/multipart/formdata.go

    type File interface {
    	io.Reader
    	io.ReaderAt
    	io.Seeker
    	io.Closer
    }
    
    // helper types to turn a []byte into a File
    
    type sectionReadCloser struct {
    	*io.SectionReader
    	io.Closer
    }
    
    func (rc sectionReadCloser) Close() error {
    	if rc.Closer != nil {
    		return rc.Closer.Close()
    	}
    	return nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 16:12:35 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  4. src/debug/elf/file.go

    type File struct {
    	FileHeader
    	Sections  []*Section
    	Progs     []*Prog
    	closer    io.Closer
    	gnuNeed   []verneed
    	gnuVersym []byte
    }
    
    // A SectionHeader represents a single ELF section header.
    type SectionHeader struct {
    	Name      string
    	Type      SectionType
    	Flags     SectionFlag
    	Addr      uint64
    	Offset    uint64
    	Size      uint64
    	Link      uint32
    	Info      uint32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 23 16:49:58 UTC 2024
    - 43.1K bytes
    - Viewed (0)
  5. src/internal/xcoff/file.go

    	"io"
    	"os"
    	"strings"
    )
    
    // SectionHeader holds information about an XCOFF section header.
    type SectionHeader struct {
    	Name           string
    	VirtualAddress uint64
    	Size           uint64
    	Type           uint32
    	Relptr         uint64
    	Nreloc         uint32
    }
    
    type Section struct {
    	SectionHeader
    	Relocs []Reloc
    	io.ReaderAt
    	sr *io.SectionReader
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 12 14:42:29 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"SectionFlag", Type, 0},
    		{"SectionHeader", Type, 0},
    		{"SectionHeader.Addr", Field, 0},
    		{"SectionHeader.Addralign", Field, 0},
    		{"SectionHeader.Entsize", Field, 0},
    		{"SectionHeader.FileSize", Field, 6},
    		{"SectionHeader.Flags", Field, 0},
    		{"SectionHeader.Info", Field, 0},
    		{"SectionHeader.Link", Field, 0},
    		{"SectionHeader.Name", Field, 0},
    		{"SectionHeader.Offset", Field, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
  7. src/vendor/golang.org/x/net/dns/dnsmessage/message.go

    	Header
    	Questions   []Question
    	Answers     []Resource
    	Authorities []Resource
    	Additionals []Resource
    }
    
    type section uint8
    
    const (
    	sectionNotStarted section = iota
    	sectionHeader
    	sectionQuestions
    	sectionAnswers
    	sectionAuthorities
    	sectionAdditionals
    	sectionDone
    
    	headerBitQR = 1 << 15 // query/response (response=1)
    	headerBitAA = 1 << 10 // authoritative
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 09 00:09:40 UTC 2024
    - 69K bytes
    - Viewed (0)
Back to top