MCPcopy Create free account

hub / github.com/appshubcc/Bettbox / functions

Functions6,206 in github.com/appshubcc/Bettbox

↓ 4 callersMethodlockflow
lockflow locks the flow table and apply function `f` to the entry, and create one if not exist
core/Clash.Meta/transport/hysteria/conns/faketcp/tcp_linux.go:85
↓ 4 callersFunctionmakePipeDeadline
()
core/Clash.Meta/transport/sudoku/obfs/httpmask/halfpipe.go:17
↓ 4 callersFunctionmarkZeroBytes
SWAR byte search: may produce false positives, e.g. for 0x0100, so make sure to double-check bytes found by this function.
core/Clash.Meta/common/xsync/map.go:1382
↓ 4 callersFunctionmax
(a, b T)
core/Clash.Meta/transport/vless/encryption/common.go:279
↓ 4 callersMethodminCongestionWindow
()
core/Clash.Meta/transport/tuic/congestion/cubic_sender.go:113
↓ 4 callersFunctionmsgToDomain
(msg *D.Msg)
core/Clash.Meta/dns/util.go:281
↓ 4 callersMethodnewConnectRequest
(host, userAgent string)
core/Clash.Meta/transport/trusttunnel/client.go:178
↓ 4 callersFunctionnewDirectionalConn
(base net.Conn, reader io.Reader, writer io.Writer, closers ...func() error)
core/Clash.Meta/transport/sudoku/handshake.go:170
↓ 4 callersFunctionnewEarlyMemoryConn
(readBuf []byte)
core/Clash.Meta/transport/sudoku/early_handshake.go:56
↓ 4 callersFunctionnewLog
(logLevel LogLevel, format string, v ...any)
core/Clash.Meta/log/log.go:99
↓ 4 callersFunctionnewMapTable
(minTableLen int, seed maphash.Seed)
core/Clash.Meta/common/xsync/map.go:270
↓ 4 callersFunctionnewQUICTokenStore
newQUICTokenStore creates a new quic.TokenStore that is necessary to have in order to benefit from 0-RTT.
core/Clash.Meta/dns/doq.go:399
↓ 4 callersFunctionnewStrategy
(behavior P.RuleBehavior, parse common.ParseRuleFunc)
core/Clash.Meta/rules/provider/provider.go:154
↓ 4 callersFunctionnewV4Writer
(w io.Writer, psk []byte)
core/Clash.Meta/transport/snell/v4.go:241
↓ 4 callersMethodnext
()
core/Clash.Meta/transport/ssr/protocol/base.go:37
↓ 4 callersMethodnextPayloadLimit
()
core/Clash.Meta/transport/snell/v4.go:290
↓ 4 callersMethodnormalizedMode
()
core/Clash.Meta/transport/xhttp/server.go:184
↓ 4 callersFunctionparse16BytesIP
(buffer [16]byte)
core/Clash.Meta/transport/trusttunnel/protocol.go:75
↓ 4 callersFunctionparseAndApply
(cfgStr string)
core/Clash.Meta/test/clash_test.go:140
↓ 4 callersFunctionparseIdentities
parseIdentities parse age-secret-key to age.Identity
core/Clash.Meta/component/age/age.go:20
↓ 4 callersMethodparsePayload
(payload string, parseRule common.ParseRuleFunc)
core/Clash.Meta/rules/logic/logic.go:146
↓ 4 callersFunctionparseRange
(uidRanges []ranges.Range[T], rangeList []string)
core/Clash.Meta/listener/sing_tun/server.go:665
↓ 4 callersFunctionpreHandleMetadata
(metadata *C.Metadata)
core/Clash.Meta/tunnel/tunnel.go:315
↓ 4 callersFunctionprint
(data Event)
core/Clash.Meta/log/log.go:82
↓ 4 callersFunctionreadAllBuffered
(r *bufio.Reader)
core/Clash.Meta/transport/sudoku/obfs/httpmask/tunnel.go:1759
↓ 4 callersFunctionreadNativeUint32
(b []byte)
core/Clash.Meta/component/process/process_windows.go:196
↓ 4 callersFunctionreadOpenVPNString
(packet []byte, offset int)
core/Clash.Meta/transport/openvpn/keymethod.go:195
↓ 4 callersMethodreplace
(ent *entry[K, V])
core/Clash.Meta/common/arc/arc.go:213
↓ 4 callersFunctionreplaceDomain
(metadata *C.Metadata, host string, overrideDest bool)
core/Clash.Meta/component/sniffer/dispatcher.go:154
↓ 4 callersMethodresize
resize resizes the deque to fit exactly twice its current contents. This is used to grow the queue when it is full, and also to shrink it when it is o
core/Clash.Meta/common/deque/deque.go:662
↓ 4 callersFunctionresolveMetadata
(metadata *C.Metadata)
core/Clash.Meta/tunnel/tunnel.go:343
↓ 4 callersFunctionresponseWith
(request *http.Request, statusCode int)
core/Clash.Meta/listener/http/proxy.go:170
↓ 4 callersFunctionrouter
(isDebug bool, secret string, dohServer string, cors Cors)
core/Clash.Meta/hub/route/server.go:105
↓ 4 callersFunctionrunParallel
(b *testing.B, benchFn func(pb *testing.PB))
core/Clash.Meta/common/xsync/map_test.go:55
↓ 4 callersFunctionsaveFile
(bytes []byte, path string)
core/Clash.Meta/component/updater/utils.go:28
↓ 4 callersFunctionscaleByteWindowForDatagramSize
(window, oldMaxDatagramSize, newMaxDatagramSize congestion.ByteCount)
core/Clash.Meta/transport/tuic/congestion_v2/bbr_sender.go:377
↓ 4 callersFunctionsendMessage
(message Message)
core/lib.go:68
↓ 4 callersFunctionserializesSocksAddr
(metadata *C.Metadata)
core/Clash.Meta/adapter/outbound/util.go:15
↓ 4 callersMethodsessionHas
(token string)
core/Clash.Meta/transport/sudoku/obfs/httpmask/tunnel.go:2222
↓ 4 callersMethodset
(t time.Time)
core/Clash.Meta/transport/sudoku/obfs/httpmask/halfpipe.go:21
↓ 4 callersMethodstreamTLSConn
(ctx context.Context, conn net.Conn, isH2 bool)
core/Clash.Meta/adapter/outbound/vless.go:269
↓ 4 callersFunctionstripPathRoot
(root, fullPath string)
core/Clash.Meta/transport/sudoku/obfs/httpmask/pathroot.go:43
↓ 4 callersMethodtableCandidates
()
core/Clash.Meta/transport/sudoku/config.go:201
↓ 4 callersFunctiontestComparableNoEqual
(t *testing.T, v1, v2 T)
core/Clash.Meta/common/maphash/maphash_test.go:265
↓ 4 callersFunctiontestInboundAnyTLS
(t *testing.T, inboundOptions inbound.AnyTLSOption, outboundOptions outbound.AnyTLSOption)
core/Clash.Meta/listener/inbound/anytls_test.go:13
↓ 4 callersFunctiontestInboundHysteria2
(t *testing.T, inboundOptions inbound.Hysteria2Option, outboundOptions outbound.Hysteria2Option)
core/Clash.Meta/listener/inbound/hysteria2_test.go:13
↓ 4 callersFunctiontestInboundHysteria2TLS
(t *testing.T, inboundOptions inbound.Hysteria2Option, outboundOptions outbound.Hysteria2Option)
core/Clash.Meta/listener/inbound/hysteria2_test.go:56
↓ 4 callersFunctiontestInboundTrustTunnel
(t *testing.T, inboundOptions inbound.TrustTunnelOption, outboundOptions outbound.TrustTunnelOption)
core/Clash.Meta/listener/inbound/trusttunnel_test.go:13
↓ 4 callersFunctiontestInboundTuic
(t *testing.T, inboundOptions inbound.TuicOption, outboundOptions outbound.TuicOption)
core/Clash.Meta/listener/inbound/tuic_test.go:15
↓ 4 callersFunctiontestTLSCryptBlock
()
core/Clash.Meta/transport/openvpn/config_test.go:25
↓ 4 callersFunctiontestWriteComparableNoEqual
(t *testing.T, v1, v2 T)
core/Clash.Meta/common/maphash/maphash_test.go:352
↓ 4 callersFunctiontoUint64
toUint64 reinterprets integer-like keys as uint64 for hashUint64. The size switch is folded per instantiated K by the compiler.
core/Clash.Meta/common/xsync/map.go:255
↓ 4 callersFunctiontrimPortForHost
(host string)
core/Clash.Meta/transport/sudoku/obfs/httpmask/masker.go:94
↓ 4 callersFunctionuidToRange
(uidList []T)
core/Clash.Meta/listener/sing_tun/server.go:659
↓ 4 callersMethodupdateRule
(ruleProvider P.RuleProvider, exclude bool, update bool)
core/Clash.Meta/listener/sing_tun/server.go:582
↓ 4 callersFunctionvalidateAddresses
(addrs []string)
core/Clash.Meta/listener/hysteria2_realm/validate.go:77
↓ 4 callersFunctionvalidateBaseKey
(b []byte)
core/Clash.Meta/transport/sudoku/crypto/record_conn.go:175
↓ 4 callersMethodwait
()
core/Clash.Meta/transport/sudoku/obfs/httpmask/halfpipe.go:53
↓ 4 callersMethodwriteFrame
(payload []byte, paddingLength int)
core/Clash.Meta/transport/snell/v4.go:322
↓ 4 callersFunctionwriteFull
(w io.Writer, p []byte)
core/Clash.Meta/transport/gost/relay.go:352
↓ 4 callersFunctionwriteFull
(w io.Writer, b []byte)
core/Clash.Meta/transport/sudoku/obfs/sudoku/packed.go:301
↓ 4 callersFunctionwsUpgrade
wsUpgrade upgrades http connection to the websocket connection. It hijacks net.Conn from w and returns received net.Conn and bufio.ReadWriter.
core/Clash.Meta/hub/route/common.go:33
↓ 4 callersFunctionwsWriteServerText
wsWriteServerText is the same as wsWriteServerMessage with ws.OpText.
core/Clash.Meta/hub/route/common.go:166
↓ 4 callersFunctionx25519SharedSecret
(priv *ecdh.PrivateKey, peerPub []byte)
core/Clash.Meta/transport/sudoku/session_keys.go:44
↓ 3 callersMethodAcceptTCP
AcceptTCP accepts a multiplex stream and returns the target address declared in the open frame.
core/Clash.Meta/transport/sudoku/multiplex.go:100
↓ 3 callersMethodBudget
(now monotime.Time)
core/Clash.Meta/transport/tuic/congestion/pacer.go:51
↓ 3 callersMethodBuild
()
core/Clash.Meta/listener/inbound/vless.go:59
↓ 3 callersMethodCloneFrom
CloneFrom clone cache from old pool
core/Clash.Meta/component/fakeip/pool.go:90
↓ 3 callersMethodClose
()
core/Clash.Meta/transport/xhttp/conn.go:29
↓ 3 callersMethodClose
()
core/Clash.Meta/transport/gun/gun.go:255
↓ 3 callersMethodClose
()
core/Clash.Meta/transport/gun/gun.go:414
↓ 3 callersMethodCloseWrite
()
core/Clash.Meta/transport/snell/pool.go:79
↓ 3 callersFunctionDecodeAddress
(r io.Reader)
core/Clash.Meta/transport/sudoku/address.go:55
↓ 3 callersFunctionDecodeControlPlain
(opcode Opcode, plain []byte)
core/Clash.Meta/transport/openvpn/packet.go:136
↓ 3 callersMethodDeobfuscate
(in []byte, out []byte)
core/Clash.Meta/transport/hysteria/obfs/obfs.go:4
↓ 3 callersFunctionDeriveClientKeyMaterial
(sources KeySource2, clientSession, serverSession SessionID, cipherKeyLen int)
core/Clash.Meta/transport/openvpn/keymethod.go:116
↓ 3 callersMethodDial
Dial opens a new logical stream, writes the target address, and returns the stream as net.Conn.
core/Clash.Meta/transport/sudoku/multiplex.go:36
↓ 3 callersMethodDoChan
DoChan is like Do but returns a channel that will receive the results when they are ready. The returned channel will not be closed.
core/Clash.Meta/common/singleflight/singleflight.go:125
↓ 3 callersMethodDoSniff
DoSniff will blocking after sniffer work done
core/Clash.Meta/constant/adapters.go:325
↓ 3 callersMethodEncodePayload
()
core/Clash.Meta/transport/sudoku/kip.go:151
↓ 3 callersMethodFakeIPEnabled
()
core/Clash.Meta/dns/enhancer.go:23
↓ 3 callersMethodFeed
(m *Packet)
core/Clash.Meta/transport/tuic/v5/frag.go:75
↓ 3 callersMethodFind
Checks whether the container contains element with specific key.
core/Clash.Meta/transport/anytls/skiplist/contianer.go:14
↓ 3 callersMethodForAttempt
ForAttempt returns the duration for a specific attempt. This is useful if you have a large number of independent Backoffs, but don't want use unnecess
core/Clash.Meta/component/slowdown/backoff.go:44
↓ 3 callersMethodForeach
(f func(key string) bool)
core/Clash.Meta/component/trie/domain_set.go:169
↓ 3 callersMethodForget
Forget tells the singleflight to forget about a key. Future calls to Do for this key will call the function rather than waiting for an earlier call t
core/Clash.Meta/common/singleflight/singleflight.go:214
↓ 3 callersFunctionGeneratePadding
(method PaddingMethod, length int)
core/Clash.Meta/transport/xhttp/xpadding.go:124
↓ 3 callersMethodGetAndMoveToBack
GetAndMoveToBack combines Get and MoveToBack in the same call. If an error is returned, it will be a KeyNotFoundError.
core/Clash.Meta/common/orderedmap/orderedmap.go:273
↓ 3 callersMethodGetAssetLocation
(file string)
core/Clash.Meta/constant/path.go:231
↓ 3 callersMethodGetAuthStore
()
core/Clash.Meta/listener/inbound/auth.go:15
↓ 3 callersMethodGetDomainMatcher
()
core/Clash.Meta/rules/common/geosite.go:49
↓ 3 callersMethodGetNormalizedScMaxEachPostBytes
()
core/Clash.Meta/transport/xhttp/config.go:212
↓ 3 callersMethodGetNormalizedUplinkHTTPMethod
()
core/Clash.Meta/transport/xhttp/config.go:186
↓ 3 callersMethodGetWithExpire
(key string)
core/Clash.Meta/dns/resolver.go:29
↓ 3 callersMethodGo
Go calls the given function in a new goroutine. The first call to return a nil error cancels the group; its result will be returned by Wait.
core/Clash.Meta/common/picker/picker.go:62
↓ 3 callersMethodHandleConn
(conn net.Conn, tunnel C.Tunnel, additions ...inbound.Addition)
core/Clash.Meta/listener/sing_shadowsocks/server.go:282
↓ 3 callersMethodHandleConn
(conn net.Conn, tunnel C.Tunnel, additions ...inbound.Addition)
core/Clash.Meta/listener/trojan/server.go:222
↓ 3 callersMethodHandshake
(ctx context.Context)
core/Clash.Meta/transport/openvpn/client.go:75
↓ 3 callersMethodInRecovery
func (b *bbrSender) HybridSlowStart() *HybridSlowStart { return nil } func (b *bbrSender) SlowstartThreshold() congestion.ByteCount { return 0 } fun
core/Clash.Meta/transport/tuic/congestion/bbr_sender.go:437
↓ 3 callersMethodInitializeReadWaiter
(options N.ReadWaitOptions)
core/Clash.Meta/listener/sing_vless/service.go:216
← previousnext →601–700 of 6,206, ranked by callers