MCPcopy Index your code
hub / github.com/subtrace/subtrace / String

Method String

cmd/run/fd/fd.go:54–60  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

52}
53
54func (fd *FD) String() string {
55 n := atomic.LoadUint32(&fd.fd)
56 if n == ^uint32(0) {
57 return fmt.Sprintf("subfd_%d[closed]", fd.origFD)
58 }
59 return fmt.Sprintf("subfd_%d", n)
60}
61
62// IncRef increments the ref counter. If fd was closed, it's a no-op and returns false.
63func (fd *FD) IncRef() bool {

Callers 15

IncRefMethod · 0.95
decRefMethod · 0.95
LockMethod · 0.95
RoundTripMethod · 0.45
FullFunction · 0.45
entrypointMethod · 0.45
initClickhouseMethod · 0.45
getSuffixForNamespaceFunction · 0.45
newTunnelConnMethod · 0.45
proxyClickhouseMethod · 0.45
ApplyMigrationsMethod · 0.45
watchSignalsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected