Searched refs:histsize (Results 1 – 4 of 4) sorted by relevance
8 def __init__(self, histsize, choice): argument9 self.histsize = histsize17 n = self.histsize27 n = self.histsize59 histsize = 263 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[''])
510 if (n > 0 && n != histsize) { in sethistsize()521 histsize = n; in sethistsize()570 histsize = MKSH_DEFHISTSIZE; in init_histvec()571 history = alloc2(histsize, sizeof(char *), APERM); in init_histvec()681 if (++hp >= history + histsize) { in histsave()684 for (hp = history; hp < history + histsize - 1; hp++) in histsave()816 if (lines > histsize && histptr >= history) { in hist_persist_init()
1278 num.i = histsize; in getspec()
2366 EXTERN mksh_ari_t histsize; /* history size */ variable