crash.software
Projects
Pull Requests
Issues
Builds
fzf
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
fzf
Files
🤬
Sign In
master
ROOT
/
src
/
util
/
util.go
Search
History
156 lines
|
ISO-8859-1
|
2 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
RunesWidth
(runes []rune, prefixWidth int, tabstop int, limit int)
:
(int, int)
Truncate
(input string, limit int)
:
([]rune, int)
Max
(first int, second int)
:
int
Max16
(first int16, second int16)
:
int16
Max32
(first int32, second int32)
:
int32
Min
(first int, second int)
:
int
Min32
(first int32, second int32)
:
int32
Constrain32
(val int32, min int32, max int32)
:
int32
Constrain
(val int, min int, max int)
:
int
AsUint16
(val int)
:
uint16
DurWithin
( val time.Duration, min time.Duration, max time.Duration)
:
time.Duration
IsTty
()
:
bool
ToTty
()
:
bool
Once
(nextResponse bool)
:
func() bool
All occurrences
Please wait...
Page is in error, reload to recover