Documentation
¶
Overview ¶
bubblesort
program
sum
Index ¶
- type BubbleSort
- func (s *BubbleSort) Finished() bool
- func (s *BubbleSort) GetData(dest []types.HCWORD)
- func (s *BubbleSort) GetDataSize() types.HCWORD
- func (s *BubbleSort) GetInst() []types.HCWORD
- func (s *BubbleSort) GetInstPerLoop() types.HCWORD
- func (s *BubbleSort) Init(da types.HCWORD, fi types.HCWORD, args ...types.HCWORD)
- type Newer
- type Program
- type Sum
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BubbleSort ¶
type BubbleSort struct {
// contains filtered or unexported fields
}
func (*BubbleSort) Finished ¶
func (s *BubbleSort) Finished() bool
func (*BubbleSort) GetData ¶
func (s *BubbleSort) GetData(dest []types.HCWORD)
func (*BubbleSort) GetDataSize ¶
func (s *BubbleSort) GetDataSize() types.HCWORD
func (*BubbleSort) GetInst ¶
func (s *BubbleSort) GetInst() []types.HCWORD
func (*BubbleSort) GetInstPerLoop ¶
func (s *BubbleSort) GetInstPerLoop() types.HCWORD
type Program ¶
type Program interface { // Do memory map Init(da types.HCWORD, fi types.HCWORD, args ...types.HCWORD) GetInstPerLoop() types.HCWORD GetInst() []types.HCWORD GetDataSize() types.HCWORD GetData(dest []types.HCWORD) Finished() bool }
func NewBubbleSort ¶
type Sum ¶
type Sum struct {
// contains filtered or unexported fields
}
func (*Sum) GetDataSize ¶
func (*Sum) GetInstPerLoop ¶
Click to show internal directories.
Click to hide internal directories.