/dports/lang/cython/Cython-0.29.24/tests/run/ |
H A D | pstats_profile_test.pyx | 6 >>> statsfile = tempfile.mkstemp()[1] 7 >>> profile.runctx("test_profile(100)", locals(), globals(), statsfile) 8 >>> s = pstats.Stats(statsfile) 58 ... os.unlink(statsfile) 69 >>> profile.runctx("test_generators()", locals(), globals(), statsfile) 70 >>> s = pstats.Stats(statsfile) 105 >>> profile.runctx("call_python_generator()", locals(), globals(), statsfile) 106 >>> python_stats = pstats.Stats(statsfile) 109 >>> profile.runctx("call_generator()", locals(), globals(), statsfile) 110 >>> cython_stats = pstats.Stats(statsfile) [all …]
|
/dports/lang/cython-devel/cython-2b1e743/tests/run/ |
H A D | pstats_profile_test_pycfunc.pyx | 7 >>> statsfile = tempfile.mkstemp()[1] 8 >>> profile.runctx("test_profile(100)", locals(), globals(), statsfile) 9 >>> s = pstats.Stats(statsfile) 59 ... os.unlink(statsfile) 70 >>> profile.runctx("test_generators()", locals(), globals(), statsfile) 71 >>> s = pstats.Stats(statsfile) 106 >>> profile.runctx("call_python_generator()", locals(), globals(), statsfile) 107 >>> python_stats = pstats.Stats(statsfile) 110 >>> profile.runctx("call_generator()", locals(), globals(), statsfile) 111 >>> cython_stats = pstats.Stats(statsfile) [all …]
|
H A D | pstats_profile_test.pyx | 6 >>> statsfile = tempfile.mkstemp()[1] 7 >>> profile.runctx("test_profile(100)", locals(), globals(), statsfile) 8 >>> s = pstats.Stats(statsfile) 54 ... os.unlink(statsfile) 65 >>> profile.runctx("test_generators()", locals(), globals(), statsfile) 66 >>> s = pstats.Stats(statsfile) 101 >>> profile.runctx("call_python_generator()", locals(), globals(), statsfile) 102 >>> python_stats = pstats.Stats(statsfile) 105 >>> profile.runctx("call_generator()", locals(), globals(), statsfile) 106 >>> cython_stats = pstats.Stats(statsfile) [all …]
|
/dports/devel/ccache-memcached-static/ccache-f7712082106bef085515f86ae47e7dbbd2a48b57/src/ |
H A D | stats.c | 591 char *statsfile = format("%s/stats", dir); in stats_set_sizes() local 592 if (lockfile_acquire(statsfile, lock_staleness_limit)) { in stats_set_sizes() 593 stats_read(statsfile, counters); in stats_set_sizes() 596 stats_write(statsfile, counters); in stats_set_sizes() 597 lockfile_release(statsfile); in stats_set_sizes() 599 free(statsfile); in stats_set_sizes() 608 char *statsfile = format("%s/stats", dir); in stats_add_cleanup() local 610 stats_read(statsfile, counters); in stats_add_cleanup() 612 stats_write(statsfile, counters); in stats_add_cleanup() 613 lockfile_release(statsfile); in stats_add_cleanup() [all …]
|
/dports/devel/ccache-memcached/ccache-f7712082106bef085515f86ae47e7dbbd2a48b57/src/ |
H A D | stats.c | 591 char *statsfile = format("%s/stats", dir); in stats_set_sizes() local 592 if (lockfile_acquire(statsfile, lock_staleness_limit)) { in stats_set_sizes() 593 stats_read(statsfile, counters); in stats_set_sizes() 596 stats_write(statsfile, counters); in stats_set_sizes() 597 lockfile_release(statsfile); in stats_set_sizes() 599 free(statsfile); in stats_set_sizes() 608 char *statsfile = format("%s/stats", dir); in stats_add_cleanup() local 610 stats_read(statsfile, counters); in stats_add_cleanup() 612 stats_write(statsfile, counters); in stats_add_cleanup() 613 lockfile_release(statsfile); in stats_add_cleanup() [all …]
|
/dports/devel/ccache/ccache-3.7.12/src/ |
H A D | stats.c | 695 char *statsfile = format("%s/stats", dir); in stats_set_sizes() local 696 if (lockfile_acquire(statsfile, lock_staleness_limit)) { in stats_set_sizes() 697 stats_read(statsfile, counters); in stats_set_sizes() 700 stats_write(statsfile, counters); in stats_set_sizes() 701 lockfile_release(statsfile); in stats_set_sizes() 703 free(statsfile); in stats_set_sizes() 712 char *statsfile = format("%s/stats", dir); in stats_add_cleanup() local 714 stats_read(statsfile, counters); in stats_add_cleanup() 716 stats_write(statsfile, counters); in stats_add_cleanup() 717 lockfile_release(statsfile); in stats_add_cleanup() [all …]
|
/dports/devel/ccache-static/ccache-3.7.12/src/ |
H A D | stats.c | 695 char *statsfile = format("%s/stats", dir); in stats_set_sizes() local 696 if (lockfile_acquire(statsfile, lock_staleness_limit)) { in stats_set_sizes() 697 stats_read(statsfile, counters); in stats_set_sizes() 700 stats_write(statsfile, counters); in stats_set_sizes() 701 lockfile_release(statsfile); in stats_set_sizes() 703 free(statsfile); in stats_set_sizes() 712 char *statsfile = format("%s/stats", dir); in stats_add_cleanup() local 714 stats_read(statsfile, counters); in stats_add_cleanup() 716 stats_write(statsfile, counters); in stats_add_cleanup() 717 lockfile_release(statsfile); in stats_add_cleanup() [all …]
|
/dports/mail/opendkim/opendkim-2.10.3/opendkim/ |
H A D | opendkim-spam.c | 155 char *statsfile = NULL; in main() local 196 statsfile = optarg; in main() 306 if (statsfile == NULL) in main() 309 &statsfile, sizeof statsfile); in main() 333 if (statsfile != NULL) in main() 335 sf = fopen(statsfile, "a"); in main() 339 statsfile, strerror(errno)); in main()
|
/dports/www/htdigest/httpd-2.4.6/support/ |
H A D | logresolve.c | 316 apr_file_t *statsfile; in main() local 317 if (apr_file_open(&statsfile, stats, in main() 324 print_statistics(statsfile); in main() 325 apr_file_close(statsfile); in main()
|
/dports/www/apache24/httpd-2.4.53/support/ |
H A D | logresolve.c | 316 apr_file_t *statsfile; in main() local 317 if (apr_file_open(&statsfile, stats, in main() 324 print_statistics(statsfile); in main() 325 apr_file_close(statsfile); in main()
|
/dports/sysutils/munin-contrib/contrib-c31cb28/plugins/openfire/ |
H A D | openfire_ | 61 my $statsfile = ($ENV{'statsfile'} || '/usr/share/openfire/logs/stats.txt'); 138 my $cmd = "$tailBin -1 $statsfile";
|
/dports/dns/rbldnsd/rbldnsd-0.998/ |
H A D | rbldnsd.c | 91 static char *statsfile; /* statistics file */ variable 438 statsfile = optarg; in init() 439 if (*statsfile != '+') stats_relative = 0; in init() 440 else ++statsfile, stats_relative = 1; in init() 441 if (!*statsfile) statsfile = NULL; in init() 691 f = fopen(statsfile, "a"); in dumpstats() 731 FILE *f = fopen(statsfile, "a"); in dumpstats_z() 1009 if (statsfile) in do_signalled() 1012 if (statsfile) in do_signalled() 1018 if (signalled & SIGNALLED_SSTATS && statsfile) in do_signalled() [all …]
|
/dports/net/nbdkit/nbdkit-1.20.4/filters/stats/ |
H A D | nbdkit-stats-filter.pod | 7 nbdkit --filter=stats PLUGIN statsfile=FILE [statsappend=true] 21 $ nbdkit -U - --filter=stats memory 1G statsfile=/dev/stderr \ 38 =item B<statsfile=>FILE
|
/dports/textproc/translate-toolkit/translate-toolkit-3.5.1/translate/storage/ |
H A D | benchmark.py | 197 statsfile = ( variable 201 cProfile.run(f"benchmarker.{methodname}({methodparam})", statsfile) 202 stats = pstats.Stats(statsfile)
|
/dports/games/xonotic/Xonotic/misc/tools/ |
H A D | weapon-profiler.pl | 15 my ($statsfile) = @ARGV; 35 $stats = WeaponEncounterProfile->new($statsfile);
|
/dports/mail/rspamd-devel/rspamd-93430bb/test/functional/lib/ |
H A D | rspamd.py | 267 def _merge_luacov_stats(statsfile, coverage): argument 275 with open(statsfile, 'r') as fh: 299 def _dump_luacov_stats(statsfile, coverage): argument 305 with open(statsfile, 'w') as fh:
|
/dports/mail/rspamd/rspamd-3.1/test/functional/lib/ |
H A D | rspamd.py | 267 def _merge_luacov_stats(statsfile, coverage): argument 275 with open(statsfile, 'r') as fh: 299 def _dump_luacov_stats(statsfile, coverage): argument 305 with open(statsfile, 'w') as fh:
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/libaom/source/libaom/tools/ |
H A D | aom_entropy_optimizer.c | 266 FILE *const statsfile = fopen(argv[1], "rb"); in main() local 267 if (statsfile == NULL) { in main() 273 const size_t bytes = fread(&fc, sizeof(FRAME_COUNTS), 1, statsfile); in main() 275 fclose(statsfile); in main() 756 fclose(statsfile); in main()
|
/dports/multimedia/aom/aom-3.2.0/tools/ |
H A D | aom_entropy_optimizer.c | 266 FILE *const statsfile = fopen(argv[1], "rb"); in main() local 267 if (statsfile == NULL) { in main() 273 const size_t bytes = fread(&fc, sizeof(FRAME_COUNTS), 1, statsfile); in main() 275 fclose(statsfile); in main() 756 fclose(statsfile); in main()
|
/dports/graphics/dssim/dssim-3.1.2/cargo-crates/libaom-sys-0.9.1/vendor/tools/ |
H A D | aom_entropy_optimizer.c | 266 FILE *const statsfile = fopen(argv[1], "rb"); in main() local 267 if (statsfile == NULL) { in main() 273 const size_t bytes = fread(&fc, sizeof(FRAME_COUNTS), 1, statsfile); in main() 275 fclose(statsfile); in main() 756 fclose(statsfile); in main()
|
/dports/mail/rspamd-devel/rspamd-93430bb/test/functional/lua/ |
H A D | test_coverage.lua | 27 config.statsfile = stats_path
|
/dports/mail/rspamd/rspamd-3.1/test/functional/lua/ |
H A D | test_coverage.lua | 27 config.statsfile = stats_path
|
/dports/sysutils/munin-master/munin-2.0.67/plugins/node.d/ |
H A D | snort_drop_rate.in | 15 env.statsfile - Logfile to Snort's perfmonitor logfile
|
/dports/sysutils/munin-node/munin-2.0.67/plugins/node.d/ |
H A D | snort_drop_rate.in | 15 env.statsfile - Logfile to Snort's perfmonitor logfile
|
/dports/sysutils/munin-common/munin-2.0.67/plugins/node.d/ |
H A D | snort_drop_rate.in | 15 env.statsfile - Logfile to Snort's perfmonitor logfile
|