/dports/sysutils/azure-agent/WALinuxAgent-2.2.54.2/azurelinuxagent/daemon/resourcedisk/ |
H A D | default.py | 269 if swapfile in swaplist and os.path.isfile( 270 swapfile) and os.path.getsize(swapfile) == size: 273 swapfile_mode = os.stat(swapfile).st_mode 278 swapfile, swapfile_mode)) 279 os.chmod(swapfile, swapfile_mode) 287 swapfile = os.path.join(mount_point, 'swapfile') 293 if os.path.isfile(swapfile) and os.path.getsize(swapfile) != size: 296 os.remove(swapfile) 298 if not os.path.isfile(swapfile): 300 self.mkfile(swapfile, size_kb * 1024) [all …]
|
/dports/editors/hexer/hexer-1.0.3/ |
H A D | hexer.c | 274 i->hedit->swapfile = in he_select_buffer_() 276 strcpy(i->hedit->swapfile, i->path); in he_select_buffer_() 277 strcat(i->hedit->swapfile, hexer_ext); in he_select_buffer_() 278 if (access(i->hedit->swapfile, R_OK)) { in he_select_buffer_() 282 if ((i->hedit->undo.swapfile = fopen(i->hedit->swapfile, "w+"))) in he_select_buffer_() 291 i->hedit->swapfile); in he_select_buffer_() 292 i->hedit->swapfile = in he_select_buffer_() 314 fflush(i->hedit->undo.swapfile) == EOF) { in he_select_buffer_() 316 fclose(i->hedit->undo.swapfile); in he_select_buffer_() 447 fclose(i->hedit->undo.swapfile); in he_close_buffer() [all …]
|
H A D | edit.c | 294 fclose(hedit->undo.swapfile); in he_compound_command() 308 fclose(hedit->undo.swapfile); in he_compound_command() 326 fflush(hedit->undo.swapfile) == EOF || in he_compound_command() 329 fclose(hedit->undo.swapfile); in he_compound_command() 456 fseek(hedit->undo.swapfile, -4, SEEK_CUR); in he_rewind_command() 461 fseek(hedit->undo.swapfile, position, SEEK_SET); in he_rewind_command() 482 fseek(hedit->undo.swapfile, -4, SEEK_CUR); in he_read_command() 485 if (fgetc(hedit->undo.swapfile) == EOF) in he_read_command() 492 n = fgetc(hedit->undo.swapfile); in he_read_command() 514 fseek(hedit->undo.swapfile, 4, SEEK_CUR); in he_read_command() [all …]
|
/dports/benchmarks/stress-ng/stress-ng-0.13.09/test/ |
H A D | test-swap.c | 31 static char swapfile[] = "test.swap"; in main() local 34 ret = swapon(swapfile, 0); in main() 36 ret = swapoff(swapfile); in main()
|
/dports/devel/sunpromake/schily-2021-09-18/ved/ |
H A D | buffer.c | 57 LOCAL FILE *swapfile; variable 114 if (swapfile == (FILE *)NULL) 115 swapfile = tmpfopen(wp, swapname, "ctwrub"); 147 if (swapfile) 148 fclose(swapfile); 268 lseek(fdown(swapfile), linkp->fpos, SEEK_SET); 269 if (writesyserr(wp, swapfile, linkp->cont, linkp->size, swapname) < 0) { 291 lseek(fdown(swapfile), linkp->fpos, SEEK_SET); 292 if (readsyserr(wp, swapfile, linkp->cont, linkp->size, swapname) < 0) {
|
/dports/devel/sccs/schily-2021-09-18/ved/ |
H A D | buffer.c | 57 LOCAL FILE *swapfile; variable 114 if (swapfile == (FILE *)NULL) 115 swapfile = tmpfopen(wp, swapname, "ctwrub"); 147 if (swapfile) 148 fclose(swapfile); 268 lseek(fdown(swapfile), linkp->fpos, SEEK_SET); 269 if (writesyserr(wp, swapfile, linkp->cont, linkp->size, swapname) < 0) { 291 lseek(fdown(swapfile), linkp->fpos, SEEK_SET); 292 if (readsyserr(wp, swapfile, linkp->cont, linkp->size, swapname) < 0) {
|
/dports/devel/schilybase/schily-2021-09-18/ved/ |
H A D | buffer.c | 57 LOCAL FILE *swapfile; variable 114 if (swapfile == (FILE *)NULL) 115 swapfile = tmpfopen(wp, swapname, "ctwrub"); 147 if (swapfile) 148 fclose(swapfile); 268 lseek(fdown(swapfile), linkp->fpos, SEEK_SET); 269 if (writesyserr(wp, swapfile, linkp->cont, linkp->size, swapname) < 0) { 291 lseek(fdown(swapfile), linkp->fpos, SEEK_SET); 292 if (readsyserr(wp, swapfile, linkp->cont, linkp->size, swapname) < 0) {
|
/dports/net/rscsi/schily-2021-09-18/ved/ |
H A D | buffer.c | 57 LOCAL FILE *swapfile; variable 114 if (swapfile == (FILE *)NULL) 115 swapfile = tmpfopen(wp, swapname, "ctwrub"); 147 if (swapfile) 148 fclose(swapfile); 268 lseek(fdown(swapfile), linkp->fpos, SEEK_SET); 269 if (writesyserr(wp, swapfile, linkp->cont, linkp->size, swapname) < 0) { 291 lseek(fdown(swapfile), linkp->fpos, SEEK_SET); 292 if (readsyserr(wp, swapfile, linkp->cont, linkp->size, swapname) < 0) {
|
/dports/archivers/star/schily-2021-09-18/ved/ |
H A D | buffer.c | 57 LOCAL FILE *swapfile; variable 114 if (swapfile == (FILE *)NULL) 115 swapfile = tmpfopen(wp, swapname, "ctwrub"); 147 if (swapfile) 148 fclose(swapfile); 268 lseek(fdown(swapfile), linkp->fpos, SEEK_SET); 269 if (writesyserr(wp, swapfile, linkp->cont, linkp->size, swapname) < 0) { 291 lseek(fdown(swapfile), linkp->fpos, SEEK_SET); 292 if (readsyserr(wp, swapfile, linkp->cont, linkp->size, swapname) < 0) {
|
/dports/sysutils/cdrtools/schily-2021-09-18/ved/ |
H A D | buffer.c | 57 LOCAL FILE *swapfile; variable 114 if (swapfile == (FILE *)NULL) 115 swapfile = tmpfopen(wp, swapname, "ctwrub"); 147 if (swapfile) 148 fclose(swapfile); 268 lseek(fdown(swapfile), linkp->fpos, SEEK_SET); 269 if (writesyserr(wp, swapfile, linkp->cont, linkp->size, swapname) < 0) { 291 lseek(fdown(swapfile), linkp->fpos, SEEK_SET); 292 if (readsyserr(wp, swapfile, linkp->cont, linkp->size, swapname) < 0) {
|
/dports/editors/ved/schily-2021-09-18/ved/ |
H A D | buffer.c | 57 LOCAL FILE *swapfile; variable 114 if (swapfile == (FILE *)NULL) 115 swapfile = tmpfopen(wp, swapname, "ctwrub"); 147 if (swapfile) 148 fclose(swapfile); 268 lseek(fdown(swapfile), linkp->fpos, SEEK_SET); 269 if (writesyserr(wp, swapfile, linkp->cont, linkp->size, swapname) < 0) { 291 lseek(fdown(swapfile), linkp->fpos, SEEK_SET); 292 if (readsyserr(wp, swapfile, linkp->cont, linkp->size, swapname) < 0) {
|
/dports/devel/smake/schily-2021-09-18/ved/ |
H A D | buffer.c | 57 LOCAL FILE *swapfile; variable 114 if (swapfile == (FILE *)NULL) 115 swapfile = tmpfopen(wp, swapname, "ctwrub"); 147 if (swapfile) 148 fclose(swapfile); 268 lseek(fdown(swapfile), linkp->fpos, SEEK_SET); 269 if (writesyserr(wp, swapfile, linkp->cont, linkp->size, swapname) < 0) { 291 lseek(fdown(swapfile), linkp->fpos, SEEK_SET); 292 if (readsyserr(wp, swapfile, linkp->cont, linkp->size, swapname) < 0) {
|
/dports/sysutils/schilyutils/schily-2021-09-18/ved/ |
H A D | buffer.c | 57 LOCAL FILE *swapfile; variable 114 if (swapfile == (FILE *)NULL) 115 swapfile = tmpfopen(wp, swapname, "ctwrub"); 147 if (swapfile) 148 fclose(swapfile); 268 lseek(fdown(swapfile), linkp->fpos, SEEK_SET); 269 if (writesyserr(wp, swapfile, linkp->cont, linkp->size, swapname) < 0) { 291 lseek(fdown(swapfile), linkp->fpos, SEEK_SET); 292 if (readsyserr(wp, swapfile, linkp->cont, linkp->size, swapname) < 0) {
|
/dports/editors/gummi/gummi-0.8.1/src/ |
H A D | iofunctions.c | 178 gchar* swapfile = NULL; in iofunctions_get_swapfile() local 182 swapfile = g_strdup_printf ("%s%c.%s.swp", dirname, in iofunctions_get_swapfile() 187 return swapfile; in iofunctions_get_swapfile() 193 gchar* swapfile = iofunctions_get_swapfile (filename); in iofunctions_has_swapfile() local 194 if (utils_path_exists (swapfile)) { in iofunctions_has_swapfile()
|
/dports/finance/odoo/odoo-19d77c2a03335eb95a686bd69a1b56b38e87d609/odoo/addons/point_of_sale/tools/posbox/overwrite_before_init/etc/ |
H A D | fstab | 4 # a swapfile is not a swap partition, no line here 5 # use dphys-swapfile swap[on|off] for that
|
/dports/finance/odoo/odoo-19d77c2a03335eb95a686bd69a1b56b38e87d609/odoo/addons/point_of_sale/tools/posbox/overwrite_after_init/etc/ |
H A D | fstab | 4 # a swapfile is not a swap partition, so no using swapon|off from here on, use dphys-swapfile swap…
|
/dports/editors/vim/vim-8.2.3745/src/testdir/ |
H A D | test_swap.vim | 81 " Group of swapfile must now match original file. 183 " Create a valid swapfile by editing a file. 187 " read the swapfile as a Blob 240 " Create a valid swapfile by editing a file. 244 " read the swapfile as a Blob 284 write " write again to make sure the swapfile is created 285 " read the swapfile as a Blob 325 write " write again to make sure the swapfile is created 326 " read the swapfile as a Blob 460 write " write again to make sure the swapfile is created [all …]
|
/dports/editors/neovim/neovim-0.6.1/src/nvim/testdir/ |
H A D | test_swap.vim | 81 " Group of swapfile must now match original file. 183 " Create a valid swapfile by editing a file. 187 " read the swapfile as a Blob 201 " Write the swapfile with a modified PID, now it will be automatically 237 " Create a valid swapfile by editing a file. 241 " read the swapfile as a Blob 278 " Create a valid swapfile by editing a file with a special extension. 282 write " write again to make sure the swapfile is created 283 " read the swapfile as a Blob
|
/dports/science/py-pyscf/pyscf-2.0.1/pyscf/df/ |
H A D | outcore.py | 55 swapfile = tempfile.NamedTemporaryFile(dir=tmpdir) 56 cholesky_eri_b(mol, swapfile.name, auxbasis, dataname, 58 fswap = h5py.File(swapfile.name, 'r') 209 swapfile = tempfile.NamedTemporaryFile(dir=tmpdir) 210 cholesky_eri_b(mol, swapfile.name, auxbasis, dataname, 212 fswap = h5py.File(swapfile.name, 'r')
|
/dports/lang/gnatdroid-binutils-x86/binutils-2.27/bfd/ |
H A D | mep-relocs.pl | 74 &swapfile("include/elf/mep.h"); 248 &swapfile($file); 253 sub swapfile { subroutine
|
/dports/devel/arm-elf-binutils/binutils-2.37/bfd/ |
H A D | mep-relocs.pl | 74 &swapfile("include/elf/mep.h"); 251 &swapfile($file); 256 sub swapfile { subroutine
|
/dports/devel/gnulibiberty/binutils-2.37/bfd/ |
H A D | mep-relocs.pl | 74 &swapfile("include/elf/mep.h"); 251 &swapfile($file); 256 sub swapfile { subroutine
|
/dports/lang/gnatdroid-binutils/binutils-2.27/bfd/ |
H A D | mep-relocs.pl | 74 &swapfile("include/elf/mep.h"); 248 &swapfile($file); 253 sub swapfile { subroutine
|
/dports/devel/avr-gdb/gdb-7.3.1/bfd/ |
H A D | mep-relocs.pl | 74 &swapfile("include/elf/mep.h"); 248 &swapfile($file); 253 sub swapfile { subroutine
|
/dports/devel/gdb/gdb-11.1/bfd/ |
H A D | mep-relocs.pl | 74 &swapfile("include/elf/mep.h"); 251 &swapfile($file); 256 sub swapfile { subroutine
|