MCPcopy Create free account
hub / github.com/djhworld/simple-computer / NewWord

Function NewWord

components/storage.go:50–56  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

48}
49
50func NewWord() *Word {
51 w := new(Word)
52 for i, _ := range w.bits {
53 w.bits[i] = *NewBit()
54 }
55 return w
56}
57
58func (e *Word) ConnectOutput(b Component) {
59 e.next = b

Callers 3

NewRegisterFunction · 0.85
TestWordFunction · 0.85
TestWordWithSetOnFunction · 0.85

Calls 1

NewBitFunction · 0.85

Tested by 2

TestWordFunction · 0.68
TestWordWithSetOnFunction · 0.68