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
↓ 3 callers
Method
Insert
Finds element with specific key.
core/Clash.Meta/transport/anytls/skiplist/contianer.go:15
↓ 3 callers
Function
InstallScriptPeerInfo
(cipher string, compLZO string)
core/Clash.Meta/transport/openvpn/keymethod.go:174
↓ 3 callers
Method
IsClosed
()
core/Clash.Meta/transport/sudoku/multiplex/session.go:77
↓ 3 callers
Method
IsEmpty
IsEmpty return if queue is empty.
core/Clash.Meta/transport/tuic/congestion_v2/packet_number_indexed_queue.go:140
↓ 3 callers
Method
KeySize
()
core/Clash.Meta/transport/shadowsocks/shadowaead/cipher.go:41
↓ 3 callers
Method
Last
()
core/Clash.Meta/constant/adapters.go:88
↓ 3 callers
Method
Less
(i, j int)
core/Clash.Meta/component/geodata/strmatcher/mph_matcher.go:207
↓ 3 callers
Function
LookupIPWithResolver
LookupIPWithResolver same as LookupIP, but with a resolver
core/Clash.Meta/component/resolver/resolver.go:155
↓ 3 callers
Method
LookupIPv4
(ctx context.Context, host string)
core/Clash.Meta/component/resolver/resolver.go:49
↓ 3 callers
Function
LookupIPv4WithResolver
LookupIPv4WithResolver same as LookupIPv4, but with a resolver
core/Clash.Meta/component/resolver/resolver.go:59
↓ 3 callers
Function
Match
copy and modified from https://github.com/IGLOU-EU/go-wildcard/tree/ce22b7af48e487517a492d3727d9386492043e21 which is licensed under OpenBSD's ISC-sty
core/Clash.Meta/component/wildcard/wildcard.go:16
↓ 3 callers
Method
Match
(*router.Domain)
core/Clash.Meta/component/geodata/attr.go:47
↓ 3 callers
Method
Match
(ip netip.Addr)
core/Clash.Meta/component/geodata/router/condition.go:138
↓ 3 callers
Method
MatchIp
(ip netip.Addr)
core/Clash.Meta/constant/matcher.go:10
↓ 3 callers
Method
Merge
()
core/Clash.Meta/common/utils/ranges.go:110
↓ 3 callers
Method
MoveToFront
MoveToFront moves the value associated with key to the front of the ordered map, i.e. makes it the oldest pair in the map. Returns an error iff key is
core/Clash.Meta/common/orderedmap/orderedmap.go:266
↓ 3 callers
Method
Name
()
core/Clash.Meta/adapter/provider/provider.go:143
↓ 3 callers
Function
NewAND
(payload string, adapter string, parseRule common.ParseRuleFunc)
core/Clash.Meta/rules/logic/logic.go:59
↓ 3 callers
Function
NewAddressAddrPort
(addrPort netip.AddrPort)
core/Clash.Meta/transport/tuic/v5/protocol.go:463
↓ 3 callers
Function
NewAddressAddrPort
(addrPort netip.AddrPort)
core/Clash.Meta/transport/tuic/v4/protocol.go:484
↓ 3 callers
Function
NewBandwidthSample
()
core/Clash.Meta/transport/tuic/congestion/bandwidth_sampler.go:69
↓ 3 callers
Function
NewBaseSniffer
(ports utils.IntRanges[uint16], networkType constant.NetWork)
core/Clash.Meta/component/sniffer/base_sniffer.go:41
↓ 3 callers
Method
NewConnection
(ctx context.Context, conn net.Conn, metadata M.Metadata)
core/Clash.Meta/listener/sing/sing.go:126
↓ 3 callers
Function
NewControlConn
(channel *ControlChannel)
core/Clash.Meta/transport/openvpn/control.go:282
↓ 3 callers
Function
NewEnhancePacketConn
(pc net.PacketConn)
core/Clash.Meta/common/net/packet/packet.go:18
↓ 3 callers
Function
NewIpCidrNode
(mark bool, maxValue uint32)
core/Clash.Meta/component/trie/ipcidr_node.go:15
↓ 3 callers
Function
NewNetPacketConn
(pc net.PacketConn)
core/Clash.Meta/common/net/deadline/packet.go:28
↓ 3 callers
Function
NewPackedConn
(c net.Conn, table *Table, pMin, pMax int)
core/Clash.Meta/transport/sudoku/obfs/sudoku/packed.go:64
↓ 3 callers
Method
NewPacketConnection
(ctx context.Context, conn network.PacketConn, metadata M.Metadata)
core/Clash.Meta/listener/sing/sing.go:153
↓ 3 callers
Function
NewTablesWithCustomPatterns
NewTablesWithCustomPatterns builds one or more obfuscation tables from x/v/p custom patterns. When customTables is non-empty it overrides customTable
core/Clash.Meta/transport/sudoku/tables.go:32
↓ 3 callers
Function
NewWaitReadCloser
()
core/Clash.Meta/transport/xhttp/client.go:693
↓ 3 callers
Method
Obfuscate
(in []byte, out []byte)
core/Clash.Meta/transport/hysteria/obfs/obfs.go:5
↓ 3 callers
Method
OpenStreams
()
core/Clash.Meta/transport/tuic/types/type.go:26
↓ 3 callers
Method
Pack
()
core/Clash.Meta/transport/hysteria/core/protocol.go:250
↓ 3 callers
Function
ParsePushReply
(message string)
core/Clash.Meta/transport/openvpn/push.go:22
↓ 3 callers
Method
PopFront
PopFront removes and returns the element from the front of the queue. Implements FIFO when used with [PushBack]. If the queue is empty, the call panic
core/Clash.Meta/common/deque/deque.go:87
↓ 3 callers
Method
Protocol
()
core/Clash.Meta/constant/sniffer/sniffer.go:9
↓ 3 callers
Method
ProviderChains
()
core/Clash.Meta/constant/adapters.go:70
↓ 3 callers
Method
Pure
Pure is used to solve unexpected behavior when dialing proxy connection in DNSMapping mode.
core/Clash.Meta/constant/metadata.go:275
↓ 3 callers
Method
RandIP
()
core/Clash.Meta/component/resolver/host.go:121
↓ 3 callers
Function
RandUserAgent
()
core/Clash.Meta/common/convert/util.go:308
↓ 3 callers
Method
Range
(f func(c Tracker) bool)
core/Clash.Meta/tunnel/statistic/manager.go:72
↓ 3 callers
Method
Read
(b []byte)
core/Clash.Meta/transport/xhttp/client.go:721
↓ 3 callers
Method
Read
(ctx context.Context)
core/Clash.Meta/transport/openvpn/control.go:119
↓ 3 callers
Function
ReadDatagram
ReadDatagram parses a single UDP datagram frame from the reliable stream.
core/Clash.Meta/transport/sudoku/uot.go:43
↓ 3 callers
Function
ReadHeartbeatWithHead
(head CommandHead, reader BufferedReader)
core/Clash.Meta/transport/tuic/v5/protocol.go:391
↓ 3 callers
Function
ReadPacket
(reader BufferedReader)
core/Clash.Meta/transport/tuic/v4/protocol.go:251
↓ 3 callers
Function
ReadServerResponse
(stream io.Reader)
core/Clash.Meta/transport/hysteria/core/protocol.go:187
↓ 3 callers
Method
SendReset
(ctx context.Context)
core/Clash.Meta/transport/openvpn/control.go:69
↓ 3 callers
Method
Set
Set provides the underlying ReadCloser and unblocks any pending Read calls. Must be called at most once. If Close was already called, rc is closed to
core/Clash.Meta/transport/xhttp/client.go:700
↓ 3 callers
Method
SetKeepAlive
(keepalive bool)
core/Clash.Meta/component/keepalive/tcp_keepalive_go122.go:12
↓ 3 callers
Method
SetType
SetType set type of response
core/Clash.Meta/context/dns.go:38
↓ 3 callers
Method
ShouldHijackDns
(targetAddr netip.AddrPort)
core/Clash.Meta/listener/sing_tun/dns.go:21
↓ 3 callers
Method
Snapshot
()
core/Clash.Meta/tunnel/statistic/manager.go:149
↓ 3 callers
Method
SniffData
SniffData must not change input bytes
core/Clash.Meta/constant/sniffer/sniffer.go:8
↓ 3 callers
Method
SourceAddrPort
()
core/Clash.Meta/constant/metadata.go:225
↓ 3 callers
Method
Store
(value T)
core/Clash.Meta/common/atomic/value.go:25
↓ 3 callers
Method
SupportPort
(port uint16)
core/Clash.Meta/constant/sniffer/sniffer.go:10
↓ 3 callers
Function
TCPing
(addr string)
core/Clash.Meta/test/util.go:39
↓ 3 callers
Method
ToBytes
()
core/Clash.Meta/transport/anytls/util/string_map.go:9
↓ 3 callers
Method
ToIPSet
ToIPSet not safe convert to *netipx.IPSet be careful, must be used after Merge
core/Clash.Meta/component/cidr/ipcidr_set.go:84
↓ 3 callers
Method
ToString
ToString returns string representation of map stats.
core/Clash.Meta/common/xsync/map.go:1282
↓ 3 callers
Method
Touch
()
core/Clash.Meta/adapter/outboundgroup/util.go:17
↓ 3 callers
Method
URLTest
(ctx context.Context, url string, expectedStatus utils.IntRanges[uint16])
core/Clash.Meta/constant/adapters.go:171
↓ 3 callers
Method
URLTest
(ctx context.Context, url string, expectedStatus utils.IntRanges[uint16])
core/Clash.Meta/adapter/outboundgroup/util.go:22
↓ 3 callers
Method
Unwrap
(packet []byte)
core/Clash.Meta/transport/openvpn/tlscrypt.go:79
↓ 3 callers
Method
Unwrap
Unwrap implements C.ProxyAdapter
core/Clash.Meta/adapter/outboundgroup/loadbalance.go:216
↓ 3 callers
Method
Version
()
core/Clash.Meta/constant/provider/interface.go:84
↓ 3 callers
Method
Wait
(ctx context.Context)
core/Clash.Meta/component/slowdown/slowdown.go:14
↓ 3 callers
Method
WaitAndGetResult
()
core/Clash.Meta/common/batch/batch.go:77
↓ 3 callers
Method
WaitReadPacket
()
core/Clash.Meta/listener/sing_vless/service.go:221
↓ 3 callers
Method
Write
(b []byte)
core/Clash.Meta/transport/snell/pool.go:70
↓ 3 callers
Function
absDomainName
absDomainName returns an absolute domain name which ends with a trailing dot to match pure Go reverse resolver and all other lookup routines. See gola
core/Clash.Meta/component/resolver/hosts/hosts.go:304
↓ 3 callers
Function
absInt64
(v int64)
core/Clash.Meta/transport/sudoku/handshake.go:231
↓ 3 callers
Function
assertOrderedMapsEqual
only works for fairly basic maps, that's why it's just in this file
core/Clash.Meta/common/orderedmap/json_fuzz_test.go:78
↓ 3 callers
Function
beginAndEndPortFromPortRange
(portRange string)
core/Clash.Meta/adapter/outbound/mieru.go:357
↓ 3 callers
Function
broadcast
(b uint8)
core/Clash.Meta/common/xsync/map.go:1372
↓ 3 callers
Function
buildEarlyClientObfsConn
(raw net.Conn, cfg EarlyCodecConfig, table *sudokuobfs.Table)
core/Clash.Meta/transport/sudoku/early_handshake.go:87
↓ 3 callers
Function
buildEarlyServerObfsConn
(raw net.Conn, cfg EarlyCodecConfig, table *sudokuobfs.Table)
core/Clash.Meta/transport/sudoku/early_handshake.go:96
↓ 3 callers
Method
captureFlow
captureFlow capture every inbound packets based on rules of BPF
core/Clash.Meta/transport/hysteria/conns/faketcp/tcp_linux.go:121
↓ 3 callers
Function
cleanup
()
core/Clash.Meta/test/clash_test.go:136
↓ 3 callers
Method
close
()
core/Clash.Meta/component/sniffer/quic_sniffer.go:144
↓ 3 callers
Method
closeClient
closeClient cleans up resources used by client if necessary.
core/Clash.Meta/dns/doh.go:191
↓ 3 callers
Method
closeConnWithError
closeConnWithError closes the active connection with error to make sure that new queries were processed in another connection. We can do that in the
core/Clash.Meta/dns/doq.go:371
↓ 3 callers
Method
closedErr
()
core/Clash.Meta/transport/sudoku/multiplex/session.go:89
↓ 3 callers
Function
comparableHash
(seed seedTyp, v T)
core/Clash.Meta/common/maphash/comparable_go120.go:11
↓ 3 callers
Method
contextErr
(ctx context.Context)
core/Clash.Meta/adapter/outbound/openvpn.go:313
↓ 3 callers
Function
countZeros
countZeros counts the number of "0" in a bitmap before the i-th bit(excluding the i-th bit) on behalf of rank index. E.g.: countZeros("010010", 4) =
core/Clash.Meta/component/trie/domain_set.go:202
↓ 3 callers
Method
delLRU
(list *list.List[*entry[K, V]])
core/Clash.Meta/common/arc/arc.go:206
↓ 3 callers
Method
dialAndHandshake
(ctx context.Context, cfg *sudoku.ProtocolConfig)
core/Clash.Meta/adapter/outbound/sudoku.go:273
↓ 3 callers
Function
dialSessionWithClient
(ctx context.Context, client *http.Client, target httpClientTarget, mode TunnelMode, opts TunnelDialOptions)
core/Clash.Meta/transport/sudoku/obfs/httpmask/tunnel.go:334
↓ 3 callers
Function
dialStreamWithClient
(ctx context.Context, client *http.Client, target httpClientTarget, opts TunnelDialOptions)
core/Clash.Meta/transport/sudoku/obfs/httpmask/tunnel.go:491
↓ 3 callers
Function
drainBuffered
(r *bufio.Reader)
core/Clash.Meta/transport/sudoku/table_probe.go:51
↓ 3 callers
Function
encodeRelayFeature
(featureType byte, payload []byte)
core/Clash.Meta/transport/gost/relay.go:387
↓ 3 callers
Method
ensureStarted
(ctx context.Context)
core/Clash.Meta/adapter/outbound/tailscale.go:203
↓ 3 callers
Function
fastIntnFromUint32
(u uint32, n int)
core/Clash.Meta/transport/sudoku/obfs/sudoku/rand.go:66
↓ 3 callers
Method
flush
()
core/Clash.Meta/transport/xhttp/client.go:83
↓ 3 callers
Function
getCache
()
core/Clash.Meta/component/iface/iface.go:69
↓ 3 callers
Method
getChildren
()
core/Clash.Meta/component/trie/node.go:119
↓ 3 callers
Method
getClient
()
core/Clash.Meta/transport/trusttunnel/client.go:310
← previous
next →
701–800 of 6,206, ranked by callers