MCPcopy Create free account

hub / github.com/9elements/autorev / functions

Functions102 in github.com/9elements/autorev

↓ 66 callersMethodappendNode
appendNode - Adds the node to end of the first branch
mesh/mesh.go:554
↓ 22 callersMethodwrite
Write to Serial or FIFO with timeout
tracelog/tracelog.go:444
↓ 13 callersMethodClose
Close - Close DB Connection
test/test.go:25
↓ 10 callersMethodFirstPath
FirstPath - returns first path starting at the children of the given node
mesh/mesh.go:106
↓ 9 callersMethodString
String - Convert TraceLogEntry into a Readable String
tracelog/tracelog.go:92
↓ 9 callersFunctionmerge
(branch *Mesh, mesh *Mesh)
mesh/mesh.go:443
↓ 9 callersMethodwriteString
See write
tracelog/tracelog.go:491
↓ 7 callersMethodNextPath
NextPath - returns the next path starting at the children of the given node. You have to pass the last path (returned by FirstPath or NextPath) as arg
mesh/mesh.go:137
↓ 6 callersMethodinsertNode
insertNode - Adds the node to an existing node of the mesh
mesh/mesh.go:566
↓ 5 callersFunctionmergeNodes
merge b into m
mesh/mesh.go:342
↓ 5 callersMethodread
read - Reads single char from serial or FIFO with timeout
tracelog/tracelog.go:361
↓ 4 callersMethodConvertToC
()
ir/ir.go:33
↓ 4 callersMethodCreateNode
CreateNode - Create a new node, but don't add it to the mesh
mesh/mesh.go:315
↓ 4 callersMethodGetConfig
GetConfig - Fetch the config from the last test
test/test.go:228
↓ 4 callersMethodInsertTraceLogIntoMesh
InsertTraceLogIntoMesh - Inserts a complete tracelog into the mesh It first creates a new branch and then merges the branch into the mesh using LCS Ev
mesh/mesh.go:592
↓ 3 callersFunctionConvertToType
ConvertToType - Convert a string into a Type
tracelog/tracelog.go:64
↓ 3 callersFunctionequalMap
Compares two unsorted slices if those have equal contents
mesh/mesh.go:638
↓ 3 callersMethodshellcmd
shellcmd - execute a shell cmd. Allows to run custom scripts that power the DUT
tracelog/tracelog.go:268
↓ 2 callersMethodCollectNewTracelog
CollectNewTracelog - Collects a new Trace Log
tracelog/tracelog.go:514
↓ 2 callersFunctionConvertToDir
ConvertToDir - Convert InputDirection into Bool
tracelog/tracelog.go:81
↓ 2 callersMethodGetNextTest
GetNextTest - Get next free test
test/test.go:65
↓ 2 callersMethodSetTestFailed
SetTestFailed - Update Test to failed
test/test.go:125
↓ 2 callersMethodSetTestInProgress
SetTestInProgress - Update Test to be in Progress
test/test.go:101
↓ 2 callersMethodSetTestSuccessful
SetTestSuccessful - Update Test to failed
test/test.go:113
↓ 2 callersMethodSetVerbose
SetVerbose - Set verbosity of tracing
tracelog/tracelog.go:263
↓ 2 callersMethodWriteSetIntoDB
WriteSetIntoDB - write a TraceLogEntry Set into the DB with fk = LasttestTestID123
test/test.go:276
↓ 2 callersMethodreadString
read from serial until search string search is found
tracelog/tracelog.go:423
↓ 1 callersMethodAnyPathesContainNode
AnyPathesContainNode - returns true if one of the pathes contains the meshnode to find
mesh/mesh.go:194
↓ 1 callersMethodCommonMergePoint
CommonMergePoint - returns the merge point of all branches starting from this node
mesh/mesh.go:206
↓ 1 callersMethodConvertToC
()
ir/ir_to_c.go:5
↓ 1 callersMethodConvertToC
()
ir/ir_to_c.go:32
↓ 1 callersMethodConvertToC
()
ir/ir_to_c.go:58
↓ 1 callersMethodFetchSuccessfulTraceLogIDFromDB
FetchTraceLogEntriesFromDB - Fetches TraceLogEntries from the DB for a given test testID
test/test.go:337
↓ 1 callersMethodFetchTraceLogEntriesFromDB
FetchTraceLogEntriesFromDB - Fetches TraceLogEntries from the DB for a given test testID
test/test.go:295
↓ 1 callersMethodGenNewTest
GenNewTest - Insert a test into DB
test/test.go:137
↓ 1 callersMethodGenRecursiveNewTestsFromCfg
GenRecursiveNewTestsFromCfg - Recursivly creates new tests based on user provided FirmwareOption config
test/test.go:371
↓ 1 callersMethodGetDefaultConfig
GetDefaultConfig - Fetches the default config for a given name
test/test.go:184
↓ 1 callersMethodGetFirmwareOptionsFromConfigBLOBs
GetFirmwareOptionsFromConfigBLOBs - Convert blob config of test "testID" to map of UPDs
test/test.go:412
↓ 1 callersFunctionIRNewPrimitiveRead
(e tracelog.TraceLogEntry)
ir/ir.go:102
↓ 1 callersFunctionIRNewPrimitiveWrite
(e tracelog.TraceLogEntry)
ir/ir.go:121
↓ 1 callersMethodLastNode
LastNode - returns the last node in a mesh The last node is the last element of the likeliest path
mesh/mesh.go:247
↓ 1 callersMethodLenFirstPath
LenFirstPath - Returns the length of the first path through the mesh
mesh/mesh.go:121
↓ 1 callersFunctionLoopToIR
(ident int, start *mesh.MeshNode, end *mesh.MeshNode)
ir/ir.go:157
↓ 1 callersMethodMergeMeshNodesAndUnlink
MergeMeshNodesAndUnlink - merge b into m
mesh/mesh.go:744
↓ 1 callersMethodMeshNodeFromTraceLogEntry
MeshNodeFromTraceLogEntry - Generate mesh node ftom tracelog entry
mesh/mesh.go:573
↓ 1 callersFunctionMeshToHLSC
(mesh Mesh)
decoder/decode.go:20
↓ 1 callersMethodOptimiseMeshByAddingNops
OptimiseMeshByAddingNops - Try to insert nops to reduce the number of edges This leads to prettier code generation
mesh/mesh.go:861
↓ 1 callersMethodOptimiseMeshByRemovingFirmwareOptions
OptimiseMeshByRemovingFirmwareOptions - If a node has all options a FirmwareOption can have, remove it as it doesn't depend on the config
mesh/mesh.go:735
↓ 1 callersMethodOptimiseMeshByRemovingNodes
OptimiseMeshByRemovingNodes - Try to remove duplicated nodes. The branch merging only working for all pathes below the branch point Start at the end o
mesh/mesh.go:817
↓ 1 callersMethodOptimiseNodeByRemovingFirmwareOptions
OptimiseNodeByRemovingFirmwareOptions - If a node has all options a FirmwareOption can have, remove it as it doesn't depend on the config
mesh/mesh.go:679
↓ 1 callersFunctionParseLine
ParseLine - Parse a new Line
tracelog/tracelog.go:144
↓ 1 callersFunctionPrimitiveToIR
(n *mesh.MeshNode)
ir/ir.go:140
↓ 1 callersMethodSetNewDefaultConfig
SetNewDefaultConfig - Add a new default config with name to the DB
test/test.go:156
↓ 1 callersMethodWriteDot
WriteDot - Convert mesh to dot and write it to file
mesh/mesh.go:327
↓ 1 callersMethodclose
Write to Serial or FIFO with timeout
tracelog/tracelog.go:496
↓ 1 callersMethodcomparePrev
comparePrev- Compares Previous nodes if they are equal
mesh/mesh.go:60
↓ 1 callersMethodcontainsEqualFirmwareOption
(FirmwareOption map[string]uint64)
mesh/mesh.go:661
↓ 1 callersMethodconvertDot
convertDot - Convert the mesh to a dot and return as string
mesh/mesh.go:254
↓ 1 callersFunctiondeepCopyMap
(c map[string]uint64)
mesh/mesh.go:670
↓ 1 callersFunctiongenCode
(e TraceLogEntry)
decoder/decode.go:8
↓ 1 callersFunctionlcsMeshNodes
(left []*MeshNode, right []*MeshNode)
mesh/mesh.go:45
↓ 1 callersMethodlikelyPath
returns likliest path starting at the children of the given node
mesh/mesh.go:82
↓ 1 callersFunctionmergeGetLCS
(l *MeshNode, r *MeshNode)
mesh/mesh.go:403
↓ 1 callersFunctionmergeSimple
Merge branch into mesh as long as there're equal nodes in the branches Returns merged count Returns true, nil on sucessful merge Returns false, branch
mesh/mesh.go:357
↓ 1 callersMethodopenWaitForSerial
openWaitForSerial - Wait for the serial device to appear
tracelog/tracelog.go:288
↓ 1 callersMethodreadLine
readLine - Reads line from serial or FIFO with timeout Cuts of newline "\n"
tracelog/tracelog.go:396
FunctionCreateTraceLog
CreateTraceLog - Create a new Trace Log
tracelog/tracelog.go:225
FunctionGetConfig
()
config/config.go:55
FunctionGetConfigFirmwareOptionsByName
return all FirmwareOptions and their possible values as map
config/config.go:70
MethodGetLatestTestID
GetLatestTestID - Fetch Latest Test ID from Struct
test/test.go:55
MethodGetRank
()
ir/ir.go:32
MethodGetRank
()
ir/ir.go:57
MethodGetRank
()
ir/ir.go:78
MethodGetRank
()
ir/ir.go:98
MethodGetType
()
ir/ir.go:31
MethodGetType
()
ir/ir.go:53
MethodGetType
()
ir/ir.go:74
MethodGetType
()
ir/ir.go:94
FunctionInit
Init = Initialize a new Test
test/test.go:30
FunctionMeshToIR
(m *mesh.Mesh)
ir/ir.go:281
MethodSetLatestTestID
SetLatestTestID - Set Latest Test ID in Struct
test/test.go:60
MethodSmallString
SmallString - Convert TraceLogEntry into a Readable String
tracelog/tracelog.go:118
FunctionTestCRMW_ConvertToC
(t *testing.T)
ir/ir_to_c_test.go:150
FunctionTestFirmwareOptionMerge
(t *testing.T)
mesh/mesh_test.go:481
FunctionTestFirstPath
(t *testing.T)
mesh/mesh_test.go:35
FunctionTestInsertTraceLogIntoMeshA
(t *testing.T)
mesh/mesh_test.go:387
FunctionTestInsertTraceLogIntoMeshB
(t *testing.T)
mesh/mesh_test.go:438
FunctionTestMergeComplexA
(t *testing.T)
mesh/mesh_test.go:283
FunctionTestMergeComplexB
(t *testing.T)
mesh/mesh_test.go:335
FunctionTestMergeEmptyBranch
(t *testing.T)
mesh/mesh_test.go:140
FunctionTestMergeEmptyMesh
(t *testing.T)
mesh/mesh_test.go:117
FunctionTestMergeEqualBranchMesh
(t *testing.T)
mesh/mesh_test.go:163
FunctionTestMergeLoseEnd
(t *testing.T)
mesh/mesh_test.go:236
FunctionTestMergeSimple
(t *testing.T)
mesh/mesh_test.go:198
FunctionTestMeshAppendNode
(t *testing.T)
mesh/mesh_test.go:9
FunctionTestMeshToHLSC
(t *testing.T)
decoder/decode_test.go:9
FunctionTestNextPath
(t *testing.T)
mesh/mesh_test.go:70
FunctionTestPRead_ConvertToC
(t *testing.T)
ir/ir_to_c_test.go:5
FunctionTestPWrite_ConvertToC
(t *testing.T)
ir/ir_to_c_test.go:78
FunctionequalSlice
Compares two unsorted slices if those have equal contents
mesh/mesh.go:616
next →1–100 of 102, ranked by callers