Home
last modified time | relevance | path

Searched refs:histsize (Results 1 – 25 of 253) sorted by relevance

1234567891011

/dports/mail/alpine/alpine-465e23b/pith/
H A Dhist.c26 init_hist(HISTORY_S **history, int histsize) in init_hist() argument
37 (*history)->histsize = histsize; in init_hist()
38 (*history)->origindex = histsize - 1; in init_hist()
52 for(i = 0; i < (*history)->histsize; i++) in free_hist()
84 if(!(history && history->histsize > 0)) in get_prev_hist()
130 if(!(history && history->histsize > 0)) in get_next_hist()
137 history->curindex = (history->curindex + history->histsize - 1) % history->histsize; in get_next_hist()
150 if(!(history && history->histsize > 0)) in save_hist()
183 history->origindex = (history->origindex + history->histsize - 1) % history->histsize; in save_hist()
198 if(history && history->histsize > 0) in items_in_hist()
[all …]
/dports/editors/pico-alpine/alpine-465e23b/pith/
H A Dhist.c26 init_hist(HISTORY_S **history, int histsize) in init_hist() argument
37 (*history)->histsize = histsize; in init_hist()
38 (*history)->origindex = histsize - 1; in init_hist()
52 for(i = 0; i < (*history)->histsize; i++) in free_hist()
84 if(!(history && history->histsize > 0)) in get_prev_hist()
130 if(!(history && history->histsize > 0)) in get_next_hist()
137 history->curindex = (history->curindex + history->histsize - 1) % history->histsize; in get_next_hist()
150 if(!(history && history->histsize > 0)) in save_hist()
183 history->origindex = (history->origindex + history->histsize - 1) % history->histsize; in save_hist()
198 if(history && history->histsize > 0) in items_in_hist()
[all …]
/dports/databases/py-gdbm/Python-3.8.12/Tools/demo/
H A Dmarkov.py8 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[''])
/dports/databases/py-sqlite3/Python-3.8.12/Tools/demo/
H A Dmarkov.py8 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[''])
/dports/lang/python-legacy/Python-2.7.18/Demo/scripts/
H A Dmarkov.py4 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['']
/dports/lang/python-tools/Python-3.8.12/Tools/demo/
H A Dmarkov.py8 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[''])
/dports/lang/python27/Python-2.7.18/Demo/scripts/
H A Dmarkov.py4 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['']
/dports/lang/python311/Python-3.11.0a3/Tools/demo/
H A Dmarkov.py8 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[''])
/dports/lang/python37/Python-3.7.12/Tools/demo/
H A Dmarkov.py8 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[''])
/dports/lang/python38/Python-3.8.12/Tools/demo/
H A Dmarkov.py8 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[''])
/dports/lang/python39/Python-3.9.9/Tools/demo/
H A Dmarkov.py8 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[''])
/dports/sysutils/uefi-edk2-bhyve-csm/uefi-edk2-aa8d718/AppPkg/Applications/Python/Python-2.7.2/Demo/scripts/
H A Dmarkov.py4 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['']
/dports/x11-toolkits/py-tkinter/Python-3.8.12/Tools/demo/
H A Dmarkov.py8 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[''])
/dports/lang/python310/Python-3.10.1/Tools/demo/
H A Dmarkov.py8 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[''])
/dports/shells/yash/yash-2.51/tests/
H A Dhistory1-y.tst8 PS1= PS2= HISTFILE=$PWD/$histfile HISTSIZE=$histsize
17 export histfile=histfile$LINENO histsize=50
31 export histfile=histfile$LINENO histsize=100
54 export histfile=histfile$LINENO histsize=50
63 export histfile=histfile$LINENO histsize=50
74 export histfile=histfile$LINENO histsize=100
208 export histfile=histfile$LINENO histsize=5 histrmdup=5
258 export histfile=/dev/null histsize=100
273 export histfile=inaccessible histsize=100
290 export histfile=/dev/null histsize=1
[all …]
H A Dhistory-y.tst14 PS1= PS2= HISTFILE=$PWD/$histfile HISTSIZE=$histsize
19 export histfile=histfile$LINENO histsize=100
74 export histfile=histfile$LINENO histsize=100
115 export histfile=histfile$LINENO histsize=100
137 export histfile=histfile$LINENO histsize=100
188 export histfile=histfile$LINENO histsize=100
211 export histfile=histfile$LINENO histsize=100
240 export histfile=histfile$LINENO histsize=100
264 export histfile=histfile$LINENO histsize=100
288 export histfile=histfile$LINENO histsize=100
[all …]
H A Dfc-y.tst27 export histfile=histfile$LINENO histsize=50
48 export histfile=histfile$LINENO histsize=50
68 export histfile=histfile$LINENO histsize=50
121 export histfile=histfile$LINENO histsize=50
217 export histfile=histfile$LINENO histsize=5
251 export histsize=1
266 export histsize=0
277 export histfile=histfile$LINENO histsize=50
306 export histfile=histfile$LINENO histsize=50
474 export histfile=histfile$LINENO histsize=50
[all …]
/dports/converters/wkhtmltopdf/qt-5db36ec/src/3rdparty/webkit/Source/WebKit/qt/tests/qwebhistory/
H A Dtst_qwebhistory.cpp72 int histsize; member in tst_QWebHistory
93 histsize = 5; in init()
114 QCOMPARE(hist->count(), histsize); in count()
122 for (int i = histsize;i > 1;i--) { in back()
143 for (int i = 1;i < histsize;i++) { in forward()
158 for (int i = 1;i < histsize;i++) { in itemAt()
190 QCOMPARE(histsize, items.count()); in items()
193 for (int i = 1;i <= histsize;i++) { in items()
210 QCOMPARE(hist->count(), histsize); in serialize_1()
218 QCOMPARE(hist->count(), histsize); in serialize_1()
[all …]
/dports/finance/R-cran-strucchange/strucchange/R/
H A Dmonitoring.R61 histsize <- obj$nobs functionVar
89 x <- k/histsize
124 process/(sigmahat*sqrt(histsize))
130 critval*sqrt(2*logPlus(k/histsize))
167 Q <- Q * K/(sigmahat*sqrt(histsize))
216 Q <- Q * k/(sigmahat*sqrt(histsize))
222 x <- k/histsize
244 statistic=NULL, histsize=histsize, globalVar
346 if(x$last>x$histsize){
404 ts(x$border((x$histsize+1):x$last),
[all …]
/dports/audio/festival/speech_tools/siod/
H A Dslib_repl.cc45 LISP histsize; in siod_repl() local
50 histsize = siod_get_lval("editline_histsize",NULL); in siod_repl()
51 if (histsize != NIL) in siod_repl()
52 editline_histsize = get_c_int(histsize); in siod_repl()
/dports/databases/sqsh/sqsh-2.5/src/
H A Dvar_hist.c49 int histsize ; variable
54 histsize = atoi(*var_value) ;
56 if( history_set_size( g_history, histsize ) == False ) {
/dports/devel/gdb/gdb-11.1/gdb/testsuite/gdb.base/
H A Dgdbhistsize-history.exp32 proc test_histsize_history_setting { histsize size { env_var "GDBHISTSIZE" } } {
42 set env($env_var) $histsize
44 with_test_prefix "histsize=$histsize" {
/dports/net-mgmt/librenms/librenms-vendor-21.5.1/psy/psysh/src/Readline/
H A DTransient.php61 $histsize = \count($this->history);
62 if ($histsize > $this->historySize) {
63 $this->history = \array_slice($this->history, $histsize - $this->historySize);
H A DGNUReadline.php171 $histsize = \count($hist);
172 if ($histsize > $this->historySize) {
173 $hist = \array_slice($hist, $histsize - $this->historySize);
/dports/shells/pdksh/pdksh-5.2.14/
H A Dhistory.c530 if (n > 0 && n != histsize) {
541 histsize = n;
595 histsize = HISTORYSIZE; in init_histvec()
596 history = (char **)alloc(histsize*sizeof (char *), APERM); in init_histvec()
617 sizeof(history[0]) * (histsize - 1));
618 hp = &history[histsize - 1];
738 if (i >= histsize) in hist_finish()
739 hp = &histptr[-histsize]; in hist_finish()
784 for (hp = history; hp < history + histsize - 1; hp++)
870 if (lines > histsize) {
[all …]

1234567891011