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
↓ 479 callers
Method
size
cpp/core/httplib.h:2501
↓ 288 callers
Method
Info
(format string, v ...any)
go/core/log/log.go:239
↓ 264 callers
Method
toSlice
cpp/core/RocksDBUtils.hpp:152
↓ 258 callers
Function
rs_mk_parity
cpp/rs/rs.h:50
↓ 234 callers
Method
data
cpp/core/httplib.h:2611
↓ 204 callers
Method
Debug
(format string, v ...any)
go/core/log/log.go:231
↓ 183 callers
Method
kind
cpp/core/MsgsGen.hpp:6967
↓ 147 callers
Method
packedSize
cpp/core/MsgsGen.hpp:1226
↓ 129 callers
Method
end
cpp/cdc/CDC.cpp:186
↓ 116 callers
Method
size
cpp/shard/ShardDBData.hpp:510
↓ 113 callers
Method
String
()
go/terns3/terns3.go:23
↓ 111 callers
Method
Bytes
()
go/core/bufpool/bufpool.go:58
↓ 108 callers
Method
ShardRequest
This function will set the mtu field for requests that have it with whatever is in `SetMTU`
go/client/shardreq.go:184
↓ 103 callers
Method
tag
cpp/core/Metrics.hpp:38
↓ 101 callers
Function
get_unaligned_le64
kmod/bincode_tests.c:29
↓ 101 callers
Function
put_unaligned_le64
kmod/bincode_tests.c:56
↓ 100 callers
Method
Name
cpp/core/RocksDBUtils.cpp:35
↓ 94 callers
Method
find
cpp/cdc/CDC.cpp:182
↓ 92 callers
Method
Write
(p []byte)
go/core/log/log.go:331
↓ 87 callers
Method
Close
()
go/cleanup/scratch/scratch.go:17
↓ 87 callers
Method
Put
cpp/core/httplib.h:7622
↓ 86 callers
Function
ternNow
cpp/core/Time.cpp:75
↓ 81 callers
Method
Pack
(w io.Writer)
go/core/bincode/bincode.go:16
↓ 78 callers
Method
type
cpp/core/Msgs.hpp:271
↓ 77 callers
Method
Unpack
(r io.Reader)
go/core/bincode/bincode.go:135
↓ 74 callers
Method
get
cpp/core/Connect.hpp:34
↓ 71 callers
Method
Shard
()
go/msgs/msgs.go:220
↓ 69 callers
Method
Get
cpp/core/httplib.h:7377
↓ 67 callers
Method
clear
cpp/core/MsgsGen.cpp:681
↓ 64 callers
Method
begin
cpp/cdc/CDCDB.cpp:154
↓ 64 callers
Method
shard
cpp/core/Msgs.hpp:279
↓ 61 callers
Method
Uint64
()
go/core/wyhash/wyhash.go:24
↓ 61 callers
Method
clear
cpp/shard/ShardDB.hpp:27
↓ 58 callers
Method
FieldU64
(name string, value uint64)
go/core/log/metrics.go:90
↓ 58 callers
Method
key
cpp/core/LogsDB.cpp:125
↓ 55 callers
Method
DataBlocks
()
go/core/parity/parity.go:27
↓ 53 callers
Method
packBytes
cpp/core/Bincode.hpp:314
↓ 53 callers
Method
unpackBytes
cpp/core/Bincode.hpp:364
↓ 52 callers
Method
Duration
cpp/core/Time.hpp:15
↓ 50 callers
Method
New
(cellSize uint32)
go/client/client.go:1511
↓ 50 callers
Method
erase
cpp/cdc/CDC.cpp:190
↓ 49 callers
Method
clear
cpp/registry/RegistryDBLogEntry.cpp:29
↓ 48 callers
Method
RaiseAlert
(format string, v ...any)
go/core/log/log.go:264
↓ 47 callers
Method
Add
(d time.Duration)
go/core/timing/timings.go:66
↓ 47 callers
Method
Uint32
()
go/core/wyhash/wyhash.go:33
↓ 47 callers
Function
k
(n)
go/ternweb/preact-10.18.1.module.js:5
↓ 47 callers
Function
kmodStructName
(typ reflect.Type)
go/bincodegen/bincodegen.go:386
↓ 47 callers
Method
push
Tries to push all the elements. Returns how many were actually pushed. First element in `els` gets pushed first. Returns 0 if the queue is closed.
cpp/core/SPSC.hpp:128
↓ 46 callers
Method
Unlock
()
go/cleanup/scratch/scratch.go:54
↓ 46 callers
Method
blocks
cpp/shard/BlockServicesCacheDB.cpp:212
↓ 45 callers
Method
Shard
()
go/cleanup/scratch/scratch.go:102
↓ 44 callers
Method
Type
()
go/msgs/msgs.go:212
↓ 44 callers
Method
ref
cpp/core/Bincode.hpp:140
↓ 43 callers
Method
Get
This does _not_ zero the memory in the bufs -- i.e. there might be garbage in it. The user shouldn't extend the backing buffer, although things will k
go/core/bufpool/bufpool.go:81
↓ 42 callers
Method
measurement
cpp/core/Metrics.cpp:27
↓ 42 callers
Method
timestamp
cpp/core/Metrics.cpp:62
↓ 40 callers
Method
Write
(ctx context.Context, data []byte, off int64)
go/ternfuse/ternfuse.go:421
↓ 40 callers
Method
getCF
cpp/core/SharedRocksDB.cpp:139
↓ 40 callers
Method
next
cpp/core/LogsDB.cpp:114
↓ 40 callers
Method
pack
cpp/cdc/CDCDB.cpp:1317
↓ 39 callers
Method
Next
(startedAt time.Time)
go/core/timing/timeouts.go:62
↓ 39 callers
Method
ensureFinished
cpp/core/Bincode.hpp:290
↓ 39 callers
Method
insert
cpp/cdc/CDC.cpp:195
↓ 39 callers
Method
packedSize
cpp/cdc/CDCDB.cpp:1329
↓ 39 callers
Method
size
cpp/registry/RegistryDBData.hpp:292
↓ 36 callers
Method
Delete
cpp/core/httplib.h:7791
↓ 36 callers
Method
ErrorNoAlert
There should be very few times where you want an error log but not an alert.
go/core/log/log.go:248
↓ 36 callers
Method
Put
(buf *Buf)
go/core/bufpool/bufpool.go:109
↓ 36 callers
Method
getLastReleased
cpp/core/LogsDB.cpp:1874
↓ 36 callers
Method
set_header
cpp/core/httplib.h:5130
↓ 35 callers
Method
Lock
()
go/cleanup/scratch/scratch.go:18
↓ 35 callers
Method
Set
(value string)
go/terns3/terns3.go:27
↓ 34 callers
Method
processLogEntries
cpp/registry/RegistryDB.cpp:166
↓ 33 callers
Method
generate64
cpp/core/Random.cpp:47
↓ 32 callers
Method
Blocks
()
go/core/parity/parity.go:33
↓ 32 callers
Method
creationTime
cpp/shard/ShardDBData.hpp:617
↓ 32 callers
Function
get_unaligned_le32
kmod/bincode_tests.c:34
↓ 31 callers
Method
Size
()
go/cleanup/scratch/scratch.go:109
↓ 31 callers
Method
id
cpp/core/Msgs.hpp:275
↓ 31 callers
Function
put_unaligned_le32
kmod/bincode_tests.c:59
↓ 30 callers
Method
String
()
go/terntests/terntests.go:215
↓ 30 callers
Method
Tag
(name string, value string)
go/core/log/metrics.go:65
↓ 30 callers
Method
db
cpp/core/SharedRocksDB.cpp:174
↓ 30 callers
Method
registerCFDescriptors
cpp/core/SharedRocksDB.cpp:133
↓ 29 callers
Method
Crc
cpp/core/Msgs.hpp:419
↓ 29 callers
Method
Wait
Returns no error because `terminateChan` is used to propagate errors upwards anyway.
go/core/managedprocess/managedprocess.go:47
↓ 29 callers
Function
bs
cpp/tests/blockservicepickertests.cpp:22
↓ 28 callers
Method
ShardId
cpp/core/Msgs.hpp:106
↓ 28 callers
Function
handleProxyRequest
(log *log.Logger, s *state, req msgs.RegistryRequest)
go/ternregistryproxy/ternregistryproxy.go:93
↓ 28 callers
Function
ternfs_error_to_linux
Safe to use with non-error `err`
kmod/err.c:81
↓ 27 callers
Method
dirId
cpp/shard/ShardDBData.hpp:613
↓ 27 callers
Method
isInlineStorage
In new format storage type is stored in BlocksBody as it can be different per location This function maintains same external api to determine if span
cpp/shard/ShardDBData.hpp:293
↓ 27 callers
Method
open
cpp/tests/utils/TempRegistryDB.hpp:34
↓ 27 callers
Method
updateAlert
cpp/core/Env.hpp:137
↓ 26 callers
Method
blocksBodyReadOnly
cpp/shard/ShardDBData.hpp:404
↓ 26 callers
Method
fieldU64
cpp/core/Metrics.hpp:46
↓ 26 callers
Method
size
cpp/core/Bincode.hpp:99
↓ 26 callers
Method
size
cpp/cdc/CDC.cpp:174
↓ 26 callers
Function
to_string
cpp/core/httplib.h:1881
↓ 25 callers
Method
InodeId
cpp/core/Msgs.hpp:248
next →
1–100 of 4,832, ranked by callers