MCPcopy Create free account

hub / github.com/Isites/go-coder / functions

Functions337 in github.com/Isites/go-coder

↓ 18 callersMethodInfo
Info ..
http2/tls/handsh/keylog.go:18
↓ 14 callersMethodWrite
Write ..
http2/tls/handsh/conn.go:51
↓ 9 callersMethodGet
(key string)
strs/lru.go:36
↓ 9 callersFunctionreadUint16LengthPrefixed
readUint16LengthPrefixed acts like s.ReadUint16LengthPrefixed, but targets a []byte instead of a cryptobyte.String.
http2/tls/handsh/msg.go:1431
↓ 9 callersFunctionreadUint8LengthPrefixed
readUint8LengthPrefixed acts like s.ReadUint8LengthPrefixed, but targets a []byte instead of a cryptobyte.String.
http2/tls/handsh/msg.go:1425
↓ 8 callersMethodString
()
http2/tls/handsh/alert.go:85
↓ 8 callersMethodSum
(b []byte)
http2/tls/handsh/chipher_suites.go:125
↓ 8 callersMethodsetEtTime
设置结束时间
httptrace/trace.go:66
↓ 8 callersMethodsetStTime
设置开始时间
httptrace/trace.go:54
↓ 7 callersMethodSize
Size returns the length of the MAC.
http2/tls/handsh/raw_reader.go:29
↓ 6 callersFunctionIsLocalIP
IsLocalIP 判断是否是内网ip
ssrf/main.go:25
↓ 6 callersMethodUnmarshal
(dAtA []byte)
pbjson/p3p2/test3.pb.go:185
↓ 6 callersMethodderiveSecret
deriveSecret implements Derive-Secret from RFC 8446, Section 7.1.
http2/tls/handsh/cipher_suites_tls13.go:68
↓ 6 callersFunctionstrs2cmVs
(strs []string)
strs/version_test.go:147
↓ 6 callersFunctionzeroRune
判断是否全为0
strs/version_test.go:15
↓ 5 callersMethodError
()
http2/tls/handsh/alert.go:93
↓ 5 callersMethodMarshal
()
pbjson/p3p2/test3.pb.go:105
↓ 5 callersMethodReset
()
http2/tls/handsh/chipher_suites.go:123
↓ 5 callersFunctioncurveForCurveID
(id tls.CurveID)
http2/tls/handsh/key_schedule.go:81
↓ 5 callersFunctionsovTest
(x uint64)
pbjson/oneof/test.pb.go:322
↓ 4 callersMethodClose
Close ..
http2/tls/handsh/conn.go:69
↓ 4 callersMethodSize
()
pbjson/oneof/test.pb.go:70
↓ 4 callersMethodString
()
pbjson/p3p2/test3.pb.go:35
↓ 4 callersMethodWrite
(p []byte)
http2/tls/handsh/chipher_suites.go:124
↓ 4 callersMethodparse
交给指定reader读取数据
http2/tls/handsh/raw_reader.go:58
↓ 4 callersMethodsetTrafficSecret
(suite *cipherSuiteTLS13, secret []byte)
http2/tls/handsh/raw_reader.go:397
↓ 4 callersFunctionsovTest3
(x uint64)
pbjson/p3p2/test3.pb.go:179
↓ 3 callersFunctionCompareVersion
CompareVersion 比较两个appversion的大小 return 0 means ver1 == ver2 return 1 means ver1 > ver2 return -1 means ver1 < ver2
strs/version_test.go:94
↓ 3 callersFunctionCompareVersionNoSplit
(ver1, ver2 string)
strs/version_test.go:24
↓ 3 callersFunctionCompareVersionWithCache3
(ver1, ver2 string)
strs/version_test.go:296
↓ 3 callersMethodCurveID
()
http2/tls/handsh/key_schedule.go:27
↓ 3 callersMethodErr
Err ..
http2/tls/handsh/keylog.go:23
↓ 3 callersMethodMarshalToSizedBuffer
(dAtA []byte)
pbjson/p3p2/test3.pb.go:120
↓ 3 callersMethodMarshalToSizedBuffer
(dAtA []byte)
pbjson/p3p2/test2.pb.go:104
↓ 3 callersMethodMarshalToSizedBuffer
(dAtA []byte)
pbjson/oneof/test.pb.go:191
↓ 3 callersMethodMarshalToSizedBuffer
(dAtA []byte)
pbjson/oneof/test.pb.go:239
↓ 3 callersMethodSize
()
pbjson/p3p2/test3.pb.go:160
↓ 3 callersMethodSize
()
pbjson/p3p2/test2.pb.go:132
↓ 3 callersMethodSize
()
pbjson/oneof/test.pb.go:279
↓ 3 callersMethodSize
()
pbjson/oneof/test.pb.go:303
↓ 3 callersFunctionSumNumbers
SumNumbers sums the values of map m. Its supports both integers and floats as map values.
generics/main.go:79
↓ 3 callersFunctionencodeVarintTest
(dAtA []byte, offset int, v uint64)
pbjson/oneof/test.pb.go:268
↓ 3 callersMethodexpandLabel
expandLabel implements HKDF-Expand-Label from RFC 8446, Section 7.1.
http2/tls/handsh/cipher_suites_tls13.go:41
↓ 3 callersMethodextract
extract implements HKDF-Extract with the cipher suite hash.
http2/tls/handsh/cipher_suites_tls13.go:60
↓ 3 callersMethodmarshal
()
http2/tls/handsh/msg.go:33
↓ 3 callersMethodp1
()
receiver/main.go:26
↓ 3 callersFunctionpHash
pHash implements the P_hash function, as defined in RFC 4346, Section 5.
http2/tls/handsh/prf.go:65
↓ 3 callersFunctionreadAndClose
(resp *http.Response, err error)
ssrf/main.go:14
↓ 3 callersFunctionreadUint24LengthPrefixed
(s *cryptobyte.String, out *[]byte)
http2/tls/handsh/msg.go:1445
↓ 3 callersFunctionsovTest2
(x uint64)
pbjson/p3p2/test2.pb.go:147
↓ 2 callersMethodBlockSize
()
http2/tls/handsh/chipher_suites.go:122
↓ 2 callersFunctionGet
Get 得到缓存中的值
strs/cache.go:33
↓ 2 callersMethodMarshal
()
pbjson/oneof/test.pb.go:224
↓ 2 callersMethodParse
Parse 交给指定reader读取数据
http2/tls/handsh/parse.go:45
↓ 2 callersFunctionSet
Set 设置缓存
strs/cache.go:27
↓ 2 callersMethodSet
(key string, v interface{})
strs/lru.go:67
↓ 2 callersMethodSharedKey
(peerPublicKey []byte)
http2/tls/handsh/key_schedule.go:29
↓ 2 callersFunctionSumIntsOrFloats
SumIntsOrFloats sums the values of map m. It supports both floats and integers as map values.
generics/main.go:69
↓ 2 callersFunctionaddBytesWithLength
(b *cryptobyte.Builder, v []byte, n int)
http2/tls/handsh/msg.go:1435
↓ 2 callersFunctioncrand
(c *tls.Config)
http2/tls/handsh/common.go:116
↓ 2 callersFunctiondiffPart
(i int, rv []rune)
strs/version_test.go:77
↓ 2 callersFunctionencodeVarintTest3
(dAtA []byte, offset int, v uint64)
pbjson/p3p2/test3.pb.go:149
↓ 2 callersFunctionfile_test_proto_rawDescGZIP
()
pbjson/wrapper/test.pb.go:154
↓ 2 callersFunctionfile_testp3_proto_rawDescGZIP
()
pbjson/p3optional/testp3.pb.go:151
↓ 2 callersFunctionfloat2Int
(f float64)
money/main.go:14
↓ 2 callersFunctiongenerateECDHEParameters
(rand io.Reader, curveID tls.CurveID)
http2/tls/handsh/key_schedule.go:94
↓ 2 callersMethodp2
()
receiver/main.go:30
↓ 2 callersMethodprepareCipherSpec
(version uint16, cipher interface{}, mac macFunction)
http2/tls/handsh/raw_reader.go:406
↓ 2 callersFunctionprf12
prf12 implements the TLS 1.2 pseudo-random function, as defined in RFC 5246, Section 5.
http2/tls/handsh/prf.go:86
↓ 2 callersFunctionprfForVersion
(version uint16, suite *cipherSuite)
http2/tls/handsh/prf.go:108
↓ 2 callersMethodset1
(s string)
receiver/main.go:8
↓ 2 callersMethodset2
(s string)
receiver/main.go:9
↓ 2 callersFunctionsha1Hash
sha1Hash calculates a SHA1 hash over the given byte slices.
http2/tls/handsh/key_agreement.go:40
↓ 2 callersFunctionskipTest
(dAtA []byte)
pbjson/oneof/test.pb.go:511
↓ 1 callersFunctionConnectDone
ConnectDone 建立连接结束,可能会被多次调用
httptrace/trace.go:174
↓ 1 callersFunctionConnectStart
ConnectStart 建立连接,可能会被多次调用
httptrace/trace.go:167
↓ 1 callersMethodConstantTimeSum
(b []byte)
http2/tls/handsh/chipher_suites.go:112
↓ 1 callersFunctionDNSDone
DNSDone dns查找结束
httptrace/trace.go:143
↓ 1 callersFunctionDNSStart
DNSStart dns查找开始
httptrace/trace.go:136
↓ 1 callersMethodData
()
strs/cache.go:18
↓ 1 callersMethodEnd
End 结束统计, 并输出相关信息
httptrace/trace.go:78
↓ 1 callersFunctionGetConn
GetConn 开始获取连接
httptrace/trace.go:150
↓ 1 callersMethodGetShow
()
pbjson/oneof/test.pb.go:79
↓ 1 callersFunctionGotConn
GetConn 获取连接到连接(包含连接从连接池中获取到连接) 如果是非服用连接则包含DNS解析时间和连接建立时间以及tls握手时间
httptrace/trace.go:160
↓ 1 callersFunctionGotFirstResponseByte
GotFirstResponseByte 当读取到响应时
httptrace/trace.go:220
↓ 1 callersMethodIsExpired
IsExpired 判断缓存内容是否到期
strs/cache.go:14
↓ 1 callersMethodLastCheck
LastCheck 检查数据是否解析完毕
http2/tls/handsh/parse.go:54
↓ 1 callersMethodMAC
MAC appends the MAC of (seq, header, data) to out. The extra data is fed into the MAC after obtaining the result to normalize timing. The result is on
http2/tls/handsh/raw_reader.go:33
↓ 1 callersMethodMarshal
()
pbjson/p3p2/test2.pb.go:89
↓ 1 callersMethodMarshal
(b *cryptobyte.Builder)
http2/tls/handsh/msg.go:1419
↓ 1 callersMethodMarshalTo
([]byte)
pbjson/oneof/test.pb.go:69
↓ 1 callersMethodMarshalToSizedBuffer
(dAtA []byte)
pbjson/oneof/test.pb.go:217
↓ 1 callersFunctionNew
传入请求名称
httptrace/trace.go:112
↓ 1 callersFunctionNewLRU
(size int64)
strs/lru.go:21
↓ 1 callersFunctionNewParser
NewParser 。。
http2/tls/handsh/parse.go:28
↓ 1 callersMethodNonceSize
()
http2/tls/handsh/chipher_suites.go:71
↓ 1 callersMethodOpen
(out, nonce, ciphertext, additionalData []byte)
http2/tls/handsh/chipher_suites.go:80
↓ 1 callersMethodOverhead
()
http2/tls/handsh/chipher_suites.go:72
↓ 1 callersMethodPublicKey
()
http2/tls/handsh/key_schedule.go:28
↓ 1 callersMethodRead
Read 这里为了方便调试返回固定的随机数
http2/tls/handsh/rand.go:13
next →1–100 of 337, ranked by callers