Home
last modified time | relevance | path

Searched refs:fsync (Results 1 – 25 of 5476) sorted by relevance

12345678910>>...220

/dports/www/mod_php81/php-8.1.1/ext/standard/tests/file/
H A Dfsync.phpt2 Test fsync() function: basic functionality
27 var_dump( fsync($file_handle) );
30 echo "\n*** Testing fsync(): for return type ***\n";
31 $return_value = fsync($file_handle);
37 var_dump(fsync($file_handle));
40 echo "\n*** Testing fsync(): for non-file stream ***\n";
42 $return_value = fsync($file_handle);
62 *** Testing fsync(): for return type ***
65 *** Testing fsync(): attempting to sync stdin ***
68 *** Testing fsync(): for non-file stream ***
[all …]
/dports/lang/php81/php-8.1.1/ext/standard/tests/file/
H A Dfsync.phpt2 Test fsync() function: basic functionality
27 var_dump( fsync($file_handle) );
30 echo "\n*** Testing fsync(): for return type ***\n";
31 $return_value = fsync($file_handle);
37 var_dump(fsync($file_handle));
40 echo "\n*** Testing fsync(): for non-file stream ***\n";
42 $return_value = fsync($file_handle);
62 *** Testing fsync(): for return type ***
65 *** Testing fsync(): attempting to sync stdin ***
68 *** Testing fsync(): for non-file stream ***
[all …]
/dports/net/rsync/rsync-3.2.3/patches/
H A Dfsync.diff1 This patch from Sami Farin lets you specify --fsync if you want fsync()
6 patch -p1 <patches/fsync.diff
26 + {"fsync", 0, POPT_ARG_NONE, &do_fsync, 0, 0, 0 },
35 + args[ac++] = "--fsync";
55 + if (do_fsync && fd != -1 && fsync(fd) != 0) {
56 + rsyserr(FERROR, errno, "fsync failed on %s",
71 +--fsync fsync every written file
101 + if (do_fsync && fsync(ofd) < 0) {
102 + rsyserr(FERROR, errno, "fsync failed on %s",
118 +--fsync fsync every written file
[all …]
/dports/devel/gnulib/gnulib-20140202-stable/tests/
H A Dtest-fsync.c22 SIGNATURE_CHECK (fsync, int, (int));
38 if (fsync (fd) != 0) in main()
50 ASSERT (fsync (-1) == -1); in main()
56 ASSERT (fsync (99) == -1); in main()
63 ASSERT (fsync (fd) == 0); in main()
74 ASSERT (fsync (fd) == 0); in main()
/dports/misc/gnuls/coreutils-8.30/gnulib-tests/
H A Dtest-fsync.c22 SIGNATURE_CHECK (fsync, int, (int));
38 if (fsync (fd) != 0) in main()
50 ASSERT (fsync (-1) == -1); in main()
56 ASSERT (fsync (99) == -1); in main()
63 ASSERT (fsync (fd) == 0); in main()
74 ASSERT (fsync (fd) == 0); in main()
/dports/sysutils/coreutils/coreutils-8.32/gnulib-tests/
H A Dtest-fsync.c22 SIGNATURE_CHECK (fsync, int, (int));
38 if (fsync (fd) != 0) in main()
50 ASSERT (fsync (-1) == -1); in main()
56 ASSERT (fsync (99) == -1); in main()
63 ASSERT (fsync (fd) == 0); in main()
76 ASSERT (fsync (fd) == 0); in main()
/dports/security/pkcs11-tools/pkcs11-tools-2.5.0/.gnulib/tests/
H A Dtest-fsync.c22 SIGNATURE_CHECK (fsync, int, (int));
38 if (fsync (fd) != 0) in main()
50 ASSERT (fsync (-1) == -1); in main()
56 ASSERT (fsync (99) == -1); in main()
63 ASSERT (fsync (fd) == 0); in main()
76 ASSERT (fsync (fd) == 0); in main()
/dports/databases/p5-MongoDB/MongoDB-v2.2.2/t/
H A Dfsync.t38 plan skip_all => "fsync not supported for inMemory storage engine"
43 # Test normal fsync.
44 subtest "normal fsync" => sub {
45 $ret = $conn->fsync();
46 is($ret->{ok}, 1, "fsync returned 'ok' => 1");
49 # Test fsync with lock.
50 subtest "fsync with lock" => sub {
55 $ret = $conn->fsync({lock => 1});
56 is($ret->{ok}, 1, "fsync + lock returned 'ok' => 1");
/dports/devel/gnulib/gnulib-20140202-stable/doc/posix-functions/
H A Dfsync.texi1 @node fsync
2 @section @code{fsync}
3 @findex fsync
5 POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/functions/fsync.html}
7 Gnulib module: fsync
/dports/devel/gnulib/gnulib-20140202-stable/modules/
H A Dfsync2 fsync(2) function: synchronize writes, including metadata, to a file.
5 lib/fsync.c
6 m4/fsync.m4
15 AC_LIBOBJ([fsync])
18 gl_UNISTD_MODULE_INDICATOR([fsync])
H A Dfsync-tests2 tests/test-fsync.c
12 TESTS += test-fsync
13 check_PROGRAMS += test-fsync
/dports/security/pkcs11-tools/pkcs11-tools-2.5.0/.gnulib/modules/
H A Dfsync2 fsync(2) function: synchronize writes, including metadata, to a file.
5 lib/fsync.c
6 m4/fsync.m4
15 AC_LIBOBJ([fsync])
18 gl_UNISTD_MODULE_INDICATOR([fsync])
H A Dfsync-tests2 tests/test-fsync.c
12 TESTS += test-fsync
13 check_PROGRAMS += test-fsync
/dports/security/pkcs11-tools/pkcs11-tools-2.5.0/.gnulib/doc/posix-functions/
H A Dfsync.texi1 @node fsync
2 @section @code{fsync}
3 @findex fsync
5 POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/fsync.html}
7 Gnulib module: fsync
/dports/databases/xtrabackup8/percona-xtrabackup-8.0.14/mysql-test/suite/sys_vars/r/
H A Dinnodb_flush_method_basic.result2 SELECT @@GLOBAL.innodb_flush_method IN ('fsync', 'unbuffered');
3 @@GLOBAL.innodb_flush_method IN ('fsync', 'unbuffered')
10 SELECT @@GLOBAL.innodb_flush_method IN ('fsync', 'unbuffered');
11 @@GLOBAL.innodb_flush_method IN ('fsync', 'unbuffered')
21 SELECT @@GLOBAL.innodb_flush_method IN ('fsync', 'unbuffered');
22 @@GLOBAL.innodb_flush_method IN ('fsync', 'unbuffered')
/dports/sysutils/lizardfs/lizardfs-3.12.0/tests/test_suites/ShortSystemTests/
H A Dtest_punching_holes.sh24 dd if=/dev/urandom of=$file count=16 bs=1024 conv=fsync
30 dd if=/dev/zero of=$file count=6 bs=1024 seek=3 conv=fsync
41 dd if=/dev/urandom of=$TEMP_DIR/test_punch_hole.bin count=16 bs=1024 conv=fsync
44 dd if=/dev/zero of=$TEMP_DIR/test_punch_hole.bin count=10 bs=1024 seek=3 conv=fsync
45 dd if=/dev/zero of=${info[mount0]}/test_punch_hole.bin count=10 bs=1024 seek=3 conv=fsync
/dports/devel/p5-File-Sync/File-Sync-0.11/t/
H A D01_fsync.t7 use File::Sync qw(fsync);
20 fsync(\*TEST) || print 'not '; print "ok 2\n";
21 fsync(TEST) || print 'not '; print "ok 3\n";
35 $fh->fsync() || print 'not '; print "ok 5\n";
/dports/databases/pymongo/pymongo-3.12.0/pymongo/
H A Dwrite_concern.py51 def __init__(self, w=None, wtimeout=None, j=None, fsync=None): argument
67 if fsync is not None:
68 if not isinstance(fsync, bool):
70 if j and fsync:
73 self.__document["fsync"] = fsync
/dports/devel/p5-File-Sync/File-Sync-0.11/
H A DChanges4 - stop clobbering IO::Handle::fsync, fix:
18 - Perl 5.005 `make test' fails on fsync(TEST), so this test
27 - OK, only Linux returns an error when fsync'ing a TTY.
31 - Irix doesn't return error when fsync'ing a TTY. Removed
40 - Added usage check (number of args) to fsync().
41 - Aliases in FileHandle and IO::Handle for fsync method.
H A DSync.pm36 sub fsync(*) { subroutine
49 *FileHandle::fsync = \&fsync;
/dports/www/chromium-legacy/chromium-88.0.4324.182/native_client/src/untrusted/nacl/
H A Dfsync.c12 int fsync(int fd) { in fsync() function
13 if (!__libnacl_irt_init_fn(&__libnacl_irt_dev_fdio.fsync, in fsync()
18 int error = __libnacl_irt_dev_fdio.fsync(fd); in fsync()
/dports/textproc/augeas/augeas-1.12.0/lenses/tests/
H A Dtest_postgresql.aug9 let missing_equal = "fsync on\n"
11 { "fsync" = "on" }
13 set "fsync" "off" = "fsync off\n"
16 let extra_whitespace = " fsync = on # trailing comment \n"
18 { "fsync" = "on"
22 set "fsync" "off" = " fsync = off # trailing comment \n"
25 let no_whitespace = "fsync=on\n"
27 { "fsync" = "on" }
29 set "fsync" "off" = "fsync=off\n"
/dports/databases/db18/db-18.1.40/src/os/
H A Dos_fsync.c16 #define fsync(fd) __vx_fsync(fd) macro
36 #define fsync(fd) __mpe_fsync(fd) macro
89 RETRY_CHK((fsync(fhp->fd)), ret);
95 RETRY_CHK((fsync(fhp->fd)), ret);
/dports/databases/db5/db-5.3.28/src/os/
H A Dos_fsync.c16 #define fsync(fd) __vx_fsync(fd) macro
36 #define fsync(fd) __mpe_fsync(fd) macro
89 RETRY_CHK((fsync(fhp->fd)), ret);
95 RETRY_CHK((fsync(fhp->fd)), ret);
/dports/textproc/htdig/htdig-3.2.0b6/db/
H A Dos_fsync.c29 #define fsync(fd) _commit(fd); macro
46 #define fsync(fd) __mpe_fsync(fd); macro
69 CDB___db_jump.j_fsync(fhp->fd) : fsync(fhp->fd);

12345678910>>...220