Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bobohume/gonet
/ functions
Functions
2,429 in github.com/bobohume/gonet
⨍
Functions
2,429
◇
Types & classes
400
↓ 149 callers
Method
WriteString
(string)
base/bitStream.go:55
↓ 134 callers
Method
Printf
(string, ...interface{})
base/log.go:39
↓ 106 callers
Method
Put
Put inserts node into the tree. Key should adhere to the comparator's type assertion, otherwise method panics.
base/maps/maps.go:65
↓ 73 callers
Method
Println
(...interface{})
base/log.go:37
↓ 71 callers
Method
String
(key string)
orm/db.go:44
↓ 69 callers
Function
DtVcopy
Performs a vector copy. @param[out] dest The result. [(x, y, z)] @param[in] a The vector to copy. [(x, y, z)]
server/game/nav/NavCommon.go:349
↓ 48 callers
Function
DtAssert
(x bool)
server/game/nav/NavCommon.go:1017
↓ 43 callers
Function
Idx
(i int, j int)
server/cm/lmath/matrix.go:66
↓ 42 callers
Method
WriteInt
(value int, bitCount int)
base/bitStream.go:209
↓ 41 callers
Method
SendMsg
(head RpcHead, funcName string, params ...interface{})
rpc/type.go:11
↓ 39 callers
Function
parsesql
(sqlData *SqlData, p *Properties, op *Op, val string)
orm/parseSql.go:12
↓ 34 callers
Function
Int
-----------string strconv type-------------//
base/common.go:240
↓ 34 callers
Method
Len
()
server/cm/lmath/point3f.go:28
↓ 34 callers
Method
Push
(x T)
base/heap/heap.go:33
↓ 34 callers
Function
all
all returns all bits within the given bounds. (plus the star bit)
base/cron/cron.go:413
↓ 33 callers
Method
Pop
add x as element Len()
base/heap/heap.go:34
↓ 31 callers
Method
Close
()
network/Isocket.go:71
↓ 31 callers
Function
DtStatusFailed
Returns true of status is failure.
server/game/nav/NavStatus.go:48
↓ 28 callers
Method
Get
(key string)
base/ini/config.go:45
↓ 28 callers
Method
GetTileAndPolyByRefUnsafe
Returns the tile and polygon for the specified polygon reference. @param[in] ref A known valid reference for a polygon. @param[out] tile The tile co
server/game/nav/NavMeshI.go:1175
↓ 28 callers
Method
Id
()
rpc/type.go:13
↓ 27 callers
Method
ToF
()
server/cm/lmath/matrix.go:62
↓ 26 callers
Method
Add
(string)
base/uuid.go:56
↓ 26 callers
Method
Int
(key string)
orm/db.go:45
↓ 24 callers
Method
ReadInt
(int)
base/bitStream.go:52
↓ 24 callers
Method
ReadInt
(bitCount int)
base/bitStream.go:213
↓ 24 callers
Method
Start
()
actor/Actor.go:59
↓ 23 callers
Method
Do
goroutine safe
orm/mongodb/mongodb.go:124
↓ 22 callers
Function
DtVsub
Performs a vector subtraction. (@p v1 - @p v2) @param[out] dest The result vector. [(x, y, z)] @param[in] v1 The base vector. [(x, y, z)] @param[in]
server/game/nav/NavCommon.go:301
↓ 22 callers
Method
Get
(key string)
orm/db.go:43
↓ 22 callers
Function
RandI
(i T, n T)
base/radom.go:19
↓ 22 callers
Method
StopTimer
(int64)
actor/Actor.go:64
↓ 21 callers
Function
nodeColor
(node *Node[K, V])
base/maps/maps.go:523
↓ 21 callers
Function
splitArray
(val string)
tool/data/database.go:480
↓ 20 callers
Function
DtSqrFloat32
Returns the square of the value. @param[in] a The value. @return The square of the value.
server/game/nav/NavCommon.go:176
↓ 20 callers
Method
Init
()
server/game/tile/Astar.go:36
↓ 20 callers
Method
Iterator
Iterator returns a stateful iterator whose elements are key/value pairs.
base/maps/iterator.go:17
↓ 20 callers
Function
Marshal
rpc Marshal
rpc/encode.go:11
↓ 20 callers
Method
Remove
(elt string)
base/hashRing.go:29
↓ 19 callers
Method
Clear
()
server/cm/BaseData.go:10
↓ 19 callers
Method
Fatalf
(string, ...interface{})
base/log.go:42
↓ 19 callers
Method
Int64
(key string)
orm/db.go:46
↓ 19 callers
Method
PassFilter
(_ DtPolyRef, _ *DtMeshTile, poly *DtPoly)
server/game/nav/NavMeshQueryI.go:70
↓ 19 callers
Method
RegisterActor
(ac IActor, params ...OpOption)
actor/ActorMgr.go:39
↓ 18 callers
Function
DtVlerp
Performs a linear interpolation between two vectors. (@p v1 toward @p v2) @param[out] dest The result vector. [(x, y, x)] @param[in] v1 The starting
server/game/nav/NavCommon.go:281
↓ 17 callers
Method
GetSizeX
()
server/game/tile/tile.go:121
↓ 17 callers
Method
Next
Next returns the next activation time, later than the given time. Next is invoked initially, and then each time the job is run.
base/cron/cron.go:67
↓ 17 callers
Method
Next
()
orm/db.go:62
↓ 17 callers
Method
Set
(index int, flag bool)
base/bitMap.go:10
↓ 16 callers
Function
ClampI
(val int, low int, high int)
server/cm/lmath/cmath.go:545
↓ 16 callers
Function
DtClampFloat32
Clamps the value to the specified range. @param[in] v The value to clamp. @param[in] mn The minimum permitted return value. @param[in] mx The maxim
server/game/nav/NavCommon.go:187
↓ 16 callers
Method
Empty
()
base/maps/maps.go:36
↓ 16 callers
Method
GetNode
(id DtPolyRef, state uint8)
server/game/nav/NavNodeI.go:104
↓ 16 callers
Method
GetNodeAtIdx
(idx uint32)
server/game/nav/NavNode.go:74
↓ 16 callers
Method
GetSizeY
()
server/game/tile/tile.go:125
↓ 16 callers
Method
IsValidPolyRef
Returns true if the polygon reference is valid and passes the filter restrictions. @param[in] ref The polygon reference to check. @param[in] filte
server/game/nav/NavMeshQueryI.go:3688
↓ 16 callers
Method
Write
(LG_TYPE)
base/log.go:35
↓ 15 callers
Function
DtAlign4
(x int)
server/game/nav/NavCommon.go:871
↓ 15 callers
Function
IFAssert
(x bool, y string)
base/common.go:64
↓ 15 callers
Method
Row
()
orm/db.go:63
↓ 15 callers
Function
TraceCode
输出错误,跟踪代码
base/ErrorType.go:16
↓ 14 callers
Method
GetType
()
base/betree/BaseNode.go:28
↓ 14 callers
Method
Init
()
base/betree/BaseNode.go:27
↓ 14 callers
Method
PushBack
PushBack appends an element to the back of the queue. Implements FIFO when elements are removed with PopFront, and LIFO when elements are removed with
base/vector/vector.go:90
↓ 14 callers
Method
Send
(head rpc.RpcHead, packet rpc.Packet)
actor/Actor.go:61
↓ 14 callers
Function
file_game_proto_rawDescGZIP
()
server/message/game.pb.go:1118
↓ 13 callers
Function
Assert
(x bool, y string)
base/common.go:31
↓ 13 callers
Method
Create
(info *rpc.MailBox)
base/cluster/et/mailbox.go:54
↓ 13 callers
Method
Fatal
(...interface{})
base/log.go:41
↓ 13 callers
Method
GetRpcHead
(ctx context.Context)
actor/Actor.go:67
↓ 13 callers
Method
Init
(string)
server/db/DdServer.go:20
↓ 13 callers
Method
Key
Key returns the current element's key. Does not modify the state of the iterator.
base/maps/iterator.go:114
↓ 13 callers
Method
ToF
()
server/cm/lmath/matrix.go:355
↓ 12 callers
Function
DtVdist
Returns the distance between two points. @param[in] v1 A point. [(x, y, z)] @param[in] v2 A point. [(x, y, z)] @return The distance between the two
server/game/nav/NavCommon.go:373
↓ 12 callers
Method
GetData
**************************** 格式: 头文件: 1、总记录数(int) 2、总字段数(int) 字段格式: 1、字段长度(int) 2、字读数据类型(int->2,string->1,enum->3,float->4) 3、字段内容(int,string)
base/datafile.go:132
↓ 12 callers
Method
GetPolyRefBase
Gets the polygon reference for the tile's base polygon. @param[in] tile The tile. @return The polygon reference for the base polygon in the specified
server/game/nav/NavMeshI.go:1338
↓ 12 callers
Method
IsZero
()
server/cm/lmath/point3f.go:27
↓ 12 callers
Function
NewBitStream
(buf []byte, nLen int)
base/bitStream.go:342
↓ 12 callers
Function
RegisterPacket
(packet proto.Message, funcName string, opts ...OpOption)
server/message/Ipacket.go:86
↓ 11 callers
Function
DtStatusSucceed
Returns true of status is success.
server/game/nav/NavStatus.go:43
↓ 11 callers
Method
GetNodeIdx
(node *DtNode)
server/game/nav/NavNode.go:66
↓ 11 callers
Method
GetTileAndPolyByRef
Gets the tile and polygon for the specified polygon reference. @param[in] ref The reference for the a polygon. @param[out] tile The tile containing
server/game/nav/NavMeshI.go:1146
↓ 11 callers
Method
Size
()
base/maps/maps.go:37
↓ 11 callers
Method
Value
Value returns the current element's value. Does not modify the state of the iterator.
base/maps/iterator.go:108
↓ 10 callers
Method
Floor
Floor Finds floor node of the input key, return the floor node or nil if no floor is found. Second return parameter is true if floor was found, otherw
base/maps/maps.go:209
↓ 10 callers
Function
GetAvlHeight
(tree *AvlBitTree)
base/Sort.go:279
↓ 10 callers
Method
Index
Index returns the index into the Deque of the first item satisfying f(item), or -1 if none do. If q is nil, then -1 is always returned. Search is line
base/vector/vector.go:221
↓ 10 callers
Method
Init
()
server/gm/chat/channel.go:12
↓ 10 callers
Function
LoadSql
(obj interface{}, params ...OpOption)
orm/loadSql.go:38
↓ 10 callers
Function
file_rpc3_proto_rawDescGZIP
()
rpc/rpc3.pb.go:794
↓ 10 callers
Function
parseStructSql
(obj interface{}, sqlData *SqlData, op *Op)
orm/parseSql.go:345
↓ 9 callers
Method
BindPacketFunc
(PacketFunc)
network/Isocket.go:83
↓ 9 callers
Method
DecodePolyId
Decodes a standard polygon reference. @note This function is generally meant for internal use only. @param[in] ref The polygon reference to decode.
server/game/nav/NavMeshI.go:78
↓ 9 callers
Function
DtDistancePtSegSqr2D
(pt, p, q []float32, t *float32)
server/game/nav/NavCommon.go:711
↓ 9 callers
Function
GeneratePosition
(x, y int)
server/game/tile/tile.go:72
↓ 9 callers
Method
GetCluster
()
server/gate/GateServer.go:24
↓ 9 callers
Method
GetCost
(pa, pb []float32, _ DtPolyRef, _ *DtMeshTile, _ *DtPoly, _ DtPolyRef, _ *DtMeshTile, curPoly *DtPoly, _ Dt
server/game/nav/NavMeshQueryI.go:74
↓ 9 callers
Method
GetGridFlag
(row, col int)
server/game/tile/tile.go:190
↓ 9 callers
Method
GetPos
()
server/message/game.pb.go:269
↓ 9 callers
Method
GetType
Gets the polygon type. (See: #dtPolyTypes)
server/game/nav/NavMeshI.go:51
next →
1–100 of 2,429, ranked by callers