program

package
v0.0.0-...-6b40fa4 Latest Latest
Warning

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

Go to latest
Published: May 15, 2016 License: LGPL-3.0 Imports: 3 Imported by: 2

Documentation

Overview

bubblesort

program

sum

Index

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

func (*BubbleSort) Init

func (s *BubbleSort) Init(da types.HCWORD, fi types.HCWORD, args ...types.HCWORD)

type Newer

type Newer func(args ...types.HCWORD) Program

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

func NewBubbleSort(args ...types.HCWORD) Program

func NewSum

func NewSum(args ...types.HCWORD) Program

type Sum

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

func (*Sum) Finished

func (s *Sum) Finished() bool

func (*Sum) GetData

func (s *Sum) GetData(dest []types.HCWORD)

func (*Sum) GetDataSize

func (s *Sum) GetDataSize() types.HCWORD

func (*Sum) GetInst

func (s *Sum) GetInst() []types.HCWORD

func (*Sum) GetInstPerLoop

func (s *Sum) GetInstPerLoop() types.HCWORD

func (*Sum) Init

func (s *Sum) Init(da types.HCWORD, fi types.HCWORD, args ...types.HCWORD)

Jump to

Keyboard shortcuts

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