/dports/sysutils/sensu-go/sensu-go-5.11.1/vendor/github.com/coreos/etcd/mvcc/ |
H A D | metrics_txn.go | 33 return &metricsTxnWrite{tw, 0, 0, 0} 37 tw.ranges++ 38 return tw.TxnWrite.Range(key, end, ro) 42 tw.deletes++ 47 tw.puts++ 51 func (tw *metricsTxnWrite) End() { 52 defer tw.TxnWrite.End() 53 if sum := tw.ranges + tw.puts + tw.deletes; sum > 1 { 56 rangeCounter.Add(float64(tw.ranges)) 57 putCounter.Add(float64(tw.puts)) [all …]
|
/dports/x11-wm/ctwm/ctwm-4.0.3/ |
H A D | functions_warp.c | 31 TwmWindow *tw; in DFHANDLER() local 42 for(tw = Scr->FirstWindow; tw != NULL; tw = tw->next) { in DFHANDLER() 50 if(!tw) { in DFHANDLER() 51 for(tw = Scr->FirstWindow; tw != NULL; tw = tw->next) { in DFHANDLER() 59 if(!tw) { in DFHANDLER() 60 for(tw = Scr->FirstWindow; tw != NULL; tw = tw->next) { in DFHANDLER() 71 if(tw) { in DFHANDLER() 73 if(!tw->mapped) { in DFHANDLER() 74 DeIconify(tw); in DFHANDLER() 103 for(tw = Scr->FirstWindow; tw != NULL; tw = tw->next) { in DFHANDLER() [all …]
|
/dports/x11-toolkits/mowitz/Mowitz-0.2.1/Mowitz/ |
H A D | MwTooltip.c | 184 0, 0, tw->core.width, tw->core.height, 0); in DoLayout() 192 while (tw->tooltip.plist) in Destroy() 194 if (tw->tooltip.plabel) in Destroy() 195 XtDestroyWidget(tw->tooltip.plabel); in Destroy() 231 tw->tooltip.timer = None; in tooltip_popup() 239 tw->tooltip.timer = None; in tooltip_popdown() 240 XtPopdown((Widget)tw); in tooltip_popdown() 298 tooltip_popdown(tw); in tooltip_hide() 309 entry->next = tw->tooltip.plist; in MwTooltipAdd() 310 tw->tooltip.plist = entry; in MwTooltipAdd() [all …]
|
H A D | MwTabbing.c | 184 for (j = tw->tabbing.top; j < tw->tabbing.ntext; j++) { in TabbingAction() 189 if (j == tw->tabbing.selected) rename_tab(tw, j); in TabbingAction() 216 tw->tabbing.text = NULL; in Initialize() 345 if (pos > tw->tabbing.ntext) pos = tw->tabbing.ntext; in MwTabbingInsert() 351 tw->tabbing.ntext++; in MwTabbingInsert() 353 tw->tabbing.text = p; in MwTabbingInsert() 368 tw->tabbing.text[i-1] = tw->tabbing.text[i]; in MwTabbingRemove() 369 tw->tabbing.ntext--; in MwTabbingRemove() 370 if (tw->tabbing.top > tw->tabbing.ntext-1) in MwTabbingRemove() 371 tw->tabbing.top = tw->tabbing.ntext-1; in MwTabbingRemove() [all …]
|
/dports/games/xblackjack/xblackjack-2.2/ |
H A D | Table.c | 511 tw->table.num_rows = tw->table.num_cols = 0; 842 tw->table.col_spacing, &(tw->table.cols)); 844 tw->table.vec_width += tw->table.cols[i].value; 852 tw->table.vec_height += tw->table.rows[i].value; 1071 (tw->table.num_cols-1)*tw->table.col_spacing; 1073 (tw->table.num_rows-1)*tw->table.row_spacing; 1138 tw->table.row_spacing, tw->table.col_spacing); 1160 if ((tw->core.width < tw->table.vec_width) || 1161 (tw->core.height < tw->table.vec_height)) { 1279 (tw->table.num_cols-1)*tw->table.col_spacing; [all …]
|
/dports/devel/transwarp/transwarp-2.2.2/test/ |
H A D | test_to_string.cpp | 4 const std::vector<tw::edge> graph; 5 const auto dot_graph = tw::to_string(graph); 11 REQUIRE("root" == tw::to_string(tw::task_type::root)); 12 REQUIRE("accept" == tw::to_string(tw::task_type::accept)); 13 REQUIRE("accept_any" == tw::to_string(tw::task_type::accept_any)); 14 REQUIRE("consume" == tw::to_string(tw::task_type::consume)); 15 REQUIRE("consume_any" == tw::to_string(tw::task_type::consume_any)); 16 REQUIRE("wait" == tw::to_string(tw::task_type::wait)); 17 REQUIRE("wait_any" == tw::to_string(tw::task_type::wait_any));
|
H A D | test_value_task.cpp | 4 auto t = tw::make_value_task(42); 45 auto t = tw::make_value_task(42); 67 auto t = tw::make_value_task(42); 93 auto t3 = tw::make_task(tw::consume, [](int x, double y) { return x + y; }, t1, t2); in __anonb62a17580102() 123 tw::sequential exec; 132 tw::sequential exec; 210 auto t = tw::make_task(tw::root, [x]{ return x; }); in __anonb62a17580202() 226 auto t = tw::make_task(tw::root, [x]{ return x; }); in __anonb62a17580302() 240 auto t = tw::make_task(tw::root, []{}); in __anonb62a17580402() 254 auto t = tw::make_task(tw::root, [x]{ return x; }); in __anonb62a17580502() [all …]
|
/dports/math/octave/octave-6.4.0/libinterp/parse-tree/ |
H A D | pt-idx.cc | 140 (tree_evaluator& tw, in get_struct_index() argument 177 act ([&tw] (const octave_value& val, in lvalue() 181 tw.set_indexed_object (val); in lvalue() 183 }, tw.indexed_object (), tw.index_type (), tw.index_list ()); in lvalue() 185 tw.set_indexed_object (retval.value ()); in lvalue() 186 tw.clear_index_list (); in lvalue() 465 tw.set_indexed_object (val); in evaluate_n() 468 tw.indexed_object (), in evaluate_n() 469 tw.index_type (), tw.index_list ()); in evaluate_n() 471 tw.set_indexed_object (); in evaluate_n() [all …]
|
/dports/mail/xfaces/xfaces-3.3/ |
H A D | Tiled.c | 149 NewSize(tw) in NewSize() argument 150 TiledWidget tw; in NewSize() 250 width = tw->core.width; 268 width = tw->core.width; 329 Layout(tw) in Layout() argument 330 TiledWidget tw; in Layout() 512 NewSize(tw); 513 Layout(tw); 536 TiledWidget tw; local 542 NewSize(tw); [all …]
|
/dports/x11-toolkits/open-motif/motif-2.3.8/lib/Xm/ |
H A D | Tree.c | 401 XmTree_ul_point(tw).x = XmTree_ul_point(tw).y = 0; in Initialize() 402 XmTree_lr_point(tw).x = XmTree_lr_point(tw).y = 0; in Initialize() 501 XmTree_lr_point(tw).x = XmTree_lr_point(tw).y = 0; in Redisplay() 544 XClearArea(XtDisplay(tw), XtWindow(tw), in Resize() 545 0, 0, tw->core.width, tw->core.height, True); in Resize() 650 XClearArea(XtDisplay(tw), XtWindow(tw), in ChangeManaged() 716 XClearArea(XtDisplay(tw), XtWindow(tw), in GeometryManager() 919 XClearArea(XtDisplay(tw), XtWindow(tw), in ConstraintSetValues() 920 0, 0, tw->core.width, tw->core.height, True); in ConstraintSetValues() 962 XClearArea(XtDisplay(tw), XtWindow(tw), in ToggleNodeState() [all …]
|
H A D | TextSel.c | 247 (*tw->text.output->DrawInsertionPoint)(tw, tw->text.cursor_position, off); in InsertSelection() 264 (*tw->text.output->DrawInsertionPoint)(tw, tw->text.cursor_position, on); in InsertSelection() 298 (*tw->text.source->SetSelection)(tw->text.source, in InsertSelection() 310 (*tw->text.output->DrawInsertionPoint)(tw, tw->text.cursor_position, on); in InsertSelection() 624 if (_XmTextGetDropReciever((Widget)tw) != (Widget) tw) in _XmTextConvert() 639 (*tw->text.source->SetSelection)(tw->text.source, in _XmTextConvert() 678 (*tw->text.output->DrawInsertionPoint)(tw, tw->text.cursor_position, off); in _XmTextLoseSelection() 680 (*tw->text.output->DrawInsertionPoint)(tw, tw->text.cursor_position, on); in _XmTextLoseSelection() 1060 if ((*tw->text.source->Replace)(tw, ds->event, in DoStuff() 1263 if ((*tw->text.source->Replace)(tw, ds->event, in DropTransferProc() [all …]
|
/dports/graphics/openfx-arena/openfx-arena-Natron-2.3.14/SupportExt/ |
H A D | tinythread.cpp | 194 tw->run(); in wrapper_function() 206 delete tw; in wrapper_function() 228 delete tw; in thread() 229 tw = 0; in thread() 238 if(!tw) in ~thread() 243 delete tw; in ~thread() 257 if(!tw) in join() 275 delete tw; in join() 283 if(!tw) in joinable() 292 if(!tw) in detach() [all …]
|
/dports/graphics/openfx-misc/openfx-misc-3ab0531/SupportExt/ |
H A D | tinythread.cpp | 194 tw->run(); in wrapper_function() 206 delete tw; in wrapper_function() 228 delete tw; in thread() 229 tw = 0; in thread() 238 if(!tw) in ~thread() 243 delete tw; in ~thread() 257 if(!tw) in join() 275 delete tw; in join() 283 if(!tw) in joinable() 292 if(!tw) in detach() [all …]
|
/dports/print/tex-xdvik/xdvik-22.87/texk/xdvik/gui/ |
H A D | Tip.c | 275 tw->tip.nr_twl = 0; in initialize() 277 create_GC(tw); in initialize() 320 if (shells[i] == tw) { in destroy() 344 TipWidget tw = obj->tw; in timeout_event() local 436 TipWidget tw = obj->tw; in enter() local 481 TipWidget tw = obj->tw; in leave() local 496 if (tw->tip.isup) { in leave() 498 tw->tip.isup = NULL; in leave() 592 obj = tw->tip.twl + tw->tip.nr_twl; in TipAddWidget() 598 obj->tw = tw; in TipAddWidget() [all …]
|
/dports/devel/py-cliff/cliff-3.3.0/cliff/tests/ |
H A D | test_formatters_table.py | 71 def test(self, tw): argument 72 tw.return_value = 80 132 tw.return_value = 80 142 tw.return_value = 80 152 tw.return_value = 0 163 tw.return_value = 0 174 tw.return_value = 80 206 def test_80(self, tw): argument 213 def test_70(self, tw): argument 233 def test_50(self, tw): argument [all …]
|
/dports/astro/xphoon/xphoon-20000613/ |
H A D | dtime.c | 56 static struct tws tw; local 60 tw.tw_flags = TW_NULL; 63 tw.tw_sec = tm->tm_sec; 64 tw.tw_min = tm->tm_min; 65 tw.tw_hour = tm->tm_hour; 67 tw.tw_mon = tm->tm_mon; 72 tw.tw_flags |= TW_DST; 80 tw.tw_flags &= ~TW_SDAY; 81 tw.tw_flags |= TW_SEXP; 82 tw.tw_clock = *clock; [all …]
|
/dports/net/storj/storj-1.45.3/vendor/github.com/cloudfoundry/gosigar/psnotify/ |
H A D | psnotify_test.go | 102 tw := &testWatcher{ 125 return tw 132 tw.events.done <- true 134 tw.watcher.Close() 186 tw := newTestWatcher(t) 200 tw.close() 215 tw := newTestWatcher(t) 231 tw.close() 250 tw := newTestWatcher(t) 268 tw.close() [all …]
|
/dports/textproc/mdocml/mandoc-1.14.5/regress/roff/args/ |
H A D | man.out_ascii | 9 standard unquoted: _o_n_ettwwoo text 10 escaped blanks: _o_n_e _o_n_ettwwoo ttwwoo text 20 quoted whitespace: _o_n_e _o_n_ettwwoo ttwwoo text 24 double inter-argument space: _o_n_e _o_n_ettwwoo ttwwoo text 25 triple inter-argument space: _o_n_e _o_n_ettwwoo ttwwoo text 26 missing inter-argument space: _o_n_e _o_n_ettwwoo ttwwoo text 27 single eol blank: _o_n_e _o_n_ettwwoo ttwwoo text 28 double eol blank: _o_n_e _o_n_ettwwoo ttwwoo text 29 triple eol blank: _o_n_e _o_n_ettwwoo ttwwoo text 31 _o_n_ettwwoo text [all …]
|
H A D | mdoc.out_ascii | 7 standard unquoted: --oonnee --ttwwoo text 8 escaped blanks: --oonnee oonnee --ttwwoo ttwwoo text 16 standard quoted: --oonnee --ttwwoo text 18 quoted whitespace: --oonnee oonnee --ttwwoo ttwwoo text 20 double inter-argument space: --oonnee oonnee --ttwwoo ttwwoo text 21 triple inter-argument space: --oonnee oonnee --ttwwoo ttwwoo text 22 missing inter-argument space: --oonnee oonnee --ttwwoo ttwwoo text 23 single eol blank: --oonnee oonnee --ttwwoo ttwwoo text 24 double eol blank: --oonnee oonnee --ttwwoo ttwwoo text 25 triple eol blank: --oonnee oonnee --ttwwoo ttwwoo text [all …]
|
/dports/devel/transwarp/transwarp-2.2.2/examples/ |
H A D | statistical_key_facts.cpp | 8 namespace tw = transwarp; 86 auto alpha_task = tw::make_task(tw::root, [&alpha] { return alpha; })->named("alpha"); in build_graph() 87 auto beta_task = tw::make_task(tw::root, [&beta] { return beta; })->named("beta"); in build_graph() 89 auto data_task = tw::make_task(tw::consume, generate_gamma, in build_graph() 92 auto avg_task = tw::make_task(tw::consume, average, data_task)->named("average"); in build_graph() 93 auto stddev_task = tw::make_task(tw::consume, stddev, data_task, avg_task)->named("stddev"); in build_graph() 94 auto median_task = tw::make_task(tw::consume, median, data_task)->named("median"); in build_graph() 95 auto mode_task = tw::make_task(tw::consume, mode, data_task)->named("mode"); in build_graph() 97 return tw::make_task(tw::consume, aggregate_results, in build_graph() 127 executor = std::unique_ptr<tw::parallel>{new tw::parallel{4}}; in statistical_key_facts() [all …]
|
/dports/net-im/dendrite/dendrite-0.5.1/vendor/nhooyr.io/websocket/ |
H A D | compress_notjs.go | 49 if tw != nil && tw.tail != nil { 50 tw.tail = tw.tail[:0] 55 if tw.tail == nil { 62 tw.tail = append(tw.tail, p...) 68 extra = len(tw.tail) 71 _, err := tw.w.Write(tw.tail[:extra]) 77 n := copy(tw.tail, tw.tail[extra:]) 78 tw.tail = tw.tail[:n] 84 tw.tail = append(tw.tail, p...) 89 tw.tail = append(tw.tail, p[len(p)-4:]...) [all …]
|
/dports/irc/soju/soju-0.3.0/vendor/nhooyr.io/websocket/ |
H A D | compress_notjs.go | 49 if tw != nil && tw.tail != nil { 50 tw.tail = tw.tail[:0] 55 if tw.tail == nil { 62 tw.tail = append(tw.tail, p...) 68 extra = len(tw.tail) 71 _, err := tw.w.Write(tw.tail[:extra]) 77 n := copy(tw.tail, tw.tail[extra:]) 78 tw.tail = tw.tail[:n] 84 tw.tail = append(tw.tail, p...) 89 tw.tail = append(tw.tail, p[len(p)-4:]...) [all …]
|
/dports/x11-toolkits/neXtaw/neXtaw-0.15.1/X11/neXtaw/ |
H A D | Toggle.c | 316 XtResizeWidget(new, tw->core.width + CHECKBOX_SPACE, tw->core.height, in Initialize() 349 if (tw->command.set) { in DisplayRadioButton() 372 if (x2>tw->core.width) { in DisplayCheckBox() 373 x2=tw->core.width-x1; in DisplayCheckBox() 379 y2=tw->core.height; in DisplayCheckBox() 390 if (tw->command.set) { in DisplayCheckBox() 416 tmp = tw->label.lbm_width; in Resize() 419 tw->label.left_bitmap = 1; in Resize() 424 tw->label.lbm_width = tmp; in Resize() 521 if (tw->command.set) { in Toggle() [all …]
|
/dports/net/wireshark/wireshark-3.6.1/ui/cli/ |
H A D | tap-funnel.c | 36 tw->title = g_strdup(title); in new_text_window() 37 tw->text = g_string_new(""); in new_text_window() 44 return tw; in new_text_window() 48 g_string_free(tw->text, TRUE); in text_window_clear() 49 tw->text = g_string_new(""); in text_window_clear() 57 g_string_free(tw->text, TRUE); in text_window_set_text() 58 tw->text = g_string_new(text); in text_window_set_text() 66 return tw->text->str; in text_window_get_text() 126 "==========================\n%s\n", tw->title, tw->text->str); in funnel_dump_all_text_windows() 129 g_free(tw->title); in funnel_dump_all_text_windows() [all …]
|
/dports/net/wireshark-lite/wireshark-3.6.1/ui/cli/ |
H A D | tap-funnel.c | 36 tw->title = g_strdup(title); 37 tw->text = g_string_new(""); 44 return tw; 48 g_string_free(tw->text, TRUE); 49 tw->text = g_string_new(""); 57 g_string_free(tw->text, TRUE); in sockets() 58 tw->text = g_string_new(text); in sockets() 66 return tw->text->str; 126 "==========================\n%s\n", tw->title, tw->text->str); 129 g_free(tw->title); [all …]
|