MCPcopy Index your code

hub / github.com/VKCOM/nocc / functions

Functions508 in github.com/VKCOM/nocc

↓ 48 callersMethodInfo
(verbosity int, v ...interface{})
internal/common/logger.go:47
↓ 43 callersMethodError
(v ...interface{})
internal/common/logger.go:53
↓ 34 callersMethodwriteStat
(statName string, value int64)
internal/server/statsd.go:50
↓ 20 callersMethodClose
()
internal/server/statsd.go:118
↓ 17 callersFunctionfile_pb_nocc_protobuf_proto_rawDescGZIP
()
pb/nocc-protobuf.pb.go:1292
↓ 12 callersFunctionfailedStart
(message string, err error)
cmd/nocc-server/main.go:16
↓ 11 callersFunctionexecute_cxx_locally
execute_cxx_locally() replaces current process (nocc.cpp) with a cxx process it's called when a daemon is unavailable or for linking (for linking, noc
cmd/nocc.cpp:90
↓ 9 callersFunctionCmdEnvBool
(usage string, def bool, cmdFlagName string, envName string)
internal/common/cmd-env-flags.go:187
↓ 9 callersMethodFallbackToLocalCxx
(req DaemonSockRequest, reason error)
internal/client/daemon.go:257
↓ 8 callersFunctionCmdEnvString
(usage string, def string, cmdFlagName string, envName string)
internal/common/cmd-env-flags.go:180
↓ 7 callersFunctionCmdEnvInt
(usage string, def int64, cmdFlagName string, envName string)
internal/common/cmd-env-flags.go:194
↓ 7 callersFunctionGetVersion
()
internal/common/version.go:6
↓ 7 callersMethodRecv
()
pb/nocc-protobuf_grpc.pb.go:156
↓ 7 callersMethodSend
(*DumpLogsReply)
pb/nocc-protobuf_grpc.pb.go:367
↓ 7 callersFunctionfailedStart
(err interface{})
cmd/nocc-daemon/main.go:14
↓ 7 callersFunctionstrChr
(buffer []byte, chr byte, bufferSize int, offset int)
internal/client/own-includes-parser.go:48
↓ 6 callersFunctionExtractRemoteHostWithoutPort
(remoteHostPort string)
internal/client/remote-connection.go:31
↓ 5 callersMethodAddHFileInfo
(hFileName string, fileSize int64, fileSHA256 common.SHA256, nestedIncludes []string)
internal/client/includes-cache.go:65
↓ 5 callersMethodAsCxxArgs
()
internal/client/include-dirs.go:28
↓ 5 callersMethodClear
()
internal/client/grpc-client.go:40
↓ 5 callersMethodMapClientFileNameToServerAbs
MapClientFileNameToServerAbs converts a client file name to an absolute path on server. For example, /proj/1.cpp maps to /tmp/nocc/cpp/clients/{client
internal/server/client.go:78
↓ 5 callersFunctionReplaceFileExt
(fileName string, newExt string)
internal/common/filesystem.go:23
↓ 5 callersMethodString
()
internal/common/cmd-env-flags.go:115
↓ 5 callersMethodToLongHexString
()
internal/common/sha256-struct.go:32
↓ 5 callersMethodgetEnvName
()
internal/common/cmd-env-flags.go:19
↓ 5 callersMethodonHashInclude
onHashInclude is a handler when we reached #include "arg" it finds what full path "arg" actually points to and processes that file recursively
internal/client/own-includes-parser.go:101
↓ 5 callersFunctionpathAbs
(cwd string, relPath string)
internal/client/invocation.go:67
↓ 5 callersFunctionprepareEmptyDir
prepareEmptyDir ensures that serverDir exists and is empty it's executed on server launch as a consequence, all file caches are lost on restart
cmd/nocc-server/main.go:24
↓ 5 callersFunctionrunGccWithNoccAndCompareOutputDepfiles
(t *testing.T, cmdLineStr string, dirToClear string, expectedOutDFileName string)
tests/depfiles_test.go:51
↓ 4 callersMethodActiveCount
()
internal/server/clients-storage.go:126
↓ 4 callersMethodAddTiming
(nameOfDoneStep string)
internal/client/invocation-summary.go:36
↓ 4 callersMethodDoneRecvObj
(err error)
internal/client/invocation.go:244
↓ 4 callersMethodGetBytesOnDisk
()
internal/server/file-cache.go:147
↓ 4 callersMethodGetClient
(clientID string)
internal/server/clients-storage.go:35
↓ 4 callersMethodGetFilesCount
()
internal/server/file-cache.go:140
↓ 4 callersFunctionMakeGRPCClient
(remoteHostPort string)
internal/client/grpc-client.go:18
↓ 4 callersFunctionMakeSHA256Struct
(hasher hash.Hash)
internal/common/sha256-struct.go:43
↓ 4 callersMethodOnRemoteBecameUnavailable
(remoteHostPost string, reason error)
internal/client/daemon.go:171
↓ 4 callersMethodStartCompilationSession
(ctx context.Context, in *StartCompilationSessionRequest, opts ...grpc.CallOption)
pb/nocc-protobuf_grpc.pb.go:23
↓ 4 callersFunctioncreateClientAndEmulateDaemonForTesting
(cmdLineStr string)
tests/testing_utils.go:11
↓ 4 callersFunctionescapeMakefileSpaces
escapeMakefileSpaces outputs a string which slashed spaces
internal/client/dep-files.go:182
↓ 4 callersFunctionformatStr
(prefix string, v ...interface{})
internal/common/logger.go:43
↓ 4 callersMethodgetCmdName
()
internal/common/cmd-env-flags.go:18
↓ 4 callersFunctionisSourceFileName
(fileName string)
internal/client/invocation.go:53
↓ 4 callersFunctionrunCmdLocallyForTesting
(cmdLineStr string)
tests/testing_utils.go:34
↓ 3 callersFunctionCalcSHA256OfFile
CalcSHA256OfFile reads the opened file up to end and returns its sha256 and contents.
internal/client/includes-collector.go:135
↓ 3 callersMethodCreateHardLinkFromRealPch
CreateHardLinkFromRealPch makes `ln` to a desired folder. When a client tells that 1.cpp depends on /path/to/all-headers.nocc-pch, we recreate path/to
internal/server/pch-compilation.go:122
↓ 3 callersMethodDeleteClient
(client *Client)
internal/server/clients-storage.go:79
↓ 3 callersMethodDoneUploadFile
(err error)
internal/client/invocation.go:253
↓ 3 callersMethodDropAllCaches
(ctx context.Context, in *DropAllCachesRequest, opts ...grpc.CallOption)
pb/nocc-protobuf_grpc.pb.go:30
↓ 3 callersMethodGetHFileInfo
(hFileName string)
internal/client/includes-cache.go:58
↓ 3 callersMethodIsEmpty
()
internal/common/sha256-struct.go:17
↓ 3 callersFunctionMakeDepFileFromFile
MakeDepFileFromFile parses .o.d. file and creates DepFile
internal/client/dep-files.go:40
↓ 3 callersFunctionMakeLoggerClient
(logFile string, verbosity int64, noLogsIfEmpty bool)
internal/client/logger-client.go:8
↓ 3 callersMethodQuitDaemonGracefully
(reason string)
internal/client/daemon.go:151
↓ 3 callersMethodRecreateReceiveStreamOrQuit
(failedStreamCancelFunc context.CancelFunc, err error)
internal/client/files-receiving.go:45
↓ 3 callersMethodStartClient
Compilation api
pb/nocc-protobuf_grpc.pb.go:22
↓ 3 callersMethodStatus
Service api
pb/nocc-protobuf_grpc.pb.go:28
↓ 3 callersMethodStopClient
(ctx context.Context, in *StopClientRequest, opts ...grpc.CallOption)
pb/nocc-protobuf_grpc.pb.go:26
↓ 3 callersMethodString
()
internal/client/own-includes-parser.go:56
↓ 3 callersFunctioncompareTwoDepfiles
(lhs *client.DepFile, rhs *client.DepFile, lhsDesc string, rhsDesc string)
tests/depfiles_test.go:20
↓ 3 callersFunctionfailedStartDaemon
(err interface{})
cmd/nocc-daemon/main.go:19
↓ 3 callersFunctionformat_time_to_log
cmd/nocc.cpp:43
↓ 3 callersFunctioninitCmdFlag
(s cmdLineArg, cmdName string, usage string)
internal/common/cmd-env-flags.go:145
↓ 3 callersFunctionquoteMakefileTarget
quoteMakefileTarget escapes any characters which are special to Make
internal/client/dep-cmd-flags.go:164
↓ 3 callersFunctionsendLogFileByChunks
sendLogFileByChunks streams a local server log file, for debugging purposes (implementation is similar to streaming obj file, but made simpler). See c
internal/server/files-stream-server.go:93
↓ 2 callersMethodActiveSessionsCount
()
internal/server/clients-storage.go:137
↓ 2 callersMethodAddDepInclude
(fileName string, fileSize int64, fileSHA256 SHA256)
internal/common/own-pch-files.go:63
↓ 2 callersMethodAddIncludeResolve
(quotedArg string, hFileName string)
internal/client/includes-cache.go:52
↓ 2 callersMethodCollectDependentIncludes
CollectDependentIncludes finds dependencies for an input .cpp file. "dependencies" are typically all reachable .h files at any level, and probably pre
internal/client/invocation.go:222
↓ 2 callersMethodCount
()
internal/client/include-dirs.go:24
↓ 2 callersMethodCount
()
internal/server/system-headers.go:73
↓ 2 callersMethodCreateReceiveStream
()
internal/client/files-receiving.go:31
↓ 2 callersMethodCreateUploadStream
()
internal/client/files-uploading.go:36
↓ 2 callersMethodDropAll
()
internal/server/file-cache.go:155
↓ 2 callersMethodDumpLogs
(ctx context.Context, in *DumpLogsRequest, opts ...grpc.CallOption)
pb/nocc-protobuf_grpc.pb.go:29
↓ 2 callersFunctionEmulateDaemonInsideThisProcessForDev
EmulateDaemonInsideThisProcessForDev is for dev purposes: for development, I use `nocc-daemon g++ ...` from GoLand directly (without a C++ `nocc` wrap
internal/client/compile-locally.go:43
↓ 2 callersMethodFilesCount
()
internal/server/client.go:269
↓ 2 callersMethodFindBySessionID
(sessionID uint32)
internal/client/daemon.go:291
↓ 2 callersMethodForceInterrupt
(err error)
internal/client/invocation.go:261
↓ 2 callersMethodFromLongHexString
(hex string)
internal/common/sha256-struct.go:36
↓ 2 callersMethodGetMore10secCount
()
internal/server/cxx-launcher.go:83
↓ 2 callersMethodGetMore30secCount
()
internal/server/cxx-launcher.go:87
↓ 2 callersMethodGetPurgedFilesCount
()
internal/server/file-cache.go:151
↓ 2 callersMethodGetTotalCxxCallsCount
()
internal/server/cxx-launcher.go:75
↓ 2 callersMethodHandleInvocation
(req DaemonSockRequest)
internal/client/daemon.go:180
↓ 2 callersFunctionIsSystemHeaderPath
(somePathOrFileName string)
internal/server/system-headers.go:34
↓ 2 callersFunctionLocateOwnPchFile
LocateOwnPchFile finds a .nocc-pch file next to .h. The results are cached: if a file doesn't exist, it won't be looked up again until daemon is alive
internal/client/includes-collector.go:179
↓ 2 callersMethodLookupInCache
(key common.SHA256)
internal/server/file-cache.go:67
↓ 2 callersFunctionMakeDaemon
(remoteNoccHosts []string, disableObjCache bool, disableOwnIncludes bool, maxLocalCxxProcesses int64)
internal/client/daemon.go:81
↓ 2 callersFunctionMakeDepFileFromBytes
MakeDepFileFromBytes parses contents of .o.d file and creates DepFile
internal/client/dep-files.go:34
↓ 2 callersFunctionMakeFileCache
(cacheDir string, limitBytes int64)
internal/server/file-cache.go:54
↓ 2 callersFunctionMakeIncludeDirs
()
internal/client/include-dirs.go:11
↓ 2 callersFunctionMakeLogger
(logFile string, verbosity int64, noLogsIfEmpty bool, duplicateToStderr bool)
internal/common/logger.go:18
↓ 2 callersMethodMapServerAbsToClientFileName
MapServerAbsToClientFileName converts an absolute path on server relatively to the client working dir. For example, /tmp/nocc/cpp/clients/{clientID}/p
internal/server/client.go:91
↓ 2 callersFunctionMkdirForFile
(fileName string)
internal/common/filesystem.go:11
↓ 2 callersFunctionOpenTempFile
(fullPath string)
internal/common/filesystem.go:18
↓ 2 callersFunctionParseCmdFlagsCombiningWithEnv
()
internal/common/cmd-env-flags.go:201
↓ 2 callersFunctionParseOwnPchFile
(ownPchFile string)
internal/common/own-pch-files.go:216
↓ 2 callersMethodPeriodicallyInterruptHangedInvocations
()
internal/client/daemon.go:298
next →1–100 of 508, ranked by callers