Home
last modified time | relevance | path

Searched refs:bytes_to_human (Results 1 – 25 of 33) sorted by relevance

12

/dports/sysutils/ansible2/ansible-2.9.27/test/units/module_utils/common/text/formatters/
H A Dtest_bytes_to_human.py10 from ansible.module_utils.common.text.formatters import bytes_to_human
34 assert bytes_to_human(input_data) == expected
58 assert bytes_to_human(input_data, isbits=True) == expected
82 assert bytes_to_human(input_data, unit=unit) == expected
106 assert bytes_to_human(input_data, isbits=True, unit=unit) == expected
116 bytes_to_human(input_data)
/dports/sysutils/py-ansible-core/ansible-core-2.11.6/test/units/module_utils/common/text/formatters/
H A Dtest_bytes_to_human.py10 from ansible.module_utils.common.text.formatters import bytes_to_human
34 assert bytes_to_human(input_data) == expected
58 assert bytes_to_human(input_data, isbits=True) == expected
82 assert bytes_to_human(input_data, unit=unit) == expected
106 assert bytes_to_human(input_data, isbits=True, unit=unit) == expected
116 bytes_to_human(input_data)
/dports/sysutils/py-ansible-base/ansible-base-2.10.15/test/units/module_utils/common/text/formatters/
H A Dtest_bytes_to_human.py10 from ansible.module_utils.common.text.formatters import bytes_to_human
34 assert bytes_to_human(input_data) == expected
58 assert bytes_to_human(input_data, isbits=True) == expected
82 assert bytes_to_human(input_data, unit=unit) == expected
106 assert bytes_to_human(input_data, isbits=True, unit=unit) == expected
116 bytes_to_human(input_data)
/dports/sysutils/burp/burp-2.4.0/src/server/
H A Dquota.c13 logp("Bytes estimated: %" PRIu64 "%s\n", byte, bytes_to_human(byte)); in quota_log_bytes()
14 logp("%s: %" PRIu64 "%s\n", msg, quota, bytes_to_human(quota)); in quota_log_bytes()
/dports/sysutils/burp-devel/burp-2.5.4/src/server/
H A Dquota.c13 logp("Bytes estimated: %" PRIu64 "%s\n", byte, bytes_to_human(byte)); in quota_log_bytes()
14 logp("%s: %" PRIu64 "%s\n", msg, quota, bytes_to_human(quota)); in quota_log_bytes()
/dports/mail/squirrelmail-sasql-plugin/squirrelmail-sasql-plugin-php74-3.2.0_3/sasql/
H A Dprocess-spam.pl108 print "Total size: $spam_total_size bytes (", bytes_to_human($spam_total_size, 'm'), " M)\n";
110 … print "Deleted size: $spam_killed_size bytes (", bytes_to_human($spam_killed_size, 'm'), " M)\n";
248 sub bytes_to_human subroutine
/dports/sysutils/ansible2/ansible-2.9.27/lib/ansible/modules/cloud/vmware/
H A Dvmware_host_facts.py153 from ansible.module_utils.common.text.formatters import bytes_to_human
241 'total': bytes_to_human(store.summary.capacity),
242 'free': bytes_to_human(store.summary.freeSpace),
/dports/sysutils/ansible/ansible-4.7.0/ansible_collections/community/vmware/plugins/modules/
H A Dvmware_host_facts.py234 from ansible.module_utils.common.text.formatters import bytes_to_human
341 'total': bytes_to_human(store.summary.capacity),
342 'free': bytes_to_human(store.summary.freeSpace),
/dports/sysutils/ansible/ansible-4.7.0/ansible_collections/community/general/plugins/modules/
H A Dfilesize.py249 def bytes_to_human(size, iec=False): function
356 iec=bytes_to_human(round_bytes, True),
357 si=bytes_to_human(round_bytes))
/dports/sysutils/ansible/ansible-4.7.0/ansible_collections/community/general/plugins/modules/files/
H A Dfilesize.py249 def bytes_to_human(size, iec=False): function
356 iec=bytes_to_human(round_bytes, True),
357 si=bytes_to_human(round_bytes))
/dports/sysutils/burp/burp-2.4.0/src/
H A Dcntr.c208 const char *bytes_to_human(uint64_t counter) in bytes_to_human() function
517 logc("%s\n", bytes_to_human(get_count(e, CMD_BYTES_ESTIMATED))); in bottom_part()
526 logc("%s\n", bytes_to_human(l)); in bottom_part()
532 logc("%s\n", bytes_to_human(l)); in bottom_part()
538 logc("%s\n", bytes_to_human(l)); in bottom_part()
543 logc("%s\n", bytes_to_human(l)); in bottom_part()
547 logc("%s\n", bytes_to_human(l)); in bottom_part()
H A Dcntr.h95 extern const char *bytes_to_human(uint64_t counter);
/dports/sysutils/burp-devel/burp-2.5.4/src/
H A Dcntr.c208 const char *bytes_to_human(uint64_t counter) in bytes_to_human() function
517 logc("%s\n", bytes_to_human(get_count(e, CMD_BYTES_ESTIMATED))); in bottom_part()
526 logc("%s\n", bytes_to_human(l)); in bottom_part()
532 logc("%s\n", bytes_to_human(l)); in bottom_part()
538 logc("%s\n", bytes_to_human(l)); in bottom_part()
543 logc("%s\n", bytes_to_human(l)); in bottom_part()
547 logc("%s\n", bytes_to_human(l)); in bottom_part()
H A Dcntr.h95 extern const char *bytes_to_human(uint64_t counter);
/dports/sysutils/ansible2/ansible-2.9.27/lib/ansible/module_utils/facts/hardware/
H A Dsunos.py24 from ansible.module_utils.common.text.formatters import bytes_to_human
258 d[disk_stats.get(stat)] = bytes_to_human(float(value))
H A Dlinux.py33 from ansible.module_utils.common.text.formatters import bytes_to_human
696 part['size'] = bytes_to_human((float(part['sectors']) * 512.0))
716 d['size'] = bytes_to_human(float(d['sectors']) * 512.0)
/dports/sysutils/py-ansible-base/ansible-base-2.10.15/lib/ansible/module_utils/facts/hardware/
H A Dsunos.py24 from ansible.module_utils.common.text.formatters import bytes_to_human
258 d[disk_stats.get(stat)] = bytes_to_human(float(value))
H A Dlinux.py34 from ansible.module_utils.common.text.formatters import bytes_to_human
737 part['size'] = bytes_to_human((float(part['sectors']) * 512.0))
757 d['size'] = bytes_to_human(float(d['sectors']) * 512.0)
/dports/sysutils/py-ansible-core/ansible-core-2.11.6/lib/ansible/module_utils/facts/hardware/
H A Dsunos.py24 from ansible.module_utils.common.text.formatters import bytes_to_human
258 d[disk_stats.get(stat)] = bytes_to_human(float(value))
H A Dlinux.py34 from ansible.module_utils.common.text.formatters import bytes_to_human
744 part['size'] = bytes_to_human((float(part['sectors']) * 512.0))
764 d['size'] = bytes_to_human(float(d['sectors']) * 512.0)
/dports/sysutils/ansible2/ansible-2.9.27/lib/ansible/module_utils/common/text/
H A Dformatters.py99 def bytes_to_human(size, isbits=False, unit=None): function
/dports/sysutils/py-ansible-base/ansible-base-2.10.15/lib/ansible/module_utils/common/text/
H A Dformatters.py99 def bytes_to_human(size, isbits=False, unit=None): function
/dports/sysutils/py-ansible-core/ansible-core-2.11.6/lib/ansible/module_utils/common/text/
H A Dformatters.py99 def bytes_to_human(size, isbits=False, unit=None): function
/dports/sysutils/ansible2/ansible-2.9.27/lib/ansible/plugins/filter/
H A Dmathstuff.py166 return formatters.bytes_to_human(size, isbits, unit)
/dports/sysutils/py-ansible-base/ansible-base-2.10.15/lib/ansible/plugins/filter/
H A Dmathstuff.py166 return formatters.bytes_to_human(size, isbits, unit)

12