Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dgryski/go-linebreak
/ functions
Functions
11 in github.com/dgryski/go-linebreak
⨍
Functions
11
◇
Types & classes
0
↓ 3 callers
Function
abs
(a int)
linebreak.go:198
↓ 2 callers
Function
genrange
python range(a,b)
linebreak.go:178
↓ 2 callers
Function
push
trivial int stack
linebreak.go:164
↓ 1 callers
Function
min
(a, b int)
linebreak.go:191
↓ 1 callers
Function
peek
(s []int)
linebreak.go:166
↓ 1 callers
Function
pop
(s []int)
linebreak.go:165
↓ 1 callers
Function
step
python list[a::b]
linebreak.go:169
Function
ExampleWrap
()
linebreak_test.go:10
Function
Greedy
Greedy formats text at the given width greedily
linebreak.go:137
Function
TestWrap
(t *testing.T)
linebreak_test.go:25
Function
Wrap
This code is a translation of `linear` from http://xxyxyz.org/line-breaking/ https://en.wikipedia.org/wiki/SMAWK_algorithm A. Aggarwal, T. Tokuyama. C
linebreak.go:11