/dports/lang/racket-minimal/racket-8.3/src/expander/common/ |
H A D | performance.rkt | 57 (set! accums (make-hasheq))) 64 (struct stat ([msecs #:mutable] [memory #:mutable] [count #:mutable])) 94 (set! region-stack (cdr region-stack)) 110 (hash-set! accum stat-key s) 112 (set-stat-msecs! s (+ delta (stat-msecs s))) 113 (set-stat-memory! s (+ delta-memory (stat-memory s))) 115 (set-stat-count! s (add1 (stat-count s)))) 147 [count-len count-len]) 154 … (max count-len (string-length (format "~a" (stat-count v)))))] 181 … (make-string (- count-max-len (string-length (format "~a" (stat-count v)))) [all …]
|
/dports/lang/racket/racket-8.3/src/expander/common/ |
H A D | performance.rkt | 57 (set! accums (make-hasheq))) 64 (struct stat ([msecs #:mutable] [memory #:mutable] [count #:mutable])) 94 (set! region-stack (cdr region-stack)) 110 (hash-set! accum stat-key s) 112 (set-stat-msecs! s (+ delta (stat-msecs s))) 113 (set-stat-memory! s (+ delta-memory (stat-memory s))) 115 (set-stat-count! s (add1 (stat-count s)))) 147 [count-len count-len]) 154 … (max count-len (string-length (format "~a" (stat-count v)))))] 181 … (make-string (- count-max-len (string-length (format "~a" (stat-count v)))) [all …]
|
/dports/misc/mnn/MNN-1.2.0/3rd_party/flatbuffers/grpc/tests/ |
H A D | JavaGrpcTest.java | 98 maxHp.set(monster.hp()); in computeMinMax() 100 maxHpCount.set(1); in computeMinMax() 109 minHp.set(monster.hp()); in computeMinMax() 110 minHpMonsterName.set(monster.name()); in computeMinMax() 111 minHpCount.set(1); in computeMinMax() 185 maxHitStat.set(stat); 189 short count = 10; 190 for (short i = 0;i < count; ++i) { 216 maxHitStat.set(stat); 219 minHitStat.set(stat); [all …]
|
/dports/www/grafana8/grafana-8.3.6/vendor/github.com/google/flatbuffers/grpc/tests/ |
H A D | JavaGrpcTest.java | 98 maxHp.set(monster.hp()); in computeMinMax() 99 maxHpMonsterName.set(monster.name()); in computeMinMax() 100 maxHpCount.set(1); in computeMinMax() 109 minHp.set(monster.hp()); in computeMinMax() 110 minHpMonsterName.set(monster.name()); in computeMinMax() 111 minHpCount.set(1); in computeMinMax() 185 maxHitStat.set(stat); 189 short count = 10; 216 maxHitStat.set(stat); 219 minHitStat.set(stat); [all …]
|
/dports/devel/flatbuffers/flatbuffers-2.0.0/grpc/tests/ |
H A D | JavaGrpcTest.java | 98 maxHp.set(monster.hp()); in computeMinMax() 99 maxHpMonsterName.set(monster.name()); in computeMinMax() 100 maxHpCount.set(1); in computeMinMax() 109 minHp.set(monster.hp()); in computeMinMax() 110 minHpMonsterName.set(monster.name()); in computeMinMax() 111 minHpCount.set(1); in computeMinMax() 185 maxHitStat.set(stat); 189 short count = 10; 216 maxHitStat.set(stat); 219 minHitStat.set(stat); [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/flatbuffers/src/grpc/tests/ |
H A D | JavaGrpcTest.java | 98 maxHp.set(monster.hp()); in computeMinMax() 99 maxHpMonsterName.set(monster.name()); in computeMinMax() 100 maxHpCount.set(1); in computeMinMax() 109 minHp.set(monster.hp()); in computeMinMax() 110 minHpMonsterName.set(monster.name()); in computeMinMax() 111 minHpCount.set(1); in computeMinMax() 185 maxHitStat.set(stat); 189 short count = 10; 216 maxHitStat.set(stat); 219 minHitStat.set(stat); [all …]
|
/dports/security/vault/vault-1.8.2/vendor/github.com/google/flatbuffers/grpc/tests/ |
H A D | JavaGrpcTest.java | 98 maxHp.set(monster.hp()); in computeMinMax() 100 maxHpCount.set(1); in computeMinMax() 109 minHp.set(monster.hp()); in computeMinMax() 110 minHpMonsterName.set(monster.name()); in computeMinMax() 111 minHpCount.set(1); in computeMinMax() 185 maxHitStat.set(stat); 189 short count = 10; 190 for (short i = 0;i < count; ++i) { 216 maxHitStat.set(stat); 219 minHitStat.set(stat); [all …]
|
/dports/www/osrm-backend/osrm-backend-5.26.0/third_party/flatbuffers/grpc/tests/ |
H A D | JavaGrpcTest.java | 98 maxHp.set(monster.hp()); in computeMinMax() 100 maxHpCount.set(1); in computeMinMax() 109 minHp.set(monster.hp()); in computeMinMax() 110 minHpMonsterName.set(monster.name()); in computeMinMax() 111 minHpCount.set(1); in computeMinMax() 185 maxHitStat.set(stat); 189 short count = 10; 190 for (short i = 0;i < count; ++i) { 216 maxHitStat.set(stat); 219 minHitStat.set(stat); [all …]
|
/dports/net-im/prosody-modules/Community-Modules-bb8459c220c9/mod_streamstats/ |
H A D | mod_streamstats.lua | 4 local count, keys = iter.count, iter.keys; 13 local value = self.stats[stat]; 21 self.stats[stat] = (self.stats[stat] or 0) + delta; 22 self:broadcast(stat); 25 set = function (self, stat, value) function 27 self.stats[stat] = value; 28 self:broadcast(stat); 58 stats:set("s2s-in", count(keys(prosody.incoming_s2s))); 64 s2sout_count = s2sout_count + count(keys(host.s2sout)); 66 stats:set("s2s-out", s2sout_count); [all …]
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/net/wireless/broadcom/b43/ |
H A D | debugfs.c | 136 val |= set; in shm16write__write_file() 212 val |= set; in shm32write__write_file() 279 val |= set; in mmio16write__write_file() 343 val |= set; in mmio32write__write_file() 370 stat = &(log->log[i]); in txstat_read_file() 371 if (stat->cookie) { in txstat_read_file() 378 stat->cookie, stat->seq, stat->phy_stat, in txstat_read_file() 379 stat->frame_count, stat->rts_count, in txstat_read_file() 380 stat->supp_reason, stat->pm_indicated, in txstat_read_file() 381 stat->intermediate, stat->for_ampdu, in txstat_read_file() [all …]
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/net/wireless/broadcom/b43/ |
H A D | debugfs.c | 136 val |= set; in shm16write__write_file() 212 val |= set; in shm32write__write_file() 279 val |= set; in mmio16write__write_file() 343 val |= set; in mmio32write__write_file() 370 stat = &(log->log[i]); in txstat_read_file() 371 if (stat->cookie) { in txstat_read_file() 378 stat->cookie, stat->seq, stat->phy_stat, in txstat_read_file() 379 stat->frame_count, stat->rts_count, in txstat_read_file() 380 stat->supp_reason, stat->pm_indicated, in txstat_read_file() 381 stat->intermediate, stat->for_ampdu, in txstat_read_file() [all …]
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/net/wireless/broadcom/b43/ |
H A D | debugfs.c | 136 val |= set; in shm16write__write_file() 212 val |= set; in shm32write__write_file() 279 val |= set; in mmio16write__write_file() 343 val |= set; in mmio32write__write_file() 370 stat = &(log->log[i]); in txstat_read_file() 371 if (stat->cookie) { in txstat_read_file() 378 stat->cookie, stat->seq, stat->phy_stat, in txstat_read_file() 379 stat->frame_count, stat->rts_count, in txstat_read_file() 380 stat->supp_reason, stat->pm_indicated, in txstat_read_file() 381 stat->intermediate, stat->for_ampdu, in txstat_read_file() [all …]
|
/dports/math/p5-Statistics-Descriptive-Discrete/Statistics-Descriptive-Discrete-0.12/ |
H A D | README | 13 print "count = ",$stats->count(),"\n"; 30 print "key = $_, count = $f->{$_}\n"; 73 value and a count (how many times did the value occur?) The above is 77 $stat->max(); 103 $stat->count(); 108 elements in the data set. For example, if your data set is 119 value in the data the set: 126 print "value = $_, count = $f->{$_}\n"; 175 print "key = $_, count = $f->{$_}\n"; 180 key = 2.5, count = 4 [all …]
|
H A D | README.md | 14 print "count = ",$stats->count(),"\n"; 31 print "key = $_, count = $f->{$_}\n"; 77 are a value and a count (how many times did the value occur?) 82 - $stat->max(); 86 - $stat->min(); 111 - $stat->count(); 133 print "value = $_, count = $f->{$_}\n"; 136 - $stat->sum(); 191 print "key = $_, count = $f->{$_}\n"; 196 key = 2.5, count = 4 [all …]
|
/dports/www/p5-CGI-Session-ExpireSessions/CGI-Session-ExpireSessions-1.12/lib/CGI/Session/ |
H A D | ExpireSessions.pm | 147 $self -> set(%arg) if (%arg); 192 $self -> set(%arg) if (%arg); 200 my($count) = 0; 203 my($file, @stat, $D); 207 @stat = stat($file); 211 if ( ( ($time - $stat[8]) >= $$self{'_delta'}) && ($stat[7] <= 5) ) 213 $count++; 224 next if ($stat[7] <= 5); 248 $count++; 272 $self -> set(%arg) if (%arg); [all …]
|
/dports/games/stonesoup/crawl-0.27.1/crawl-ref/source/scripts/ |
H A D | place-population.lua | 5 local excluded_things = util.set({ "plant", "fungus", "bush" }) 43 local function count_monsters_at(place, set) 48 local monsters_here = set or { } 58 mstat.count = mstat.count + 1 145 stat[total] = stat[total] + value 155 table.insert(stat.pops, instance_stat.count) 196 for _, count in ipairs(instances) do 197 local delta = count - mean 209 stat.mean, stat.sigma = calc_mean_sigma(stat.total, stat.pops) 210 stat.emean, stat.esigma = calc_mean_sigma(stat.etotal, stat.eiters) [all …]
|
H A D | genmap.lua | 36 local function count_monsters_at(place, set) 46 local monsters_here = set or { } 54 mstat.count = mstat.count + 1 129 stat[total] = stat[total] + value 139 table.insert(stat.pops, instance_stat.count) 180 for _, count in ipairs(instances) do 181 local delta = count - mean 193 stat.mean, stat.sigma = calc_mean_sigma(stat.total, stat.pops) 194 stat.emean, stat.esigma = calc_mean_sigma(stat.etotal, stat.eiters) 204 local mstat = master[mons] or { count = 0, exp = 0 } [all …]
|
/dports/databases/mongodb36/mongodb-src-r3.6.23/src/mongo/db/s/balancer/ |
H A D | balancer_policy.cpp | 46 using std::set; 234 if (!chunkTag.empty() && !stat.shardTags.count(chunkTag)) { in isShardSuitableReceiver() 250 if (excludedShards.count(stat.shardId)) in _getLeastLoadedReceiverShard() 273 const set<ShardId>& excludedShards) { in _getMostOverloadedShard() 278 if (excludedShards.count(stat.shardId)) in _getMostOverloadedShard() 296 std::set<ShardId>* usedShards) { in balance() 305 if (usedShards->count(stat.shardId)) in balance() 353 if (usedShards->count(stat.shardId)) in balance() 364 if (stat.shardTags.count(tag)) in balance() 407 if (tag.empty() || stat.shardTags.count(tag)) { in balance() [all …]
|
/dports/misc/xdelta3/xdelta-3.1.0/xdelta3/ |
H A D | rcs_junk.cc | 1011 if (! stat->count) 1013 stat->count += 1; 1025 double m = (double) stat->sum / (double) stat->count; 1029 for (i = 0; i < stat->count; i += 1) 1036 v = f / (double) stat->count; 1129 if (! stat->count) 1131 stat->count += 1; 1143 double m = stat->sum / stat->count; 1147 for (i = 0; i < stat->count; i += 1) 1154 v = f / stat->count; [all …]
|
/dports/sysutils/fwup/fwup-1.9.0/src/3rdparty/xdelta3/ |
H A D | rcs_junk.cc | 1011 if (! stat->count) 1013 stat->count += 1; 1025 double m = (double) stat->sum / (double) stat->count; 1029 for (i = 0; i < stat->count; i += 1) 1036 v = f / (double) stat->count; 1129 if (! stat->count) 1131 stat->count += 1; 1143 double m = stat->sum / stat->count; 1147 for (i = 0; i < stat->count; i += 1) 1154 v = f / stat->count; [all …]
|
/dports/lang/gcc12-devel/gcc-12-20211205/libsanitizer/sanitizer_common/ |
H A D | sanitizer_solaris.cpp | 106 return _REAL(read)(fd, buf, count); in DECLARE__REAL_AND_INTERNAL() 110 return _REAL(write)(fd, buf, count); in DECLARE__REAL_AND_INTERNAL() 119 return _REAL64(stat)(path, (struct stat *)buf); in DECLARE__REAL_AND_INTERNAL64() 123 return _REAL64(lstat)(path, (struct stat *)buf); in DECLARE__REAL_AND_INTERNAL64() 127 return _REAL64(fstat)(fd, (struct stat *)buf); in DECLARE__REAL_AND_INTERNAL64() 131 struct stat st; in internal_filesize() 186 return _REAL64(getdents)(fd, dirp, count); in DECLARE__REAL_AND_INTERNAL64() 195 DECLARE__REAL_AND_INTERNAL(void, sigfillset, __sanitizer_sigset_t *set) { in DECLARE__REAL_AND_INTERNAL() argument 196 _REAL(sigfillset)(set); in DECLARE__REAL_AND_INTERNAL() 201 __sanitizer_sigset_t *set, in DECLARE__REAL_AND_INTERNAL() argument [all …]
|
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_solaris.cpp | 106 return _REAL(read)(fd, buf, count); in DECLARE__REAL_AND_INTERNAL() 110 return _REAL(write)(fd, buf, count); in DECLARE__REAL_AND_INTERNAL() 119 return _REAL64(stat)(path, (struct stat *)buf); in DECLARE__REAL_AND_INTERNAL64() 123 return _REAL64(lstat)(path, (struct stat *)buf); in DECLARE__REAL_AND_INTERNAL64() 127 return _REAL64(fstat)(fd, (struct stat *)buf); in DECLARE__REAL_AND_INTERNAL64() 131 struct stat st; in internal_filesize() 186 return _REAL64(getdents)(fd, dirp, count); in DECLARE__REAL_AND_INTERNAL64() 195 DECLARE__REAL_AND_INTERNAL(void, sigfillset, __sanitizer_sigset_t *set) { in DECLARE__REAL_AND_INTERNAL() argument 196 _REAL(sigfillset)(set); in DECLARE__REAL_AND_INTERNAL() 201 __sanitizer_sigset_t *set, in DECLARE__REAL_AND_INTERNAL() argument [all …]
|
/dports/science/nwchem/nwchem-7b21660b82ebd85ef659f6fba7e1e73433b0bd0a/src/peigs/example/ |
H A D | run_timing | 38 set out_file = tim_$argv[1]_$TARGET.raw 58 # Set processor count to use based on TARGET 77 set proclist = ( 10 8 6 4 2 1 ) 82 set proclist = ( 1 ) 87 set proclist = ( 4 3 2 1 ) 101 # system, and skip using the current processor count if it 102 # exceeds the free processor count. 110 set stat = `showpart -f | grep root` 111 @ nfree = $stat[5] 115 set stat = `allocate_cells -A 5000 |& grep allocate` [all …]
|
/dports/science/nwchem-data/nwchem-7.0.2-release/src/peigs/example/ |
H A D | run_timing | 38 set out_file = tim_$argv[1]_$TARGET.raw 58 # Set processor count to use based on TARGET 77 set proclist = ( 10 8 6 4 2 1 ) 82 set proclist = ( 1 ) 87 set proclist = ( 4 3 2 1 ) 101 # system, and skip using the current processor count if it 102 # exceeds the free processor count. 110 set stat = `showpart -f | grep root` 111 @ nfree = $stat[5] 115 set stat = `allocate_cells -A 5000 |& grep allocate` [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_solaris.cpp | 106 return _REAL(read)(fd, buf, count); in DECLARE__REAL_AND_INTERNAL() 110 return _REAL(write)(fd, buf, count); in DECLARE__REAL_AND_INTERNAL() 119 return _REAL64(stat)(path, (struct stat *)buf); in DECLARE__REAL_AND_INTERNAL64() 123 return _REAL64(lstat)(path, (struct stat *)buf); in DECLARE__REAL_AND_INTERNAL64() 127 return _REAL64(fstat)(fd, (struct stat *)buf); in DECLARE__REAL_AND_INTERNAL64() 131 struct stat st; in internal_filesize() 178 unsigned int count) { in DECLARE__REAL_AND_INTERNAL64() argument 179 return _REAL64(getdents)(fd, dirp, count); in DECLARE__REAL_AND_INTERNAL64() 189 _REAL(sigfillset)(set); in DECLARE__REAL_AND_INTERNAL() 194 __sanitizer_sigset_t *set, in DECLARE__REAL_AND_INTERNAL() argument [all …]
|