MCPcopy Index your code

hub / github.com/ClashDotNetFramework/experimental-clash / functions

Functions1,333 in github.com/ClashDotNetFramework/experimental-clash

↓ 92 callersMethodError
()
transport/socks5/socks5.go:17
↓ 62 callersMethodRead
()
constant/provider/interface.go:31
↓ 61 callersMethodClose
()
constant/listener.go:6
↓ 51 callersMethodGet
()
component/pool/pool.go:71
↓ 49 callersMethodWrite
(b []byte)
transport/ssr/protocol/stream.go:37
↓ 48 callersMethodSearch
(metadata *C.Metadata)
rule/provider/provider.go:61
↓ 47 callersMethodString
()
tunnel/mode.go:58
↓ 42 callersMethodName
()
constant/adapters.go:79
↓ 39 callersMethodNow
()
tunnel/statistic/manager.go:53
↓ 39 callersFunctionPut
(buf []byte)
common/pool/pool.go:19
↓ 39 callersMethodResolve
Resolve return a absolute path or a relative path with homedir
constant/path.go:46
↓ 37 callersMethodClose
()
tunnel/statistic/tracker.go:15
↓ 36 callersMethodString
()
log/level.go:61
↓ 34 callersMethodWrite
(b []byte)
transport/vmess/conn.go:43
↓ 33 callersMethodError
Error return the first error (if all success return nil)
common/picker/picker.go:55
↓ 31 callersMethodDialOptions
DialOptions return []dialer.Option from struct
adapter/outbound/base.go:65
↓ 31 callersMethodType
()
constant/adapters.go:80
↓ 30 callersMethodDo
Do single.Do likes sync.singleFlight lint:ignore ST1008 it likes sync.singleFlight
common/singledo/singledo.go:29
↓ 30 callersFunctionGet
(size int)
common/pool/pool.go:15
↓ 28 callersMethodWrite
(b []byte)
transport/simple-obfs/tls.go:82
↓ 27 callersMethodLen
Len returns the number of items in this queue.
common/queue/queue.go:59
↓ 27 callersMethodSum
(b []byte)
common/murmur3/murmur32.go:44
↓ 26 callersFunctionInfoln
(format string, v ...interface{})
log/log.go:32
↓ 26 callersFunctionWarnln
(format string, v ...interface{})
log/log.go:38
↓ 25 callersMethodError
()
hub/route/errors.go:16
↓ 25 callersMethodNext
()
transport/ssr/tools/random.go:14
↓ 24 callersFunctioncleanContainer
(id string)
test/docker_test.go:36
↓ 24 callersFunctionstartContainer
(cfg *container.Config, hostCfg *container.HostConfig, name string)
test/docker_test.go:13
↓ 23 callersMethodSet
Set stores the interface{} representation of a response for a given key.
common/cache/lrucache.go:116
↓ 22 callersMethodAddIpCidrForString
(ipCidr string)
component/trie/ipcidr_trie.go:41
↓ 22 callersMethodJoin
(c tracker)
tunnel/statistic/manager.go:35
↓ 22 callersMethodSet
(key string, pc C.PacketConn)
component/nat/table.go:13
↓ 22 callersMethodWrite
(b []byte)
transport/gun/gun.go:121
↓ 20 callersFunctionDialContext
(ctx context.Context, network, address string, options ...Option)
component/dialer/dialer.go:11
↓ 20 callersMethodLookup
Lookup return a fake ip with host
component/fakeip/pool.go:36
↓ 20 callersFunctiontestSuit
(t *testing.T, proxy C.ProxyAdapter)
test/clash_test.go:561
↓ 18 callersMethodWrite
(b []byte)
transport/snell/pool.go:60
↓ 16 callersMethodGet
Get element in Cache, and drop when it expired
common/cache/cache.go:33
↓ 16 callersFunctiontcpKeepAlive
(c net.Conn)
adapter/outbound/util.go:14
↓ 15 callersMethodDecode
Decode transform a map[string]interface{} to a struct
common/structure/structure.go:32
↓ 15 callersMethodGet
Get a []byte from pool with most appropriate cap
common/pool/alloc.go:34
↓ 15 callersFunctionNewLRUCache
NewLRUCache creates an LruCache
common/cache/lrucache.go:68
↓ 15 callersMethodPut
(item interface{})
component/pool/pool.go:75
↓ 15 callersMethodgetChild
(s string)
component/trie/node.go:9
↓ 14 callersFunctionErrorln
(format string, v ...interface{})
log/log.go:44
↓ 14 callersMethodInsert
Insert adds a node to the trie. Support 1. www.example.com 2. *.example.com 3. subdomain.*.example.com 4. .example.com 5. +.example.com
component/trie/domain.go:54
↓ 14 callersFunctionNewConn
(c net.Conn, a C.ProxyAdapter)
adapter/outbound/base.go:117
↓ 14 callersMethodRemoteAddress
()
constant/metadata.go:79
↓ 14 callersMethodString
()
dns/util.go:67
↓ 14 callersMethodWrite
(b []byte)
transport/ssr/obfs/tls1.2_ticket_auth.go:87
↓ 13 callersFunctionAppendRandBytes
(b *bytes.Buffer, length int)
transport/ssr/tools/bufPool.go:9
↓ 13 callersFunctionGetBuffer
()
common/pool/buffer.go:10
↓ 13 callersFunctionPutBuffer
(buf *bytes.Buffer)
common/pool/buffer.go:14
↓ 13 callersMethodReset
()
transport/vless/config.pb.go:32
↓ 13 callersFunctionnewError
(msg string)
hub/route/errors.go:20
↓ 13 callersFunctionsafeConnClose
(c net.Conn, err error)
adapter/outbound/util.go:54
↓ 12 callersMethodAddr
()
constant/adapters.go:81
↓ 12 callersMethodDialContext
DialContext return a C.Conn with protocol which contains multiplexing-related reuse logic (if any)
constant/adapters.go:97
↓ 12 callersMethodExist
(ip net.IP)
component/fakeip/pool.go:19
↓ 12 callersFunctionNewVmess
(option VmessOption)
adapter/outbound/vmess.go:266
↓ 11 callersMethodCopy
Copy get the copy of queue.
common/queue/queue.go:50
↓ 11 callersFunctionDebugln
(format string, v ...interface{})
log/log.go:50
↓ 11 callersMethodIsContainForString
(ipString string)
component/trie/ipcidr_trie.go:74
↓ 11 callersFunctionNew
New returns a new, empty Trie.
component/trie/domain.go:127
↓ 11 callersMethodPath
()
constant/provider/interface.go:32
↓ 11 callersMethodStreamConn
(net.Conn)
transport/ssr/obfs/obfs.go:20
↓ 10 callersMethodAddress
()
constant/listener.go:5
↓ 10 callersMethodDecode
(dst, src *bytes.Buffer)
transport/ssr/protocol/protocol.go:25
↓ 10 callersMethodLocalAddr
LocalAddr returns the source IP/Port of packet
constant/adapters.go:183
↓ 10 callersFunctionNewSingle
(wait time.Duration)
common/singledo/singledo.go:62
↓ 10 callersFunctionWithSize
WithSize defined max length of LruCache
common/cache/lrucache.go:39
↓ 9 callersMethodDelete
(key string)
component/nat/table.go:30
↓ 9 callersMethodListenPacketContext
(ctx context.Context, metadata *Metadata, opts ...dialer.Option)
constant/adapters.go:98
↓ 9 callersFunctionNewDecoder
NewDecoder return a Decoder by Option
common/structure/structure.go:24
↓ 9 callersMethodPut
Put returns a []byte to pool for future use, which the cap must be exactly 2^n
common/pool/alloc.go:49
↓ 9 callersMethodRawAddress
()
constant/listener.go:4
↓ 9 callersMethodString
()
constant/rule.go:20
↓ 9 callersMethodSubscribe
()
common/observable/observable.go:36
↓ 9 callersMethodWait
()
common/batch/batch.go:69
↓ 9 callersFunctionkdf
(key []byte, path ...string)
transport/vmess/header.go:29
↓ 8 callersMethodAppendToChains
(adapter ProxyAdapter)
constant/adapters.go:41
↓ 8 callersMethodConfig
()
constant/path.go:41
↓ 8 callersFunctionHmacMD5
(key, data []byte)
transport/ssr/tools/crypto.go:11
↓ 8 callersMethodInitial
()
constant/provider/interface.go:61
↓ 8 callersFunctionNew
New return Pool instance
component/fakeip/pool.go:143
↓ 8 callersFunctionNewObservable
(any Iterable)
common/observable/observable.go:58
↓ 8 callersMethodReadFrom
(b []byte)
transport/ssr/protocol/packet.go:25
↓ 8 callersMethodReadFrom
(b []byte)
transport/trojan/trojan.go:209
↓ 8 callersMethodReset
()
common/murmur3/murmur.go:46
↓ 8 callersMethodSourceAddress
()
constant/metadata.go:83
↓ 8 callersMethodString
()
rule/provider/provider.go:46
↓ 8 callersFunctionnewPacketConn
(pc net.PacketConn, a C.ProxyAdapter)
adapter/outbound/base.go:136
↓ 7 callersMethodGo
(key string, fn func() (interface{}, error))
common/batch/batch.go:41
↓ 7 callersMethodLookBack
LookBack return host with the fake ip
component/fakeip/pool.go:49
↓ 7 callersFunctionNewIpCidrTrie
()
component/trie/ipcidr_trie.go:21
↓ 7 callersMethodPayload
()
constant/rule.go:53
↓ 7 callersMethodRuleType
()
constant/rule.go:50
↓ 7 callersMethodaddChild
(s string, child *Node)
component/trie/node.go:17
↓ 7 callersFunctiongetIpv6GroupValue
(high, low byte)
component/trie/ipcidr_trie.go:212
↓ 7 callersFunctiongetProvidersProxies
(providers []provider.ProxyProvider, touch bool)
adapter/outboundgroup/common.go:14
next →1–100 of 1,333, ranked by callers