Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/dodona-edu/dolos
/ functions
Functions
653 in github.com/dodona-edu/dolos
⨍
Functions
653
◇
Types & classes
219
↓ 38 callers
Method
map
(f: (t: T) => R)
core/src/util/result.ts:84
↓ 28 callers
Method
getPair
(file1: TokenizedFile, file2: TokenizedFile)
lib/src/lib/report.ts:33
↓ 27 callers
Method
add
(e: Edge)
web/src/util/Cluster.ts:25
↓ 24 callers
Method
index
(_v)
samples/javascript/sample.js:32
↓ 23 callers
Method
merge
(one: Range, other: Range)
core/src/util/range.ts:25
↓ 23 callers
Method
overlapsWith
(other: Range)
core/src/util/range.ts:62
↓ 22 callers
Function
createOccurrence
(entry: FileEntry, index: number)
core/src/test/pair.test.ts:17
↓ 22 callers
Function
set
(value)
web/src/composables/usePartialLegend.ts:30
↓ 15 callers
Method
ok
(value: T)
core/src/util/result.ts:66
↓ 12 callers
Method
analyzePaths
(paths: string[], ignore?: string)
lib/src/lib/dolos.ts:23
↓ 12 callers
Method
toString
()
core/src/util/result.ts:136
↓ 11 callers
Function
assert
(condition: boolean, message?: string)
core/src/util/utils.ts:1
↓ 11 callers
Method
error
(error: Error)
core/src/util/result.ts:70
↓ 11 callers
Method
nextHash
* Calculates a new hashing based on the previous hashing, and the new token value * * @param token the next token value.
core/src/hashing/rollingHash.ts:57
↓ 11 callers
Method
select
(file: File | null)
web/src/util/FileSelectionManager.ts:21
↓ 10 callers
Method
add
(part: Occurrence)
core/src/algorithm/sharedFingerprint.ts:17
↓ 10 callers
Method
fingerprints
* Returns an async iterator that yields fingerprints containing a hashing and its * corresponding kgram position. Can be called successively on mul
core/src/hashing/winnowFilter.ts:33
↓ 10 callers
Method
update
(nodes: Node[], edges: Edge[], clusters: Group[])
web/src/composables/d3/useD3ForceGraph.ts:25
↓ 9 callers
Method
allPairs
()
lib/src/lib/report.ts:37
↓ 9 callers
Method
id
api/app/serializers/application_serializer.rb:10
↓ 9 callers
Function
open
(options: SnackbarOptions)
web/src/components/util/snackbar/useSnackbar.ts:8
↓ 8 callers
Method
analyze
( files: Array<File>, nameCandidate?: string, ignoredFile?: File )
lib/src/lib/dolos.ts:28
↓ 8 callers
Method
findLanguage
* Find the language to use for tokenization based on the name of the language. * * @param name
lib/src/lib/language.ts:183
↓ 8 callers
Function
get
()
web/src/composables/usePartialLegend.ts:15
↓ 8 callers
Method
hashToken
(token: string)
core/src/hashing/tokenHash.ts:36
↓ 8 callers
Function
isError
(value: ResultValue<T>)
core/src/util/result.ts:3
↓ 8 callers
Method
metadata
()
lib/src/lib/report.ts:56
↓ 7 callers
Method
buildFragments
(minimumOccurrences = 1)
core/src/algorithm/pair.ts:129
↓ 7 callers
Method
createTokenizer
(options?: TokenizerOptions)
lib/src/lib/language.ts:57
↓ 7 callers
Method
nr_leaves
(self)
samples/python/benchmark_files/UPGMA_A_copy.py:26
↓ 7 callers
Method
nr_leaves
(self)
samples/python/benchmark_files/UPGMA_A.py:26
↓ 7 callers
Method
nr_leaves
(self)
samples/python/benchmark_files/UPGMA_A_functioncopied.py:26
↓ 7 callers
Method
nr_leaves
(self)
samples/python/benchmark_files/UPGMA_A_functionsmoved.py:48
↓ 7 callers
Method
nr_leaves
(self)
samples/python/benchmark_files/UPGMA_A_linesmoved.py:26
↓ 7 callers
Method
nr_leaves
(self)
samples/python/benchmark_files/UPGMA_A_variablenames.py:26
↓ 7 callers
Method
path
(self, i, j)
samples/python/benchmark_files/UPGMA_A.py:180
↓ 7 callers
Function
readPath
(location: string, extra?: ExtraInfo)
lib/src/lib/reader.ts:22
↓ 7 callers
Method
totalCovered
(ranges: Array<Range>)
core/src/util/range.ts:32
↓ 7 callers
Method
zipfile
api/app/serializers/dataset_serializer.rb:15
↓ 6 callers
Method
addAll
(parts: Array<Occurrence>)
core/src/algorithm/sharedFingerprint.ts:25
↓ 6 callers
Function
definedOrDefault
(arg: T | undefined | null, def: T)
lib/src/lib/options.ts:45
↓ 6 callers
Method
entries
()
lib/src/lib/report.ts:48
↓ 6 callers
Function
getClusterElements
(cluster: Cluster)
web/src/util/clustering-algorithms/ClusterFunctions.ts:5
↓ 6 callers
Method
occurrencesOf
(file: TokenizedFile)
core/src/algorithm/sharedFingerprint.ts:29
↓ 5 callers
Method
detectLanguage
* Find the language to use for tokenization based on the most common * extension of the files. If the extension does not match any known language,
lib/src/lib/language.ts:156
↓ 5 callers
Method
distance
(self, i,j)
samples/python/benchmark_files/UPGMA_A.py:187
↓ 5 callers
Method
entries
()
core/src/algorithm/fingerprintIndex.ts:205
↓ 5 callers
Method
key
(left: number, right: number)
core/src/algorithm/pair.ts:275
↓ 5 callers
Method
nr_leaves
(self)
samples/python/benchmark_files/UPGMA_A_B_combined.py:27
↓ 5 callers
Function
validatePositiveInteger
( prop: string, value?: number | null )
lib/src/lib/options.ts:30
↓ 4 callers
Method
add_edge
(self, a,b,w)
samples/python/benchmark_files/UPGMA_A_copy.py:151
↓ 4 callers
Method
add_edge
(self, a,b,w)
samples/python/benchmark_files/UPGMA_A.py:151
↓ 4 callers
Method
add_edge
(self, a,b,w)
samples/python/benchmark_files/UPGMA_A_functioncopied.py:151
↓ 4 callers
Method
add_edge
(self, a,b,w)
samples/python/benchmark_files/UPGMA_A_functionsmoved.py:141
↓ 4 callers
Method
add_edge
(self, a,b,w)
samples/python/benchmark_files/UPGMA_A_linesmoved.py:155
↓ 4 callers
Method
add_edge
(self, a,b,w)
samples/python/benchmark_files/UPGMA_A_variablenames.py:151
↓ 4 callers
Method
all
( promises: Array<Promise<Result<T>>> )
core/src/util/result.ts:33
↓ 4 callers
Method
all_files_present?
api/app/models/report.rb:63
↓ 4 callers
Function
createPair
(i: number, h1: Fingerprint, h2: Fingerprint)
core/src/test/fragment.test.ts:36
↓ 4 callers
Function
createTokenizedSampleFile
()
core/src/test/fragment.test.ts:12
↓ 4 callers
Function
definedOrNull
(arg: T | undefined | null)
lib/src/lib/options.ts:41
↓ 4 callers
Method
distance
(self, i,j)
samples/python/benchmark_files/UPGMA_A_copy.py:187
↓ 4 callers
Method
distance
(self, i,j)
samples/python/benchmark_files/UPGMA_A_functioncopied.py:187
↓ 4 callers
Method
distance
(self, i,j)
samples/python/benchmark_files/UPGMA_A_functionsmoved.py:151
↓ 4 callers
Method
distance
(self, i,j)
samples/python/benchmark_files/UPGMA_A_linesmoved.py:192
↓ 4 callers
Method
distance
(self, i,j)
samples/python/benchmark_files/UPGMA_A_variablenames.py:187
↓ 4 callers
Method
hash
(s)
samples/javascript/sample.js:15
↓ 4 callers
Function
parseCsv
(url: string, options?: ParseRemoteConfig<T>)
web/src/api/utils/csv/parse.ts:7
↓ 4 callers
Method
path
(self, i, j)
samples/python/benchmark_files/UPGMA_A_copy.py:180
↓ 4 callers
Method
path
(self, i, j)
samples/python/benchmark_files/UPGMA_A_functioncopied.py:180
↓ 4 callers
Method
path
(self, i, j)
samples/python/benchmark_files/UPGMA_A_functionsmoved.py:169
↓ 4 callers
Method
path
(self, i, j)
samples/python/benchmark_files/UPGMA_A_linesmoved.py:185
↓ 4 callers
Method
path
(self, i, j)
samples/python/benchmark_files/UPGMA_A_variablenames.py:180
↓ 4 callers
Method
purge_files!
api/app/models/report.rb:95
↓ 4 callers
Function
writeCSVto
( out: Writable, data: T[], extractor: {[field: string]: (obj: T) => string | number | null} )
cli/src/cli/views/fileView.ts:12
↓ 3 callers
Function
assertDefined
(object?: unknown, message?: string)
core/src/util/utils.ts:7
↓ 3 callers
Function
caesar
(s, k, decode = False)
samples/python/caesar.py:2
↓ 3 callers
Method
encode
(String enc, int offset)
samples/java/Caesar.java:15
↓ 3 callers
Function
error
(msg: unknown, ...other: unknown[])
cli/src/cli/util/utils.ts:124
↓ 3 callers
Function
exit_err
(msg: T, code: i32)
samples/rust/caesar.rs:33
↓ 3 callers
Method
extendWith
(other: PairedOccurrence)
core/src/algorithm/fragment.ts:39
↓ 3 callers
Method
fileCount
()
core/src/algorithm/sharedFingerprint.ts:43
↓ 3 callers
Function
fileToTokenizedFile
(file: File)
web/src/api/utils/file.ts:4
↓ 3 callers
Method
files
()
core/src/algorithm/sharedFingerprint.ts:39
↓ 3 callers
Method
findNode
(x: number, y: number, radius?: number)
web/src/composables/d3/graph/simulation.ts:10
↓ 3 callers
Method
fromResponse
(response: Record<string, any>, slug?: string, fromSharing?: boolean)
web/src/types/uploads/UploadReport.ts:48
↓ 3 callers
Method
hasFinalStatus
()
web/src/types/uploads/UploadReport.ts:44
↓ 3 callers
Method
ignoreSharedFingerprint
(shared: SharedFingerprint)
core/src/algorithm/fingerprintIndex.ts:181
↓ 3 callers
Method
limb_length_from_matrix
(mat, j)
samples/python/benchmark_files/UPGMA_B.py:28
↓ 3 callers
Function
log
(level: LogLevelName, msg: unknown, ...other: unknown[])
cli/src/cli/util/utils.ts:110
↓ 3 callers
Function
notFound
(response: http.ServerResponse)
cli/src/cli/server.ts:28
↓ 3 callers
Method
onMouseMove
(o: Event)
web/src/util/SelectionTool.ts:80
↓ 3 callers
Method
path_weight
(self, path)
samples/python/benchmark_files/UPGMA_A_copy.py:216
↓ 3 callers
Method
path_weight
(self, path)
samples/python/benchmark_files/UPGMA_A.py:216
↓ 3 callers
Method
path_weight
(self, path)
samples/python/benchmark_files/UPGMA_A_functioncopied.py:216
↓ 3 callers
Method
path_weight
(self, path)
samples/python/benchmark_files/UPGMA_A_functionsmoved.py:206
↓ 3 callers
Method
path_weight
(self, path)
samples/python/benchmark_files/UPGMA_A_linesmoved.py:222
↓ 3 callers
Method
path_weight
(self, path)
samples/python/benchmark_files/UPGMA_A_variablenames.py:216
↓ 3 callers
Method
reheat
()
web/src/composables/d3/graph/simulation.ts:11
↓ 3 callers
Method
steepSquareScaling
(x: number)
web/src/util/FileInterestingness.ts:130
next →
1–100 of 653, ranked by callers