Documentation ¶
Index ¶
- Constants
- func GetSharedIDs(sets []*IntSet, minCount int) []uint
- type IntSet
- func (set *IntSet) Add(x uint)
- func (set *IntSet) AddInts(values []int)
- func (set *IntSet) AsInts() []int
- func (set *IntSet) Clear()
- func (set *IntSet) Contains(x uint) bool
- func (set *IntSet) CountIntersection(other *IntSet) uint
- func (set *IntSet) CountMembers() uint
- func (set *IntSet) GetFirstID() (bool, uint)
- func (set *IntSet) GetNextID(x uint) (bool, uint)
- func (set *IntSet) Intersect(other *IntSet)
- func (set *IntSet) IsEmpty() bool
- func (set *IntSet) Remove(x uint)
- func (set *IntSet) RemoveAll(other *IntSet)
- func (set *IntSet) Size() uint
- func (set *IntSet) String() string
- func (set *IntSet) Union(other *IntSet)
- type SeekableGZipReader
Constants ¶
View Source
const ( Bit uint64 = 1 AllBits uint64 = 0xFFFFFFFFFFFFFFFF )
Variables ¶
This section is empty.
Functions ¶
func GetSharedIDs ¶
GetSharedIDs IDs that are contained by at least minCount of the provided sets
Types ¶
type IntSet ¶
type IntSet struct {
// contains filtered or unexported fields
}
func NewIntSetFromInts ¶
func NewIntSetFromUInts ¶
func (*IntSet) CountIntersection ¶
func (*IntSet) CountMembers ¶
func (*IntSet) GetFirstID ¶
type SeekableGZipReader ¶
type SeekableGZipReader struct {
// contains filtered or unexported fields
}
SeekableGZip is a Reader (wrapping a gzip.Reader) and adds a Seek function This can therefore be used as a ReadSeekCloser for sequence.SequenceSet
func NewSeekableGZipReader ¶
func NewSeekableGZipReader(r io.Reader) *SeekableGZipReader
func (*SeekableGZipReader) Close ¶
func (s *SeekableGZipReader) Close() error
func (*SeekableGZipReader) Multistream ¶
func (s *SeekableGZipReader) Multistream(ok bool)
Click to show internal directories.
Click to hide internal directories.