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
↓ 5 callers
Function
newFsTestDir
(id Id)
go/terntests/fstest.go:606
↓ 5 callers
Method
pack
cpp/registry/RegistryDBLogEntry.cpp:19
↓ 5 callers
Function
parseTemplates
(ts ...namedTemplate)
go/ternweb/ternweb.go:45
↓ 5 callers
Method
pline
(s string)
go/bincodegen/bincodegen.go:834
↓ 5 callers
Function
process_status
(p, fmt, *args, **kwargs)
common.py:20
↓ 5 callers
Function
readBlocksResponse
( log *log.Logger, r io.Reader, resp msgs.BlocksResponse, )
go/client/blocksreq.go:71
↓ 5 callers
Function
readCdcInfo
cpp/registry/RegistryDBData.hpp:211
↓ 5 callers
Function
readShardInfo
cpp/registry/RegistryDBData.hpp:144
↓ 5 callers
Method
remove
(slot int32)
go/client/dirinfocache.go:62
↓ 5 callers
Function
rs_data_blocks
cpp/rs/rs.h:38
↓ 5 callers
Function
run_docker_unbuffered
(docker_args, args)
ci.py:28
↓ 5 callers
Method
send
This currently never fails (everything network related happens in the processor loops), keeping error since it might fail in the future
go/client/client.go:885
↓ 5 callers
Function
serialize_multipart_formdata
cpp/core/httplib.h:4576
↓ 5 callers
Method
setLastReleased
cpp/core/LogsDB.cpp:513
↓ 5 callers
Function
set_nonblocking
cpp/core/httplib.h:3068
↓ 5 callers
Method
shards
cpp/registry/RegistryDB.cpp:1088
↓ 5 callers
Method
targetId
cpp/shard/ShardDBData.hpp:652
↓ 5 callers
Function
ternfs_dir_entry_size
kmod/dir.c:19
↓ 5 callers
Function
ternfs_get_inode_normal
kmod/inode.h:156
↓ 5 callers
Function
ternfs_get_policy_body
kmod/policy.c:139
↓ 5 callers
Function
ternfs_send_cdc_req
kmod/metadata.c:178
↓ 5 callers
Method
timespec
cpp/core/Time.hpp:51
↓ 5 callers
Method
toSockAddrIn
cpp/core/Msgs.cpp:11
↓ 5 callers
Method
uline
(s string)
go/bincodegen/bincodegen.go:838
↓ 5 callers
Method
unlock
(locked *bool)
go/ternfuse/ternfuse.go:413
↓ 5 callers
Method
unpack
cpp/registry/RegistryDBLogEntry.cpp:24
↓ 5 callers
Function
wait_cmd
(p, timeout=None)
common.py:42
↓ 5 callers
Function
writeBlocksRequest
(log *log.Logger, w io.Writer, blockServiceId msgs.BlockServiceId, req msgs.BlocksRequest)
go/client/blocksreq.go:54
↓ 5 callers
Function
writeCdcInfo
cpp/registry/RegistryDBData.hpp:224
↓ 5 callers
Function
writeIfChanged
Useful to not have spurious rebuilds that depend on mtime
go/bincodegen/bincodegen.go:1497
↓ 5 callers
Method
writeLogEntries
cpp/core/LogsDB.cpp:278
↓ 5 callers
Function
writeShardInfo
cpp/registry/RegistryDBData.hpp:157
↓ 4 callers
Method
BlocksRequestKind
()
go/msgs/msgs.go:2385
↓ 4 callers
Method
BlocksResponseKind
()
go/msgs/msgs.go:2391
↓ 4 callers
Method
ComputeParityInto
(data [][]byte, parity [][]byte)
go/core/rs/rs.go:72
↓ 4 callers
Method
CreateSpan
Appends a new span to a given file. Note: the buffer underlying data might be modified by adding padding zeros for the purpose of splitting things int
go/client/span.go:279
↓ 4 callers
Method
Error
()
go/s3/s3.go:39
↓ 4 callers
Method
FetchBlock
Retrieve a single block from the block server. The block is identified by the BlockService (which holds the id, status flags and ips/ports) and the B
go/client/client.go:1483
↓ 4 callers
Function
FileEtag
FileEtag generates a consistent ETag for a given file ID.
go/s3/s3.go:212
↓ 4 callers
Method
GetFailureDomainForBlockService
(blockServiceId msgs.BlockServiceId)
go/client/client.go:1691
↓ 4 callers
Function
I
(n,l,u,t,i)
go/ternweb/preact-10.18.1.module.js:5
↓ 4 callers
Method
InodeIdExtra
cpp/core/Msgs.hpp:328
↓ 4 callers
Method
Len
()
go/cleanup/migrate.go:784
↓ 4 callers
Method
Payload
()
go/core/log/metrics.go:35
↓ 4 callers
Method
RaiseAlertStack
(appType XmonAppType, calldepth int, format string, v ...any)
go/core/log/log.go:256
↓ 4 callers
Method
RecoverInto
( haveBlocks uint32, // bitmap blocks [][]byte, wantBlock uint8, block []byte, )
go/core/rs/rs.go:97
↓ 4 callers
Method
Rename
(ctx context.Context, oldName string, newParent0 fs.InodeEmbedder, newName string, flags uint32)
go/ternfuse/ternfuse.go:583
↓ 4 callers
Method
Reset
()
go/core/timing/timings.go:59
↓ 4 callers
Function
S
(n,l,u)
go/ternweb/preact-10.18.1.module.js:5
↓ 4 callers
Method
SendMetrics
(payload io.Reader)
go/core/log/metrics.go:112
↓ 4 callers
Method
SetBlockTimeouts
Override the block timeout parameters. This is only safe to use during initialization.
go/client/client.go:1113
↓ 4 callers
Method
ShardRequestKind
()
go/msgs/msgs_bincode.go:19
↓ 4 callers
Method
Sink
(level LogLevel)
go/core/log/log.go:350
↓ 4 callers
Method
StartFetchBlock
(log *log.Logger, blockService *msgs.BlockService, blockId msgs.BlockId, offset uint32, count uint32, w io.Rea
go/client/span.go:1305
↓ 4 callers
Method
String
()
go/msgs/msgs.go:319
↓ 4 callers
Method
TotalTime
In these aggregates we're conservative (pick the upper bound)
go/core/timing/timings.go:76
↓ 4 callers
Method
WriteCache
(offset uint64, data []byte)
go/client/span.go:1015
↓ 4 callers
Method
_setVersion
cpp/cdc/CDCDB.cpp:1485
↓ 4 callers
Method
addFile
(name string, id msgs.InodeId, creationTime msgs.TernTime)
go/terntests/filehistory.go:62
↓ 4 callers
Function
addressFromReplicaId
cpp/cdc/CDC.cpp:596
↓ 4 callers
Method
afterAlloc
cpp/shard/ShardDBData.hpp:557
↓ 4 callers
Function
appTypeString
cpp/core/Xmon.cpp:27
↓ 4 callers
Method
basename
()
go/s3/s3.go:125
↓ 4 callers
Function
block_socket_key
kmod/block.c:48
↓ 4 callers
Function
cdcRequest
(req msgs.CDCRequest, resp msgs.CDCResponse)
go/ternfuse/ternfuse.go:141
↓ 4 callers
Method
cdcs
cpp/registry/RegistryDB.cpp:1100
↓ 4 callers
Function
check
cpp/tests/doctest.h:838
↓ 4 callers
Function
createFile
( log *log.Logger, client *client.Client, dirInfoCache *client.DirInfoCache, dirId msgs.InodeId, spanSize
go/terntests/req.go:49
↓ 4 callers
Method
deleteCF
cpp/core/SharedRocksDB.cpp:149
↓ 4 callers
Method
done
cpp/core/CommonOptions.hpp:50
↓ 4 callers
Method
end
cpp/cdc/CDCDB.cpp:158
↓ 4 callers
Function
enumName
(t reflect.Type)
go/bincodegen/bincodegen.go:200
↓ 4 callers
Method
file
* func (files *files) id(name string) msgs.InodeId { ix, present := files.byName[name] if !present { panic(fmt.Errorf("name not found %v", name))
go/terntests/filehistory.go:80
↓ 4 callers
Method
flags
cpp/shard/BlockServicesCacheDB.cpp:172
↓ 4 callers
Function
formatSize
(bytes uint64)
go/ternweb/ternweb.go:268
↓ 4 callers
Function
genDeleteFile
(filePrefix string, rand *wyhash.Rand, files *fileHistoryFiles)
go/terntests/filehistory.go:116
↓ 4 callers
Method
generateBytes
cpp/core/Random.cpp:74
↓ 4 callers
Function
generateCppReqResp
(hpp io.Writer, cpp io.Writer, what string, reqResps []reqRespType)
go/bincodegen/bincodegen.go:1349
↓ 4 callers
Function
generateKmodMsgKind
(hOut io.Writer, cOut io.Writer, what string, reqResps []reqRespType)
go/bincodegen/bincodegen.go:343
↓ 4 callers
Method
getStats
cpp/shard/BlockServicePicker.cpp:342
↓ 4 callers
Function
get_range_offset_and_length
cpp/core/httplib.h:4591
↓ 4 callers
Function
gf_inv
cpp/rs/rs_core.c:17
↓ 4 callers
Function
handleRecover
( ch chan *errorWithStack, err any, info string, )
go/client/span_test.go:31
↓ 4 callers
Method
id
cpp/registry/RegistryDB.cpp:708
↓ 4 callers
Function
inodeTypeToMode
(typ msgs.InodeType)
go/ternfuse/ternfuse.go:115
↓ 4 callers
Function
inode_get_atime_sec
kmod/inode_compat.h:63
↓ 4 callers
Function
inode_set_ctime
kmod/inode_compat.h:50
↓ 4 callers
Function
inode_set_mtime
kmod/inode_compat.h:115
↓ 4 callers
Function
is_space_or_tab
cpp/core/httplib.h:2443
↓ 4 callers
Function
loadState
(db *sql.DB, what string, state any)
go/terngc/terngc.go:58
↓ 4 callers
Method
locations
cpp/registry/RegistryDB.cpp:1077
↓ 4 callers
Method
lock
cpp/core/AssertiveLock.hpp:40
↓ 4 callers
Function
lookup
(log *log.Logger, client *client.Client, path string)
go/ternweb/ternweb.go:464
↓ 4 callers
Function
marshalJSONId
(id uint64)
go/msgs/msgs.go:228
↓ 4 callers
Function
migrateBlocksInFileGeneric
We reuse this functionality for scrubbing, they're basically doing the same thing.
go/cleanup/migrate.go:267
↓ 4 callers
Method
parityBlocks
cpp/core/Msgs.hpp:383
↓ 4 callers
Function
parseKernelMetricsHeader
(serviceType string)
go/terncli/kernelmetrics.go:59
↓ 4 callers
Function
parseObjectPath
(str string)
go/s3/s3.go:143
↓ 4 callers
Function
parseUint8
cpp/core/CommonOptions.hpp:233
↓ 4 callers
Function
process_file_pages
kmod/file.c:1176
← previous
next →
401–500 of 4,832, ranked by callers