Ansel 0.0
A darktable fork - bloat + design vision
Loading...
Searching...
No Matches
clone_detect.py File Reference

Go to the source code of this file.

Namespaces

namespace  clone_detect
 

Functions

 clone_detect.is_excluded (path)
 
 clone_detect.tokenize (text, normalise)
 
 clone_detect.fingerprints (tokens, k, w)
 
 clone_detect.scan (root, k, w, normalise)
 
 clone_detect.compare (name_a, a_files, a_corpus, name_b, b_files, b_corpus, a_tokens, b_tokens)
 
 clone_detect.main ()
 

Variables

tuple clone_detect.SOURCE_SUFFIXES = (".c", ".cc", ".cpp", ".cxx", ".h", ".hpp", ".m", ".mm")
 
tuple clone_detect.EXCLUDED_DIR_PARTS
 
 clone_detect.TOKEN_RE = re.compile(, re.VERBOSE | re.DOTALL)
 
 clone_detect.C_KEYWORDS = frozenset(.split())
 
tuple clone_detect.MOD = (1 << 61) - 1
 
int clone_detect.BASE = 1000003