Home
last modified time | relevance | path

Searched refs:disk_usage (Results 1 – 13 of 13) sorted by relevance

/third_party/glib/gio/tests/
Dgio-du.c11 guint64 disk_usage, in print_result() argument
25 str = g_format_size_full (disk_usage, format_flags); in print_result()
32 filename, disk_usage, num_dirs, num_files, nl); in print_result()
48 guint64 disk_usage; in async_ready_func() local
52 …g_file_measure_disk_usage_finish (G_FILE (source), result, &disk_usage, &num_dirs, &num_files, &er… in async_ready_func()
53 print_result (filename, disk_usage, num_dirs, num_files, error, '\n'); in async_ready_func()
60 guint64 disk_usage, in report_progress() argument
70 print_result (filename, disk_usage, num_dirs, num_files, NULL, '\r'); in report_progress()
142 guint64 disk_usage; in main() local
147 &disk_usage, &num_dirs, &num_files, &error); in main()
[all …]
/third_party/mindspore/mindspore/train/summary/
Dwriter.py19 from shutil import disk_usage
66 … if self.writer and disk_usage(self._filepath).free < required_length * FREE_DISK_SPACE_TIMES:
170 if disk_usage(path).free < required_length * FREE_DISK_SPACE_TIMES:
/third_party/glib/gio/
Dglocalfile.c2722 guint64 disk_usage; member
2787 state->disk_usage += buf.allocated_size; in g_local_file_measure_size_of_file()
2791 state->disk_usage += _g_stat_blocks (&buf) * G_GUINT64_CONSTANT (512); in g_local_file_measure_size_of_file()
2794 state->disk_usage += _g_stat_size (&buf); in g_local_file_measure_size_of_file()
2816 state->disk_usage, state->num_dirs, state->num_files, in g_local_file_measure_size_of_file()
2922 guint64 *disk_usage, in g_local_file_measure_disk_usage() argument
2947 if (disk_usage) in g_local_file_measure_disk_usage()
2948 *disk_usage = state.disk_usage; in g_local_file_measure_disk_usage()
Dgfile.h574 guint64 *disk_usage,
588 guint64 *disk_usage,
1133 … guint64 *disk_usage,
1151 … guint64 *disk_usage,
Dgfile.c337 … guint64 *disk_usage,
351 … guint64 *disk_usage,
7837 guint64 *disk_usage, in g_file_real_measure_disk_usage() argument
7856 guint64 disk_usage; member
7922 &result.disk_usage, &result.num_dirs, &result.num_files, in measure_disk_usage_thread()
7958 guint64 *disk_usage, in g_file_real_measure_disk_usage_finish() argument
7972 if (disk_usage) in g_file_real_measure_disk_usage_finish()
7973 *disk_usage = measure_result->disk_usage; in g_file_real_measure_disk_usage_finish()
8028 guint64 *disk_usage, in g_file_measure_disk_usage() argument
8039 disk_usage, num_dirs, num_files, in g_file_measure_disk_usage()
[all …]
/third_party/python/Lib/test/
Dtest_largefile.py159 if shutil.disk_usage(os.path.realpath(path)).free < required:
Dtest_shutil.py1665 usage = shutil.disk_usage(os.path.dirname(__file__))
1675 shutil.disk_usage(__file__)
/third_party/python/Lib/
Dshutil.py1274 def disk_usage(path): function
1291 def disk_usage(path): function
/third_party/python/Doc/library/
Dshutil.rst377 .. function:: disk_usage(path)
/third_party/mindspore/mindspore/dataset/engine/
Ddatasets.py3728 shm_available = psutil.disk_usage('/dev/shm').free
/third_party/python/Doc/whatsnew/
D3.3.rst1790 * :func:`~shutil.disk_usage`: provides total, used and free disk space
/third_party/python/Misc/NEWS.d/
D3.8.0a1.rst7712 Allow shutil.disk_usage to take a file path on Windows
/third_party/python/Misc/
DHISTORY9434 - Issue #12442: new shutil.disk_usage function, providing total, used and free