Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/appshubcc/Bettbox
/ functions
Functions
6,206 in github.com/appshubcc/Bettbox
⨍
Functions
6,206
◇
Types & classes
1,277
↓ 4 callers
Method
lockflow
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 callers
Function
makePipeDeadline
()
core/Clash.Meta/transport/sudoku/obfs/httpmask/halfpipe.go:17
↓ 4 callers
Function
markZeroBytes
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 callers
Function
max
(a, b T)
core/Clash.Meta/transport/vless/encryption/common.go:279
↓ 4 callers
Method
minCongestionWindow
()
core/Clash.Meta/transport/tuic/congestion/cubic_sender.go:113
↓ 4 callers
Function
msgToDomain
(msg *D.Msg)
core/Clash.Meta/dns/util.go:281
↓ 4 callers
Method
newConnectRequest
(host, userAgent string)
core/Clash.Meta/transport/trusttunnel/client.go:178
↓ 4 callers
Function
newDirectionalConn
(base net.Conn, reader io.Reader, writer io.Writer, closers ...func() error)
core/Clash.Meta/transport/sudoku/handshake.go:170
↓ 4 callers
Function
newEarlyMemoryConn
(readBuf []byte)
core/Clash.Meta/transport/sudoku/early_handshake.go:56
↓ 4 callers
Function
newLog
(logLevel LogLevel, format string, v ...any)
core/Clash.Meta/log/log.go:99
↓ 4 callers
Function
newMapTable
(minTableLen int, seed maphash.Seed)
core/Clash.Meta/common/xsync/map.go:270
↓ 4 callers
Function
newQUICTokenStore
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 callers
Function
newStrategy
(behavior P.RuleBehavior, parse common.ParseRuleFunc)
core/Clash.Meta/rules/provider/provider.go:154
↓ 4 callers
Function
newV4Writer
(w io.Writer, psk []byte)
core/Clash.Meta/transport/snell/v4.go:241
↓ 4 callers
Method
next
()
core/Clash.Meta/transport/ssr/protocol/base.go:37
↓ 4 callers
Method
nextPayloadLimit
()
core/Clash.Meta/transport/snell/v4.go:290
↓ 4 callers
Method
normalizedMode
()
core/Clash.Meta/transport/xhttp/server.go:184
↓ 4 callers
Function
parse16BytesIP
(buffer [16]byte)
core/Clash.Meta/transport/trusttunnel/protocol.go:75
↓ 4 callers
Function
parseAndApply
(cfgStr string)
core/Clash.Meta/test/clash_test.go:140
↓ 4 callers
Function
parseIdentities
parseIdentities parse age-secret-key to age.Identity
core/Clash.Meta/component/age/age.go:20
↓ 4 callers
Method
parsePayload
(payload string, parseRule common.ParseRuleFunc)
core/Clash.Meta/rules/logic/logic.go:146
↓ 4 callers
Function
parseRange
(uidRanges []ranges.Range[T], rangeList []string)
core/Clash.Meta/listener/sing_tun/server.go:665
↓ 4 callers
Function
preHandleMetadata
(metadata *C.Metadata)
core/Clash.Meta/tunnel/tunnel.go:315
↓ 4 callers
Function
print
(data Event)
core/Clash.Meta/log/log.go:82
↓ 4 callers
Function
readAllBuffered
(r *bufio.Reader)
core/Clash.Meta/transport/sudoku/obfs/httpmask/tunnel.go:1759
↓ 4 callers
Function
readNativeUint32
(b []byte)
core/Clash.Meta/component/process/process_windows.go:196
↓ 4 callers
Function
readOpenVPNString
(packet []byte, offset int)
core/Clash.Meta/transport/openvpn/keymethod.go:195
↓ 4 callers
Method
replace
(ent *entry[K, V])
core/Clash.Meta/common/arc/arc.go:213
↓ 4 callers
Function
replaceDomain
(metadata *C.Metadata, host string, overrideDest bool)
core/Clash.Meta/component/sniffer/dispatcher.go:154
↓ 4 callers
Method
resize
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 callers
Function
resolveMetadata
(metadata *C.Metadata)
core/Clash.Meta/tunnel/tunnel.go:343
↓ 4 callers
Function
responseWith
(request *http.Request, statusCode int)
core/Clash.Meta/listener/http/proxy.go:170
↓ 4 callers
Function
router
(isDebug bool, secret string, dohServer string, cors Cors)
core/Clash.Meta/hub/route/server.go:105
↓ 4 callers
Function
runParallel
(b *testing.B, benchFn func(pb *testing.PB))
core/Clash.Meta/common/xsync/map_test.go:55
↓ 4 callers
Function
saveFile
(bytes []byte, path string)
core/Clash.Meta/component/updater/utils.go:28
↓ 4 callers
Function
scaleByteWindowForDatagramSize
(window, oldMaxDatagramSize, newMaxDatagramSize congestion.ByteCount)
core/Clash.Meta/transport/tuic/congestion_v2/bbr_sender.go:377
↓ 4 callers
Function
sendMessage
(message Message)
core/lib.go:68
↓ 4 callers
Function
serializesSocksAddr
(metadata *C.Metadata)
core/Clash.Meta/adapter/outbound/util.go:15
↓ 4 callers
Method
sessionHas
(token string)
core/Clash.Meta/transport/sudoku/obfs/httpmask/tunnel.go:2222
↓ 4 callers
Method
set
(t time.Time)
core/Clash.Meta/transport/sudoku/obfs/httpmask/halfpipe.go:21
↓ 4 callers
Method
streamTLSConn
(ctx context.Context, conn net.Conn, isH2 bool)
core/Clash.Meta/adapter/outbound/vless.go:269
↓ 4 callers
Function
stripPathRoot
(root, fullPath string)
core/Clash.Meta/transport/sudoku/obfs/httpmask/pathroot.go:43
↓ 4 callers
Method
tableCandidates
()
core/Clash.Meta/transport/sudoku/config.go:201
↓ 4 callers
Function
testComparableNoEqual
(t *testing.T, v1, v2 T)
core/Clash.Meta/common/maphash/maphash_test.go:265
↓ 4 callers
Function
testInboundAnyTLS
(t *testing.T, inboundOptions inbound.AnyTLSOption, outboundOptions outbound.AnyTLSOption)
core/Clash.Meta/listener/inbound/anytls_test.go:13
↓ 4 callers
Function
testInboundHysteria2
(t *testing.T, inboundOptions inbound.Hysteria2Option, outboundOptions outbound.Hysteria2Option)
core/Clash.Meta/listener/inbound/hysteria2_test.go:13
↓ 4 callers
Function
testInboundHysteria2TLS
(t *testing.T, inboundOptions inbound.Hysteria2Option, outboundOptions outbound.Hysteria2Option)
core/Clash.Meta/listener/inbound/hysteria2_test.go:56
↓ 4 callers
Function
testInboundTrustTunnel
(t *testing.T, inboundOptions inbound.TrustTunnelOption, outboundOptions outbound.TrustTunnelOption)
core/Clash.Meta/listener/inbound/trusttunnel_test.go:13
↓ 4 callers
Function
testInboundTuic
(t *testing.T, inboundOptions inbound.TuicOption, outboundOptions outbound.TuicOption)
core/Clash.Meta/listener/inbound/tuic_test.go:15
↓ 4 callers
Function
testTLSCryptBlock
()
core/Clash.Meta/transport/openvpn/config_test.go:25
↓ 4 callers
Function
testWriteComparableNoEqual
(t *testing.T, v1, v2 T)
core/Clash.Meta/common/maphash/maphash_test.go:352
↓ 4 callers
Function
toUint64
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 callers
Function
trimPortForHost
(host string)
core/Clash.Meta/transport/sudoku/obfs/httpmask/masker.go:94
↓ 4 callers
Function
uidToRange
(uidList []T)
core/Clash.Meta/listener/sing_tun/server.go:659
↓ 4 callers
Method
updateRule
(ruleProvider P.RuleProvider, exclude bool, update bool)
core/Clash.Meta/listener/sing_tun/server.go:582
↓ 4 callers
Function
validateAddresses
(addrs []string)
core/Clash.Meta/listener/hysteria2_realm/validate.go:77
↓ 4 callers
Function
validateBaseKey
(b []byte)
core/Clash.Meta/transport/sudoku/crypto/record_conn.go:175
↓ 4 callers
Method
wait
()
core/Clash.Meta/transport/sudoku/obfs/httpmask/halfpipe.go:53
↓ 4 callers
Method
writeFrame
(payload []byte, paddingLength int)
core/Clash.Meta/transport/snell/v4.go:322
↓ 4 callers
Function
writeFull
(w io.Writer, p []byte)
core/Clash.Meta/transport/gost/relay.go:352
↓ 4 callers
Function
writeFull
(w io.Writer, b []byte)
core/Clash.Meta/transport/sudoku/obfs/sudoku/packed.go:301
↓ 4 callers
Function
wsUpgrade
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 callers
Function
wsWriteServerText
wsWriteServerText is the same as wsWriteServerMessage with ws.OpText.
core/Clash.Meta/hub/route/common.go:166
↓ 4 callers
Function
x25519SharedSecret
(priv *ecdh.PrivateKey, peerPub []byte)
core/Clash.Meta/transport/sudoku/session_keys.go:44
↓ 3 callers
Method
AcceptTCP
AcceptTCP accepts a multiplex stream and returns the target address declared in the open frame.
core/Clash.Meta/transport/sudoku/multiplex.go:100
↓ 3 callers
Method
Budget
(now monotime.Time)
core/Clash.Meta/transport/tuic/congestion/pacer.go:51
↓ 3 callers
Method
Build
()
core/Clash.Meta/listener/inbound/vless.go:59
↓ 3 callers
Method
CloneFrom
CloneFrom clone cache from old pool
core/Clash.Meta/component/fakeip/pool.go:90
↓ 3 callers
Method
Close
()
core/Clash.Meta/transport/xhttp/conn.go:29
↓ 3 callers
Method
Close
()
core/Clash.Meta/transport/gun/gun.go:255
↓ 3 callers
Method
Close
()
core/Clash.Meta/transport/gun/gun.go:414
↓ 3 callers
Method
CloseWrite
()
core/Clash.Meta/transport/snell/pool.go:79
↓ 3 callers
Function
DecodeAddress
(r io.Reader)
core/Clash.Meta/transport/sudoku/address.go:55
↓ 3 callers
Function
DecodeControlPlain
(opcode Opcode, plain []byte)
core/Clash.Meta/transport/openvpn/packet.go:136
↓ 3 callers
Method
Deobfuscate
(in []byte, out []byte)
core/Clash.Meta/transport/hysteria/obfs/obfs.go:4
↓ 3 callers
Function
DeriveClientKeyMaterial
(sources KeySource2, clientSession, serverSession SessionID, cipherKeyLen int)
core/Clash.Meta/transport/openvpn/keymethod.go:116
↓ 3 callers
Method
Dial
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 callers
Method
DoChan
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 callers
Method
DoSniff
DoSniff will blocking after sniffer work done
core/Clash.Meta/constant/adapters.go:325
↓ 3 callers
Method
EncodePayload
()
core/Clash.Meta/transport/sudoku/kip.go:151
↓ 3 callers
Method
FakeIPEnabled
()
core/Clash.Meta/dns/enhancer.go:23
↓ 3 callers
Method
Feed
(m *Packet)
core/Clash.Meta/transport/tuic/v5/frag.go:75
↓ 3 callers
Method
Find
Checks whether the container contains element with specific key.
core/Clash.Meta/transport/anytls/skiplist/contianer.go:14
↓ 3 callers
Method
ForAttempt
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 callers
Method
Foreach
(f func(key string) bool)
core/Clash.Meta/component/trie/domain_set.go:169
↓ 3 callers
Method
Forget
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 callers
Function
GeneratePadding
(method PaddingMethod, length int)
core/Clash.Meta/transport/xhttp/xpadding.go:124
↓ 3 callers
Method
GetAndMoveToBack
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 callers
Method
GetAssetLocation
(file string)
core/Clash.Meta/constant/path.go:231
↓ 3 callers
Method
GetAuthStore
()
core/Clash.Meta/listener/inbound/auth.go:15
↓ 3 callers
Method
GetDomainMatcher
()
core/Clash.Meta/rules/common/geosite.go:49
↓ 3 callers
Method
GetNormalizedScMaxEachPostBytes
()
core/Clash.Meta/transport/xhttp/config.go:212
↓ 3 callers
Method
GetNormalizedUplinkHTTPMethod
()
core/Clash.Meta/transport/xhttp/config.go:186
↓ 3 callers
Method
GetWithExpire
(key string)
core/Clash.Meta/dns/resolver.go:29
↓ 3 callers
Method
Go
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 callers
Method
HandleConn
(conn net.Conn, tunnel C.Tunnel, additions ...inbound.Addition)
core/Clash.Meta/listener/sing_shadowsocks/server.go:282
↓ 3 callers
Method
HandleConn
(conn net.Conn, tunnel C.Tunnel, additions ...inbound.Addition)
core/Clash.Meta/listener/trojan/server.go:222
↓ 3 callers
Method
Handshake
(ctx context.Context)
core/Clash.Meta/transport/openvpn/client.go:75
↓ 3 callers
Method
InRecovery
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 callers
Method
InitializeReadWaiter
(options N.ReadWaitOptions)
core/Clash.Meta/listener/sing_vless/service.go:216
← previous
next →
601–700 of 6,206, ranked by callers