Searched refs:num_strs (Results 1 – 9 of 9) sorted by relevance
/external/rappor/analysis/R/ |
D | unknowns_test.R | 39 GeneratePopulation <- function(N, num_strs, str_len = 10, argument 54 strs <- sapply(1:num_strs, function(i) { 59 prob <- rep(1 / num_strs, num_strs) 72 num_strs <- 1 functionVar 79 sim <- SimulateNGrams(N, ngram_params, str_len, num_strs = num_strs, 85 if (num_strs == 1) { 99 num_strs <- 2 functionVar 106 sim <- SimulateNGrams(N, ngram_params, str_len, num_strs = num_strs, 134 if (num_strs == 1) {
|
D | ngrams_simulation.R | 62 GeneratePopulation <- function(N, num_strs, str_len = 10, argument 78 strs <- sapply(1:num_strs, function(i) GenerateString(str_len)) 82 prob <- (1:num_strs)^20 88 prob <- p * (1 - p)^(1:num_strs - 1) 92 prob <- rep(1 / num_strs, num_strs) 166 SimulateNGrams <- function(N, ngram_params, str_len, num_strs = 10, argument 183 strs <- GeneratePopulation(N, num_strs = num_strs, 224 EstimateDictionaryTrial <- function(N, str_len, num_strs, argument 248 sim <- SimulateNGrams(N, ngram_params, str_len, num_strs = num_strs,
|
/external/libaom/av1/decoder/ |
D | accounting.c | 46 assert(dictionary->num_strs + 1 < MAX_SYMBOL_TYPES); in aom_accounting_dictionary_lookup() 47 accounting->hash_dictionary[hash] = dictionary->num_strs; in aom_accounting_dictionary_lookup() 49 dictionary->strs[dictionary->num_strs] = malloc(len + 1); in aom_accounting_dictionary_lookup() 50 if (!dictionary->strs[dictionary->num_strs]) abort(); in aom_accounting_dictionary_lookup() 51 snprintf(dictionary->strs[dictionary->num_strs], len + 1, "%s", str); in aom_accounting_dictionary_lookup() 52 dictionary->num_strs++; in aom_accounting_dictionary_lookup() 53 return dictionary->num_strs - 1; in aom_accounting_dictionary_lookup() 62 accounting->syms.dictionary.num_strs = 0; in aom_accounting_init() 83 for (i = 0; i < dictionary->num_strs; i++) { in aom_accounting_clear()
|
D | accounting.h | 46 int num_strs; member
|
/external/libaom/examples/ |
D | inspect.c | 581 const int num_strs = accounting->syms.dictionary.num_strs; in put_accounting() local 583 for (i = 0; i < num_strs; i++) { in put_accounting() 586 if (i < num_strs - 1) *(buf++) = ','; in put_accounting()
|
D | analyzer.cc | 359 for (int i = 0; i < acct->syms.dictionary.num_strs; i++) { in computeBitsPerPixel()
|
/external/tensorflow/tensorflow/lite/ |
D | string_util_test.cc | 44 int32_t num_strs; in TEST() member
|
D | interpreter_test.cc | 759 int32_t num_strs; in TEST() member
|
/external/tensorflow/tensorflow/core/debug/ |
D | debug_io_utils.cc | 132 const size_t num_strs = strs.size(); in WrapStringTensorAsEvents() local 141 for (size_t i = 0; i < num_strs; ++i) { in WrapStringTensorAsEvents() 155 cutoffs.push_back(num_strs); in WrapStringTensorAsEvents()
|