Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/XTXMarkets/ternfs
/ functions
Functions
4,832 in github.com/XTXMarkets/ternfs
⨍
Functions
4,832
◇
Types & classes
1,957
↓ 4 callers
Function
readOnlyShardReq
cpp/shard/ShardDB.cpp:4042
↓ 4 callers
Function
read_headers
cpp/core/httplib.h:3685
↓ 4 callers
Function
redirect
cpp/core/httplib.h:4128
↓ 4 callers
Method
registries
cpp/registry/RegistryDB.cpp:1066
↓ 4 callers
Function
rs_data_blocks_core
cpp/rs/rs_core.c:57
↓ 4 callers
Function
rs_parity_blocks
cpp/rs/rs.h:42
↓ 4 callers
Function
runRsTests
( run func(log *log.Logger, bufPool *bufpool.BufPool, errorsChan chan *errorWithStack, parity parity.Parity,
go/client/span_test.go:364
↓ 4 callers
Function
safe_strerror
cpp/core/strerror.cpp:18
↓ 4 callers
Method
singleBlockReq
(log *log.Logger, timeouts *timing.ReqTimeouts, processor *blocksProcessors, args *sendArgs)
go/client/client.go:1401
↓ 4 callers
Method
slice
cpp/core/Bincode.hpp:395
↓ 4 callers
Method
start
cpp/registry/Registry.cpp:393
↓ 4 callers
Function
storageClassName
cpp/core/Msgs.cpp:86
↓ 4 callers
Function
storeState
(db *sql.Tx, what string, state any)
go/terngc/terngc.go:47
↓ 4 callers
Function
stringifyAgo
(then, now)
go/ternweb/scripts.js:332
↓ 4 callers
Function
ternfs_dir_put_cache
Decrements the refcount, and frees up all the pages in the cache if we were the last ones. Must be called by somebody who called ternfs_dir_get_cache
kmod/dir.c:61
↓ 4 callers
Function
ternfs_get_span
kmod/span.c:944
↓ 4 callers
Function
ternfs_mk_addr
kmod/super.h:42
↓ 4 callers
Function
ternfs_span_get_pages
kmod/span.c:515
↓ 4 callers
Function
ternfs_span_policy_get
kmod/policy.h:46
↓ 4 callers
Method
toReverseSlice
()
go/client/dirinfocache.go:97
↓ 4 callers
Method
toSlice
()
go/client/dirinfocache.go:84
↓ 4 callers
Function
totalRequests
(cs map[K]*client.ReqCounters)
go/terntests/terntests.go:73
↓ 4 callers
Function
translateErrno
cpp/core/Exception.cpp:15
↓ 4 callers
Function
tryGet
cpp/core/LogsDB.cpp:39
↓ 4 callers
Method
txnId
cpp/cdc/CDCDBData.hpp:99
↓ 4 callers
Function
uint64ToUDPAddr
(addr uint64)
go/client/client.go:1181
↓ 4 callers
Function
unmarshalJSONId
(b []byte)
go/msgs/msgs.go:232
↓ 4 callers
Function
validMetricsName
We're being overly conservative here, see <https://docs.influxdata.com/influxdb/v2/reference/syntax/line-protocol/#special-characters>, but better bei
cpp/core/Metrics.cpp:16
↓ 4 callers
Function
validMetricsName
We're being overly conservative here, see <https://docs.influxdata.com/influxdb/v2/reference/syntax/line-protocol/#special-characters>, but better bei
go/core/log/metrics.go:45
↓ 4 callers
Method
wait
cpp/core/SPSC.hpp:35
↓ 4 callers
Function
writeBlocksResponseError
(log *log.Logger, w io.Writer, err msgs.TernError)
go/ternblocks/ternblocks.go:387
↓ 4 callers
Function
write_content
cpp/core/httplib.h:3939
↓ 4 callers
Method
write_format
cpp/core/httplib.h:1746
↓ 4 callers
Function
x
()
go/ternweb/preact-10.18.1.module.js:5
↓ 4 callers
Function
xmonRaiseStack
( log *Logger, xmon *Xmon, appType XmonAppType, calldepth int, alertId *int64, binnable bool, quietPeri
go/core/log/xmon.go:555
↓ 3 callers
Method
Acquire
()
go/core/timing/ratelimit.go:70
↓ 3 callers
Function
Approx
cpp/tests/doctest.h:1186
↓ 3 callers
Method
Bins
returns all the upper bounds
go/core/timing/histogram.go:50
↓ 3 callers
Method
CheckBlock
(log *log.Logger, blockService *msgs.BlockService, blockId msgs.BlockId, size uint32, crc msgs.Crc)
go/client/client.go:1673
↓ 3 callers
Function
ContextScopeBase
cpp/tests/doctest.h:1796
↓ 3 callers
Method
Cookie
()
go/cleanup/scratch/scratch.go:88
↓ 3 callers
Method
CreateFile
( log *log.Logger, bufPool *bufpool.BufPool, dirInfoCache *DirInfoCache, path string, // must be absolute
go/client/span.go:538
↓ 3 callers
Method
FieldU32
(name string, value uint32)
go/core/log/metrics.go:94
↓ 3 callers
Method
HasAny
(f BlockServiceFlags)
go/msgs/msgs.go:141
↓ 3 callers
Function
N
(n,u,t)
go/ternweb/preact-10.18.1.module.js:5
↓ 3 callers
Method
New
( bufpool *bufpool.BufPool, offset uint32, count uint32, crcReader CrcReader, // gets fed the pages' crcs,
go/client/client.go:1536
↓ 3 callers
Method
NewFileReader
(log *log.Logger, id msgs.InodeId)
go/client/span.go:1439
↓ 3 callers
Function
PackScalar
(w io.Writer, x V)
go/core/bincode/bincode.go:19
↓ 3 callers
Method
Post
cpp/core/httplib.h:7508
↓ 3 callers
Function
RegistryRequest
( log *log.Logger, timeout *RegistryTimeouts, registryAddress string, req msgs.RegistryRequest, )
go/client/registryreq.go:163
↓ 3 callers
Method
RegistryRequestKind
()
go/msgs/msgs.go:2039
↓ 3 callers
Method
ResolvePath
High-level helper function to take a string path and return the inode
go/client/client.go:1370
↓ 3 callers
Method
ResolvePathWithParent
High-level helper function to take a string path and return the inode and parent inode
go/client/client.go:1348
↓ 3 callers
Method
SetCounters
Attach an optional counters object to track requests. This is only safe to use during initialization.
go/client/client.go:1095
↓ 3 callers
Method
SetFetchBlockServices
()
go/client/client.go:1678
↓ 3 callers
Function
Subcase
cpp/tests/doctest.h:1310
↓ 3 callers
Function
UnpackScalar
(r io.Reader, x *V)
go/core/bincode/bincode.go:66
↓ 3 callers
Method
Versions
()
go/msgs/msgs.go:1629
↓ 3 callers
Method
WhichBin
(x uint64)
go/core/timing/histogram.go:36
↓ 3 callers
Method
_shouldLog
cpp/core/Env.hpp:154
↓ 3 callers
Function
_updateInFlightTxns
cpp/cdc/CDC.cpp:524
↓ 3 callers
Function
_updateSize
cpp/cdc/CDC.cpp:592
↓ 3 callers
Method
addStaticSize
(what string, s string, sameAsSize bool)
go/bincodegen/bincodegen.go:854
↓ 3 callers
Function
addressesIntersect
cpp/registry/RegistryDB.cpp:74
↓ 3 callers
Function
alloc_write_page
kmod/file.c:451
↓ 3 callers
Function
bincodeFromRocksValue
cpp/core/RocksDBUtils.hpp:374
↓ 3 callers
Function
block_socket_log_req_completion
We log requests which error out or take more than 10s to complete
kmod/block.c:238
↓ 3 callers
Function
cdcReq
(log *log.Logger, client *client.Client, reqBody msgs.CDCRequest, respBody msgs.CDCResponse)
go/terntests/req.go:36
↓ 3 callers
Method
check
(log *log.Logger, harness fsTestHarness[Id])
go/terntests/fstest.go:774
↓ 3 callers
Method
checkNewEdgeAfterRename
( logger *log.Logger, dirId msgs.InodeId, targetId msgs.InodeId, name string, creationTime *msgs.TernTime
go/client/shardreq.go:52
↓ 3 callers
Function
check_new_edge_after_rename
kmod/metadata.c:334
↓ 3 callers
Method
cline
(s string)
go/bincodegen/bincodegen.go:842
↓ 3 callers
Method
copyToOut
(blockIx uint32, blockStart uint32, buf []byte, out []byte)
go/client/span.go:971
↓ 3 callers
Function
cppDir
(repoDir string)
go/core/managedprocess/managedprocess.go:33
↓ 3 callers
Function
crc32c_x_pow_n
cpp/crc32c/crc32c_body.c:265
↓ 3 callers
Function
createCurrentLockedEdgeRetry
cpp/cdc/CDCDB.cpp:131
↓ 3 callers
Function
create_client_socket
cpp/core/httplib.h:3154
↓ 3 callers
Function
dirSeek
(fd C.int, off C.long, whence C.int)
go/terntests/dirseek.go:156
↓ 3 callers
Function
directoriesNeedingLock
These are all the directories where we'll lock edges given a request. These function _must be pure_! We call it repeatedly as if it's a property of th
cpp/cdc/CDCDB.cpp:180
↓ 3 callers
Method
entry
cpp/core/LogsDB.cpp:129
↓ 3 callers
Function
fetch_span_pages_move_list
kmod/span.c:122
↓ 3 callers
Method
flag
(k string)
go/terntests/terntests.go:247
↓ 3 callers
Function
formatNanos
(nanos uint64)
go/terntests/terntests.go:38
↓ 3 callers
Function
formatPreciseSize
(bytes uint64)
go/ternweb/ternweb.go:288
↓ 3 callers
Function
format_tuple
cpp/core/FormatTuple.hpp:58
↓ 3 callers
Function
fsTest
( log *log.Logger, registryAddress string, opts *fsTestOpts, counters *client.ClientCounters, harnessType
go/terntests/fstest.go:1266
↓ 3 callers
Function
g
(n,l)
go/ternweb/preact-10.18.1.module.js:5
↓ 3 callers
Function
genCreateFile
(filePrefix string, rand *wyhash.Rand, files *fileHistoryFiles)
go/terntests/filehistory.go:102
↓ 3 callers
Function
generateCppContainer
(hpp io.Writer, cpp io.Writer, name string, kindTypeName string, types []containerType)
go/bincodegen/bincodegen.go:1144
↓ 3 callers
Function
generateGoSingle
(out io.Writer, t reflect.Type)
go/bincodegen/bincodegen.go:152
↓ 3 callers
Function
generateKmodGet
(staticSizes map[string]int, h io.Writer, typ reflect.Type)
go/bincodegen/bincodegen.go:500
↓ 3 callers
Function
generateKmodPut
(staticSizes map[string]int, h io.Writer, typ reflect.Type)
go/bincodegen/bincodegen.go:617
↓ 3 callers
Function
generateKmodSize
(staticSizes map[string]int, maxSizes map[string]int, w io.Writer, typ reflect.Type)
go/bincodegen/bincodegen.go:418
↓ 3 callers
Function
generateKmodStruct
(w io.Writer, typ reflect.Type, fldName string, fld string)
go/bincodegen/bincodegen.go:411
↓ 3 callers
Function
getAllDents
(bufsize int, fd C.int)
go/terntests/dirseek.go:140
↓ 3 callers
Method
getLastContinuous
cpp/core/LogsDB.cpp:1858
↓ 3 callers
Method
getReplicas
cpp/shard/Shard.cpp:179
↓ 3 callers
Function
get_ip_and_port
cpp/core/httplib.h:3234
↓ 3 callers
Function
gf_mul
(x, y)
cpp/rs/gf_tables.py:22
↓ 3 callers
Function
handleError
returns whether the connection should be terminated
go/ternregistryproxy/ternregistryproxy.go:235
← previous
next →
501–600 of 4,832, ranked by callers