Home
last modified time | relevance | path

Searched refs:halflen (Results 1 – 4 of 4) sorted by relevance

/external/tensorflow/tensorflow/python/ops/signal/
Dwindow_ops.py116 halflen = window_length // 2
117 kaiserw = kaiser_window(halflen + 1, beta, dtype=dtype)
/external/python/cpython2/Modules/
D_collectionsmodule.c413 Py_ssize_t m, len=deque->len, halflen=len>>1; in _deque_rotate() local
417 if (n > halflen || n < -halflen) { in _deque_rotate()
419 if (n > halflen) in _deque_rotate()
421 else if (n < -halflen) in _deque_rotate()
425 assert(-halflen <= n && n <= halflen); in _deque_rotate()
782 Py_ssize_t n, len=deque->len, halflen=(len+1)>>1, index=i; in deque_ass_item() local
795 if (index <= halflen) { in deque_ass_item()
/external/python/cpython3/Modules/
D_collectionsmodule.c780 Py_ssize_t len=Py_SIZE(deque), halflen=len>>1; in _deque_rotate() local
785 if (n > halflen || n < -halflen) { in _deque_rotate()
787 if (n > halflen) in _deque_rotate()
789 else if (n < -halflen) in _deque_rotate()
793 assert(-halflen <= n && n <= halflen); in _deque_rotate()
1253 Py_ssize_t n, len=Py_SIZE(deque), halflen=(len+1)>>1, index=i; in deque_ass_item() local
1265 if (index <= halflen) { in deque_ass_item()
/external/python/cpython3/Lib/test/
Dtest_bz2.py511 halflen = linelen // 2
513 bz2f.read(halflen)
514 self.assertEqual(next(bz2f), self.TEXT_LINES[0][halflen:])