Searched refs:histsize (Results 1 – 5 of 5) sorted by relevance
/external/python/cpython3/Tools/demo/ |
D | markov.py | 8 def __init__(self, histsize, choice): argument 9 self.histsize = histsize 17 n = self.histsize 27 n = self.histsize 59 histsize = 2 63 if '-0' <= o <= '-9': histsize = int(o[1:]) 71 m = Markov(histsize, random.choice) 103 if key is None or len(key) < histsize: 105 if histsize == 0: print(repr(''), m.trans[''])
|
/external/python/cpython2/Demo/scripts/ |
D | markov.py | 4 def __init__(self, histsize, choice): argument 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['']
|
/external/mksh/src/ |
D | histrap.c | 507 if (n > 0 && n != histsize) { in sethistsize() 518 histsize = n; in sethistsize() 567 histsize = MKSH_DEFHISTSIZE; in init_histvec() 568 history = alloc2(histsize, sizeof(char *), APERM); in init_histvec() 678 if (++hp >= history + histsize) { in histsave() 681 for (hp = history; hp < history + histsize - 1; hp++) in histsave() 813 if (lines > histsize && histptr >= history) { in hist_persist_init()
|
D | var.c | 1245 num.i = histsize; in getspec()
|
D | sh.h | 2287 EXTERN mksh_ari_t histsize; /* history size */ variable
|