Home
last modified time | relevance | path

Searched refs:num_strs (Results 1 – 9 of 9) sorted by relevance

/external/rappor/analysis/R/
Dunknowns_test.R39 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) {
Dngrams_simulation.R62 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/
Daccounting.c46 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()
Daccounting.h46 int num_strs; member
/external/libaom/examples/
Dinspect.c581 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()
Danalyzer.cc359 for (int i = 0; i < acct->syms.dictionary.num_strs; i++) { in computeBitsPerPixel()
/external/tensorflow/tensorflow/lite/
Dstring_util_test.cc44 int32_t num_strs; in TEST() member
Dinterpreter_test.cc759 int32_t num_strs; in TEST() member
/external/tensorflow/tensorflow/core/debug/
Ddebug_io_utils.cc132 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()