Home
last modified time | relevance | path

Searched refs:countstr (Results 1 – 25 of 87) sorted by relevance

1234

/dports/math/p5-Math-Prime-Util/Math-Prime-Util-0.73/xt/
H A Dprimecount-many.t154 my $countstr;
155 $countstr = join(" ", map { prime_count($_) } 1 .. 100000);
156 …is(sha256_hex($countstr), "cdbc5c94a927d0d9481cb26b3d3e60c0617a4be65ce9db3075c0363c7a81ef52", "pri…
157 $countstr = join(" ", map { prime_count(100*$_ + ($_%101)) } 1000 .. 100000);
158 …is(sha256_hex($countstr), "73a0b71dedff9611e06fd57e52b88c8afd7f86b5351e4950b2dd5c1d68845b6e", "pri…
159 $countstr = join(" ", map { prime_count(10000*$_ + ($_%9973)) } 1000 .. 10000);
160 …is(sha256_hex($countstr), "d73736c54362136aa0a48bab44b55004b2e63e0d1d03a6cbe1aab42c6a579d0c", "pri…
161 $countstr = join(" ", map { prime_count(500000*$_ + 250837 + $_) } 200 .. 2000);
162 …is(sha256_hex($countstr), "00a580b2f52b661f065f5ce49bd2aeacb3b169d8903cf824b65731441e40f0b9", "pri…
165 $countstr = join(" ", map { prime_count(10000000*$_ + 250837 + $_) } 100 .. 1000);
[all …]
/dports/net/mpich/mpich-3.4.3/test/mpi/dtpools/src/
H A Ddtpools_misc.c65 char **countstr = NULL; in DTPI_parse_base_type_str() local
79 DTPI_ALLOC_OR_FAIL(countstr, MAX_TYPES * sizeof(char *), rc); in DTPI_parse_base_type_str()
87 DTPI_ALLOC_OR_FAIL(countstr[num_types], MAX_TYPE_LEN, rc); in DTPI_parse_base_type_str()
97 countstr[num_types][i] = str[stridx]; in DTPI_parse_base_type_str()
98 countstr[num_types][i] = '\0'; in DTPI_parse_base_type_str()
100 countstr[num_types][0] = '\0'; in DTPI_parse_base_type_str()
123 if (strlen(countstr[i]) == 0) in DTPI_parse_base_type_str()
126 array_of_blklens[i] = atoi(countstr[i]); in DTPI_parse_base_type_str()
169 DTPI_FREE(countstr[i]); in DTPI_parse_base_type_str()
173 if (countstr) in DTPI_parse_base_type_str()
[all …]
/dports/net/mpich/mpich-3.4.3/modules/yaksa/test/dtpools/src/
H A Ddtpools_misc.c139 char **countstr = NULL; in DTPI_parse_base_type_str() local
153 DTPI_ALLOC_OR_FAIL(countstr, MAX_TYPES * sizeof(char *), rc); in DTPI_parse_base_type_str()
161 DTPI_ALLOC_OR_FAIL(countstr[num_types], MAX_TYPE_LEN, rc); in DTPI_parse_base_type_str()
171 countstr[num_types][i] = str[stridx]; in DTPI_parse_base_type_str()
172 countstr[num_types][i] = '\0'; in DTPI_parse_base_type_str()
174 countstr[num_types][0] = '\0'; in DTPI_parse_base_type_str()
190 if (strlen(countstr[i]) == 0) in DTPI_parse_base_type_str()
193 array_of_blklens[i] = atoi(countstr[i]); in DTPI_parse_base_type_str()
233 DTPI_FREE(countstr[i]); in DTPI_parse_base_type_str()
237 if (countstr) in DTPI_parse_base_type_str()
[all …]
/dports/textproc/translate-toolkit/translate-toolkit-3.5.1/translate/filters/
H A Dhelpers.py25 def countmatch(str1, str2, countstr): argument
27 return str1.count(countstr) == str2.count(countstr)
39 [countmatch(str1, str2, countstr) for countstr in countlist],
/dports/net-mgmt/xymon-server/xymon-4.3.30/xymond/rrd/
H A Ddo_counts.c21 char *fn, *countstr = NULL; in do_one_counts_rrd() local
25 fn = strtok(boln, ":"); if (fn) countstr = strtok(NULL, ":"); in do_one_counts_rrd()
26 if (fn && countstr) { in do_one_counts_rrd()
32 snprintf(rrdvalues, sizeof(rrdvalues), "%d:%s", (int)tstamp, countstr); in do_one_counts_rrd()
/dports/net-mgmt/xymon-client/xymon-4.3.30/xymond/rrd/
H A Ddo_counts.c21 char *fn, *countstr = NULL; in do_one_counts_rrd() local
25 fn = strtok(boln, ":"); if (fn) countstr = strtok(NULL, ":"); in do_one_counts_rrd()
26 if (fn && countstr) { in do_one_counts_rrd()
32 snprintf(rrdvalues, sizeof(rrdvalues), "%d:%s", (int)tstamp, countstr); in do_one_counts_rrd()
/dports/irc/irssi/irssi-1.2.3/src/fe-text/
H A Dlastlog.c246 char *text, *countstr, *start, *fname; in cmd_lastlog() local
255 &text, &countstr, &start)) in cmd_lastlog()
259 (*countstr == '\0' || is_numeric(countstr, 0))) { in cmd_lastlog()
260 start = countstr; in cmd_lastlog()
261 countstr = text; in cmd_lastlog()
264 count = atoi(countstr); in cmd_lastlog()
/dports/comms/xlog/xlog-2.0.22/src/
H A Dcallbacks_mainwindow.c118 gchar *call, *countstr, *str; in on_mainwindow_keypress() local
227 countstr = g_strdup_printf ("00%d", c); in on_mainwindow_keypress()
229 countstr = g_strdup_printf ("0%d", c); in on_mainwindow_keypress()
231 countstr = g_strdup_printf ("%d", c); in on_mainwindow_keypress()
233 countstr); in on_mainwindow_keypress()
234 g_free (countstr); in on_mainwindow_keypress()
H A Dgui_netkeyer.c97 gchar *entryname, *sendstr, *call, *countstr, *lastmsg; in cw() local
125 countstr = g_strdup_printf ("00%d", i); in cw()
127 countstr = g_strdup_printf ("0%d", i); in cw()
129 countstr = g_strdup_printf ("%d", i); in cw()
132 countstr = my_strreplace (countstr, "0", "t"); in cw()
133 countstr = my_strreplace (countstr, "9", "n"); in cw()
135 sendstr = my_strreplace (sendstr, "#", countstr); in cw()
136 g_free (countstr); in cw()
H A Dcallbacks_mainwindow_menu.c245 gchar *countstr, *lastmsg, *str; in on_clickall_activate() local
329 countstr = g_strdup_printf ("00%d", c); in on_clickall_activate()
331 countstr = g_strdup_printf ("0%d", c); in on_clickall_activate()
333 countstr = g_strdup_printf ("%d", c); in on_clickall_activate()
334 str = my_strreplace (preferences.defaulttxrst, "#", countstr); in on_clickall_activate()
335 g_free (countstr); in on_clickall_activate()
H A Dcallbacks_mainwindow_qsoframe.c460 gchar *str, *countstr, *lastmsg; in on_rstbutton_clicked() local
470 countstr = g_strdup_printf ("00%d", c); in on_rstbutton_clicked()
472 countstr = g_strdup_printf ("0%d", c); in on_rstbutton_clicked()
474 countstr = g_strdup_printf ("%d", c); in on_rstbutton_clicked()
475 str = my_strreplace (preferences.defaulttxrst, "#", countstr); in on_rstbutton_clicked()
476 g_free (countstr); in on_rstbutton_clicked()
/dports/mail/libsieve/libsieve-2.3.1/src/sv_interface/
H A Dscript.c193 char countstr[20]; in static_evaltest() local
194 snprintf(countstr, 19, "%d", count); in static_evaltest()
196 countstr, t->u.ae.comp, (char *)pl->p, countstr); in static_evaltest()
197 res |= t->u.ae.comp(context, pl->p, countstr); in static_evaltest()
265 char countstr[20]; in static_evaltest() local
266 snprintf(countstr, 19, "%d", count); in static_evaltest()
268 countstr, t->u.h.comp, (char *)pl->p, countstr); in static_evaltest()
269 res |= t->u.h.comp(context, pl->p, countstr); in static_evaltest()
/dports/security/gpa/gpa-0.10.0/src/
H A Dgpa-tofu-list.c192 char *countstr, *firstsign, *lastsign, *firstencr, *lastencr; in gpa_tofu_list_set_key() local
209 countstr = g_strdup_printf ("%hu/%hu", tofu->signcount, tofu->encrcount); in gpa_tofu_list_set_key()
221 TOFU_COUNT, countstr, in gpa_tofu_list_set_key()
228 g_free (countstr); in gpa_tofu_list_set_key()
/dports/www/grafana8/grafana-8.3.6/pkg/tsdb/testdatasource/
H A Dresource_handler.go80 countstr := req.URL.Query().Get("count")
81 if countstr != "" {
82 if i, err := strconv.Atoi(countstr); err == nil {
/dports/games/stuntrally/stuntrally-2.6.1/source/vdrift/
H A Djoeserialize.h289 std::stringstream countstr; in Serialize() local
290 countstr << count; in Serialize()
292 std::string keystr = "Key" + countstr.str(); in Serialize()
309 std::stringstream countstr; in Serialize() local
310 countstr << i+1; in Serialize()
312 std::string keystr = "Key" + countstr.str(); in Serialize()
339 std::stringstream countstr; in Serialize() local
340 countstr << count; in Serialize()
342 std::string keystr = "Key" + countstr.str(); in Serialize()
359 std::stringstream countstr; in Serialize() local
[all …]
/dports/games/nethack36/NetHack-NetHack-3.6.6_Released/win/Qt4/
H A Dqt4menu.cpp448 if (countstr.isEmpty()) in InputCount()
451 countstr = countstr.mid(0, countstr.size() - 1); in InputCount()
457 countstr += QChar(key); in InputCount()
460 prompt.setText("Count: " + countstr); in InputCount()
467 countstr = ""; in ClearCount()
562 cb->setChecked((counting && !countstr.isEmpty()) in ToggleSelect()
566 if (count != NULL) count->setText(countstr); in ToggleSelect()
/dports/games/nethack36-nox11/NetHack-NetHack-3.6.6_Released/win/Qt4/
H A Dqt4menu.cpp448 if (countstr.isEmpty()) in InputCount()
451 countstr = countstr.mid(0, countstr.size() - 1); in InputCount()
457 countstr += QChar(key); in InputCount()
460 prompt.setText("Count: " + countstr); in InputCount()
467 countstr = ""; in ClearCount()
562 cb->setChecked((counting && !countstr.isEmpty()) in ToggleSelect()
566 if (count != NULL) count->setText(countstr); in ToggleSelect()
/dports/games/xnethack/xNetHack-xnh6.1/win/Qt/
H A Dqt_menu.cpp670 if (countstr.isEmpty()) in InputCount()
673 countstr = countstr.mid(0, countstr.size() - 1); in InputCount()
684 else if (key > '0' && countstr == "0") in InputCount()
685 countstr = ""; in InputCount()
686 countstr += QChar(key); in InputCount()
689 prompt.setText("Count: " + countstr); in InputCount()
696 countstr = ""; in ClearCount()
874 countfield->setText(countstr); // store in item(row,0) in ToggleSelect()
/dports/www/qutebrowser/qutebrowser-2.4.0/qutebrowser/misc/
H A Dkeyhintwidget.py95 countstr, prefix = match.groups()
115 (takes_count(v) or not countstr)]
/dports/math/vtk9/VTK-9.1.0/ThirdParty/ioss/vtkioss/
H A DIoss_VariableType.C282 char *countstr = std::strtok(nullptr, "[]"); in build_variable_type() local
283 assert(countstr != nullptr); in build_variable_type()
284 int count = std::atoi(countstr); in build_variable_type()
/dports/astro/kstars/kstars-3.5.6/Tests/kstars_ui/
H A Dtest_ekos_capture_workflow.cpp125 QString countstr = in.readLine(); in testPreCaptureScriptExecution() local
127 QVERIFY2(countstr.toInt() == count, in testPreCaptureScriptExecution()
129 .arg(count).arg(countstr).toLocal8Bit()); in testPreCaptureScriptExecution()
/dports/devel/libstrfunc/libstrfunc-8.3/sf_core/
H A Dsf_smisc.h63 int countstr (const char *, const char *what2countStr);
/dports/games/alephone/alephone-release-20190331/Source_Files/CSeries/
H A Dcsstrings.h43 extern size_t countstr(
/dports/net-mgmt/xymon-client/xymon-4.3.30/xymond/
H A Dxymond_client.c1533 char *fn, *boln, *eoln, *id, *countstr; in linecount_report() local
1544 countstr = (id ? strtok(NULL, "\n") : NULL); in linecount_report()
1545 if (id && countstr) { in linecount_report()
1546 countstr += strspn(countstr, "\t "); in linecount_report()
1547 snprintf(msgline, sizeof(msgline), "%s#%s:%s\n", nocolon(fn), id, countstr); in linecount_report()
1576 char *fn, *boln, *eoln, *id, *countstr; in deltacount_report() local
1587 countstr = (id ? strtok(NULL, "\n") : NULL); in deltacount_report()
1588 if (id && countstr) { in deltacount_report()
1589 countstr += strspn(countstr, "\t "); in deltacount_report()
1590 snprintf(msgline, sizeof(msgline), "%s#%s:%s\n", nocolon(fn), id, countstr); in deltacount_report()
/dports/net-mgmt/xymon-server/xymon-4.3.30/xymond/
H A Dxymond_client.c1533 char *fn, *boln, *eoln, *id, *countstr; in linecount_report() local
1544 countstr = (id ? strtok(NULL, "\n") : NULL); in linecount_report()
1545 if (id && countstr) { in linecount_report()
1546 countstr += strspn(countstr, "\t "); in linecount_report()
1547 snprintf(msgline, sizeof(msgline), "%s#%s:%s\n", nocolon(fn), id, countstr); in linecount_report()
1576 char *fn, *boln, *eoln, *id, *countstr; in deltacount_report() local
1587 countstr = (id ? strtok(NULL, "\n") : NULL); in deltacount_report()
1588 if (id && countstr) { in deltacount_report()
1589 countstr += strspn(countstr, "\t "); in deltacount_report()
1590 snprintf(msgline, sizeof(msgline), "%s#%s:%s\n", nocolon(fn), id, countstr); in deltacount_report()

1234