MCPcopy Create free account

hub / github.com/Golangltd/LollipopGo / functions

Functions247 in github.com/Golangltd/LollipopGo

FunctionRandInt32
(min, max int32)
tools/sample/rand.go:36
FunctionRandInt64
(min, max int64)
tools/sample/rand.go:40
FunctionRandIntervalN_LollipopGo
(b1, b2 int32, n uint32)
util/rand.go:55
FunctionRandInterval_LollipopGo
(b1, b2 int32)
util/rand.go:42
FunctionRandnum_LollipopGO
------------------------------------------------------------------------------ 返回[0,max)的随机整数
util/util.go:58
FunctionRandomString
随机字符串,包含大小写字母和数字
tools/sample/rand.go:15
FunctionRange
生成一个从start到end-1的数组
tools/num/num.go:273
FunctionRangeInt32
生成一个从start到end-1的数组
tools/num/num.go:286
MethodRecordLog
(data LogSt)
log/LogService.go:50
FunctionRecoverFromPanic
通用recover函数,在单独协程的最开始使用defer调用
tools/misc.go:40
MethodRemove
(items ...int32)
tools/collection/set.go:27
FunctionRemoveSlice
(s []int, i int)
util/slice.go:7
MethodRoute
goroutine safe
leaf/processor.go:102
FunctionRun
()
lollipopGo.go:12
FunctionSaveFile
将给定文本保存为文件
tools/fs/file.go:48
FunctionSchedule
(what func(), delay time.Duration, stop chan bool)
tools/tz/tz.go:55
MethodSend_LollipopGoRPC
实际操作信息,
network/rpc.go:52
MethodSet
当缓存容量超出指定值时,会主动扫描一遍过期键 但是这并不能保证缓存容量减少到指定范围之内
tools/mem/ttl_cache.go:29
MethodSetByteOrder
It's dangerous to call the method on routing or marshaling (unmarshaling)
leaf/processor.go:47
MethodSetHandler
It's dangerous to call the method on routing or marshaling (unmarshaling)
leaf/processor.go:82
MethodSetLastModifyTime
SetLastModifyTime update lastModifyTime
tools/fs/config.go:20
MethodSetRawHandler
It's dangerous to call the method on routing or marshaling (unmarshaling)
leaf/processor.go:93
MethodSetRouter
It's dangerous to call the method on routing or marshaling (unmarshaling)
leaf/processor.go:71
FunctionShuffleInt64
(array []int64)
tools/sample/rand.go:58
FunctionShuffleUint64
(array []uint64)
tools/sample/rand.go:65
FunctionStart
启动网络监听
network/initNet.go:46
FunctionStr2intLollipopgo
(data string)
util/strconv.go:8
MethodTestAndSet
(key interface{}, value interface{})
util/map.go:43
FunctionTestDeleteInt32s
(t *testing.T)
tools/collection/array_test.go:8
FunctionTestGetLocalStr
(t *testing.T)
tools/tz/tz_test.go:8
FunctionTestTsToDateTimeStr
(t *testing.T)
tools/tz/tz_test.go:13
MethodToArray
()
tools/collection/set.go:87
MethodToArrayOfArray
()
tools/jsonutils/array.go:81
MethodToBoolArray
()
tools/jsonutils/array.go:43
MethodToNumberArray
()
tools/jsonutils/array.go:5
MethodToObjectArray
()
tools/jsonutils/array.go:62
FunctionToString
data to string all
util/strconv.go:21
MethodToStringArray
()
tools/jsonutils/array.go:24
FunctionUTCTime_LollipopGO
------------------------------------------------------------------------------ package main import ( "fmt" "strconv" "time" ) func main() { t := time.
util/util.go:44
MethodUnion
并集
tools/collection/set.go:65
MethodUnmarshalText
(text []byte)
tools/misc.go:33
FunctionWatchConfigFiles
周期性监测文件变化,调用Parser的回调
tools/fs/config.go:48
FunctionWebSocketStart
WebSocketStart websocket启动
network/websocket.go:283
FunctionWebSocketStartPB
WebSocketStart websocket启动
network/websocketPB.go:97
FunctionWeightedChoice
根据权重随机,返回对应选项的索引,O(n)
tools/sample/rand.go:105
Functioninit
()
lollipopGo.go:8
Functioninit
()
util/rand.go:8
← previous201–247 of 247, ranked by callers