Home
last modified time | relevance | path

Searched refs:maxv (Results 1 – 16 of 16) sorted by relevance

/external/tensorflow/tensorflow/python/kernel_tests/random/
Drandom_ops_test.py263 def _Sampler(self, num, minv, maxv, dtype, use_gpu, seed=None): argument
268 [num], minval=minv, maxval=maxv, dtype=dtype, seed=seed)
279 sampler = self._Sampler(1000, minv=-2, maxv=8, dtype=dt, use_gpu=True)
290 maxv = 1.0 if dt.is_floating else 1 << 30
291 sampler = self._Sampler(1000, minv=0, maxv=maxv, dtype=dt, use_gpu=True)
318 maxv = 15
320 p = 1 / (maxv - minv)
328 n // 10, minv=minv, maxv=maxv, dtype=dt, use_gpu=True, seed=17)
331 counts, _ = np.histogram(x, bins=maxv - minv)
332 self.assertEqual(counts.shape, (maxv - minv,))
[all …]
/external/libcxx/test/std/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/
Dtest_min_max.pass.cpp30 T maxv = numeric_limits<T>::max(); in check_limits() local
34 assert(maxiss << maxv); in check_limits()
45 assert(new_maxv == maxv); in check_limits()
/external/u-boot/common/
Dcommand.c146 int var_complete(int argc, char * const argv[], char last_char, int maxv, char *cmdv[]) in var_complete() argument
154 return env_complete("", maxv, cmdv, sizeof(tmp_buf), tmp_buf); in var_complete()
157 return env_complete(argv[1], maxv, cmdv, sizeof(tmp_buf), tmp_buf); in var_complete()
164 static int complete_cmdv(int argc, char * const argv[], char last_char, int maxv, char *cmdv[]) in complete_cmdv() argument
176 if (maxv < 2) in complete_cmdv()
184 if (n_found >= maxv - 2) { in complete_cmdv()
201 return (*cmdtp->complete)(argc, argv, last_char, maxv, cmdv); in complete_cmdv()
226 if (n_found >= maxv - 2) { in complete_cmdv()
/external/u-boot/include/
Dcommand.h41 int (*complete)(int argc, char * const argv[], char last_char, int maxv, char *cmdv[]);
61 extern int var_complete(int argc, char * const argv[], char last_char, int maxv, char *cmdv[]);
Dcommon.h246 int env_complete(char *var, int maxv, char *cmdv[], int maxsz, char *buf);
/external/u-boot/env/
Dcommon.c246 int env_complete(char *var, int maxv, char *cmdv[], int bufsz, char *buf) in env_complete() argument
258 if (found >= maxv - 2 || bufsz < vallen) in env_complete()
/external/u-boot/doc/
DREADME.commands62 int maxv, char *cmdv[]);
70 maxv: Maximum number of possible completions that may be returned by
/external/libaom/libaom/av1/encoder/
Dencodemv.c157 unsigned int maxv = AOMMAX(abs(mv->row), abs(mv->col)) >> 3; in av1_encode_mv() local
158 cpi->max_mv_magnitude = AOMMAX(maxv, cpi->max_mv_magnitude); in av1_encode_mv()
/external/flatbuffers/src/
Didl_gen_rust.cpp593 const EnumVal *minv = nullptr, *maxv = nullptr; in GenEnum() local
604 maxv = !maxv || maxv->value < ev.value ? &ev : maxv; in GenEnum()
616 code_.SetValue("ENUM_MAX_BASE_VALUE", NumToString(maxv->value)); in GenEnum()
Didl_gen_cpp.cpp904 const EnumVal *minv = nullptr, *maxv = nullptr; in GenEnum() local
916 maxv = !maxv || maxv->value < ev.value ? &ev : maxv; in GenEnum()
921 FLATBUFFERS_ASSERT(minv && maxv); in GenEnum()
938 code_.SetValue("VALUE", GenEnumValDecl(enum_def, maxv->name)); in GenEnum()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_encodemv.c227 const unsigned int maxv = VPXMAX(abs(mv->row), abs(mv->col)) >> 3; in vp9_encode_mv() local
228 *max_mv_magnitude = VPXMAX(maxv, *max_mv_magnitude); in vp9_encode_mv()
/external/icu/icu4c/source/tools/tzcode/
Dtz2icu.cpp242 int64_t maxv=numeric_limits<int64_t>::max()) { in readcoded() argument
249 if (val < minv || val > maxv) { in readcoded()
252 << minv << ", " << maxv << "]"; in readcoded()
260 int64_t maxv=numeric_limits<int64_t>::max()) { in readcoded64() argument
267 if (val < minv || val > maxv) { in readcoded64()
270 << minv << ", " << maxv << "]"; in readcoded64()
/external/libjpeg-turbo/
Djquant2.c278 register JLONG maxv = 0; in find_biggest_volume() local
282 if (boxp->volume > maxv) { in find_biggest_volume()
284 maxv = boxp->volume; in find_biggest_volume()
/external/skia/fuzz/
DFuzzCanvas.cpp849 inline T make_fuzz_t_range(Fuzz* fuzz, Min minv, Max maxv) { in make_fuzz_t_range() argument
851 fuzz->nextRange(&value, minv, maxv); in make_fuzz_t_range()
/external/skqp/fuzz/
DFuzzCanvas.cpp849 inline T make_fuzz_t_range(Fuzz* fuzz, Min minv, Max maxv) { in make_fuzz_t_range() argument
851 fuzz->nextRange(&value, minv, maxv); in make_fuzz_t_range()
/external/e2fsprogs/po/
Dsv.po1302 msgstr "First_meta_bg är för stort. (%N, maxvärde %g). "