Home
last modified time | relevance | path

Searched refs:tmp_file (Results 1 – 25 of 1749) sorted by relevance

12345678910>>...70

/dports/math/py-Diofant/Diofant-0.13.0/diofant/tests/external/
H A Dtest_plot.py54 def tmp_file(cls, name=''): member in TmpFileManager
72 tmp_file = TmpFileManager.tmp_file
157 p.save(tmp_file(f'{name}_3d_line'))
178 p.save(tmp_file(f'{name}_surface'))
230 p.save(tmp_file(f'{name}_10925'))
240 tmp_file = TmpFileManager.tmp_file
299 tmp_file = TmpFileManager.tmp_file
316 plot(LambertW(x)).save(tmp_file())
333 tmp_file = TmpFileManager.tmp_file
346 tmp_file = TmpFileManager.tmp_file
[all …]
H A Dtest_plot_implicit.py18 def tmp_file(name=''): function
26 (y, -4, 4), show=False).save(tmp_file(name))
28 (y, -2, 2), show=False).save(tmp_file(name))
30 (y, -2, 2), show=False).save(tmp_file(name))
32 (y, -2, 2), show=False).save(tmp_file(name))
34 (y, -1, 5), show=False).save(tmp_file(name))
36 show=False).save(tmp_file(name))
38 show=False).save(tmp_file(name))
49 plot_implicit(x**2 - 1, show=False).save(tmp_file(name))
51 plot_implicit(y > x, depth=5, show=False).save(tmp_file(name))
[all …]
/dports/science/py-abipy/abipy-0.9.0/abipy/iotools/tests/
H A Dtest_xsf.py35 tmp_file.seek(0)
37 tmp_file.close()
77 tmp_file.seek(0)
87 tmp_file.seek(0)
89 tmp_file.seek(0)
92 tmp_file.seek(0)
95 tmp_file.seek(0)
98 tmp_file.seek(0)
102 tmp_file.close()
152 tmp_file.seek(0)
[all …]
/dports/www/ilias/ILIAS-5.4.25/libs/bower/bower_components/mediaelement/src/
H A DBuilder.py39 tmp_file.write(code)
40 tmp_file.close()
68 tmp_file.write(code)
69 tmp_file.close()
85 tmp_file.close()
90 tmp_file.close()
97 tmp_file.close()
113 tmp_file.write(code)
114 tmp_file.close()
124 tmp_file.close()
[all …]
/dports/www/p5-HTTP-DAV/HTTP-DAV-0.49/t/
H A D6_dav_get_callback.t44 my $size = -s $tmp_file;
45 do_test $dav, $dav->put($tmp_file), 1, "PUT $tmp_file ($size bytes)";
52 do_test $dav, $dav->get($tmp_file, "${tmp_file}2"), 1, "GET of $tmp_file to ${tmp_file}2";
57 unlink ${tmp_file};
58 unlink "${tmp_file}2";
63 do_test $dav,($size == $newsize),1,"SIZE compare of $tmp_file and ${tmp_file}2";
66 do_test $dav, $dav->get(-url=>$tmp_file, -to=>"${tmp_file}2"), 1, "GET of $tmp_file to ${tmp_file}2…
67 do_test $dav,-e "${tmp_file}2",1,"SIZE compare of $tmp_file and ${tmp_file}2 with to";
73 do_test $dav, $dav->get(-url=>$tmp_file, -callback=>\&callback), 1, "GET of $tmp_file to ${tmp_file
75 do_test $dav,($size != $newsize),1,"SIZE compare of $tmp_file and ${tmp_file}2";
[all …]
/dports/science/hdf5-18/hdf5-1.8.21/bin/
H A Doutput_filter.sh48 cp $result_file $tmp_file
50 < $tmp_file > $result_file
52 cp $result_file $tmp_file
54 < $tmp_file > $result_file
56 rm -f $tmp_file
91 cp $result_file $tmp_file
93 < $tmp_file > $result_file
96 cp $result_file $tmp_file
104 cp $result_file $tmp_file
109 cp $result_file $tmp_file
[all …]
/dports/science/hdf5/hdf5-1.10.6/bin/
H A Doutput_filter.sh48 cp $result_file $tmp_file
50 < $tmp_file > $result_file
52 cp $result_file $tmp_file
54 < $tmp_file > $result_file
56 rm -f $tmp_file
91 cp $result_file $tmp_file
93 < $tmp_file > $result_file
96 cp $result_file $tmp_file
104 cp $result_file $tmp_file
109 cp $result_file $tmp_file
[all …]
/dports/math/py-numpy-stl/numpy-stl-2.11.3/tests/
H A Dstl_corruption.py23 tmp_file = tmpdir.join('tmp.stl')
24 with tmp_file.open('w+') as fh:
31 tmp_file = tmpdir.join('tmp.stl')
32 with tmp_file.open('w+') as fh:
67 with tmp_file.open('w+') as fh:
75 with tmp_file.open('w+') as fh:
91 with tmp_file.open('w+') as fh:
100 with tmp_file.open('w+') as fh:
113 with tmp_file.open('w+') as fh:
119 with tmp_file.open('w+') as fh:
[all …]
H A Dtest_multiple.py18 tmp_file = tmpdir.join('tmp.stl')
19 with tmp_file.open('wb+') as fh:
28 tmp_file = tmpdir.join('tmp.stl')
29 with tmp_file.open('wb+') as fh:
41 tmp_file = tmpdir.join('tmp.stl')
42 with tmp_file.open('wb+') as fh:
51 tmp_file = tmpdir.join('tmp.stl')
52 with tmp_file.open('wb+') as fh:
65 tmp_file = tmpdir.join('tmp.stl')
66 with tmp_file.open('wb+') as fh:
[all …]
/dports/databases/mariadb105-client/mariadb-10.5.15/extra/mariabackup/
H A Dds_tmpfile.cc87 ds_tmp_file_t *tmp_file; in tmpfile_open() local
108 tmp_file->file = file; in tmpfile_open()
111 tmp_file->orig_path = (char *) tmp_file + sizeof(ds_tmp_file_t); in tmpfile_open()
113 tmp_file->fd = fd; in tmpfile_open()
118 file->ptr = tmp_file; in tmpfile_open()
122 tmp_file->list.data = tmp_file; in tmpfile_open()
126 &tmp_file->list); in tmpfile_open()
162 ds_tmp_file_t *tmp_file; in tmpfile_deinit() local
191 &tmp_file->mystat); in tmpfile_deinit()
211 tmp_file->orig_path); in tmpfile_deinit()
[all …]
/dports/databases/mariadb104-server/mariadb-10.4.24/extra/mariabackup/
H A Dds_tmpfile.cc87 ds_tmp_file_t *tmp_file; in tmpfile_open() local
109 tmp_file->file = file; in tmpfile_open()
112 tmp_file->orig_path = (char *) tmp_file + sizeof(ds_tmp_file_t); in tmpfile_open()
114 tmp_file->fd = fd; in tmpfile_open()
119 file->ptr = tmp_file; in tmpfile_open()
123 tmp_file->list.data = tmp_file; in tmpfile_open()
127 &tmp_file->list); in tmpfile_open()
163 ds_tmp_file_t *tmp_file; in tmpfile_deinit() local
192 &tmp_file->mystat); in tmpfile_deinit()
212 tmp_file->orig_path); in tmpfile_deinit()
[all …]
/dports/databases/mariadb105-server/mariadb-10.5.15/extra/mariabackup/
H A Dds_tmpfile.cc87 ds_tmp_file_t *tmp_file; in tmpfile_open() local
108 tmp_file->file = file; in tmpfile_open()
111 tmp_file->orig_path = (char *) tmp_file + sizeof(ds_tmp_file_t); in tmpfile_open()
113 tmp_file->fd = fd; in tmpfile_open()
118 file->ptr = tmp_file; in tmpfile_open()
122 tmp_file->list.data = tmp_file; in tmpfile_open()
126 &tmp_file->list); in tmpfile_open()
162 ds_tmp_file_t *tmp_file; in tmpfile_deinit() local
191 &tmp_file->mystat); in tmpfile_deinit()
211 tmp_file->orig_path); in tmpfile_deinit()
[all …]
/dports/databases/mariadb103-client/mariadb-10.3.34/extra/mariabackup/
H A Dds_tmpfile.cc87 ds_tmp_file_t *tmp_file; in tmpfile_open() local
109 tmp_file->file = file; in tmpfile_open()
112 tmp_file->orig_path = (char *) tmp_file + sizeof(ds_tmp_file_t); in tmpfile_open()
114 tmp_file->fd = fd; in tmpfile_open()
119 file->ptr = tmp_file; in tmpfile_open()
123 tmp_file->list.data = tmp_file; in tmpfile_open()
127 &tmp_file->list); in tmpfile_open()
163 ds_tmp_file_t *tmp_file; in tmpfile_deinit() local
192 &tmp_file->mystat); in tmpfile_deinit()
212 tmp_file->orig_path); in tmpfile_deinit()
[all …]
/dports/databases/mariadb104-client/mariadb-10.4.24/extra/mariabackup/
H A Dds_tmpfile.cc87 ds_tmp_file_t *tmp_file; in tmpfile_open() local
109 tmp_file->file = file; in tmpfile_open()
112 tmp_file->orig_path = (char *) tmp_file + sizeof(ds_tmp_file_t); in tmpfile_open()
114 tmp_file->fd = fd; in tmpfile_open()
119 file->ptr = tmp_file; in tmpfile_open()
123 tmp_file->list.data = tmp_file; in tmpfile_open()
127 &tmp_file->list); in tmpfile_open()
163 ds_tmp_file_t *tmp_file; in tmpfile_deinit() local
192 &tmp_file->mystat); in tmpfile_deinit()
212 tmp_file->orig_path); in tmpfile_deinit()
[all …]
/dports/databases/mariadb103-server/mariadb-10.3.34/extra/mariabackup/
H A Dds_tmpfile.cc87 ds_tmp_file_t *tmp_file;
109 tmp_file->file = file;
112 tmp_file->orig_path = (char *) tmp_file + sizeof(ds_tmp_file_t);
114 tmp_file->fd = fd;
119 file->ptr = tmp_file;
123 tmp_file->list.data = tmp_file;
127 &tmp_file->list);
163 ds_tmp_file_t *tmp_file;
192 &tmp_file->mystat);
212 tmp_file->orig_path);
[all …]
/dports/databases/xtrabackup/percona-xtrabackup-2.4.21/storage/innobase/xtrabackup/src/
H A Dds_tmpfile.c89 ds_tmp_file_t *tmp_file; in tmpfile_open() local
126 tmp_file->file = file; in tmpfile_open()
129 tmp_file->orig_path = (char *) tmp_file + sizeof(ds_tmp_file_t); in tmpfile_open()
131 tmp_file->fd = fd; in tmpfile_open()
136 file->ptr = tmp_file; in tmpfile_open()
140 tmp_file->list.data = tmp_file; in tmpfile_open()
144 &tmp_file->list); in tmpfile_open()
180 ds_tmp_file_t *tmp_file; in tmpfile_deinit() local
199 tmp_file = list->data; in tmpfile_deinit()
210 &tmp_file->mystat); in tmpfile_deinit()
[all …]
/dports/net/bosh-bootloader/bosh-bootloader-7.2.12/storage/fixtures/upped/bosh-deployment/tests/
H A Drun-checks.sh8 touch $tmp_file
11 rm -f $tmp_file
12 rm -f ${tmp_file}.*
34 --state=$tmp_file \
53 --state=$tmp_file \
73 --state=$tmp_file \
94 --state=$tmp_file \
129 --state=$tmp_file \
161 --state=$tmp_file \
178 --state=$tmp_file \
[all …]
/dports/math/libflame/libflame-5.2.0/src/map/lapack2flamec/f2c/c/
H A Dpostprocess.sh53 tmp_file=$(echo "${file}.back")
55 ( cp -f ${file} ${tmp_file};
57 mv ${tmp_file} ${file};
58 rm -f ${tmp_file}; )
67 tmp_file=$(echo "${file}.back")
68 ( cp -f ${file} ${tmp_file} ;
70 mv ${tmp_file} "${file}" ;
71 rm -f ${tmp_file} )
77 tmp_file=$(echo "${file}.back")
80 mv ${tmp_file} "${file}" ;
[all …]
/dports/databases/xtrabackup8/percona-xtrabackup-8.0.14/storage/innobase/xtrabackup/src/
H A Dds_tmpfile.cc82 ds_tmp_file_t *tmp_file; in tmpfile_open() local
116 tmp_file = (ds_tmp_file_t *)(file + 1); in tmpfile_open()
117 tmp_file->file = file; in tmpfile_open()
120 tmp_file->orig_path = (char *)tmp_file + sizeof(ds_tmp_file_t); in tmpfile_open()
122 tmp_file->fd = fd; in tmpfile_open()
127 file->ptr = tmp_file; in tmpfile_open()
131 tmp_file->list.data = tmp_file; in tmpfile_open()
165 ds_tmp_file_t *tmp_file; in tmpfile_deinit() local
194 dst_file = ds_open(pipe_ctxt, tmp_file->orig_path, &tmp_file->mystat); in tmpfile_deinit()
198 tmp_file->orig_path); in tmpfile_deinit()
[all …]
/dports/net-p2p/deluge-cli/deluge-2.0.3/deluge/tests/
H A Dtest_metafile.py36 tmp_file.write(b'a' * (312 * 1024))
38 tmp_file.write(b'b' * (2354 * 1024))
40 tmp_file.write(b'c' * (11 * 1024))
42 tmp_fd, tmp_file = tempfile.mkstemp('.torrent')
45 check_torrent(tmp_file)
52 os.remove(tmp_file)
58 with open(tmp_path, 'wb') as tmp_file:
59 tmp_file.write(b'a' * (2314 * 1024))
61 tmp_fd, tmp_file = tempfile.mkstemp('.torrent')
64 check_torrent(tmp_file)
[all …]
/dports/databases/pgbarman/barman-release-2.17/tests/
H A Dtest_infofile.py152 tmp_file.write("dummy=15\n")
154 dummy.load(tmp_file.strpath)
160 dummy.save(tmp_file.strpath)
165 tmp_file.write("dummy=17\n")
185 tmp_file.write("dummy_content\n")
186 stat = os.stat(tmp_file.strpath)
200 tmp_file.write("dummy_content\n")
214 tmp_file.write("dummy_content\n")
216 tmp_file.strpath,
233 tmp_file.write("dummy_content\n")
[all …]
/dports/textproc/html2text/html2text-1.3.2a/
H A Dconfigure34 cat <<EOF >$tmp_file.C;
59 cat <<EOF >$tmp_file.C;
78 if $CXX $tmp_file.C $i -o $tmp_file 2>/dev/null; then
99 cat >$tmp_file.C <<EOF;
109 if $CXX $tmp_file.C $i -o $tmp_file 2>/dev/null; then
130 cat <<EOF >$tmp_file.C;
146 if eval "$CXX $tmp_file.C $i -o $tmp_file 2>/dev/null"; then
167 cat <<EOF >$tmp_file.C;
177 if eval "$CXX $tmp_file.C $i -o $tmp_file 2>/dev/null"; then
197 cat <<EOF >$tmp_file.C;
[all …]
/dports/math/moab/fathomteam-moab-7bde9dfb84a8/test/io/
H A Dstl_test.cpp21 static const char* tmp_file = "test.stl"; variable
55 remove( tmp_file ); in main()
94 read_file( moab, tmp_file, "ASCII" ); in test_write_ascii()
95 remove( tmp_file ); in test_write_ascii()
111 remove( tmp_file ); in test_type_option()
121 read_file_( moab, tmp_file ); in test_detect_type()
123 remove( tmp_file ); in test_detect_type()
139 remove( tmp_file ); in test_endian_option()
148 remove( tmp_file ); in test_big_endian()
157 remove( tmp_file ); in test_little_endian()
[all …]
/dports/games/tomenet/tomenet-4.6.0/src/preproc/
H A Dpreproc.c91 f_out = fopen(tmp_file, "w");
115 f_in = fopen(tmp_file, "r");
173 fputs(tmp_file, f_out);
185 fputs(tmp_file, f_out);
196 rename(tmp_file, line);
204 f_in = fopen(tmp_file, "r");
280 strcat(line, tmp_file);
285 strcat(line, tmp_file);
289 strcat(line, tmp_file);
299 remove(tmp_file);
[all …]
/dports/devel/p5-App-Info/App-Info-0.57/t/
H A Dutil.t40 my $tmp_file = $util->catfile($tmpdir, 'app-info.tst');
41 open F, ">$tmp_file" or die "Cannot open $tmp_file: $!\n";
47 $tmp_file), $tmp_file, "Test first_file" );
51 $tmp_file, "Test first_cat_path" );
56 $tmp_file, "Test first_cat_path with array" );
82 is( $util->search_file($tmp_file, qr/(of.*\?)/), 'of the who?',
86 is_deeply( [$util->search_file($tmp_file, qr/(of\sthe)\s+(who\?)/)],
89 ok( ! defined $util->search_file($tmp_file, qr/(__ickypoo__)/),
93 is_deeply([$util->multi_search_file($tmp_file, qr/(of.*\?)/, qr/(di.*e)/)],
105 is_deeply([$util->multi_search_file($tmp_file, qr/(of\sthe)\s+(who\?)/,
[all …]

12345678910>>...70