crash.software
Projects
Pull Requests
Issues
Builds
scan4all
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
scan4all
Files
🤬
Sign In
20a2fbca
ROOT
/
pkg
/
kscan
/
lib
/
misc
/
misc.go
Search
History
361 lines
|
UTF-8
|
7 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
StrArr2IntArr
(strArr []string)
:
([]int, error)
Str2Int
(str string)
:
int
IntArr2StrArr
(intArr []int)
:
[]string
IsInStrArr
(slice []string, val string)
:
bool
IsInIntArr
(slice []int, val int)
:
bool
ReadLine
(fileName string, handler func(string, bool))
:
error
ReadLineAll
(fileName string)
:
[]string
FixLine
(line string)
:
string
UniStrAppend
(slice []string, elems ...string)
:
[]string
FileIsExist
(path string)
:
bool
Xrange
(args ...int)
:
[]int
FilterPrintStr
(s string)
:
string
StrMap2Str
(stringMap map[string]string, keyPrint bool)
:
string
MustLength
(s string, i int)
:
string
Percent
(int1 int, int2 int)
:
string
StrRandomCut
(s string, length int)
:
string
RemoveDuplicateElement
(languages []string)
:
[]string
RemoveDuplicateElementForMultiple
(mainArr, otherArr []string)
:
[]string
WriteLine
(fileName string, byte []byte)
:
error
Base64Encode
(keyword string)
:
string
Base64Decode
(encodeString string)
:
(string, error)
CloneStrMap
(strMap map[string]string)
:
map[string]string
CloneIntMap
(intMap map[int]string)
:
map[int]string
RandomString
(i ...int)
:
string
Intersection
(a []string, b []string)
:
(inter []string)
First2Upper
(s string)
:
string
First2UpperForSlice
(s []string)
:
[]string
FixMap
(m map[string]string)
:
map[string]string
AutoWidth
(s string, length int)
:
int
All occurrences
Please wait...
Page is in error, reload to recover