/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/scripts/ |
markov.py | 4 def __init__(self, histsize, choice):
5 self.histsize = histsize
13 n = self.histsize
23 n = self.histsize
55 histsize = 2
59 if '-0' <= o <= '-9': histsize = int(o[1:])
67 m = Markov(histsize, random.choice)
99 if key is None or len(key) < histsize:
101 if histsize == 0: print repr(''), m.trans[''] [all...] |
/external/python/cpython2/Demo/scripts/ |
markov.py | 4 def __init__(self, histsize, choice): 5 self.histsize = histsize 13 n = self.histsize 23 n = self.histsize 55 histsize = 2 59 if '-0' <= o <= '-9': histsize = int(o[1:]) 67 m = Markov(histsize, random.choice) 99 if key is None or len(key) < histsize: 101 if histsize == 0: print repr(''), m.trans['' [all...] |
/external/opencv/cv/src/ |
cvhistogram.cpp | 876 int dims, histsize[CV_MAX_DIM]; local 880 dims = cvGetDims( hist->bins, histsize ); 883 status = icvCalcHistLookupTables8u( hist, dims, histsize, tab ); 894 total *= histsize[i]; 1129 int dims, histsize[CV_MAX_DIM]; local 1559 int dims, histsize[CV_MAX_DIM]; local 1820 int dims, histsize[CV_MAX_DIM]; local [all...] |
/external/mksh/src/ |
histrap.c | 72 /* HISTSIZE default: size of saved history, persistent or standard */ 507 if (n > 0 && n != histsize) { 518 histsize = n; 567 histsize = MKSH_DEFHISTSIZE; 568 history = alloc2(histsize, sizeof(char *), APERM); 678 if (++hp >= history + histsize) { 681 for (hp = history; hp < history + histsize - 1; hp++) 774 if (lines > histsize && histptr >= history) { [all...] |
sh.h | 2007 EXTERN mksh_ari_t histsize; \/* history size *\/ variable [all...] |
var.c | 1242 num.i = histsize; 1421 * for HISTSIZE, HISTFILE. Unsetting these in AT&T ksh does not [all...] |
/packages/apps/Music/src/com/android/music/ |
MediaPlaybackService.java | 1290 int histsize = mHistory.size(); local 1503 int histsize = mHistory.size(); local [all...] |