MCPcopy Create free account

hub / github.com/Golangltd/LollipopGo / functions

Functions247 in github.com/Golangltd/LollipopGo

↓ 20 callersMethodError
(format string, a ...interface{})
log/log.go:118
↓ 10 callersMethodClose
It's dangerous to call the method on logging
log/log.go:85
↓ 8 callersMethodSet
(key string, value interface{})
tools/mem/lru_cache.go:84
↓ 8 callersMethoddoPrintf
(level int, printLevel string, format string, a ...interface{})
log/log.go:94
↓ 7 callersMethodFatal
(format string, a ...interface{})
log/log.go:122
↓ 7 callersMethodMarshal
goroutine safe
leaf/processor.go:158
↓ 6 callersMethodAdd
(items ...int32)
tools/collection/set.go:20
↓ 6 callersMethodHandleCltProtocol
(protocol interface{}, protocol2 interface{}, ProtocolData map[string]interface{}, Connection interface{})
global_Interface/Interface_impl.go:15
↓ 6 callersMethodJson2map
()
network/websocket.go:181
↓ 5 callersFunctionGetLocalStr
GetLocalStr change utc time to local date str
tools/tz/tz.go:29
↓ 5 callersFunctionintToString
(i int64)
util/strconv.go:47
↓ 4 callersFunctionNewInt32Set
(items ...int32)
tools/collection/set.go:10
↓ 4 callersMethodpop
()
tools/sample/alias.go:24
↓ 3 callersMethodCloseEOF
(closeEvent interface{})
global_Interface/Interface_impl.go:18
↓ 3 callersMethodContains
(items ...int32)
tools/collection/set.go:34
↓ 3 callersFunctionError
(format string, a ...interface{})
log/log.go:143
↓ 3 callersMethodLen
()
util/map.go:76
↓ 3 callersFunctionMD5_LollipopGO
MD5 实现 :主要是针对 字符串的加密
util/util.go:50
↓ 3 callersFunctionRelease
(format string, a ...interface{})
log/log.go:139
↓ 3 callersMethodSet
(key interface{}, value interface{})
util/map.go:37
↓ 3 callersMethodSize
()
tools/collection/set.go:44
↓ 3 callersFunctionbase64Decode
(src []byte)
network/websocket.go:126
↓ 3 callersMethodinit
()
util/map.go:12
↓ 3 callersMethodmvHead
将节点移动到链表最前面,在外围加锁
tools/mem/lru_cache.go:55
↓ 2 callersFunctionAddParamsToGetReq
添加参数到get请求
network/websocket.go:322
↓ 2 callersMethodAfterFunc
(d time.Duration, cb func())
timer/timer.go:50
↓ 2 callersFunctionC
计算组合结果
tools/num/num.go:94
↓ 2 callersFunctionDebug
(format string, a ...interface{})
log/log.go:135
↓ 2 callersMethodDetach
()
tools/mem/lru_cache.go:19
↓ 2 callersMethodGet
(key interface{})
util/map.go:26
↓ 2 callersFunctionIndiaTimezone
()
tools/tz/tz.go:23
↓ 2 callersFunctionNew
(strLevel string, pathname string, flag int)
log/log.go:34
↓ 2 callersFunctionPlayerSendToServer
(conn *websocket.Conn, data interface{})
network/websocket.go:190
↓ 2 callersFunctionRandInt
闭区间
tools/sample/rand.go:32
↓ 2 callersMethodUnmarshal
goroutine safe
leaf/processor.go:132
↓ 2 callersMethodUnsafeRange
(f func(interface{}, interface{}))
util/map.go:82
↓ 2 callersFunctioncheckError
(err error)
network/rpc.go:94
↓ 2 callersFunctionfloatToString
(f float64)
util/strconv.go:44
↓ 2 callersFunctiongcd
(a, b int)
tools/num/num.go:78
↓ 2 callersMethodpush
(i int)
tools/sample/alias.go:20
↓ 1 callersMethodCb
()
timer/timer.go:31
↓ 1 callersMethodCloseEOFPB
(closeEvent interface{})
global_Interface/Interface_impl.go:25
↓ 1 callersFunctionCopy
Copy creates a deep copy of whatever is passed to it and returns the copy in an interface{}. The returned value will need to be asserted to the corre
tools/deepcopy/reflect.go:28
↓ 1 callersMethodDebug
(format string, a ...interface{})
log/log.go:110
↓ 1 callersMethodDeepCopy
()
tools/deepcopy/reflect.go:22
↓ 1 callersFunctionDeleteInt32ByIndex
(array []int32, index int)
tools/collection/array.go:46
↓ 1 callersFunctionDeleteInt32s
会删去所有相等的元素
tools/collection/array.go:20
↓ 1 callersFunctionDynamicSchedule
可以动态修改延迟时间、可关闭的定时器
tools/tz/tz.go:64
↓ 1 callersFunctionExists
判断所给路径文件/文件夹是否存在
tools/fs/file.go:22
↓ 1 callersFunctionExport
It's dangerous to call the method on logging
log/log.go:129
↓ 1 callersMethodGet
(key string)
tools/mem/lru_cache.go:66
↓ 1 callersMethodGetArrayByIndex
(index int)
tools/jsonutils/array.go:164
↓ 1 callersMethodGetBoolByIndex
(index int)
tools/jsonutils/array.go:132
↓ 1 callersFunctionGetElementIndexInt32
(array []int32, elem int32)
tools/collection/array.go:50
↓ 1 callersMethodGetFloat64ByIndex
(index int)
tools/jsonutils/array.go:100
↓ 1 callersFunctionGetLastModifyTime
(path string)
tools/fs/file.go:7
↓ 1 callersFunctionGetNowTsMs
()
tools/tz/tz.go:47
↓ 1 callersMethodGetObjectByIndex
(index int)
tools/jsonutils/array.go:148
↓ 1 callersMethodGetStringByIndex
(index int)
tools/jsonutils/array.go:116
↓ 1 callersMethodHandleCltProtocolPB
(ProtocolData []byte, Connection interface{})
global_Interface/Interface_impl.go:22
↓ 1 callersFunctionInitConnectionKCP
初始化网络
network/kcp.go:25
↓ 1 callersFunctionInitConnectionPB
(wsConn *websocket.Conn)
network/websocketPB.go:28
↓ 1 callersFunctionInitConnectionRPC
(Addr string)
network/rpc.go:20
↓ 1 callersFunctionInitConnectionTCP
初始化网络
network/tcp.go:43
↓ 1 callersFunctionIsDir
判断所给路径是否为文件夹
tools/fs/file.go:34
↓ 1 callersFunctionNewDispatcher
(l int)
timer/timer.go:25
↓ 1 callersMethodRange
goroutine safe
leaf/processor.go:181
↓ 1 callersMethodRegister
It's dangerous to call the method on routing or marshaling (unmarshaling)
leaf/processor.go:52
↓ 1 callersMethodRelease
(format string, a ...interface{})
log/log.go:114
↓ 1 callersMethodReloadConfig
(path string, init bool)
tools/fs/config.go:9
↓ 1 callersFunctionShuffle
(array []int)
tools/sample/rand.go:44
↓ 1 callersFunctionShuffleInt32
(array []int32)
tools/sample/rand.go:51
↓ 1 callersMethodStop
()
timer/timer.go:20
↓ 1 callersFunctionSumInt
(array []int)
tools/collection/array.go:11
↓ 1 callersFunctionSumInt32s
(array []int32)
tools/collection/array.go:3
↓ 1 callersFunctionTsToDateStr
(ts int64)
tools/tz/tz.go:12
↓ 1 callersFunctionTsToDateTimeStr
(ts int64)
tools/tz/tz.go:15
↓ 1 callersFunctionUTCToLocal
如果想要将本地时间转换成UTC,直接用UTC()方法即可 如果解析字符串,对应的是本地时间且字符串中没有时区,使用time.ParseInLocation(ChinaTimeZone())
tools/tz/tz.go:38
↓ 1 callersMethodUnsafeDel
(key interface{})
util/map.go:57
↓ 1 callersMethodUnsafeGet
(key interface{})
util/map.go:18
↓ 1 callersMethodUnsafeLen
()
util/map.go:68
↓ 1 callersMethodUnsafeSet
(key interface{}, value interface{})
util/map.go:32
↓ 1 callersFunctionboolToString
(b bool)
util/strconv.go:50
↓ 1 callersFunctioncopyRecursive
copyRecursive does the actual copying of the interface. It currently has limited support for what it can handle. Add as needed.
tools/deepcopy/reflect.go:48
↓ 1 callersFunctioncreateClientConn
(Addr string)
network/rpc.go:29
↓ 1 callersFunctiondiv
div : divide by gcd
tools/num/num.go:86
↓ 1 callersFunctionfilterChackFor
递归调用检查屏蔽字
tools/DFA/dfa.go:93
↓ 1 callersFunctionfilterFor
(li map[rune]*FilterModel, rowr []rune, index int)
tools/DFA/dfa.go:52
↓ 1 callersFunctiongetUrlPath
获取url路径
network/websocket.go:337
↓ 1 callersMethodhandleLoop
()
network/websocket.go:80
↓ 1 callersMethodhandleLoop
()
network/kcp.go:62
↓ 1 callersMethodhandleLoop
()
network/tcp.go:80
↓ 1 callersMethodhandleLoopPB
()
network/websocketPB.go:57
↓ 1 callersFunctionnewGameProcessor
()
leaf/processor.go:38
↓ 1 callersFunctionnewLogger
()
tools/database/gorm.go:25
↓ 1 callersMethodreadLoop
20240710
network/websocket.go:49
↓ 1 callersMethodreadLoop
()
network/kcp.go:39
↓ 1 callersMethodreadLoop
()
network/tcp.go:57
↓ 1 callersMethodreadLoopPB
()
network/websocketPB.go:39
↓ 1 callersMethodrmTail
删除尾部节点,外围加锁
tools/mem/lru_cache.go:78
next →1–100 of 247, ranked by callers