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

Method Get

cmd/run/socket/inode.go:213–219  ·  view source on GitHub ↗
(number uint64)

Source from the content-addressed store, hash-verified

211}
212
213func (t *InodeTable) Get(number uint64) (*Inode, bool) {
214 t.mu.RLock()
215 defer t.mu.RUnlock()
216
217 ino, ok := t.known[number]
218 return ino, ok
219}
220
221func (t *InodeTable) Add(ino *Inode) {
222 if _, ok := t.Get(ino.Number); ok { // fast path

Callers 9

AddMethod · 0.95
RoundTripMethod · 0.45
proxyClickhouseMethod · 0.45
dialWebsocketFunction · 0.45
importInodesMethod · 0.45
proxyHTTP1Method · 0.45
newWebsocketFunction · 0.45
newHTTP2StreamMethod · 0.45
RoundTripMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected