MCPcopy Create free account

hub / github.com/Mrs4s/MiraiGo / functions

Functions1,009 in github.com/Mrs4s/MiraiGo

↓ 161 callersMethodWriteInt64
(n int64, tag byte)
binary/jce/writer.go:81
↓ 139 callersFunctionUint32
Uint32 stores v in a new uint32 value and returns a pointer to it.
internal/proto/wrapper.go:61
↓ 135 callersFunctionSome
(val T)
internal/proto/wrapper.go:37
↓ 131 callersMethodDevice
()
client/client.go:222
↓ 119 callersMethodWriteUInt16
(v uint16)
binary/writer.go:63
↓ 112 callersMethodWriteUInt32
(v uint32)
binary/writer.go:69
↓ 103 callersFunctionInt32
Int32 stores v in a new int32 value and returns a pointer to it.
internal/proto/wrapper.go:49
↓ 94 callersMethodwriteHead
(t, tag byte)
binary/jce/writer.go:17
↓ 92 callersMethodWriteByte
(b, tag byte)
binary/jce/writer.go:26
↓ 89 callersMethoduniPacket
go:noinline
client/packet.go:20
↓ 87 callersMethodsendAndWait
sendAndWait 向服务器发送一个数据包, 并等待返回
client/network.go:212
↓ 84 callersFunctionMarshal
(m Message)
internal/proto/wrapper.go:14
↓ 79 callersMethodWriteInt32
(n int32, tag byte)
binary/jce/writer.go:61
↓ 78 callersMethodWrite
(b []byte)
binary/writer.go:50
↓ 75 callersFunctionUnmarshal
(b []byte, m Message)
internal/proto/wrapper.go:33
↓ 75 callersMethodversion
()
client/client.go:218
↓ 73 callersMethodWriteString
(v string)
binary/writer.go:81
↓ 70 callersFunctionNewWriterF
(f func(writer *Writer))
binary/writer.go:12
↓ 56 callersMethodWriteByte
(b byte)
binary/writer.go:59
↓ 55 callersFunctionNewJceReader
(data []byte)
binary/jce/reader.go:20
↓ 55 callersMethodWriteString
(s string, tag byte)
binary/jce/writer.go:119
↓ 54 callersFunctionUint64
Uint64 stores v in a new uint64 value and returns a pointer to it.
internal/proto/wrapper.go:64
↓ 51 callersMethodReadInt32
(tag int)
binary/jce/reader.go:197
↓ 50 callersFunctionNewJceWriter
()
binary/jce/writer.go:13
↓ 48 callersMethodReadInt64
(tag int)
binary/jce/reader.go:216
↓ 48 callersMethoddispatch
(client *QQClient, event T)
client/events.go:31
↓ 47 callersFunctionString
String stores v in a new string value and returns a pointer to it.
internal/proto/wrapper.go:67
↓ 46 callersMethodBytes
()
binary/jce/writer.go:208
↓ 44 callersMethodWriteBytesShort
(data []byte)
binary/writer.go:109
↓ 43 callersMethodWriteBytes
(l []byte, tag byte)
binary/jce/writer.go:134
↓ 38 callersMethodFillUInt16
()
binary/writer.go:28
↓ 38 callersMethodReadByte
()
binary/reader.go:29
↓ 38 callersMethodWrite
(buf []byte)
client/internal/network/conn.go:50
↓ 38 callersMethodWriteUInt16At
(pos int, v uint16)
binary/writer.go:34
↓ 37 callersMethodLen
()
internal/generator/c2c_switcher/c2c_switcher.go:46
↓ 37 callersMethoderror
(msg string, args ...any)
client/log.go:27
↓ 33 callersMethodReadBytes
(len int)
binary/reader.go:37
↓ 33 callersMethodReadInt32
()
binary/reader.go:58
↓ 32 callersFunctionNewReader
--- ByteStream reader ---
binary/reader.go:22
↓ 32 callersMethodReadString
(tag int)
binary/jce/reader.go:269
↓ 29 callersMethodreadHead
()
binary/jce/reader.go:24
↓ 28 callersMethodAdd
Add - add key/value in cache
utils/ttl.go:81
↓ 28 callersMethoduvarint
(v uint64)
internal/proto/dynamic.go:105
↓ 26 callersMethodBytes
()
binary/writer.go:126
↓ 25 callersMethodReadUInt16
()
binary/reader.go:52
↓ 25 callersMethoddebug
(msg string, args ...any)
client/log.go:33
↓ 25 callersMethodskipToTag
(tag int)
binary/jce/reader.go:143
↓ 23 callersFunctionB2S
B2S converts byte slice to a string without memory allocation.
utils/string.go:52
↓ 23 callersFunctionunpackOIDBPackage
(payload []byte, rsp proto.Message)
client/global.go:348
↓ 22 callersMethodsendPacket
sendPacket 向服务器发送一个数据包
client/network.go:255
↓ 21 callersMethodReadBytesShort
()
binary/reader.go:48
↓ 21 callersMethodnextSeq
()
client/client.go:766
↓ 20 callersMethodAppend
(b ...[]byte)
client/internal/oicq/oicq.go:147
↓ 20 callersMethodsendAndWaitDynamic
sendAndWaitDynamic 发送数据包并返回需要解析的 response
client/network.go:296
↓ 19 callersMethodRead
Read impls io.Reader
utils/http.go:107
↓ 19 callersMethodReadByte
(tag int)
binary/jce/reader.go:161
↓ 19 callersMethodToBytes
()
binary/jce/structs.go:4
↓ 18 callersFunctionNewTeaCipher
go:nosplit
binary/tea.go:134
↓ 18 callersMethodReadBytes
(tag int)
binary/jce/reader.go:284
↓ 18 callersMethodpackOIDBPackageProto
(cmd, serviceType int32, msg proto.Message)
client/global.go:343
↓ 16 callersMethodFindMember
(uin int64)
client/group_info.go:320
↓ 16 callersFunctionInt64
Int64 stores v in a new int64 value and returns a pointer to it.
internal/proto/wrapper.go:52
↓ 16 callersMethodReadFrom
(r *JceReader)
binary/jce/structs.go:538
↓ 16 callersMethodToBytes
()
binary/jce/structs_tobytes.go:5
↓ 16 callersMethodToBytes
()
binary/jce/structs_tobytes.go:20
↓ 16 callersFunctionpackUniRequestData
(data []byte)
client/global.go:288
↓ 16 callersMethodskipToStructEnd
()
binary/jce/reader.go:153
↓ 15 callersMethodDecrypt
(data []byte)
binary/tea.go:33
↓ 15 callersMethodLen
()
binary/reader.go:93
↓ 15 callersMethodMarshal
()
client/internal/oicq/oicq.go:134
↓ 15 callersMethodPackPacket
PackPacket packs a packet.
client/internal/network/transport.go:187
↓ 15 callersMethodReadFrom
(*JceReader)
binary/jce/structs.go:5
↓ 14 callersMethodGet
Get - return value from cache
utils/ttl.go:58
↓ 14 callersFunctionNewText
(s string)
message/elements.go:139
↓ 14 callersFunctionS2B
S2B converts string to a byte slice without memory allocation. Note it may break if string and/or slice header will change in the future go versions.
utils/string.go:64
↓ 14 callersMethodString
()
message/source.go:13
↓ 14 callersMethodpackOIDBPackage
(cmd, serviceType int32, body []byte)
client/global.go:326
↓ 14 callersMethodskipHead
()
binary/jce/reader.go:43
↓ 13 callersMethodClose
()
client/internal/network/conn.go:86
↓ 13 callersMethodExists
(key int)
client/internal/tlv/decoder.go:18
↓ 13 callersMethodUnmarshal
(data []byte)
client/internal/oicq/oicq.go:97
↓ 13 callersMethodWriteTlvLimitedSize
(data []byte, limit int)
binary/writer.go:114
↓ 12 callersFunctionOpenWriterF
OpenWriterF must call func cl to close
binary/writer.go:22
↓ 12 callersMethodReadFrom
(r *JceReader)
binary/jce/structs.go:557
↓ 12 callersMethodSeek
(offset int64, whence int)
utils/sys.go:33
↓ 12 callersMethodType
()
message/message.go:73
↓ 12 callersMethodWriteInt16
(n int16, tag byte)
binary/jce/writer.go:44
↓ 12 callersMethodpackOIDBPackageDynamically
(cmd, serviceType int32, msg proto.DynamicMessage)
client/global.go:339
↓ 11 callersMethodDisconnect
Disconnect 中断连接, 不释放资源
client/network.go:206
↓ 11 callersMethodEncode
()
internal/proto/dynamic.go:22
↓ 11 callersMethodFindGroup
(code int64)
client/client.go:635
↓ 11 callersMethodString
()
client/loginerror_string.go:31
↓ 10 callersMethodEncrypt
Encrypt tea 加密 http://bbs.chinaunix.net/thread-583468-1-1.html 感谢xichen大佬对TEA的解释
binary/tea.go:13
↓ 9 callersFunctionRandomStringRange
(length int, str string)
utils/string.go:15
↓ 9 callersMethodReset
()
binary/writer.go:130
↓ 9 callersFunctionSelectWriter
SelectWriter 从池中取出一个 Writer
binary/pool.go:17
↓ 9 callersFunctionT116
(miscBitmap, subSigMap uint32)
internal/tlv/t116.go:5
↓ 9 callersFunctionT8
(localId uint32)
internal/tlv/t8.go:5
↓ 9 callersMethodWait
Wait 如果不是第一个上传则等待。
utils/waiter.go:20
↓ 8 callersFunctionBool
Bool stores v in a new bool value and returns a pointer to it.
internal/proto/wrapper.go:46
next →1–100 of 1,009, ranked by callers