/dports/science/hdf5/hdf5-1.10.6/tools/test/perform/ |
H A D | chunk.c | 216 for (i=0; i<CH_SIZE*DS_SIZE; i+=io_size) { in test_rowmaj() 221 for (j=0; j<CH_SIZE*DS_SIZE; j+=io_size) { in test_rowmaj() 223 hs_size[0] = MIN (io_size, CH_SIZE*DS_SIZE-i); in test_rowmaj() 225 hs_size[1] = MIN (io_size, CH_SIZE*DS_SIZE-j); in test_rowmaj() 293 for (i=0, hs_size[0]=io_size; hs_size[0]==io_size; i+=offset) { in test_diag() 308 if (i>0) nio -= SQUARE (io_size-offset); in test_diag() 344 size_t io_size; in main() local 392 io_size = MAX (1, (size_t)(CH_SIZE*io_percent)); in main() 395 effic = test_rowmaj (READ, cache_size, io_size); in main() 484 effic = test_diag (READ, cache_size, io_size, MAX (1, io_size/2)); in main() [all …]
|
/dports/science/hdf5-18/hdf5-1.8.21/tools/perform/ |
H A D | chunk.c | 216 for (i=0; i<CH_SIZE*DS_SIZE; i+=io_size) { in test_rowmaj() 221 for (j=0; j<CH_SIZE*DS_SIZE; j+=io_size) { in test_rowmaj() 223 hs_size[0] = MIN (io_size, CH_SIZE*DS_SIZE-i); in test_rowmaj() 225 hs_size[1] = MIN (io_size, CH_SIZE*DS_SIZE-j); in test_rowmaj() 293 for (i=0, hs_size[0]=io_size; hs_size[0]==io_size; i+=offset) { in test_diag() 308 if (i>0) nio -= SQUARE (io_size-offset); in test_diag() 344 size_t io_size; in main() local 392 io_size = MAX (1, (size_t)(CH_SIZE*io_percent)); in main() 395 effic = test_rowmaj (READ, cache_size, io_size); in main() 484 effic = test_diag (READ, cache_size, io_size, MAX (1, io_size/2)); in main() [all …]
|
/dports/emulators/libretro-vice/vice-libretro-5725415/vice/src/arch/gtk3/widgets/ |
H A D | petdwwwidget.c | 64 int io_size; in on_dww_toggled() local 66 if (resources_get_int("IOSize", &io_size) < 0) { in on_dww_toggled() 67 io_size = 0; in on_dww_toggled() 71 if (state && (io_size < 2048)) { in on_dww_toggled() 77 io_size); in on_dww_toggled() 101 int io_size; in create_dww_check_button() local 107 if (resources_get_int("IOSize", &io_size) < 0) { in create_dww_check_button() 108 io_size = 0; in create_dww_check_button() 111 (enabled && io_size >= 2048)); in create_dww_check_button()
|
/dports/emulators/vice/vice-3.5/src/arch/gtk3/widgets/ |
H A D | petdwwwidget.c | 65 int io_size; in on_dww_toggled() local 67 if (resources_get_int("IOSize", &io_size) < 0) { in on_dww_toggled() 68 io_size = 0; in on_dww_toggled() 72 if (state && (io_size < 2048)) { in on_dww_toggled() 78 io_size); in on_dww_toggled() 102 int io_size; in create_dww_check_button() local 108 if (resources_get_int("IOSize", &io_size) < 0) { in create_dww_check_button() 109 io_size = 0; in create_dww_check_button() 112 (enabled && io_size >= 2048)); in create_dww_check_button()
|
/dports/comms/gnuradio/gnuradio-3.8.4.0/gr-blocks/lib/ |
H A D | transcendental_impl.cc | 38 size_t io_size; member 53 const size_t io_size) in transcendental_registrant() 57 val.io_size = io_size; in transcendental_registrant() 120 new transcendental_impl(get_map()[key].work_fcn, get_map()[key].io_size)); in REGISTER_FUNCTIONS() 124 const size_t io_size) in transcendental_impl() argument 126 io_signature::make(1, 1, io_size), in transcendental_impl() 127 io_signature::make(1, 1, io_size)), in transcendental_impl()
|
/dports/benchmarks/iorate/iorate-3.05/ |
H A D | ior_mach.c | 185 (long)( io_size / 1024 ), cfg->c_cur_dev + 1, in ior_read() 188 (long)(( cfg->c_pos + io_size - 1 ) / 1024L)); in ior_read() 197 tollerate = io_size > 8192 ? io_size / 10 : 100; in ior_read() 198 if ( bytes_read > io_size - tollerate ) { in ior_read() 200 bytes_read = io_size; in ior_read() 213 (long)( io_size / 1024L ), cfg->c_cur_dev + 1, msg, in ior_read() 237 cfg->c_pos += io_size; /* update our position */ in ior_read() 267 (long)( io_size / 1024 ), cfg->c_cur_dev + 1, in ior_write() 270 (long)(( cfg->c_pos + io_size ) / 1024L)); in ior_write() 287 (long)( io_size / 1024L ), cfg->c_cur_dev + 1, msg, in ior_write() [all …]
|
/dports/benchmarks/randomio/randomio-1.4/ |
H A D | randomio.c | 62 size_t io_size; member 99 void *io_buffer = malloc(globals.io_size + page_mask); in thrasher() 107 size_t io_size = globals.io_size; in thrasher() local 108 off_t nr_valid_offsets = (globals.file_size - globals.io_size) / io_size; in thrasher() 134 offs = io_size * (off_t)(d_offs * nr_valid_offsets); in thrasher() 140 rc = pwrite(fd, io_buffer, io_size, offs); in thrasher() 143 rc = pread(fd, io_buffer, io_size, offs); in thrasher() 198 globals.io_size = strtoul(argv[optind++], &p, 0); in main() 199 if (*p || globals.io_size % DIRECT_ALIGN) goto usage; in main() 226 if (globals.file_size < globals.io_size) { in main()
|
/dports/science/py-pyscf/pyscf-2.0.1/pyscf/ao2mo/test/ |
H A D | test_semi_incore.py | 48 io_size = nao**2*4e-5 50 semi_incore.general(eri, [mo]*4, tmpfile.name, ioblk_size=io_size) 54 semi_incore.general(eri, [mo]*4, tmpfile.name, ioblk_size=io_size, 69 io_size = nao**2*4e-5 71 semi_incore.general(eri, [mo]*4, tmpfile.name, ioblk_size=io_size) 75 io_size = nao**2*4e-5 77 semi_incore.general(eri_4fold, [mo]*4, tmpfile.name, ioblk_size=io_size)
|
/dports/devel/util-linux/util-linux-2.36/libfdisk/src/ |
H A D | alignment.c | 425 cxt->io_size = 0; in fdisk_zeroize_device_properties() 540 if (!cxt->io_size) in fdisk_discover_topology() 542 cxt->io_size = cxt->min_io_size; in fdisk_discover_topology() 545 if (cxt->io_size in fdisk_discover_topology() 564 if (!cxt->io_size) in fdisk_discover_topology() 565 cxt->io_size = cxt->sector_size; in fdisk_discover_topology() 602 if (!cxt->io_size) in topology_get_first_lba() 619 else if (cxt->io_size > 2048 * 512) in topology_get_first_lba() 620 x = cxt->io_size; in topology_get_first_lba() 642 if (!cxt->io_size) in topology_get_grain() [all …]
|
/dports/devel/gvfs/gvfs-1.46.2/client/ |
H A D | gdaemonfileoutputstream.c | 165 gsize io_size; member 467 io_data.io_size, in run_sync_state_machine() 618 io_op->io_size = len; in iterate_write_state_machine() 659 io_op->io_size = 0; in iterate_write_state_machine() 777 io_op->io_size = len; in iterate_close_state_machine() 820 io_op->io_size = 0; in iterate_close_state_machine() 972 io_op->io_size = len; in iterate_seek_state_machine() 1014 io_op->io_size = 0; in iterate_seek_state_machine() 1174 io_op->io_size = 0; in iterate_truncate_state_machine() 1362 io_op->io_size = 0; in iterate_query_state_machine() [all …]
|
H A D | gdaemonfileinputstream.c | 184 gsize io_size; member 516 io_data.io_size, in run_sync_state_machine() 756 io_op->io_size = len; in iterate_read_state_machine() 823 io_op->io_size = 0; in iterate_read_state_machine() 1016 io_op->io_size = len; in iterate_close_state_machine() 1066 io_op->io_size = 0; in iterate_close_state_machine() 1283 io_op->io_size = len; in iterate_seek_state_machine() 1334 io_op->io_size = 0; in iterate_seek_state_machine() 1563 io_op->io_size = len; in iterate_query_state_machine() 1613 io_op->io_size = 0; in iterate_query_state_machine() [all …]
|
/dports/sysutils/symon/symon-2.88/platform/Linux/ |
H A D | sm_io.c | 56 static int io_size = 0; variable 133 io_size = 0; in gets_io() 134 while ((len = read(fd, p, io_maxsize - io_size)) > 0) { in gets_io() 136 io_size += len; in gets_io() 140 if (io_size == io_maxsize) { in gets_io() 152 if (io_size == -1) { in gets_io() 163 if (io_size <= 0) { in get_io()
|
/dports/multimedia/libv4l/linux-5.13-rc2/arch/mips/txx9/generic/ |
H A D | pci.c | 112 unsigned long io_base, unsigned long io_size) in txx9_alloc_pci_controller() argument 172 pcic->mem_resource[1].end = io_base + io_size - 1; in txx9_alloc_pci_controller() 176 if (!io_size) in txx9_alloc_pci_controller() 178 io_size = 0x01000000; /* io:16M(max) */ in txx9_alloc_pci_controller() 180 for (; io_size >= min_size; io_size /= 2) { in txx9_alloc_pci_controller() 183 io_size, 0, 0x20000000, in txx9_alloc_pci_controller() 184 io_size, NULL, NULL) == 0) in txx9_alloc_pci_controller() 187 if (io_size < min_size) in txx9_alloc_pci_controller() 207 pcic->io_resource->end = pcic->io_resource->start + io_size - 1; in txx9_alloc_pci_controller()
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/arch/mips/txx9/generic/ |
H A D | pci.c | 112 unsigned long io_base, unsigned long io_size) in txx9_alloc_pci_controller() argument 172 pcic->mem_resource[1].end = io_base + io_size - 1; in txx9_alloc_pci_controller() 176 if (!io_size) in txx9_alloc_pci_controller() 178 io_size = 0x01000000; /* io:16M(max) */ in txx9_alloc_pci_controller() 180 for (; io_size >= min_size; io_size /= 2) { in txx9_alloc_pci_controller() 183 io_size, 0, 0x20000000, in txx9_alloc_pci_controller() 184 io_size, NULL, NULL) == 0) in txx9_alloc_pci_controller() 187 if (io_size < min_size) in txx9_alloc_pci_controller() 207 pcic->io_resource->end = pcic->io_resource->start + io_size - 1; in txx9_alloc_pci_controller()
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/arch/mips/txx9/generic/ |
H A D | pci.c | 112 unsigned long io_base, unsigned long io_size) in txx9_alloc_pci_controller() argument 172 pcic->mem_resource[1].end = io_base + io_size - 1; in txx9_alloc_pci_controller() 176 if (!io_size) in txx9_alloc_pci_controller() 178 io_size = 0x01000000; /* io:16M(max) */ in txx9_alloc_pci_controller() 180 for (; io_size >= min_size; io_size /= 2) { in txx9_alloc_pci_controller() 183 io_size, 0, 0x20000000, in txx9_alloc_pci_controller() 184 io_size, NULL, NULL) == 0) in txx9_alloc_pci_controller() 187 if (io_size < min_size) in txx9_alloc_pci_controller() 207 pcic->io_resource->end = pcic->io_resource->start + io_size - 1; in txx9_alloc_pci_controller()
|
/dports/sysutils/linrename/util-linux-2.25.2/libfdisk/src/ |
H A D | alignment.c | 229 cxt->io_size = cxt->user_log_sector; in fdisk_apply_user_device_properties() 260 cxt->io_size = 0; in fdisk_zeroize_device_properties() 348 if (!cxt->io_size) in fdisk_discover_topology() 350 cxt->io_size = cxt->min_io_size; in fdisk_discover_topology() 363 if (!cxt->io_size) in fdisk_discover_topology() 364 cxt->io_size = cxt->sector_size; in fdisk_discover_topology() 401 if (!cxt->io_size) in fdisk_topology_get_first_lba() 418 else if (cxt->io_size > 2048 * 512) in fdisk_topology_get_first_lba() 419 x = cxt->io_size; in fdisk_topology_get_first_lba() 447 if (!cxt->io_size) in fdisk_topology_get_grain() [all …]
|
/dports/www/wget2/wget2-2.0.0/unit-tests/ |
H A D | test-dl.c | 149 ssize_t io_size = size_remain; in copy_file() local 150 if (io_size > (ssize_t) sizeof(buf)) in copy_file() 151 io_size = sizeof(buf); in copy_file() 152 libassert(read(sfd, buf, io_size) == io_size); in copy_file() 153 libassert(write(dfd, buf, io_size) == io_size); in copy_file() 154 size_remain -= io_size; in copy_file()
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/fs/hfsplus/ |
H A D | wrapper.c | 53 u64 io_size; in hfsplus_submit_bio() local 62 io_size = hfsplus_min_io_size(sb); in hfsplus_submit_bio() 64 offset = start & (io_size - 1); in hfsplus_submit_bio() 65 sector &= ~((io_size >> HFSPLUS_SECTOR_SHIFT) - 1); in hfsplus_submit_bio() 75 while (io_size > 0) { in hfsplus_submit_bio() 78 io_size); in hfsplus_submit_bio() 85 io_size -= len; in hfsplus_submit_bio()
|
/dports/multimedia/libv4l/linux-5.13-rc2/fs/hfsplus/ |
H A D | wrapper.c | 53 u64 io_size; in hfsplus_submit_bio() local 62 io_size = hfsplus_min_io_size(sb); in hfsplus_submit_bio() 64 offset = start & (io_size - 1); in hfsplus_submit_bio() 65 sector &= ~((io_size >> HFSPLUS_SECTOR_SHIFT) - 1); in hfsplus_submit_bio() 75 while (io_size > 0) { in hfsplus_submit_bio() 78 io_size); in hfsplus_submit_bio() 85 io_size -= len; in hfsplus_submit_bio()
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/fs/hfsplus/ |
H A D | wrapper.c | 53 u64 io_size; in hfsplus_submit_bio() local 62 io_size = hfsplus_min_io_size(sb); in hfsplus_submit_bio() 64 offset = start & (io_size - 1); in hfsplus_submit_bio() 65 sector &= ~((io_size >> HFSPLUS_SECTOR_SHIFT) - 1); in hfsplus_submit_bio() 75 while (io_size > 0) { in hfsplus_submit_bio() 78 io_size); in hfsplus_submit_bio() 85 io_size -= len; in hfsplus_submit_bio()
|
/dports/graphics/freeimage/FreeImage/Source/LibTIFF4/ |
H A D | tif_unix.c | 82 size_t io_size = bytes_total-bytes_read; in _tiffReadProc() local 83 if (io_size > TIFF_IO_MAX) in _tiffReadProc() 84 io_size = TIFF_IO_MAX; in _tiffReadProc() 85 count=read(fdh.fd, buf_offset, (TIFFIOSize_t) io_size); in _tiffReadProc() 110 size_t io_size = bytes_total-bytes_written; in _tiffWriteProc() local 111 if (io_size > TIFF_IO_MAX) in _tiffWriteProc() 112 io_size = TIFF_IO_MAX; in _tiffWriteProc() 113 count=write(fdh.fd, buf_offset, (TIFFIOSize_t) io_size); in _tiffWriteProc()
|
/dports/math/vtk9/VTK-9.1.0/ThirdParty/tiff/vtktiff/libtiff/ |
H A D | tif_unix.c | 82 size_t io_size = bytes_total-bytes_read; in _tiffReadProc() local 83 if (io_size > TIFF_IO_MAX) in _tiffReadProc() 84 io_size = TIFF_IO_MAX; in _tiffReadProc() 85 count=read(fdh.fd, buf_offset, (TIFFIOSize_t) io_size); in _tiffReadProc() 110 size_t io_size = bytes_total-bytes_written; in _tiffWriteProc() local 111 if (io_size > TIFF_IO_MAX) in _tiffWriteProc() 112 io_size = TIFF_IO_MAX; in _tiffWriteProc() 113 count=write(fdh.fd, buf_offset, (TIFFIOSize_t) io_size); in _tiffWriteProc()
|
/dports/graphics/argyllcms/Argyll_V1.9.2/tiff/libtiff/ |
H A D | tif_unix.c | 84 size_t io_size = bytes_total-bytes_read; in _tiffReadProc() local 85 if (io_size > TIFF_IO_MAX) in _tiffReadProc() 86 io_size = TIFF_IO_MAX; in _tiffReadProc() 87 count=read(fdh.fd, buf_offset, (TIFFIOSize_t) io_size); in _tiffReadProc() 112 size_t io_size = bytes_total-bytes_written; in _tiffWriteProc() local 113 if (io_size > TIFF_IO_MAX) in _tiffWriteProc() 114 io_size = TIFF_IO_MAX; in _tiffWriteProc() 115 count=write(fdh.fd, buf_offset, (TIFFIOSize_t) io_size); in _tiffWriteProc()
|
/dports/devel/upp/upp/uppsrc/plugin/tif/lib/ |
H A D | tif_unix.c | 82 size_t io_size = bytes_total-bytes_read; in _tiffReadProc() local 83 if (io_size > TIFF_IO_MAX) in _tiffReadProc() 84 io_size = TIFF_IO_MAX; in _tiffReadProc() 85 count=read(fdh.fd, buf_offset, (TIFFIOSize_t) io_size); in _tiffReadProc() 110 size_t io_size = bytes_total-bytes_written; in _tiffWriteProc() local 111 if (io_size > TIFF_IO_MAX) in _tiffWriteProc() 112 io_size = TIFF_IO_MAX; in _tiffWriteProc() 113 count=write(fdh.fd, buf_offset, (TIFFIOSize_t) io_size); in _tiffWriteProc()
|
/dports/print/ghostscript9-agpl-x11/ghostscript-9.52/tiff/libtiff/ |
H A D | tif_unix.c | 82 size_t io_size = bytes_total-bytes_read; in _tiffReadProc() local 83 if (io_size > TIFF_IO_MAX) in _tiffReadProc() 84 io_size = TIFF_IO_MAX; in _tiffReadProc() 85 count=read(fdh.fd, buf_offset, (TIFFIOSize_t) io_size); in _tiffReadProc() 110 size_t io_size = bytes_total-bytes_written; in _tiffWriteProc() local 111 if (io_size > TIFF_IO_MAX) in _tiffWriteProc() 112 io_size = TIFF_IO_MAX; in _tiffWriteProc() 113 count=write(fdh.fd, buf_offset, (TIFFIOSize_t) io_size); in _tiffWriteProc()
|