/dports/www/qutebrowser/qutebrowser-2.4.0/tests/unit/misc/ |
H A D | test_cmdhistory.py | 35 def hist(): function 58 hist.start('s') 60 hist.stop() 66 hist.start('f') 74 hist.start('') 81 hist.start('k') 110 hist.start('f') 117 hist.start('f') 132 hist.start('f') 139 hist.start('f') [all …]
|
/dports/math/py-pygsl/pygsl-2.3.0/tests/ |
H A D | histogram_test.py | 68 hist.set_ranges(range(len(hist)+1)) 154 self.failIf(hist.max()!=2 or hist.min()!=1 or hist[10]!=1 or hist[99]!=0, 172 self.failIf(hist.max()!=2 or hist.min()!=1 or hist[10]!=1 or hist[99]!=0, 276 …self.failIf(abs(hist.sum()/(hist.nx()*hist.ny()/(hist.xmax()-hist.xmin())/(hist.ymax()-hist.ymin()… 278 self.failIf(abs(hist.xmean()-xmean)>2.0/hist.nx()) 279 self.failIf(abs(hist.ymean()-ymean)>2.0/hist.ny()) 280 self.failIf(abs(hist.xsigma()-xsigma)>2.0/hist.nx()) 281 self.failIf(abs(hist.ysigma()-ysigma)>2.0/hist.ny()) 282 self.failIf(abs(hist.cov()/(hist.xsigma()*hist.ysigma())-cov)>2.0/hist.nx()) 345 self.failIf(hist.xmax()!=2 or hist.ymin()!=3 or hist[10,50]!=1 or hist[99,99]!=0, [all …]
|
/dports/audio/rhythmbox/rhythmbox-3.4.4/shell/ |
H A D | rb-history.c | 166 hist->priv = RB_HISTORY_GET_PRIVATE (hist); in rb_history_init() 171 hist->priv->current = g_sequence_get_begin_iter (hist->priv->seq); in rb_history_init() 177 RBHistory *hist; in rb_history_finalize() local 404 hist->priv->current = g_sequence_get_begin_iter (hist->priv->seq); in rb_history_go_first() 437 hist->priv->current = g_sequence_iter_next (hist->priv->current); in rb_history_go_next() 477 hist->priv->current = g_sequence_get_end_iter (hist->priv->seq); in rb_history_set_playing() 486 hist->priv->current = g_sequence_iter_prev (hist->priv->current); in rb_history_set_playing() 488 hist->priv->current = g_sequence_iter_next (hist->priv->current); in rb_history_set_playing() 600 rb_history_remove_entry (hist, rb_history_first (hist)); in rb_history_limit_size() 602 rb_history_remove_entry (hist, rb_history_last (hist)); in rb_history_limit_size() [all …]
|
/dports/devel/mutagen/mutagen-0.11.8/vendor/github.com/lucas-clemente/quic-go/internal/ackhandler/ |
H A D | received_packet_history_test.go | 22 hist.ReceivedPacket(4) 28 hist.ReceivedPacket(4) 34 hist.ReceivedPacket(4) 35 hist.ReceivedPacket(5) 36 hist.ReceivedPacket(6) 42 hist.ReceivedPacket(4) 43 hist.ReceivedPacket(5) 44 hist.ReceivedPacket(6) 127 hist.DeleteBelow(5) 135 hist.DeleteBelow(6) [all …]
|
/dports/shells/xonsh/xonsh-0.7.9/tests/ |
H A D | test_history.py | 19 def hist(): function 27 def test_hist_init(hist): argument 41 assert 0 == hist.rtns[-1] 54 hf = hist.flush() 58 hf = hist.flush() 71 hf = hist.flush() 76 hf = hist.flush() 88 hf = hist.flush() 96 hf = hist.flush() 119 hf = hist.flush() [all …]
|
H A D | test_history_sqlite.py | 14 def hist(): function 99 assert len(hist) == 0 103 assert len(hist) == 0 110 assert len(hist) == 1 120 assert len(hist) == 1 128 assert len(hist) == 2 136 assert len(hist) == 3 144 assert len(hist) == 3 148 assert len(hist) == 4 156 assert len(hist) == 4 [all …]
|
/dports/net/ooni-mini/probe-engine-0.23.0/vendor/github.com/lucas-clemente/quic-go/internal/ackhandler/ |
H A D | received_packet_history_test.go | 12 var hist *receivedPacketHistory 126 hist.DeleteBelow(5) 134 hist.DeleteBelow(6) 143 hist.DeleteBelow(8) 154 hist.DeleteBelow(5) 163 hist.DeleteBelow(5) 171 hist.DeleteBelow(4) 180 hist.DeleteBelow(5) 255 hist.ReceivedPacket(4) 256 hist.ReceivedPacket(5) [all …]
|
/dports/net/v2ray/v2ray-core-4.36.2/vendor/github.com/lucas-clemente/quic-go/internal/ackhandler/ |
H A D | received_packet_history_test.go | 12 var hist *receivedPacketHistory 126 hist.DeleteBelow(5) 134 hist.DeleteBelow(6) 143 hist.DeleteBelow(8) 154 hist.DeleteBelow(5) 163 hist.DeleteBelow(5) 171 hist.DeleteBelow(4) 180 hist.DeleteBelow(5) 255 hist.ReceivedPacket(4) 256 hist.ReceivedPacket(5) [all …]
|
/dports/www/libwww/w3c-libwww-5.4.2/Library/src/ |
H A D | HTHist.c | 49 if (hist) { in HTHistory_delete() 51 HT_FREE(hist); in HTHistory_delete() 65 return (hist && cur && HTList_addObject(hist->alist, cur) && hist->pos++); in HTHistory_record() 79 HTHistory_removeFrom(hist, hist->pos); in HTHistory_replace() 92 return (hist && HTList_removeLastObject(hist->alist) && hist->pos--); in HTHistory_removeLast() 119 return (hist ? HTList_count(hist->alist) : -1); in HTHistory_count() 128 return (hist ? hist->pos : -1); in HTHistory_position() 191 return ((hist && hist->pos > 1) ? YES : NO); in HTHistory_canBacktrack() 222 int pos = HTList_count(hist->alist) - (--hist->pos); in HTHistory_back() 234 return ((hist && hist->pos < HTList_count(hist->alist)) ? YES : NO); in HTHistory_canForward() [all …]
|
/dports/dns/nextdns/nextdns-1.32.2/vendor/github.com/lucas-clemente/quic-go/internal/ackhandler/ |
H A D | received_packet_history_test.go | 16 var hist *receivedPacketHistory 130 hist.DeleteBelow(5) 138 hist.DeleteBelow(6) 147 hist.DeleteBelow(8) 158 hist.DeleteBelow(5) 167 hist.DeleteBelow(5) 175 hist.DeleteBelow(4) 184 hist.DeleteBelow(5) 259 hist.ReceivedPacket(4) 260 hist.ReceivedPacket(5) [all …]
|
/dports/net/storj/storj-1.45.3/vendor/github.com/lucas-clemente/quic-go/internal/ackhandler/ |
H A D | received_packet_history_test.go | 16 var hist *receivedPacketHistory 130 hist.DeleteBelow(5) 138 hist.DeleteBelow(6) 147 hist.DeleteBelow(8) 158 hist.DeleteBelow(5) 167 hist.DeleteBelow(5) 175 hist.DeleteBelow(4) 184 hist.DeleteBelow(5) 259 hist.ReceivedPacket(4) 260 hist.ReceivedPacket(5) [all …]
|
/dports/security/xray-core/Xray-core-1.5.0/vendor/github.com/lucas-clemente/quic-go/internal/ackhandler/ |
H A D | received_packet_history_test.go | 16 var hist *receivedPacketHistory 130 hist.DeleteBelow(5) 138 hist.DeleteBelow(6) 147 hist.DeleteBelow(8) 158 hist.DeleteBelow(5) 167 hist.DeleteBelow(5) 175 hist.DeleteBelow(4) 184 hist.DeleteBelow(5) 259 hist.ReceivedPacket(4) 260 hist.ReceivedPacket(5) [all …]
|
/dports/net-im/dendrite/dendrite-0.5.1/vendor/github.com/lucas-clemente/quic-go/internal/ackhandler/ |
H A D | received_packet_history_test.go | 16 var hist *receivedPacketHistory 130 hist.DeleteBelow(5) 138 hist.DeleteBelow(6) 147 hist.DeleteBelow(8) 158 hist.DeleteBelow(5) 167 hist.DeleteBelow(5) 175 hist.DeleteBelow(4) 184 hist.DeleteBelow(5) 259 hist.ReceivedPacket(4) 260 hist.ReceivedPacket(5) [all …]
|
/dports/net/ooni-probe-cli/probe-cli-3.10.1/vendor/github.com/lucas-clemente/quic-go/internal/ackhandler/ |
H A D | received_packet_history_test.go | 16 var hist *receivedPacketHistory 130 hist.DeleteBelow(5) 138 hist.DeleteBelow(6) 147 hist.DeleteBelow(8) 158 hist.DeleteBelow(5) 167 hist.DeleteBelow(5) 175 hist.DeleteBelow(4) 184 hist.DeleteBelow(5) 259 hist.ReceivedPacket(4) 260 hist.ReceivedPacket(5) [all …]
|
/dports/finance/gnucash/gnucash-4.9/gnucash/html/ |
H A D | gnc-html-history.c | 52 return hist; in gnc_html_history_new() 138 (hist->destroy_cb)(hn, hist->destroy_cb_data); in gnc_html_history_append() 156 hist->last_node = hist->current_node; in gnc_html_history_append() 164 if (hist->nodes && hist->last_node) in gnc_html_history_append() 192 if (!hist || !(hist->current_node)) return NULL; in gnc_html_history_get_current() 205 if (!hist || !(hist->current_node)) in gnc_html_history_forward() 212 hist->current_node = hist->current_node->next; in gnc_html_history_forward() 227 if (!hist || !(hist->current_node)) in gnc_html_history_back() 234 hist->current_node = hist->current_node->prev; in gnc_html_history_back() 249 if (hist && hist->current_node && hist->current_node->prev) in gnc_html_history_back_p() [all …]
|
/dports/misc/vifm/vifm-0.11/src/utils/ |
H A D | hist.c | 42 hist->size = 0; in hist_init() 45 hist->items = calloc(capacity, sizeof(*hist->items)); in hist_init() 66 hist->size = 0; in hist_reset() 92 hist->items = reallocarray(hist->items, new_capacity, sizeof(*hist->items)); in hist_resize() 93 hist->size = MIN(hist->size, new_capacity); in hist_resize() 127 memmove(hist->items + 1, hist->items, sizeof(*hist->items)*i); in move_to_first_position() 147 if(hist->size == hist->capacity) in insert_at_first_position() 149 free(hist->items[hist->size - 1].text); in insert_at_first_position() 153 ++hist->size; in insert_at_first_position() 155 memmove(hist->items + 1, hist->items, in insert_at_first_position() [all …]
|
/dports/japanese/w3m/w3m-2b59b9e/ |
H A D | history.c | 16 if (hist && hist->list) { in historyBuffer() 65 if (hist == NULL || hist->list == NULL) in saveHistory() 122 if (hist == NULL || hist->list == NULL || in unshiftHist() 141 if (hist == NULL || hist->list == NULL || in pushHist() 187 if (hist == NULL || hist->list == NULL) in getHashHist() 200 if (hist == NULL || hist->list == NULL) in lastHist() 203 hist->current = hist->list->last; in lastHist() 212 if (hist == NULL || hist->list == NULL) in nextHist() 215 hist->current = hist->current->next; in nextHist() 224 if (hist == NULL || hist->list == NULL) in prevHist() [all …]
|
/dports/japanese/w3m-img/w3m-2b59b9e/ |
H A D | history.c | 16 if (hist && hist->list) { in historyBuffer() 65 if (hist == NULL || hist->list == NULL) in saveHistory() 122 if (hist == NULL || hist->list == NULL || in unshiftHist() 141 if (hist == NULL || hist->list == NULL || in pushHist() 187 if (hist == NULL || hist->list == NULL) in getHashHist() 200 if (hist == NULL || hist->list == NULL) in lastHist() 203 hist->current = hist->list->last; in lastHist() 212 if (hist == NULL || hist->list == NULL) in nextHist() 215 hist->current = hist->current->next; in nextHist() 224 if (hist == NULL || hist->list == NULL) in prevHist() [all …]
|
/dports/www/w3m-img/w3m-2b59b9e/ |
H A D | history.c | 16 if (hist && hist->list) { in historyBuffer() 65 if (hist == NULL || hist->list == NULL) in saveHistory() 122 if (hist == NULL || hist->list == NULL || in unshiftHist() 141 if (hist == NULL || hist->list == NULL || in pushHist() 187 if (hist == NULL || hist->list == NULL) in getHashHist() 200 if (hist == NULL || hist->list == NULL) in lastHist() 203 hist->current = hist->list->last; in lastHist() 212 if (hist == NULL || hist->list == NULL) in nextHist() 215 hist->current = hist->current->next; in nextHist() 224 if (hist == NULL || hist->list == NULL) in prevHist() [all …]
|
/dports/www/w3m/w3m-2b59b9e/ |
H A D | history.c | 16 if (hist && hist->list) { in historyBuffer() 65 if (hist == NULL || hist->list == NULL) in saveHistory() 122 if (hist == NULL || hist->list == NULL || in unshiftHist() 141 if (hist == NULL || hist->list == NULL || in pushHist() 187 if (hist == NULL || hist->list == NULL) in getHashHist() 200 if (hist == NULL || hist->list == NULL) in lastHist() 203 hist->current = hist->list->last; in lastHist() 212 if (hist == NULL || hist->list == NULL) in nextHist() 215 hist->current = hist->current->next; in nextHist() 224 if (hist == NULL || hist->list == NULL) in prevHist() [all …]
|
/dports/databases/grass7/grass-7.8.6/lib/raster/ |
H A D | history.c | 31 hist->lines = G_realloc(hist->lines, (hist->nlines + 1) * sizeof(char *)); in Rast_append_history() 32 hist->lines[hist->nlines++] = G_store(str); in Rast_append_history() 50 hist->lines = G_realloc(hist->lines, (hist->nlines + 1) * sizeof(char *)); in Rast_append_format_history() 56 hist->lines[hist->nlines++] = str; in Rast_append_format_history() 76 hist->nlines = 0; in Rast__read_history() 133 fprintf(fp, "%s\n", hist->fields[i] ? hist->fields[i] : ""); in Rast__write_history() 238 hist->nlines = 0; in Rast_short_history() 310 if (hist->lines) in Rast_clear_history() 311 G_free(hist->lines); in Rast_clear_history() 313 hist->lines = NULL; in Rast_clear_history() [all …]
|
/dports/sysutils/py-ranger/ranger-1.9.3/tests/ranger/container/ |
H A D | test_container.py | 17 hist.add(entry) 26 hist.back() 47 hist.back() 48 hist.forward() 52 hist.move(-3) 53 hist.forward() 54 hist.forward() 55 hist.forward() 60 hist.back() 69 hist.move(2) [all …]
|
/dports/devel/libcircllhist/libcircllhist-79fab69ee82597e3940cab017d7b0cd50ef3e9c1/src/test/ |
H A D | circllhist_test.lua | 40 hist:insert(x) 42 return hist 59 local hist = scratch.hist 80 local hist = scratch.hist 110 local hist = scratch.hist 123 local hist = scratch.hist 137 local hist = scratch.hist 149 local hist = scratch.hist 186 local hist = scratch.hist 187 hist:insert(1) [all …]
|
/dports/dns/unbound/unbound-1.14.0/util/ |
H A D | timehist.c | 88 if(!hist) in timehist_setup() 91 hist->buckets = (struct th_buck*)calloc(hist->num, in timehist_setup() 94 free(hist); in timehist_setup() 98 dosetup(hist); in timehist_setup() 99 return hist; in timehist_setup() 104 if(!hist) in timehist_delete() 107 free(hist); in timehist_delete() 144 hist->buckets[hist->num-1].count++; in timehist_insert() 203 if(!hist || hist->num == 0) in timehist_quartile() 233 sz = hist->num; in timehist_export() [all …]
|
/dports/print/fontforge/fontforge-20201107/fontforgeexe/ |
H A D | histograms.c | 98 if ( hist->hist[top-low].char_cnt >= hist->hist[top-low].max ) { in HistFindBlues() 102 …hist->hist[top-low].chars = realloc(hist->hist[top-low].chars,(hist->hist[top-low].max+10)*sizeof(… in HistFindBlues() 105 hist->hist[top-low].chars[hist->hist[top-low].char_cnt++] = sc; in HistFindBlues() 134 memcpy(h,hist->hist + hist->low-low,(hist->high-hist->low+1)*sizeof(struct hentry)); in HistFindBlues() 135 free(hist->hist); in HistFindBlues() 136 hist->hist = h; in HistFindBlues() 198 memcpy(h,hist->hist + hist->low-low,(hist->high-hist->low+1)*sizeof(struct hentry)); in HistFindStemWidths() 200 hist->hist = h; in HistFindStemWidths() 286 h = &hist->h->hist[x + hist->hoff - hist->h->low]; in HistPopup() 302 x+hist->hoff-hist->sum_around, x+hist->hoff+hist->sum_around, x + hist->hoff, in HistPopup() [all …]
|