/dports/devel/libgit2/libgit2-1.3.0/tests/diff/ |
H A D | stats.c | 10 static git_diff_stats *_stats; variable 19 git_diff_stats_free(_stats); _stats = NULL; in test_diff_stats__cleanup() 52 cl_assert_equal_sz(5, git_diff_stats_insertions(_stats)); in test_diff_stats__stat() 53 cl_assert_equal_sz(3, git_diff_stats_deletions(_stats)); in test_diff_stats__stat() 76 cl_assert_equal_sz(7, git_diff_stats_insertions(_stats)); in test_diff_stats__multiple_hunks() 77 cl_assert_equal_sz(4, git_diff_stats_deletions(_stats)); in test_diff_stats__multiple_hunks() 109 cl_assert_equal_sz(5, git_diff_stats_insertions(_stats)); in test_diff_stats__shortstat() 110 cl_assert_equal_sz(3, git_diff_stats_deletions(_stats)); in test_diff_stats__shortstat() 128 cl_assert_equal_sz(2, git_diff_stats_deletions(_stats)); in test_diff_stats__shortstat_noinsertions() 146 cl_assert_equal_sz(0, git_diff_stats_deletions(_stats)); in test_diff_stats__shortstat_nodeletions() [all …]
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Net.NetworkInformation/src/System/Net/NetworkInformation/ |
H A D | SystemIcmpV4Statistics.cs | 10 private readonly Interop.IpHlpApi.MibIcmpInfo _stats; field in System.Net.NetworkInformation.SystemIcmpV4Statistics 14 uint result = Interop.IpHlpApi.GetIcmpStatistics(out _stats); in SystemIcmpV4Statistics() 22 public override long MessagesSent { get { return _stats.outStats.messages; } } 24 public override long MessagesReceived { get { return _stats.inStats.messages; } } 26 public override long ErrorsSent { get { return _stats.outStats.errors; } } 28 public override long ErrorsReceived { get { return _stats.inStats.errors; } } 46 public override long RedirectsSent { get { return _stats.outStats.redirects; } } 48 public override long RedirectsReceived { get { return _stats.inStats.redirects; } } 50 public override long EchoRequestsSent { get { return _stats.outStats.echoRequests; } } 54 public override long EchoRepliesSent { get { return _stats.outStats.echoReplies; } } [all …]
|
H A D | SystemIcmpV6Statistics.cs | 30 private readonly Interop.IpHlpApi.MibIcmpInfoEx _stats; field in System.Net.NetworkInformation.SystemIcmpV6Statistics 42 public override long MessagesSent { get { return (long)_stats.outStats.dwMsgs; } } 70 return _stats.outStats.rgdwTypeCount[(long)IcmpV6StatType.PacketTooBig]; 78 return _stats.inStats.rgdwTypeCount[(long)IcmpV6StatType.PacketTooBig]; 94 return _stats.inStats.rgdwTypeCount[(long)IcmpV6StatType.TimeExceeded]; 118 return _stats.outStats.rgdwTypeCount[(long)IcmpV6StatType.EchoRequest]; 126 return _stats.inStats.rgdwTypeCount[(long)IcmpV6StatType.EchoRequest]; 134 return _stats.outStats.rgdwTypeCount[(long)IcmpV6StatType.EchoReply]; 142 return _stats.inStats.rgdwTypeCount[(long)IcmpV6StatType.EchoReply]; 262 return _stats.outStats.rgdwTypeCount[(long)IcmpV6StatType.Redirect]; [all …]
|
H A D | SystemIPGlobalStatistics.cs | 12 private readonly Interop.IpHlpApi.MibIpStats _stats = new Interop.IpHlpApi.MibIpStats(); field in System.Net.NetworkInformation.SystemIPGlobalStatistics 18 uint result = Interop.IpHlpApi.GetIpStatisticsEx(out _stats, family); in SystemIPGlobalStatistics() 26 public override bool ForwardingEnabled { get { return _stats.forwardingEnabled; } } 28 public override int DefaultTtl { get { return (int)_stats.defaultTtl; } } 30 public override long ReceivedPackets { get { return _stats.packetsReceived; } } 36 public override long ReceivedPacketsForwarded { get { return _stats.packetsForwarded; } } 56 public override long PacketsReassembled { get { return _stats.packetsReassembled; } } 60 public override long PacketsFragmented { get { return _stats.packetsFragmented; } } 64 public override int NumberOfInterfaces { get { return (int)_stats.interfaces; } } 66 public override int NumberOfIPAddresses { get { return (int)_stats.ipAddresses; } } [all …]
|
H A D | SystemTcpStatistics.cs | 12 private readonly Interop.IpHlpApi.MibTcpStats _stats; field in System.Net.NetworkInformation.SystemTcpStatistics 18 uint result = Interop.IpHlpApi.GetTcpStatisticsEx(out _stats, family); in SystemTcpStatistics() 30 public override long MaximumConnections { get { return _stats.maximumConnections; } } 32 public override long ConnectionsInitiated { get { return _stats.activeOpens; } } 38 public override long ResetConnections { get { return _stats.resetConnections; } } 40 public override long CurrentConnections { get { return _stats.currentConnections; } } 42 public override long SegmentsReceived { get { return _stats.segmentsReceived; } } 44 public override long SegmentsSent { get { return _stats.segmentsSent; } } 46 public override long SegmentsResent { get { return _stats.segmentsResent; } } 48 public override long ErrorsReceived { get { return _stats.errorsReceived; } } [all …]
|
/dports/comms/liquid-dsp/liquid-dsp-1.3.2/src/framing/src/ |
H A D | framedatastats.c | 38 void framedatastats_reset(framedatastats_s * _stats) in framedatastats_reset() argument 40 if (_stats == NULL) in framedatastats_reset() 43 _stats->num_frames_detected = 0; in framedatastats_reset() 44 _stats->num_headers_valid = 0; in framedatastats_reset() 45 _stats->num_payloads_valid = 0; in framedatastats_reset() 46 _stats->num_bytes_received = 0; in framedatastats_reset() 50 void framedatastats_print(framedatastats_s * _stats) in framedatastats_print() argument 52 if (_stats == NULL) in framedatastats_print() 57 if (_stats->num_frames_detected > 0) { in framedatastats_print() 58 … percent_headers = 100.0f*(float)_stats->num_headers_valid / (float)_stats->num_frames_detected; in framedatastats_print() [all …]
|
H A D | framesyncstats.c | 56 void framesyncstats_init_default(framesyncstats_s * _stats) in framesyncstats_init_default() argument 61 void framesyncstats_print(framesyncstats_s * _stats) in framesyncstats_print() argument 64 if (_stats->mod_scheme >= LIQUID_MODEM_NUM_SCHEMES) { in framesyncstats_print() 67 } else if (_stats->check >= LIQUID_CRC_NUM_SCHEMES) { in framesyncstats_print() 70 } else if (_stats->fec0 >= LIQUID_FEC_NUM_SCHEMES) { in framesyncstats_print() 73 } else if (_stats->fec1 >= LIQUID_FEC_NUM_SCHEMES) { in framesyncstats_print() 78 printf(" EVM : %12.8f dB\n", _stats->evm); in framesyncstats_print() 79 printf(" rssi : %12.8f dB\n", _stats->rssi); in framesyncstats_print() 80 printf(" carrier offset : %12.8f Fs\n", _stats->cfo); in framesyncstats_print() 83 modulation_types[_stats->mod_scheme].name, in framesyncstats_print() [all …]
|
/dports/devel/libstatgrab/libstatgrab-0.92.1/src/libstatgrab/ |
H A D | globals.h | 164 …sg_##name##_stats *name##_stats = (sg_##name##_stats *)VECTOR_DATA(comp##_glob->comp##_vectors[idx… 172 return name##_stats; \ 193 sg_##name##_stats *name##_stats = (sg_##name##_stats *)VECTOR_DATA(name##_stats_vector); \ 201 return name##_stats; \ 240 …sg_##name##_stats *name##_stats = (sg_##name##_stats *)VECTOR_DATA(comp##_glob->comp##_vectors[idx… 245 return name##_stats; \ 268 sg_##name##_stats *name##_stats = (sg_##name##_stats *)VECTOR_DATA(name##_vector); \ 273 return name##_stats; \ 333 …sg_##name##_stats *fn##_between(const sg_##name##_stats *name##_now, const sg_##name##_stats *name… 341 sg_##name##_stats *name##_diff = (sg_##name##_stats *)VECTOR_DATA(name##_diff_vector); \ [all …]
|
/dports/emulators/qemu42/qemu-4.2.1/roms/u-boot/drivers/block/ |
H A D | blkcache.c | 64 ++_stats.hits; in blkcache_read() 70 ++_stats.misses; in blkcache_read() 89 if (_stats.max_entries <= _stats.entries) { in blkcache_fill() 93 _stats.entries--; in blkcache_fill() 125 _stats.entries++; in blkcache_fill() 140 --_stats.entries; in blkcache_invalidate() 157 _stats.entries = 0; in blkcache_configure() 163 _stats.hits = 0; in blkcache_configure() 164 _stats.misses = 0; in blkcache_configure() 170 _stats.hits = 0; in blkcache_stats() [all …]
|
/dports/emulators/qemu5/qemu-5.2.0/roms/u-boot/drivers/block/ |
H A D | blkcache.c | 64 ++_stats.hits; in blkcache_read() 70 ++_stats.misses; in blkcache_read() 89 if (_stats.max_entries <= _stats.entries) { in blkcache_fill() 93 _stats.entries--; in blkcache_fill() 125 _stats.entries++; in blkcache_fill() 140 --_stats.entries; in blkcache_invalidate() 157 _stats.entries = 0; in blkcache_configure() 163 _stats.hits = 0; in blkcache_configure() 164 _stats.misses = 0; in blkcache_configure() 170 _stats.hits = 0; in blkcache_stats() [all …]
|
/dports/sysutils/u-boot-olimex-a20-som-evb/u-boot-2021.07/drivers/block/ |
H A D | blkcache.c | 82 ++_stats.hits; in blkcache_read() 88 ++_stats.misses; in blkcache_read() 107 if (_stats.max_entries <= _stats.entries) { in blkcache_fill() 111 _stats.entries--; in blkcache_fill() 143 _stats.entries++; in blkcache_fill() 158 --_stats.entries; in blkcache_invalidate() 175 _stats.entries = 0; in blkcache_configure() 181 _stats.hits = 0; in blkcache_configure() 182 _stats.misses = 0; in blkcache_configure() 188 _stats.hits = 0; in blkcache_stats() [all …]
|
/dports/sysutils/u-boot-olinuxino-lime/u-boot-2021.07/drivers/block/ |
H A D | blkcache.c | 82 ++_stats.hits; in blkcache_read() 88 ++_stats.misses; in blkcache_read() 107 if (_stats.max_entries <= _stats.entries) { in blkcache_fill() 111 _stats.entries--; in blkcache_fill() 143 _stats.entries++; in blkcache_fill() 158 --_stats.entries; in blkcache_invalidate() 175 _stats.entries = 0; in blkcache_configure() 181 _stats.hits = 0; in blkcache_configure() 182 _stats.misses = 0; in blkcache_configure() 188 _stats.hits = 0; in blkcache_stats() [all …]
|
/dports/sysutils/u-boot-olinuxino-lime2-emmc/u-boot-2021.07/drivers/block/ |
H A D | blkcache.c | 82 ++_stats.hits; in blkcache_read() 88 ++_stats.misses; in blkcache_read() 107 if (_stats.max_entries <= _stats.entries) { in blkcache_fill() 111 _stats.entries--; in blkcache_fill() 143 _stats.entries++; in blkcache_fill() 158 --_stats.entries; in blkcache_invalidate() 175 _stats.entries = 0; in blkcache_configure() 181 _stats.hits = 0; in blkcache_configure() 182 _stats.misses = 0; in blkcache_configure() 188 _stats.hits = 0; in blkcache_stats() [all …]
|
/dports/sysutils/u-boot-olinuxino-lime2/u-boot-2021.07/drivers/block/ |
H A D | blkcache.c | 82 ++_stats.hits; in blkcache_read() 88 ++_stats.misses; in blkcache_read() 107 if (_stats.max_entries <= _stats.entries) { in blkcache_fill() 111 _stats.entries--; in blkcache_fill() 143 _stats.entries++; in blkcache_fill() 158 --_stats.entries; in blkcache_invalidate() 175 _stats.entries = 0; in blkcache_configure() 181 _stats.hits = 0; in blkcache_configure() 182 _stats.misses = 0; in blkcache_configure() 188 _stats.hits = 0; in blkcache_stats() [all …]
|
/dports/sysutils/u-boot-wandboard/u-boot-2021.07/drivers/block/ |
H A D | blkcache.c | 82 ++_stats.hits; in blkcache_read() 88 ++_stats.misses; in blkcache_read() 107 if (_stats.max_entries <= _stats.entries) { in blkcache_fill() 111 _stats.entries--; in blkcache_fill() 143 _stats.entries++; in blkcache_fill() 158 --_stats.entries; in blkcache_invalidate() 175 _stats.entries = 0; in blkcache_configure() 181 _stats.hits = 0; in blkcache_configure() 182 _stats.misses = 0; in blkcache_configure() 188 _stats.hits = 0; in blkcache_stats() [all …]
|
/dports/sysutils/u-boot-cubieboard2/u-boot-2021.07/drivers/block/ |
H A D | blkcache.c | 82 ++_stats.hits; in blkcache_read() 88 ++_stats.misses; in blkcache_read() 107 if (_stats.max_entries <= _stats.entries) { in blkcache_fill() 111 _stats.entries--; in blkcache_fill() 143 _stats.entries++; in blkcache_fill() 158 --_stats.entries; in blkcache_invalidate() 175 _stats.entries = 0; in blkcache_configure() 181 _stats.hits = 0; in blkcache_configure() 182 _stats.misses = 0; in blkcache_configure() 188 _stats.hits = 0; in blkcache_stats() [all …]
|
/dports/sysutils/u-boot-cubox-hummingboard/u-boot-2021.07/drivers/block/ |
H A D | blkcache.c | 82 ++_stats.hits; in blkcache_read() 88 ++_stats.misses; in blkcache_read() 107 if (_stats.max_entries <= _stats.entries) { in blkcache_fill() 111 _stats.entries--; in blkcache_fill() 143 _stats.entries++; in blkcache_fill() 158 --_stats.entries; in blkcache_invalidate() 175 _stats.entries = 0; in blkcache_configure() 181 _stats.hits = 0; in blkcache_configure() 182 _stats.misses = 0; in blkcache_configure() 188 _stats.hits = 0; in blkcache_stats() [all …]
|
/dports/sysutils/u-boot-cubieboard/u-boot-2021.07/drivers/block/ |
H A D | blkcache.c | 82 ++_stats.hits; in blkcache_read() 88 ++_stats.misses; in blkcache_read() 107 if (_stats.max_entries <= _stats.entries) { in blkcache_fill() 111 _stats.entries--; in blkcache_fill() 143 _stats.entries++; in blkcache_fill() 158 --_stats.entries; in blkcache_invalidate() 175 _stats.entries = 0; in blkcache_configure() 181 _stats.hits = 0; in blkcache_configure() 182 _stats.misses = 0; in blkcache_configure() 188 _stats.hits = 0; in blkcache_stats() [all …]
|
/dports/sysutils/u-boot-firefly-rk3399/u-boot-2021.07/drivers/block/ |
H A D | blkcache.c | 82 ++_stats.hits; in blkcache_read() 88 ++_stats.misses; in blkcache_read() 107 if (_stats.max_entries <= _stats.entries) { in blkcache_fill() 111 _stats.entries--; in blkcache_fill() 143 _stats.entries++; in blkcache_fill() 158 --_stats.entries; in blkcache_invalidate() 175 _stats.entries = 0; in blkcache_configure() 181 _stats.hits = 0; in blkcache_configure() 182 _stats.misses = 0; in blkcache_configure() 188 _stats.hits = 0; in blkcache_stats() [all …]
|
/dports/sysutils/u-boot-sinovoip-bpi-m3/u-boot-2021.07/drivers/block/ |
H A D | blkcache.c | 82 ++_stats.hits; in blkcache_read() 88 ++_stats.misses; in blkcache_read() 107 if (_stats.max_entries <= _stats.entries) { in blkcache_fill() 111 _stats.entries--; in blkcache_fill() 143 _stats.entries++; in blkcache_fill() 158 --_stats.entries; in blkcache_invalidate() 175 _stats.entries = 0; in blkcache_configure() 181 _stats.hits = 0; in blkcache_configure() 182 _stats.misses = 0; in blkcache_configure() 188 _stats.hits = 0; in blkcache_stats() [all …]
|
/dports/sysutils/u-boot-a13-olinuxino/u-boot-2021.07/drivers/block/ |
H A D | blkcache.c | 82 ++_stats.hits; in blkcache_read() 88 ++_stats.misses; in blkcache_read() 107 if (_stats.max_entries <= _stats.entries) { in blkcache_fill() 111 _stats.entries--; in blkcache_fill() 143 _stats.entries++; in blkcache_fill() 158 --_stats.entries; in blkcache_invalidate() 175 _stats.entries = 0; in blkcache_configure() 181 _stats.hits = 0; in blkcache_configure() 182 _stats.misses = 0; in blkcache_configure() 188 _stats.hits = 0; in blkcache_stats() [all …]
|
/dports/sysutils/u-boot-sopine/u-boot-2021.07/drivers/block/ |
H A D | blkcache.c | 82 ++_stats.hits; in blkcache_read() 88 ++_stats.misses; in blkcache_read() 107 if (_stats.max_entries <= _stats.entries) { in blkcache_fill() 111 _stats.entries--; in blkcache_fill() 143 _stats.entries++; in blkcache_fill() 158 --_stats.entries; in blkcache_invalidate() 175 _stats.entries = 0; in blkcache_configure() 181 _stats.hits = 0; in blkcache_configure() 182 _stats.misses = 0; in blkcache_configure() 188 _stats.hits = 0; in blkcache_stats() [all …]
|
/dports/sysutils/u-boot-a64-olinuxino/u-boot-2021.07/drivers/block/ |
H A D | blkcache.c | 82 ++_stats.hits; in blkcache_read() 88 ++_stats.misses; in blkcache_read() 107 if (_stats.max_entries <= _stats.entries) { in blkcache_fill() 111 _stats.entries--; in blkcache_fill() 143 _stats.entries++; in blkcache_fill() 158 --_stats.entries; in blkcache_invalidate() 175 _stats.entries = 0; in blkcache_configure() 181 _stats.hits = 0; in blkcache_configure() 182 _stats.misses = 0; in blkcache_configure() 188 _stats.hits = 0; in blkcache_stats() [all …]
|
/dports/sysutils/u-boot-qemu-arm64/u-boot-2021.07/drivers/block/ |
H A D | blkcache.c | 82 ++_stats.hits; in blkcache_read() 88 ++_stats.misses; in blkcache_read() 107 if (_stats.max_entries <= _stats.entries) { in blkcache_fill() 111 _stats.entries--; in blkcache_fill() 143 _stats.entries++; in blkcache_fill() 158 --_stats.entries; in blkcache_invalidate() 175 _stats.entries = 0; in blkcache_configure() 181 _stats.hits = 0; in blkcache_configure() 182 _stats.misses = 0; in blkcache_configure() 188 _stats.hits = 0; in blkcache_stats() [all …]
|
/dports/sysutils/u-boot-rpi/u-boot-2021.07/drivers/block/ |
H A D | blkcache.c | 82 ++_stats.hits; in blkcache_read() 88 ++_stats.misses; in blkcache_read() 107 if (_stats.max_entries <= _stats.entries) { in blkcache_fill() 111 _stats.entries--; in blkcache_fill() 143 _stats.entries++; in blkcache_fill() 158 --_stats.entries; in blkcache_invalidate() 175 _stats.entries = 0; in blkcache_configure() 181 _stats.hits = 0; in blkcache_configure() 182 _stats.misses = 0; in blkcache_configure() 188 _stats.hits = 0; in blkcache_stats() [all …]
|