Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/9elements/autorev
/ functions
Functions
102 in github.com/9elements/autorev
⨍
Functions
102
◇
Types & classes
16
↓ 66 callers
Method
appendNode
appendNode - Adds the node to end of the first branch
mesh/mesh.go:554
↓ 22 callers
Method
write
Write to Serial or FIFO with timeout
tracelog/tracelog.go:444
↓ 13 callers
Method
Close
Close - Close DB Connection
test/test.go:25
↓ 10 callers
Method
FirstPath
FirstPath - returns first path starting at the children of the given node
mesh/mesh.go:106
↓ 9 callers
Method
String
String - Convert TraceLogEntry into a Readable String
tracelog/tracelog.go:92
↓ 9 callers
Function
merge
(branch *Mesh, mesh *Mesh)
mesh/mesh.go:443
↓ 9 callers
Method
writeString
See write
tracelog/tracelog.go:491
↓ 7 callers
Method
NextPath
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 callers
Method
insertNode
insertNode - Adds the node to an existing node of the mesh
mesh/mesh.go:566
↓ 5 callers
Function
mergeNodes
merge b into m
mesh/mesh.go:342
↓ 5 callers
Method
read
read - Reads single char from serial or FIFO with timeout
tracelog/tracelog.go:361
↓ 4 callers
Method
ConvertToC
()
ir/ir.go:33
↓ 4 callers
Method
CreateNode
CreateNode - Create a new node, but don't add it to the mesh
mesh/mesh.go:315
↓ 4 callers
Method
GetConfig
GetConfig - Fetch the config from the last test
test/test.go:228
↓ 4 callers
Method
InsertTraceLogIntoMesh
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 callers
Function
ConvertToType
ConvertToType - Convert a string into a Type
tracelog/tracelog.go:64
↓ 3 callers
Function
equalMap
Compares two unsorted slices if those have equal contents
mesh/mesh.go:638
↓ 3 callers
Method
shellcmd
shellcmd - execute a shell cmd. Allows to run custom scripts that power the DUT
tracelog/tracelog.go:268
↓ 2 callers
Method
CollectNewTracelog
CollectNewTracelog - Collects a new Trace Log
tracelog/tracelog.go:514
↓ 2 callers
Function
ConvertToDir
ConvertToDir - Convert InputDirection into Bool
tracelog/tracelog.go:81
↓ 2 callers
Method
GetNextTest
GetNextTest - Get next free test
test/test.go:65
↓ 2 callers
Method
SetTestFailed
SetTestFailed - Update Test to failed
test/test.go:125
↓ 2 callers
Method
SetTestInProgress
SetTestInProgress - Update Test to be in Progress
test/test.go:101
↓ 2 callers
Method
SetTestSuccessful
SetTestSuccessful - Update Test to failed
test/test.go:113
↓ 2 callers
Method
SetVerbose
SetVerbose - Set verbosity of tracing
tracelog/tracelog.go:263
↓ 2 callers
Method
WriteSetIntoDB
WriteSetIntoDB - write a TraceLogEntry Set into the DB with fk = LasttestTestID123
test/test.go:276
↓ 2 callers
Method
readString
read from serial until search string search is found
tracelog/tracelog.go:423
↓ 1 callers
Method
AnyPathesContainNode
AnyPathesContainNode - returns true if one of the pathes contains the meshnode to find
mesh/mesh.go:194
↓ 1 callers
Method
CommonMergePoint
CommonMergePoint - returns the merge point of all branches starting from this node
mesh/mesh.go:206
↓ 1 callers
Method
ConvertToC
()
ir/ir_to_c.go:5
↓ 1 callers
Method
ConvertToC
()
ir/ir_to_c.go:32
↓ 1 callers
Method
ConvertToC
()
ir/ir_to_c.go:58
↓ 1 callers
Method
FetchSuccessfulTraceLogIDFromDB
FetchTraceLogEntriesFromDB - Fetches TraceLogEntries from the DB for a given test testID
test/test.go:337
↓ 1 callers
Method
FetchTraceLogEntriesFromDB
FetchTraceLogEntriesFromDB - Fetches TraceLogEntries from the DB for a given test testID
test/test.go:295
↓ 1 callers
Method
GenNewTest
GenNewTest - Insert a test into DB
test/test.go:137
↓ 1 callers
Method
GenRecursiveNewTestsFromCfg
GenRecursiveNewTestsFromCfg - Recursivly creates new tests based on user provided FirmwareOption config
test/test.go:371
↓ 1 callers
Method
GetDefaultConfig
GetDefaultConfig - Fetches the default config for a given name
test/test.go:184
↓ 1 callers
Method
GetFirmwareOptionsFromConfigBLOBs
GetFirmwareOptionsFromConfigBLOBs - Convert blob config of test "testID" to map of UPDs
test/test.go:412
↓ 1 callers
Function
IRNewPrimitiveRead
(e tracelog.TraceLogEntry)
ir/ir.go:102
↓ 1 callers
Function
IRNewPrimitiveWrite
(e tracelog.TraceLogEntry)
ir/ir.go:121
↓ 1 callers
Method
LastNode
LastNode - returns the last node in a mesh The last node is the last element of the likeliest path
mesh/mesh.go:247
↓ 1 callers
Method
LenFirstPath
LenFirstPath - Returns the length of the first path through the mesh
mesh/mesh.go:121
↓ 1 callers
Function
LoopToIR
(ident int, start *mesh.MeshNode, end *mesh.MeshNode)
ir/ir.go:157
↓ 1 callers
Method
MergeMeshNodesAndUnlink
MergeMeshNodesAndUnlink - merge b into m
mesh/mesh.go:744
↓ 1 callers
Method
MeshNodeFromTraceLogEntry
MeshNodeFromTraceLogEntry - Generate mesh node ftom tracelog entry
mesh/mesh.go:573
↓ 1 callers
Function
MeshToHLSC
(mesh Mesh)
decoder/decode.go:20
↓ 1 callers
Method
OptimiseMeshByAddingNops
OptimiseMeshByAddingNops - Try to insert nops to reduce the number of edges This leads to prettier code generation
mesh/mesh.go:861
↓ 1 callers
Method
OptimiseMeshByRemovingFirmwareOptions
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 callers
Method
OptimiseMeshByRemovingNodes
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 callers
Method
OptimiseNodeByRemovingFirmwareOptions
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 callers
Function
ParseLine
ParseLine - Parse a new Line
tracelog/tracelog.go:144
↓ 1 callers
Function
PrimitiveToIR
(n *mesh.MeshNode)
ir/ir.go:140
↓ 1 callers
Method
SetNewDefaultConfig
SetNewDefaultConfig - Add a new default config with name to the DB
test/test.go:156
↓ 1 callers
Method
WriteDot
WriteDot - Convert mesh to dot and write it to file
mesh/mesh.go:327
↓ 1 callers
Method
close
Write to Serial or FIFO with timeout
tracelog/tracelog.go:496
↓ 1 callers
Method
comparePrev
comparePrev- Compares Previous nodes if they are equal
mesh/mesh.go:60
↓ 1 callers
Method
containsEqualFirmwareOption
(FirmwareOption map[string]uint64)
mesh/mesh.go:661
↓ 1 callers
Method
convertDot
convertDot - Convert the mesh to a dot and return as string
mesh/mesh.go:254
↓ 1 callers
Function
deepCopyMap
(c map[string]uint64)
mesh/mesh.go:670
↓ 1 callers
Function
genCode
(e TraceLogEntry)
decoder/decode.go:8
↓ 1 callers
Function
lcsMeshNodes
(left []*MeshNode, right []*MeshNode)
mesh/mesh.go:45
↓ 1 callers
Method
likelyPath
returns likliest path starting at the children of the given node
mesh/mesh.go:82
↓ 1 callers
Function
mergeGetLCS
(l *MeshNode, r *MeshNode)
mesh/mesh.go:403
↓ 1 callers
Function
mergeSimple
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 callers
Method
openWaitForSerial
openWaitForSerial - Wait for the serial device to appear
tracelog/tracelog.go:288
↓ 1 callers
Method
readLine
readLine - Reads line from serial or FIFO with timeout Cuts of newline "\n"
tracelog/tracelog.go:396
Function
CreateTraceLog
CreateTraceLog - Create a new Trace Log
tracelog/tracelog.go:225
Function
GetConfig
()
config/config.go:55
Function
GetConfigFirmwareOptionsByName
return all FirmwareOptions and their possible values as map
config/config.go:70
Method
GetLatestTestID
GetLatestTestID - Fetch Latest Test ID from Struct
test/test.go:55
Method
GetRank
()
ir/ir.go:32
Method
GetRank
()
ir/ir.go:57
Method
GetRank
()
ir/ir.go:78
Method
GetRank
()
ir/ir.go:98
Method
GetType
()
ir/ir.go:31
Method
GetType
()
ir/ir.go:53
Method
GetType
()
ir/ir.go:74
Method
GetType
()
ir/ir.go:94
Function
Init
Init = Initialize a new Test
test/test.go:30
Function
MeshToIR
(m *mesh.Mesh)
ir/ir.go:281
Method
SetLatestTestID
SetLatestTestID - Set Latest Test ID in Struct
test/test.go:60
Method
SmallString
SmallString - Convert TraceLogEntry into a Readable String
tracelog/tracelog.go:118
Function
TestCRMW_ConvertToC
(t *testing.T)
ir/ir_to_c_test.go:150
Function
TestFirmwareOptionMerge
(t *testing.T)
mesh/mesh_test.go:481
Function
TestFirstPath
(t *testing.T)
mesh/mesh_test.go:35
Function
TestInsertTraceLogIntoMeshA
(t *testing.T)
mesh/mesh_test.go:387
Function
TestInsertTraceLogIntoMeshB
(t *testing.T)
mesh/mesh_test.go:438
Function
TestMergeComplexA
(t *testing.T)
mesh/mesh_test.go:283
Function
TestMergeComplexB
(t *testing.T)
mesh/mesh_test.go:335
Function
TestMergeEmptyBranch
(t *testing.T)
mesh/mesh_test.go:140
Function
TestMergeEmptyMesh
(t *testing.T)
mesh/mesh_test.go:117
Function
TestMergeEqualBranchMesh
(t *testing.T)
mesh/mesh_test.go:163
Function
TestMergeLoseEnd
(t *testing.T)
mesh/mesh_test.go:236
Function
TestMergeSimple
(t *testing.T)
mesh/mesh_test.go:198
Function
TestMeshAppendNode
(t *testing.T)
mesh/mesh_test.go:9
Function
TestMeshToHLSC
(t *testing.T)
decoder/decode_test.go:9
Function
TestNextPath
(t *testing.T)
mesh/mesh_test.go:70
Function
TestPRead_ConvertToC
(t *testing.T)
ir/ir_to_c_test.go:5
Function
TestPWrite_ConvertToC
(t *testing.T)
ir/ir_to_c_test.go:78
Function
equalSlice
Compares two unsorted slices if those have equal contents
mesh/mesh.go:616
next →
1–100 of 102, ranked by callers