decomp

package
v0.0.0-...-c5569c1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 17, 2019 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Sieve

func Sieve() chan int

Sieve Return a chan int of primes.

Types

type PeekCh

type PeekCh struct {
	// contains filtered or unexported fields
}

type PeekChHeap

type PeekChHeap []*PeekCh

PeekChHeap is the Heap of PeekCh, sorting by head values.

func (PeekChHeap) Len

func (h PeekChHeap) Len() int

func (PeekChHeap) Less

func (h PeekChHeap) Less(i, j int) bool

func (*PeekChHeap) Pop

func (h *PeekChHeap) Pop() (v interface{})

func (*PeekChHeap) Push

func (h *PeekChHeap) Push(v interface{})

func (PeekChHeap) Swap

func (h PeekChHeap) Swap(i, j int)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL