search for: r_cov_freqs_hash

Displaying 1 result from an estimated 1 matches for "r_cov_freqs_hash".

2014 Mar 05
1
[PATCH] Code coverage support proof of concept
...for the moment in intercepting getSrcref() calls, + then calling the record_code_coverage() function. + The code coverage tracing is activating by calling the do_Rcov() (Rcov from R) function. + + Karl Forner + */ + +/* global variable: hit lines freqs: a HashedEnv by filename */ +static SEXP R_Cov_freqs_hash = NULL; + +/* create a new non-sparsed vector of line frequencies at least of length size. + * Depending on the do_Rcov_start params nb_lines and growth_rate, + * it will allocate an actual size of either nb_lines or size * growth_rate + */ +static SEXP cov_new_lines_vector(int size) { + SEXP sexp,...