MCPcopy Create free account
hub / github.com/changkun/pkg / S35_Reformat

Function S35_Reformat

csp/csp.go:279–284  ·  view source on GitHub ↗

S35_Reformat implements Section 3.5 Reformat problem: "Read a sequence of cards of 80 characters each, and print the characters on a lineprinter at 125 characters per line. Every card should be followed by an extra space, and the last line should be complete with spaces if necessary." Solution: [w

(cardfile chan []rune, lineprinter chan string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

TestS36_ReformatFunction · 0.92

Calls 3

S33_DISASSEMBLEFunction · 0.85
S31_COPYFunction · 0.85
S34_ASSEMBLEFunction · 0.85

Tested by 1

TestS36_ReformatFunction · 0.74