Home
last modified time | relevance | path

Searched refs:truncate (Results 1 – 25 of 10310) sorted by relevance

12345678910>>...413

/dports/math/maxima/maxima-5.43.2/tests/
H A Drtest_round.mac139 truncate(0);
154 truncate(-3);
193 truncate(n);
214 truncate(x) + truncate(-x);
217 truncate(a-b) + truncate(b-a);
220 truncate(truncate(a));
221 truncate(a)$
223 truncate(truncate(rat(a)));
224 truncate(a)$
253 truncate(-truncate(-x));
[all …]
/dports/lang/zig-devel/zig-0.9.0/test/behavior/
H A Dtruncate.zig6 const y = @truncate(u8, x);
10 test "truncate.u0.literal" {
11 var z = @truncate(u0, 0);
15 test "truncate.u0.const" {
17 var z = @truncate(u0, c0);
21 test "truncate.u0.var" {
23 var z = @truncate(u0, d);
33 test "truncate.i0.literal" {
34 var z = @truncate(i0, 0);
38 test "truncate.i0.const" {
[all …]
/dports/lang/zig/zig-0.9.0/test/behavior/
H A Dtruncate.zig6 const y = @truncate(u8, x);
10 test "truncate.u0.literal" {
11 var z = @truncate(u0, 0);
15 test "truncate.u0.const" {
17 var z = @truncate(u0, c0);
21 test "truncate.u0.var" {
23 var z = @truncate(u0, d);
33 test "truncate.i0.literal" {
34 var z = @truncate(i0, 0);
38 test "truncate.i0.const" {
[all …]
/dports/databases/mariadb105-client/mariadb-10.5.15/storage/columnstore/columnstore/mysql-test/columnstore/csinternal/devregression/r/
H A Dmcs7060_regression_bug3270.result52 select truncate(c1, 0), truncate(c1, 1), truncate(c1, 2) from bug3270 order by 1,2,3;
53 truncate(c1, 0) truncate(c1, 1) truncate(c1, 2)
72 select truncate(c2, 0), truncate(c2, 1), truncate(c2, 2) from bug3270 order by 1,2,3;
73 truncate(c2, 0) truncate(c2, 1) truncate(c2, 2)
92 select truncate(c2 ,2), count(*) from bug3270 group by 1 order by 1, 2;
93 truncate(c2 ,2) count(*)
/dports/databases/mariadb105-server/mariadb-10.5.15/storage/columnstore/columnstore/mysql-test/columnstore/csinternal/devregression/r/
H A Dmcs7060_regression_bug3270.result52 select truncate(c1, 0), truncate(c1, 1), truncate(c1, 2) from bug3270 order by 1,2,3;
53 truncate(c1, 0) truncate(c1, 1) truncate(c1, 2)
72 select truncate(c2, 0), truncate(c2, 1), truncate(c2, 2) from bug3270 order by 1,2,3;
73 truncate(c2, 0) truncate(c2, 1) truncate(c2, 2)
92 select truncate(c2 ,2), count(*) from bug3270 group by 1 order by 1, 2;
93 truncate(c2 ,2) count(*)
/dports/lang/elixir/elixir-1.12.3/lib/logger/test/logger/
H A Dutils_test.exs8 defp inspect(format, args, truncate \\ 10) do
10 |> Logger.Utils.scan_inspect(args, truncate)
14 test "truncate/2" do
16 assert truncate("foo", 4) == "foo"
17 assert truncate("foo", 3) == "foo"
18 assert truncate("foo", 2) == ["fo", " (truncated)"]
21 assert truncate("olá", 2) == ["ol", " (truncated)"]
23 assert truncate("olá", 4) == "olá"
31 assert truncate('olá', 4) == 'olá'
36 assert truncate('ol' ++ "á", 4) == 'ol' ++ "á"
[all …]
/dports/lang/elixir-devel/elixir-1.13.1/lib/logger/test/logger/
H A Dutils_test.exs8 defp inspect(format, args, truncate \\ 10) do
10 |> Logger.Utils.scan_inspect(args, truncate)
14 test "truncate/2" do
16 assert truncate("foo", 4) == "foo"
17 assert truncate("foo", 3) == "foo"
18 assert truncate("foo", 2) == ["fo", " (truncated)"]
21 assert truncate("olá", 2) == ["ol", " (truncated)"]
23 assert truncate("olá", 4) == "olá"
31 assert truncate('olá', 4) == 'olá'
36 assert truncate('ol' ++ "á", 4) == 'ol' ++ "á"
[all …]
/dports/sysutils/coreutils/coreutils-8.32/tests/misc/
H A Dtruncate-parameters.sh20 print_ver_ truncate
24 returns_ 1 truncate --size=0 || fail=1
27 returns_ 1 truncate file || fail=1
30 returns_ 1 truncate --size=0 --reference=file file || fail=1
36 returns_ 1 truncate --size="invalid" file || fail=1
39 returns_ 1 truncate --size="> -1" file || fail=1
40 truncate --size=" >1" file || fail=1 #file now 1
41 truncate --size=" +1" file || fail=1 #file now 2
45 truncate --size=" +1" -r file file || fail=1 #file now 3
49 truncate -r file file || fail=1 #file still 3
[all …]
/dports/misc/gnuls/coreutils-8.30/tests/misc/
H A Dtruncate-parameters.sh20 print_ver_ truncate
24 returns_ 1 truncate --size=0 || fail=1
27 returns_ 1 truncate file || fail=1
30 returns_ 1 truncate --size=0 --reference=file file || fail=1
36 returns_ 1 truncate --size="invalid" file || fail=1
39 returns_ 1 truncate --size="> -1" file || fail=1
40 truncate --size=" >1" file || fail=1 #file now 1
41 truncate --size=" +1" file || fail=1 #file now 2
45 truncate --size=" +1" -r file file || fail=1 #file now 3
49 truncate -r file file || fail=1 #file still 3
[all …]
/dports/graphics/netpbm/netpbm-10.91.01/test/
H A Dpamfix.test8 pbmmake -g 5 5 | pamfix -truncate -plain
11 pamfix -truncate -plain
14 pamfix -truncate -plain
17 pamfix -truncate -plain
24 pamfix -truncate -plain
27 pamfix -truncate -plain
29 pamfix -truncate -plain
38 pamfix -change -truncate -plain
41 pamfix -clip -truncate -plain
58 echo -e "P1\n5 5" | pamfix -truncate -plain > ${test_out} || \
[all …]
/dports/net/nbdkit/nbdkit-1.20.4/tests/
H A Dtest-offset-truncate.sh45 nbdkit -U - --filter=offset --filter=truncate pattern size=1024 \
51 nbdkit -U - --filter=offset --filter=truncate pattern size=1024 \
57 nbdkit -U - --filter=offset --filter=truncate memory size=1024 \
84 do_test_info truncate=1025 offset=513 range=512
88 expect_fail do_test_info truncate=513 offset=2 range=512
95 expect_fail do_test_read512 truncate=511
96 expect_fail do_test_zero512 truncate=511
97 expect_fail do_test_read512 truncate=511 range=512
98 expect_fail do_test_zero512 truncate=511 range=512
104 do_test_info truncate=4096 offset=2047 range=512
[all …]
H A Dtest-partitioning5.sh54 truncate -s 1 partitioning5.p1
55 truncate -s 10M partitioning5.p2
56 truncate -s 512 partitioning5.p3
58 truncate -s 1 partitioning5.p5
59 truncate -s 512 partitioning5.p6
60 truncate -s 1 partitioning5.p7
61 truncate -s 1 partitioning5.p8
62 truncate -s 10M partitioning5.p9
63 truncate -s 512 partitioning5.p10
64 truncate -s 1 partitioning5.p11
[all …]
/dports/math/py-sympy/sympy-1.9/sympy/series/tests/
H A Dtest_fourier.py23 fourier_series((x, -pi, pi)).truncate()) == fp.truncate()
37 assert fo.truncate() == 2*sin(x) - sin(2*x) + (2*sin(3*x) / 3)
38 assert fe.truncate() == -4*cos(x) + cos(2*x) + pi**2 / 3
39 assert fp.truncate() == 2*sin(x) + (2*sin(3*x) / 3) + pi / 2
41 fot = fo.truncate(n=None)
88 assert s.truncate(4) == \
91 assert s.truncate(4) == \
99 assert fes.truncate() == 4*cos(x) - cos(2*x) + 2*pi**2 / 3
105 assert fos.truncate() == 6*sin(x) - 3*sin(2*x) + 2*sin(3*x)
124 assert (-fe).truncate() == +4*cos(x) - cos(2*x) - pi**2 / 3
[all …]
H A Dtest_formal.py192 assert fps(f, x).truncate() == \
197 assert fps(f, x).truncate() == \
210 assert fps(f, x).truncate() == \
212 assert fps(f, x, dir=1).truncate() == fps(f, x, dir=-1).truncate()
247 assert fps(f, x).truncate() == \
254 assert fps(f, x).truncate() == \
272 assert fps(f, x).truncate() == \
288 assert fps(f, x).truncate() == \
296 assert fps(f, x).truncate() == \
436 assert fsum.truncate() == \
[all …]
/dports/textproc/miller/miller-5.10.2/go/reg-test/expected/
H A Dcase-verb-truncate.sh.out2 mlr put $y=truncate($x, 0)
5 mlr put $y=truncate($x, 1)
8 mlr put $y=truncate($x, 2)
11 mlr put $y=truncate($x, 3)
14 mlr put $y=truncate($x, 4)
17 mlr put $y=truncate($x, 5)
20 mlr put $y=truncate($x, 0)
23 mlr put $y=truncate($x, 1)
26 mlr put $y=truncate($x, 2)
29 mlr put $y=truncate($x, 3)
[all …]
/dports/net/opennx/opennx-0.16/packaging/win32/pulse/patches/
H A Dlibsndfile-win32.patch8 -static int truncate (const char *filename, int ignored) ;
17 - if (truncate (filename, 0) < 0)
26 - if (truncate (filename, 0) < 0)
35 - if (truncate (filename, 0) < 0)
44 - if (truncate (filename, 0) < 0)
53 - if (truncate (filename, 0) < 0)
62 - if (truncate (filename, 0) < 0)
71 -truncate (const char *filename, int ignored)
83 -static int truncate (const char *filename, int ignored) ;
92 - if (truncate (filename, 0) < 0)
[all …]
/dports/devel/p5-Devel-KYTProf/Devel-KYTProf-0.05/t/
H A Dmemcached.t31 truncate(STDERR, 0);
37 truncate(STDERR, 0);
43 truncate(STDERR, 0);
49 truncate(STDERR, 0);
55 truncate(STDERR, 0);
61 truncate(STDERR, 0);
67 truncate(STDERR, 0);
79 truncate(STDERR, 0);
85 truncate(STDERR, 0);
91 truncate(STDERR, 0);
[all …]
/dports/lang/php81/php-8.1.1/ext/standard/tests/file/
H A Dftruncate_variation1.phpt48 /* truncate it to size 0 */
71 -- Testing ftruncate(): truncate file to size = 0 --
79 -- Testing ftruncate(): truncate file to size = 0 --
87 -- Testing ftruncate(): truncate file to size = 0 --
95 -- Testing ftruncate(): truncate file to size = 0 --
103 -- Testing ftruncate(): truncate file to size = 0 --
111 -- Testing ftruncate(): truncate file to size = 0 --
119 -- Testing ftruncate(): truncate file to size = 0 --
127 -- Testing ftruncate(): truncate file to size = 0 --
135 -- Testing ftruncate(): truncate file to size = 0 --
[all …]
/dports/lang/php80/php-8.0.15/ext/standard/tests/file/
H A Dftruncate_variation1-win32-mb.phpt48 /* truncate it to size 0 */
71 -- Testing ftruncate(): truncate file to size = 0 --
79 -- Testing ftruncate(): truncate file to size = 0 --
87 -- Testing ftruncate(): truncate file to size = 0 --
95 -- Testing ftruncate(): truncate file to size = 0 --
103 -- Testing ftruncate(): truncate file to size = 0 --
111 -- Testing ftruncate(): truncate file to size = 0 --
119 -- Testing ftruncate(): truncate file to size = 0 --
127 -- Testing ftruncate(): truncate file to size = 0 --
135 -- Testing ftruncate(): truncate file to size = 0 --
[all …]
H A Dftruncate_variation1-win32.phpt48 /* truncate it to size 0 */
71 -- Testing ftruncate(): truncate file to size = 0 --
79 -- Testing ftruncate(): truncate file to size = 0 --
87 -- Testing ftruncate(): truncate file to size = 0 --
95 -- Testing ftruncate(): truncate file to size = 0 --
103 -- Testing ftruncate(): truncate file to size = 0 --
111 -- Testing ftruncate(): truncate file to size = 0 --
119 -- Testing ftruncate(): truncate file to size = 0 --
127 -- Testing ftruncate(): truncate file to size = 0 --
135 -- Testing ftruncate(): truncate file to size = 0 --
[all …]
H A Dftruncate_variation1.phpt48 /* truncate it to size 0 */
71 -- Testing ftruncate(): truncate file to size = 0 --
79 -- Testing ftruncate(): truncate file to size = 0 --
87 -- Testing ftruncate(): truncate file to size = 0 --
95 -- Testing ftruncate(): truncate file to size = 0 --
103 -- Testing ftruncate(): truncate file to size = 0 --
111 -- Testing ftruncate(): truncate file to size = 0 --
119 -- Testing ftruncate(): truncate file to size = 0 --
127 -- Testing ftruncate(): truncate file to size = 0 --
135 -- Testing ftruncate(): truncate file to size = 0 --
[all …]
/dports/lang/php73/php-7.3.33/ext/standard/tests/file/
H A Dftruncate_variation1-win32-mb.phpt53 /* truncate it to size 0 */
76 -- Testing ftruncate(): truncate file to size = 0 --
84 -- Testing ftruncate(): truncate file to size = 0 --
92 -- Testing ftruncate(): truncate file to size = 0 --
100 -- Testing ftruncate(): truncate file to size = 0 --
108 -- Testing ftruncate(): truncate file to size = 0 --
116 -- Testing ftruncate(): truncate file to size = 0 --
124 -- Testing ftruncate(): truncate file to size = 0 --
132 -- Testing ftruncate(): truncate file to size = 0 --
140 -- Testing ftruncate(): truncate file to size = 0 --
[all …]
H A Dftruncate_variation1-win32.phpt53 /* truncate it to size 0 */
76 -- Testing ftruncate(): truncate file to size = 0 --
84 -- Testing ftruncate(): truncate file to size = 0 --
92 -- Testing ftruncate(): truncate file to size = 0 --
100 -- Testing ftruncate(): truncate file to size = 0 --
108 -- Testing ftruncate(): truncate file to size = 0 --
116 -- Testing ftruncate(): truncate file to size = 0 --
124 -- Testing ftruncate(): truncate file to size = 0 --
132 -- Testing ftruncate(): truncate file to size = 0 --
140 -- Testing ftruncate(): truncate file to size = 0 --
[all …]
H A Dftruncate_variation1.phpt53 /* truncate it to size 0 */
76 -- Testing ftruncate(): truncate file to size = 0 --
84 -- Testing ftruncate(): truncate file to size = 0 --
92 -- Testing ftruncate(): truncate file to size = 0 --
100 -- Testing ftruncate(): truncate file to size = 0 --
108 -- Testing ftruncate(): truncate file to size = 0 --
116 -- Testing ftruncate(): truncate file to size = 0 --
124 -- Testing ftruncate(): truncate file to size = 0 --
132 -- Testing ftruncate(): truncate file to size = 0 --
140 -- Testing ftruncate(): truncate file to size = 0 --
[all …]
/dports/lang/php74/php-7.4.27/ext/standard/tests/file/
H A Dftruncate_variation1.phpt53 /* truncate it to size 0 */
76 -- Testing ftruncate(): truncate file to size = 0 --
84 -- Testing ftruncate(): truncate file to size = 0 --
92 -- Testing ftruncate(): truncate file to size = 0 --
100 -- Testing ftruncate(): truncate file to size = 0 --
108 -- Testing ftruncate(): truncate file to size = 0 --
116 -- Testing ftruncate(): truncate file to size = 0 --
124 -- Testing ftruncate(): truncate file to size = 0 --
132 -- Testing ftruncate(): truncate file to size = 0 --
140 -- Testing ftruncate(): truncate file to size = 0 --
[all …]

12345678910>>...413