/external/tensorflow/tensorflow/contrib/learn/python/learn/ |
monitors_test.py | 69 def every_n_step_begin(self, step): 70 super(_MyEveryN, self).every_n_step_begin(step) 71 self._steps_begun.append(step) 74 def every_n_step_end(self, step, outputs): 75 super(_MyEveryN, self).every_n_step_end(step, outputs) 76 self._steps_ended.append(step) 79 def every_n_post_step(self, step, session): 80 super(_MyEveryN, self).every_n_post_step(step, session) 81 self._post_steps.append(step) 115 step = epoch * num_steps_per_epoc [all...] |
/external/python/cpython3/Objects/ |
rangeobject.c | 17 PyObject *step; member in struct:__anon33559 21 /* Helper function for validating step. Always returns a new reference or 25 validate_step(PyObject *step) 27 /* No step specified, use a step of 1. */ 28 if (!step) 31 step = PyNumber_Index(step); 32 if (step && _PyLong_Sign(step) == 0) 75 PyObject *start = NULL, *stop = NULL, *step = NULL; local 326 PyObject *start = NULL, *stop = NULL, *step = NULL; local 751 long step; member in struct:__anon33560 778 PyObject *start=NULL, *stop=NULL, *step=NULL; local 931 long start, stop, step; local 962 PyObject *step; member in struct:__anon33561 [all...] |
/external/bart/tests/ |
test_common_utils.py | 34 # the difference between step-post and ste-pre 40 self.assertEqual(Utils.interval_sum(series, 1, step="post"), 8) 41 self.assertEqual(Utils.interval_sum(series, 1, step="pre"), 7) 47 self.assertEqual(Utils.interval_sum(series, 1, step="post"), 2) 48 self.assertEqual(Utils.interval_sum(series, 1, step="pre"), 1) 54 self.assertEqual(Utils.interval_sum(series, 1, step="post"), 1) 55 self.assertEqual(Utils.interval_sum(series, 1, step="pre"), 2) 72 step="post"), 80 step="pre"), 91 step="post") [all...] |
/external/ltp/testcases/realtime/func/async_handler/ |
async_handler.c | 60 atomic_t step; variable 96 while (atomic_get(&step) != CHILD_QUIT) { 98 atomic_set(CHILD_WAIT, &step); 104 atomic_set(CHILD_HANDLED, &step); 106 while (atomic_get(&step) == CHILD_HANDLED) 128 while (atomic_get(&step) != CHILD_WAIT) 134 atomic_set(CHILD_QUIT, &step); 140 while (atomic_get(&step) != CHILD_HANDLED) 155 &step); 188 atomic_set(CHILD_START, &step); [all...] |
/external/webp/src/dsp/ |
dec_mips32.c | 30 static WEBP_INLINE void do_filter2(uint8_t* p, int step) { 31 const int p1 = p[-2 * step], p0 = p[-step], q0 = p[0], q1 = p[step]; 35 p[-step] = VP8kclip1[p0 + a2]; 40 static WEBP_INLINE void do_filter4(uint8_t* p, int step) { 41 const int p1 = p[-2 * step], p0 = p[-step], q0 = p[0], q1 = p[step]; 46 p[-2 * step] = VP8kclip1[p1 + a3] [all...] |
/external/libldac/src/ |
bitalloc_ldac.c | 229 int step = limit - grad_os_l; local 236 if (step > 1) { 237 step = (step+1)/2; 241 grad_os_l -= step; 243 grad_os_l += step; 247 grad_os_l += step; 252 grad_os_l += step; 254 grad_os_l -= step; 258 grad_os_l -= step; 293 int step = LDAC_MAXGRADOS - grad_os_h; local 357 int step = grad_os_l; local 421 int step = grad_qu_h - grad_qu_l; local 484 int step = grad_qu_h - grad_qu_l; local 548 int step = LDAC_MAXNADJQUS>>1; local [all...] |
/external/skia/src/effects/ |
SkCornerPathEffect.cpp | 25 SkPoint* step) { 28 *step = b - a; 30 *step *= SK_ScalarHalf; 33 *step *= radius / dist; 50 SkVector firstStep, step; local 54 step.set(0, 0); 76 bool drawSegment = ComputeStep(pts[0], pts[1], fRadius, &step); 79 dst->moveTo(moveTo + step); 82 dst->quadTo(pts[0].fX, pts[0].fY, pts[0].fX + step.fX, 83 pts[0].fY + step.fY) [all...] |
/external/skqp/src/effects/ |
SkCornerPathEffect.cpp | 19 SkPoint* step) { 22 *step = b - a; 24 *step *= SK_ScalarHalf; 27 *step *= radius / dist; 44 SkVector firstStep, step; local 48 step.set(0, 0); 70 bool drawSegment = ComputeStep(pts[0], pts[1], fRadius, &step); 73 dst->moveTo(moveTo + step); 76 dst->quadTo(pts[0].fX, pts[0].fY, pts[0].fX + step.fX, 77 pts[0].fY + step.fY) [all...] |
/external/kmod/shared/ |
array.c | 40 void array_init(struct array *array, size_t step) 42 assert(step > 0); 46 array->step = step; 54 int r = array_realloc(array, array->total + array->step); 76 if (array->count + array->step < array->total) { 77 int r = array_realloc(array, array->total - array->step); 105 if (array->count + array->step < array->total) { 106 int r = array_realloc(array, array->total - array->step);
|
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/util/ |
PerNameExecutorTest.java | 49 assertRanNever("step 0", a1, a2, a3, b1); 50 step(); // run a1, b1 method 51 assertRanOnce("step 1", a1, b1); 52 assertRanNever("step 1", a2, a3); 53 step(); // run a2 method 54 assertRanOnce("step 2", a1, b1, a2); 55 assertRanNever("step 2", a3); 56 step(); // run a3 method 57 assertRanOnce("step 3", a1, b1, a2, a3); 58 step(); // should do nothin method 67 step(); \/\/ run a1, b1 method 73 step(); \/\/ do nothing method 81 step(); \/\/ run a3, c1 method 84 step(); \/\/ do nothing method 109 private void step() { method in class:PerNameExecutorTest [all...] |
/external/skqp/infra/bots/recipe_modules/flavor/ |
flutter_flavor.py | 26 self.m.step, 43 self.m.step, 49 self.m.step,
|
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_buffer.py | 19 # Skip step 0 (invalid) 20 for step in indices[1:]: 21 self.assertEqual(b[start:stop:step], 22 s[start:stop:step])
|
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_buffer.py | 19 # Skip step 0 (invalid) 20 for step in indices[1:]: 21 self.assertEqual(b[start:stop:step], 22 s[start:stop:step])
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_buffer.py | 19 # Skip step 0 (invalid) 20 for step in indices[1:]: 21 self.assertEqual(b[start:stop:step], 22 s[start:stop:step])
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_buffer.py | 19 # Skip step 0 (invalid) 20 for step in indices[1:]: 21 self.assertEqual(b[start:stop:step], 22 s[start:stop:step])
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/classes/ |
Range.py | 9 """Take list of arguments and extract/create proper start, stop, and step
18 raise ValueError("step argument must not be zero")
28 start, stop, step = handleargs(a)
32 value += step
45 """ Initialize start, stop, and step values along with calculating the
47 self.start, self.stop, self.step = handleargs(a)
48 self.len = max(0, (self.stop - self.start) // self.step)
52 return 'range(%r, %r, %r)' % (self.start, self.stop, self.step)
61 return self.start + self.step * i
|
/external/python/cpython2/Demo/classes/ |
Range.py | 9 """Take list of arguments and extract/create proper start, stop, and step 18 raise ValueError("step argument must not be zero") 28 start, stop, step = handleargs(a) 32 value += step 45 """ Initialize start, stop, and step values along with calculating the 47 self.start, self.stop, self.step = handleargs(a) 48 self.len = max(0, (self.stop - self.start) // self.step) 52 return 'range(%r, %r, %r)' % (self.start, self.stop, self.step) 61 return self.start + self.step * i
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_xrange.py | 13 def pyrange(start, stop, step):
14 if (start - stop) // step < 0:
16 # that are congruent to start modulo step.
17 stop += (start - stop) % step
20 start += step
22 def pyrange_reversed(start, stop, step):
23 stop += (start - stop) % step
24 return pyrange(stop - step, start - step, -step)
[all...] |
/external/curl/src/ |
tool_urlglob.h | 46 int step; member in struct:__anon17417::__anon17418::__anon17420 53 unsigned long step; member in struct:__anon17417::__anon17418::__anon17421
|
/external/icu/icu4c/source/i18n/ |
collation.cpp | 74 Collation::decTwoBytePrimaryByOneStep(uint32_t basePrimary, UBool isCompressible, int32_t step) { 76 // minus the step, modulo the number of usable byte values, plus the minimum. 79 U_ASSERT(0 < step && step <= 0x7f); 80 int32_t byte2 = ((int32_t)(basePrimary >> 16) & 0xff) - step; 96 Collation::decThreeBytePrimaryByOneStep(uint32_t basePrimary, UBool isCompressible, int32_t step) { 98 // minus the step, modulo the number of usable byte values, plus the minimum. 99 U_ASSERT(0 < step && step <= 0x7f); 100 int32_t byte3 = ((int32_t)(basePrimary >> 8) & 0xff) - step; [all...] |
/external/opencv/otherlibs/highgui/ |
grfmt_bmp.h | 64 bool ReadData( uchar* data, int step, int color ); 86 bool WriteImage( const uchar* data, int step,
|
grfmt_imageio.h | 24 bool ReadData( uchar* data, int step, int color ); 40 bool WriteImage( const uchar* data, int step,
|
grfmt_png.h | 60 bool ReadData( uchar* data, int step, int color ); 82 bool WriteImage( const uchar* data, int step,
|
grfmt_pxm.h | 57 bool ReadData( uchar* data, int step, int color ); 81 bool WriteImage( const uchar* data, int step,
|
/external/skia/infra/bots/recipe_modules/swarming_client/examples/ |
full.py | 14 'recipe_engine/step', 21 api.step('client path', []) 22 api.step.active_result.step_text = api.swarming_client.path
|