/freebsd/contrib/bc/tests/bc/scripts/ |
H A D | atan.txt | 1 scale = 1 2 a(.267) 3 a(1) 5 a(.267) 6 a(1) 8 a(.267) 9 a(1) 11 a(.267) 12 a(1) 14 a(.267) [all …]
|
/freebsd/crypto/openssl/test/recipes/10-test_bn_data/ |
H A D | bnsum.txt | 4 # this file except in compliance with the License. You can obtain a copy 10 # These test vectors satisfy A + B = Sum. 13 A = 0 17 A = c590e57ee64fced3ca84d4bb013bba7d633e68b2ff4e27bf1db43f386dbfcce501f112b7fff6fb9436a576ccfccce12… 21 A = -c590e57ee64fced3ca84d4bb013bba7d633e68b2ff4e27bf1db43f386dbfcce501f112b7fff6fb9436a576ccfccce1… 25 A = c590e57ee64fced3ca84d4bb013bba7d633e68b2ff4e27bf1db43f386dbfcce501f112b7fff6fb9436a576ccfccce12… 29 A = c590e57ee64fced18aff6e2f0c6ac05625b1e94f394f42470cae14d12cadea4f5ab6b9d77225fe3b4903825966c7875… 33 A = c590e57ee64fced18aff6e2f0c6ac05625b1e94f394f42470cae14d12cadea4f5ab6b9d77225fe3b4903825966c7875… 37 A = -c590e57ee64fced18aff6e2f0c6ac05625b1e94f394f42470cae14d12cadea4f5ab6b9d77225fe3b4903825966c787… 41 A = -c590e57ee64fced18aff6e2f0c6ac05625b1e94f394f42470cae14d12cadea4f5ab6b9d77225fe3b4903825966c787… [all …]
|
H A D | bngcd.txt | 4 # this file except in compliance with the License. You can obtain a copy 10 # These test vectors satisfy gcd(A, B) = GCD. 13 A = 0 17 # gcd(1,0) = 1 18 A = 1 20 GCD = 1 22 # gcd(1,1) = 1 23 A = 1 24 B = 1 25 GCD = 1 [all …]
|
H A D | bnmod.txt | 4 # this file except in compliance with the License. You can obtain a copy 8 # These test vectors satisfy A * B = ModMul (mod M) and 0 <= ModMul < M. 14 A = 6b18497fed9befdf22a01d988d34213f6687d8a96e86c188dea4172e7c6095a0d18d3c86c0f5a1af9c6e3aaeb6baac2… 15 B = 1a058d99397db0d209f01212dd4023ae01b15da04fe62d1f76f21622b2695558c67d706c535ca7f19b36f8ef2d508ff… 19 A = 16c92f77c139706430f396f72ec7adb045745cd9f5899b0074d9955bd32de66f57c05c7929b575312a7f1c04f19e724… 24 A = -6715098ab2ba3ea1e6341e89936e3ae913cdd450dc831c8534071f3c362841e47d88f2cd29c0d1239aa0949f3685f1… 29 A = -11fec955948e007b59fc50e729941ee9d43d552b9411510b73f6b4faafc0465f261f8381d96f647267f72175883172… 34 A = 7713413d87f1e50840255927ff27bad79e5de5898725a876e4647913158cda9f5fa031dd7fc11d2e8130a0ba99e8706… 39 A = 17d806d7c76aa8acb051fd9c0c782443f1b1b6387455f7cfb737c41658d0459bda5d13587055eafb87ad8d209bccac1… 44 A = -6d84cdf18a2f53fe496248fafef183914d55c42267af3dd42a39515e80cf29211fd58454986f5fb6afb56170dd9865… [all …]
|
/freebsd/contrib/libarchive/libarchive/test/ |
H A D | test_read_format_gtar_sparse.c | 8 * 1. Redistributions of source code must retain the above copyright 16 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 34 { 1000000, 1, "a" }, 35 { 2000000, 1, "a" }, 40 { 1000000, 1, "a" }, 41 { 2000000, 1, "a" }, 184 struct archive *a; verify_archive_file() local [all...] |
H A D | test_read_format_rar.c | 10 * 1. Redistributions of source code must retain the above copyright 18 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 33 struct archive *a; in DEFINE_TEST() local 38 assert((a = archive_read_new()) != NULL); in DEFINE_TEST() 39 assertA(0 == archive_read_support_filter_all(a)); in DEFINE_TEST() 40 assertA(0 == archive_read_set_format(a, ARCHIVE_FORMAT_RAR)); in DEFINE_TEST() 41 assertA(0 == archive_read_open_filename(a, reffile, 10240)); in DEFINE_TEST() 42 assertA(0 == archive_read_next_header(a, &ae)); in DEFINE_TEST() 43 assertEqualIntA(a, ARCHIVE_OK, archive_read_close(a)); in DEFINE_TEST() 54 struct archive *a; DEFINE_TEST() local 137 struct archive *a; DEFINE_TEST() local 172 struct archive *a; DEFINE_TEST() local 206 struct archive *a; DEFINE_TEST() local 337 struct archive *a; DEFINE_TEST() local 451 struct archive *a; DEFINE_TEST() local 554 struct archive *a; DEFINE_TEST() local 600 struct archive *a; DEFINE_TEST() local 703 struct archive *a; DEFINE_TEST() local 755 struct archive *a; DEFINE_TEST() local 807 struct archive *a; DEFINE_TEST() local 906 struct archive *a; DEFINE_TEST() local 1033 struct archive *a; DEFINE_TEST() local 1135 struct archive *a; DEFINE_TEST() local 1226 struct archive *a; DEFINE_TEST() local 1266 struct archive *a; DEFINE_TEST() local 1314 struct archive *a; DEFINE_TEST() local 1454 struct archive *a; DEFINE_TEST() local 1574 test_read_format_rar_multivolume_uncompressed_files_helper(struct archive * a) test_read_format_rar_multivolume_uncompressed_files_helper() argument 1645 struct archive *a; DEFINE_TEST() local 3766 struct archive *a; DEFINE_TEST() local 3792 struct archive *a; DEFINE_TEST() local [all...] |
H A D | test_archive_pathmatch.c | 8 * 1. Redistributions of source code must retain the above copyright 16 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 36 * [...] - matches any of a set of chars, '-' specifies a range, 39 * The specification in SUSv2 is a bit incomplete, I assume the following: 42 * TODO: Figure out if there's a good way to extend this to handle 43 * Windows paths that use '\' as a path separator. <sigh> 48 assertEqualInt(1, archive_pathmatch("a/b/c", "a/ in DEFINE_TEST() [all...] |
/freebsd/crypto/openssl/crypto/sha/asm/ |
H A D | keccak1600-c64x.pl | 5 # this file except in compliance with the License. You can obtain a copy 21 # with bit interleaving. 64-bit values are simply split between A- and 22 # B-files, with A-file holding least significant halves. This works 25 # [incredible for a 32-bit processor] 10.9 cycles per processed byte 30 my @A = map([ $_, ($_+1), ($_+2), ($_+3), ($_+4) ], (5,10,16,21,26)); 31 $A[1][4] = 31; # B14 is reserved, A14 is used as iota[] 32 ($A[3][0],$A[4][1]) = ($A[4][1],$A[3][0]); 33 my @C = (0..4,$A[3][0],$A[4][0]); 36 my @rhotates = ([ 0, 1, 62, 28, 27 ], 45 if ($rot&1) { [all …]
|
H A D | keccak1600-armv8.pl | 5 # this file except in compliance with the License. You can obtain a copy 39 # hash] as long as vector instructions issue rate is limited to 1 per 62 # $output is the last argument if it looks like a file (it has an extension) 63 # $flavour is the first argument if it doesn't look like a file 67 $0 =~ m/(.*[\/\\])[^\/\\]+$/; $dir=$1; 76 my @rhotates = ([ 0, 1, 62, 28, 27 ], 119 my @A = map([ "x$_", "x".($_+1), "x".($_+2), "x".($_+3), "x".($_+4) ], 121 $A[3][3] = "x25"; # x18 is reserved 136 eor $C[0],$A[0][0],$A[1][0] 137 stp $A[0][4],$A[1][4],[sp,#0] // offload pair... [all …]
|
H A D | keccak1600-ppc64.pl | 5 # this file except in compliance with the License. You can obtain a copy 40 # $output is the last argument if it looks like a file (it has an extension) 41 # $flavour is the first argument if it doesn't look like a file 54 $0 =~ m/(.*[\/\\])[^\/\\]+$/; $dir=$1; 68 my @A = map([ "r$_", "r".($_+1), "r".($_+2), "r".($_+3), "r".($_+4) ], 70 $A[1][1] = "r6"; # r13 is reserved 74 my @rhotates = ([ 0, 1, 62, 28, 27 ], 91 xor $C[0],$A[0][0],$A[1][0] ; Theta 92 std $A[0][4],`$TEMP+0`($sp) 93 xor $C[1],$A[0][1],$A[1][1] [all …]
|
H A D | keccak1600-s390x.pl | 5 # this file except in compliance with the License. You can obtain a copy 23 # pointers to T[][] and A[][] at the end of round. Since number of 24 # rounds is even, last round writes to A[][] and everything works out. 33 # $output is the last argument if it looks like a file (it has an extension) 34 # $flavour is the first argument if it doesn't look like a file 48 my @A = map([ 8*$_, 8*($_+1), 8*($_+2), 8*($_+3), 8*($_+4) ], (0,5,10,15,20)); 50 my @C = map("%r$_",(0,1,5..7)); 59 my @rhotates = ([ 0, 1, 62, 28, 27 ], 75 lg @C[0],$A[4][0]($src) 76 lg @C[1],$A[4][1]($src) [all …]
|
/freebsd/crypto/openssl/crypto/sha/ |
H A D | keccak1600.c | 5 * this file except in compliance with the License. You can obtain a copy 14 size_t SHA3_absorb(uint64_t A[5][5], const unsigned char *inp, size_t len, 16 void SHA3_squeeze(uint64_t A[5][5], unsigned char *out, size_t len, size_t r); 52 #define ROL32(a, offset) (((a) << (offset)) | ((a) >> ((32 - (offset)) & 31))) argument 63 if (offset & 1) { in ROL64() 66 offset >>= 1; in ROL64() 68 lo = ROL32(tmp, offset + 1); in ROL64() 70 offset >>= 1; in ROL64() 80 { 0, 1, 62, 28, 27 }, 120 * references to A[x,y] in the specification are presented as A[y][x]. [all …]
|
/freebsd/lib/libc/regex/grot/ |
H A D | tests | 9 # expected to fail. If there is a fourth field, it is the substring that 10 # the RE is expected to match. If there is a fifth field, it is a comma- 12 # no match for that one. In both the fourth and fifth fields, a (sub)field 14 # a null string followed by the stuff after the @; this provides a way to 20 # b RE is a BRE, not an ERE 21 # & try it as both an ERE and a BRE 36 a & a a 39 a|b|c - abc a 42 a(b)c - abc abc 43 a\(b\)c b abc abc [all …]
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/channel_program/lua_core/ |
H A D | tst.lib_table.lua | 6 --* a copy of this software and associated documentation files (the 18 --* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 36 if res[1] and coroutine.status(co) == "suspended" then 37 res[1] = false 39 return table.unpack(res, 1, res.n) 46 local X1, X2 = 0, 1 61 local x,y,z,a,n 62 a = {}; lim = 2000 63 for i=1, lim do a[i]=i end 64 assert(select(lim, unpack(a)) == lim and select('#', unpack(a)) == lim) [all …]
|
H A D | tst.lib_base.lua | 6 --* a copy of this software and associated documentation files (the 18 --* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 44 a={name = "NAME"}; setmetatable(a, {__metatable = "xuxu", 46 assert(getmetatable(a) == "xuxu") 47 assert(tostring(a) == "NAME") 49 local a, t = {10,20,30; x="10", y="20"}, {} 50 assert(setmetatable(a,t) == a) 51 assert(getmetatable(a) == t) 52 assert(setmetatable(a,nil) == a) 53 assert(getmetatable(a) == nil) [all …]
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_create/ |
H A D | zfs_create.cfg | 8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 41 export BYND_NEST_LIMIT="a/a/a/\ 42 a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/\ 43 a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/\ 44 a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/\ 45 a/a" 48 # a volume that great than 1TB on 32-bit 50 # - max volume size is 1TB on 32-bit systems (s10u2) 53 export VOL_LIMIT_KEYWORD1="1TB on 32-bit" 57 set -A size "8k" "8K" "35K" "1m" "1M" "1mb" "1mB" "1Mb" "1MB" "1g" "1G" \ [all …]
|
/freebsd/contrib/netbsd-tests/lib/libc/regex/data/ |
H A D | repet_bounded.in | 16 {1 C BADRPT 17 {1} C BADRPT 19 a{b b a{b a{b 20 a{b C BADRPT 22 a{1}b - ab ab 23 a\{1\}b b ab ab 24 a{1,}b - ab ab 25 a\{1,\}b b ab ab 26 a{1,2}b - aab aab 27 a\{1,2\}b b aab aab [all …]
|
/freebsd/contrib/netbsd-tests/lib/libc/regex/data/att/ |
H A D | nullsubexpr.dat | 3 E (a*)* a (0,1)(0,1) 7 E (a*)+ a (0,1)(0,1) 11 E (a+)* a (0,1)(0,1) 15 E (a+)+ a (0,1)(0,1) 20 E ([a]*)* a (0,1)(0,1) 24 E ([a]*)+ a (0,1)(0,1) 28 E ([^b]*)* a (0,1)(0,1) 32 E ([ab]*)* a (0,1)(0,1) 36 E SAME b (0,1)(0,1) 39 E ([^a]*)* b (0,1)(0,1) [all …]
|
/freebsd/contrib/one-true-awk/testdir/ |
H A D | T.expr | 5 awk=${awk-../a.out} 10 awk = "../a.out" 12 NF == 0 || $1 ~ /^#/ { 15 $1 ~ /try/ { # new test 24 if (NF == 0) # blank line terminates a sequence 26 input = $1 51 # $1 $2 $3 output1 (\t for tab, \n for newline, 52 # $1 $2 $3 output2 ("" for null) 57 try { print ($1 == 1) ? "yes" : "no" } 58 1 yes [all …]
|
/freebsd/contrib/netbsd-tests/lib/libc/string/ |
H A D | t_strrchr.c | 25 unsigned int a, t; in ATF_TC_BODY() local 38 { "a", 0, 0, 0 }, in ATF_TC_BODY() 47 { "/", 1, 0, 0 }, in ATF_TC_BODY() 48 { "//", 1, 0, 1 }, in ATF_TC_BODY() 49 { "/a", 1, 0, 0 }, in ATF_TC_BODY() 50 { "/a/", 1, 0, 2 }, in ATF_TC_BODY() 51 { "/ab", 1, 0, 0 }, in ATF_TC_BODY() 52 { "/ab/", 1, 0, 3 }, in ATF_TC_BODY() 53 { "/abc", 1, 0, 0 }, in ATF_TC_BODY() 54 { "/abc/", 1, 0, 4 }, in ATF_TC_BODY() [all …]
|
/freebsd/contrib/bc/tests/bc/errors/ |
H A D | 01.txt | 1 a(s691027461l[ ba]) 3 a 4 a 9 a 13 a 18 a 22 a 25 a 26 a 32 a(s691027461l[ ba]) [all …]
|
/freebsd/secure/lib/libcrypto/man/man3/ |
H A D | d2i_RSAPrivateKey.3 | 19 .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left 20 .\" double quote, and \*(R" will give a right double quote. \*(C+ will 21 .\" give a nicer C++. Capital omega is used to do unbreakable dashes and 29 . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch 30 . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch 62 . tm Index:\\$1\t\\n%\t"\\$2" 81 . ds #H ((1u-(\\\\n(.fu%2u))*.13m) 101 . ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u' 122 . ds o a 123 . ds d- d\h'-1'\(ga [all …]
|
/freebsd/crypto/openssh/regress/unittests/match/ |
H A D | tests.c | 26 ASSERT_INT_EQ(match_pattern("", ""), 1); in tests() 34 ASSERT_INT_EQ(match_pattern("", "*"), 1); in tests() 35 ASSERT_INT_EQ(match_pattern("a", "?"), 1); in tests() 36 ASSERT_INT_EQ(match_pattern("aa", "a?"), 1); in tests() 37 ASSERT_INT_EQ(match_pattern("a", "*"), 1); in tests() 38 ASSERT_INT_EQ(match_pattern("aa", "a*"), 1); in tests() 39 ASSERT_INT_EQ(match_pattern("aa", "?*"), 1); in tests() 40 ASSERT_INT_EQ(match_pattern("aa", "**"), 1); in tests() 41 ASSERT_INT_EQ(match_pattern("aa", "?a"), 1); in tests() 42 ASSERT_INT_EQ(match_pattern("aa", "*a"), 1); in tests() [all …]
|
/freebsd/contrib/arm-optimized-routines/math/ |
H A D | pow_log_data.c | 10 #define N (1 << POW_LOG_TABLE_BITS) 13 .ln2hi = 0x1.62e42fefa3800p-1, 20 -0x1p-1, 33 log(z/c) = poly(z/c - 1) 35 where z is in [0x1.69555p-1; 0x1.69555p0] which is split into N subintervals 38 tab[i].invc = 1/c 42 where c is chosen near the center of the subinterval such that 1/c has only a 43 few precision bits so z/c - 1 is exactly representible as double: 45 1/c = center < 1 ? round(N/center)/N : round(2*N/center)/N/2 47 Note: |z/c - 1| < 1/N for the chosen c, |log(c) - logc - logctail| < 0x1p-97, [all …]
|
/freebsd/contrib/googletest/googlemock/test/ |
H A D | gmock-spec-builders_test.cc | 21 // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 30 // Google Mock - a framework for writing C++ mock classes. 69 // This line verifies that a mock method can take a by-reference 74 // Tells Google Mock how to print a value of type Incomplete. 78 // Even though this mock class contains a mock method that takes in TEST() 94 // A type that's not default constructible. 138 // Tests that EXPECT_CALL and ON_CALL compile in a presence of macro 139 // redefining a mock method name. This could happen, for example, when 161 // Tests that a method with expanded name compiles. 168 // and returns a correct value, too. [all …]
|