/dports/math/py-or-tools/or-tools-9.2/examples/contrib/ |
H A D | divisible_by_9_through_1.cs | 93 private static void Solve(int bbase) in Solve() argument 97 int m = (int)Math.Pow(bbase, (bbase - 1)) - 1; in Solve() 98 int n = bbase - 1; in Solve() 102 Console.WriteLine("base: " + bbase); in Solve() 123 int mm = bbase - i - 1; in Solve() 154 if (bbase != 10) in Solve() 176 int bbase = 10; in Main() 179 bbase = Convert.ToInt32(args[0]); in Main() 180 if (bbase > 12) in Main() 184 bbase = 10; in Main() [all …]
|
H A D | debruijn.cs | 46 private static void Solve(int bbase, int n, int m) in Solve() argument 64 IntVar[] gcc = solver.MakeIntVarArray(bbase, 0, m, "gcc"); in Solve() 67 IntVar[] all = new IntVar[2 * m + bbase]; in Solve() 73 for (int i = 0; i < bbase; i++) in Solve() 92 solver.Add(ToNum(t, x[i], bbase)); in Solve() 122 if (check_same_gcc && m % bbase == 0) in Solve() 124 for (int i = 1; i < bbase; i++) in Solve() 156 for (int i = 0; i < bbase; i++) in Solve() 185 int bbase = 2; in Main() 191 bbase = Convert.ToInt32(args[0]); in Main() [all …]
|
H A D | pandigital_numbers.cs | 31 private static Constraint ToNum(IntVar[] a, IntVar num, int bbase) in ToNum() argument 37 tmp[i] = (a[i] * (int)Math.Pow(bbase, len - i - 1)).Var(); in ToNum() 81 private static void Solve(int bbase = 10, int start = 1, int len1 = 1, int len2 = 4) in Solve() argument 88 int max_d = bbase - 1; in Solve() 90 int max_num = (int)Math.Pow(bbase, 4) - 1; in Solve() 116 solver.Add(ToNum((from i in Enumerable.Range(0, len1) select x[i]).ToArray(), num1, bbase)); in Solve() 118 … solver.Add(ToNum((from i in Enumerable.Range(len1, len2) select x[i]).ToArray(), num2, bbase)); in Solve() 157 int bbase = 10; in Main() 162 bbase = Convert.ToInt32(args[0]); in Main() 170 int x_len = bbase - 1 + 1 - start; in Main() [all …]
|
H A D | to_num.cs | 28 private static Constraint ToNum(IntVar[] a, IntVar num, int bbase) in ToNum() argument 35 tmp[i] = (a[i] * (int)Math.Pow(bbase, (len - i - 1))).Var(); in ToNum() 51 int bbase = 10; in Solve() 56 IntVar[] x = solver.MakeIntVarArray(n, 0, bbase - 1, "x"); in Solve() 57 IntVar num = solver.MakeIntVar(0, (int)Math.Pow(bbase, n) - 1, "num"); in Solve() 64 solver.Add(ToNum(x, num, bbase)); in Solve()
|
/dports/www/luakit/luakit-2.3/common/clib/ |
H A D | utf8.c | 85 size_t bbase; in luaH_utf8_offset() local 86 bbase = luaL_optinteger(L, 3, (widx>=0) ? 1 : blen + 1); in luaH_utf8_offset() 87 bbase = abspos(bbase, blen); in luaH_utf8_offset() 88 luaL_argcheck(L, bbase != (size_t) -1, 3, "position out of range"); in luaH_utf8_offset() 89 if (g_utf8_get_char_validated(str + bbase, -1) == (gunichar) -1) in luaH_utf8_offset() 96 wseglen = g_utf8_strlen(str, bbase); in luaH_utf8_offset() 99 wseglen = g_utf8_strlen(str + bbase, blen - bbase); in luaH_utf8_offset() 100 bbeg = bbase; in luaH_utf8_offset()
|
/dports/www/luakit-devel/luakit-2.3-20-g4b10e55/common/clib/ |
H A D | utf8.c | 85 size_t bbase; in luaH_utf8_offset() local 86 bbase = luaL_optinteger(L, 3, (widx>=0) ? 1 : blen + 1); in luaH_utf8_offset() 87 bbase = abspos(bbase, blen); in luaH_utf8_offset() 88 luaL_argcheck(L, bbase != (size_t) -1, 3, "position out of range"); in luaH_utf8_offset() 89 if (g_utf8_get_char_validated(str + bbase, -1) == (gunichar) -1) in luaH_utf8_offset() 96 wseglen = g_utf8_strlen(str, bbase); in luaH_utf8_offset() 99 wseglen = g_utf8_strlen(str + bbase, blen - bbase); in luaH_utf8_offset() 100 bbeg = bbase; in luaH_utf8_offset()
|
/dports/math/reduce/Reduce-svn5758-src/psl/dist/util/ibmrs/ |
H A D | muls.sl | 35 % Called with two parameters of maximum bbase size 96 % functions supporting word arithmetic with bbase* 101 % get the value for bbase* into a register 102 (put 'bbase** 'opencode 112 % calculate (remainder x bbase*) 113 (put 'remainder-bbase 'opencode 117 % calculate (quotient x bbase*) 118 (put 'quotient-bbase 'opencode 121 (put 'bbase** 'destroys '((reg 1))) 123 (put 'remainder-bbase 'destroys '((reg 1))) [all …]
|
/dports/math/reduce/Reduce-svn5758-src/psl/dist/util/macg4/ |
H A D | muls.sl | 40 % Called with two parameters of maximum bbase size 135 % functions supporting word arithmetic with bbase* 140 % get the value for bbase* into a register 141 (put 'bbase** 'opencode 151 % calculate (remainder x bbase*) 152 (put 'remainder-bbase 'opencode 156 % calculate (quotient x bbase*) 157 (put 'quotient-bbase 'opencode 160 (put 'bbase** 'destroys '((reg 1))) 162 (put 'remainder-bbase 'destroys '((reg 1))) [all …]
|
/dports/math/reduce/Reduce-svn5758-src/psl/dist/util/macg5/ |
H A D | muls.sl | 40 % Called with two parameters of maximum bbase size 135 % functions supporting word arithmetic with bbase* 140 % get the value for bbase* into a register 141 (put 'bbase** 'opencode 150 % calculate (remainder x bbase*) 151 (put 'remainder-bbase 'opencode 155 % calculate (quotient x bbase*) 156 (put 'quotient-bbase 'opencode 159 (put 'bbase** 'destroys '((reg 1))) 161 (put 'remainder-bbase 'destroys '((reg 1))) [all …]
|
/dports/math/reduce/Reduce-svn5758-src/psl/dist/comp/AMD64_ext/ |
H A D | muls.sl | 107 % functions supporting word arithmetic with bbase* 108 % bbase* is too large to be stored in a fluid cell; 112 % get the value for bbase* into a register 113 (put 'bbase** 'opencode 122 % calculate (remainder x bbase*) 123 (put 'remainder-bbase 'opencode 127 % calculate (quotient x bbase*) 128 (put 'quotient-bbase 'opencode 131 (put 'bbase** 'destroys '((reg 1))) 133 (put 'remainder-bbase 'destroys '((reg 1))) [all …]
|
/dports/math/reduce/Reduce-svn5758-src/psl/dist/comp/win32/ |
H A D | muls.sl | 107 % functions supporting word arithmetic with bbase* 108 % bbase* is too large to be stored in a fluid cell; 112 % get the value for bbase* into a register 113 (put 'bbase** 'opencode 122 % calculate (remainder x bbase*) 123 (put 'remainder-bbase 'opencode 127 % calculate (quotient x bbase*) 128 (put 'quotient-bbase 'opencode 131 (put 'bbase** 'destroys '((reg 1))) 133 (put 'remainder-bbase 'destroys '((reg 1))) [all …]
|
/dports/math/reduce/Reduce-svn5758-src/psl/dist/comp/macintel64/ |
H A D | muls.sl | 107 % functions supporting word arithmetic with bbase* 108 % bbase* is too large to be stored in a fluid cell; 112 % get the value for bbase* into a register 113 (put 'bbase** 'opencode 122 % calculate (remainder x bbase*) 123 (put 'remainder-bbase 'opencode 127 % calculate (quotient x bbase*) 128 (put 'quotient-bbase 'opencode 131 (put 'bbase** 'destroys '((reg 1))) 133 (put 'remainder-bbase 'destroys '((reg 1))) [all …]
|
/dports/math/reduce/Reduce-svn5758-src/psl/dist/comp/mingw-w64/ |
H A D | muls.sl | 107 % functions supporting word arithmetic with bbase* 108 % bbase* is too large to be stored in a fluid cell; 112 % get the value for bbase* into a register 113 (put 'bbase** 'opencode 122 % calculate (remainder x bbase*) 123 (put 'remainder-bbase 'opencode 127 % calculate (quotient x bbase*) 128 (put 'quotient-bbase 'opencode 131 (put 'bbase** 'destroys '((reg 1))) 133 (put 'remainder-bbase 'destroys '((reg 1))) [all …]
|
/dports/math/reduce/Reduce-svn5758-src/psl/dist/comp/AMD64/ |
H A D | muls.sl | 107 % functions supporting word arithmetic with bbase* 108 % bbase* is too large to be stored in a fluid cell; 112 % get the value for bbase* into a register 113 (put 'bbase** 'opencode 122 % calculate (remainder x bbase*) 123 (put 'remainder-bbase 'opencode 127 % calculate (quotient x bbase*) 128 (put 'quotient-bbase 'opencode 131 (put 'bbase** 'destroys '((reg 1))) 133 (put 'remainder-bbase 'destroys '((reg 1))) [all …]
|
/dports/math/reduce/Reduce-svn5758-src/psl/dist/comp/freeBSD64/ |
H A D | muls.sl | 107 % functions supporting word arithmetic with bbase* 108 % bbase* is too large to be stored in a fluid cell; 112 % get the value for bbase* into a register 113 (put 'bbase** 'opencode 122 % calculate (remainder x bbase*) 123 (put 'remainder-bbase 'opencode 127 % calculate (quotient x bbase*) 128 (put 'quotient-bbase 'opencode 131 (put 'bbase** 'destroys '((reg 1))) 133 (put 'remainder-bbase 'destroys '((reg 1))) [all …]
|
/dports/math/reduce/Reduce-svn5758-src/psl/dist/comp/macintel/ |
H A D | muls.sl | 108 % functions supporting word arithmetic with bbase* 109 % bbase* is too large to be stored in a fluid cell; 113 % get the value for bbase* into a register 114 (put 'bbase** 'opencode 123 % calculate (remainder x bbase*) 124 (put 'remainder-bbase 'opencode 128 % calculate (quotient x bbase*) 129 (put 'quotient-bbase 'opencode 132 (put 'bbase** 'destroys '((reg 1))) 134 (put 'remainder-bbase 'destroys '((reg 1))) [all …]
|
/dports/math/reduce/Reduce-svn5758-src/psl/dist/comp/armv6/ |
H A D | muls.sl | 102 % functions supporting word arithmetic with bbase* 103 % bbase* is too large to be stored in a fluid cell; 107 % get the value for bbase* into a register 108 (put 'bbase** 'opencode 117 % calculate (remainder x bbase*) 118 (put 'remainder-bbase 'opencode 122 % calculate (quotient x bbase*) 123 (put 'quotient-bbase 'opencode 126 (put 'bbase** 'destroys '((reg 1))) 128 (put 'remainder-bbase 'destroys '((reg 1))) [all …]
|
/dports/math/reduce/Reduce-svn5758-src/psl/dist/comp/brock/ |
H A D | muls.sl | 107 % functions supporting word arithmetic with bbase* 108 % bbase* is too large to be stored in a fluid cell; 112 % get the value for bbase* into a register 113 (put 'bbase** 'opencode 122 % calculate (remainder x bbase*) 123 (put 'remainder-bbase 'opencode 127 % calculate (quotient x bbase*) 128 (put 'quotient-bbase 'opencode 131 (put 'bbase** 'destroys '((reg 1))) 133 (put 'remainder-bbase 'destroys '((reg 1))) [all …]
|
/dports/math/reduce/Reduce-svn5758-src/psl/dist/comp/freeBSD/ |
H A D | muls.sl | 111 % functions supporting word arithmetic with bbase* 112 % bbase* is too large to be stored in a fluid cell; 116 % get the value for bbase* into a register 117 (put 'bbase** 'opencode 126 % calculate (remainder x bbase*) 127 (put 'remainder-bbase 'opencode 131 % calculate (quotient x bbase*) 132 (put 'quotient-bbase 'opencode 135 (put 'bbase** 'destroys '((reg 1))) 137 (put 'remainder-bbase 'destroys '((reg 1))) [all …]
|
/dports/math/reduce/Reduce-svn5758-src/psl/dist/comp/linux/ |
H A D | muls.sl | 111 % functions supporting word arithmetic with bbase* 112 % bbase* is too large to be stored in a fluid cell; 116 % get the value for bbase* into a register 117 (put 'bbase** 'opencode 126 % calculate (remainder x bbase*) 127 (put 'remainder-bbase 'opencode 131 % calculate (quotient x bbase*) 132 (put 'quotient-bbase 'opencode 135 (put 'bbase** 'destroys '((reg 1))) 137 (put 'remainder-bbase 'destroys '((reg 1))) [all …]
|
/dports/misc/rump/buildrump.sh-b914579/src/sys/rump/dev/lib/libvirtio_ld/ |
H A D | ld_at_virtio.c | 68 char bbase[] = "/dev/ldX"; in RUMP_COMPONENT() local 74 bbase[sizeof(bbase)-2] = '0' + i; in RUMP_COMPONENT() 77 if ((error = rump_vfs_makedevnodes(S_IFBLK, bbase, 'a', in RUMP_COMPONENT()
|
/dports/lang/gcc6-aux/gcc-6-20180516/libgfortran/generated/ |
H A D | matmul_i4.c | 84 const GFC_INTEGER_4 * restrict bbase; in matmul_i4() local 230 bbase = b->base_addr; in matmul_i4() 253 &one, abase, &lda, bbase, &ldb, &zero, dest, &ldc, 1, 1); in matmul_i4() 276 bbase_y = bbase + y*bystride; in matmul_i4() 300 bbase_y = &bbase[y*bystride]; in matmul_i4() 319 bbase_y = &bbase[y*bystride]; in matmul_i4() 337 … dest[x*rxstride + y*rystride] += abase[x*axstride + n*aystride] * bbase[n*bxstride + y*bystride]; in matmul_i4() 346 bbase_y = &bbase[y*bystride]; in matmul_i4() 362 bbase_y = &bbase[y*bystride]; in matmul_i4()
|
H A D | matmul_r10.c | 84 const GFC_REAL_10 * restrict bbase; in matmul_r10() local 230 bbase = b->base_addr; in matmul_r10() 253 &one, abase, &lda, bbase, &ldb, &zero, dest, &ldc, 1, 1); in matmul_r10() 276 bbase_y = bbase + y*bystride; in matmul_r10() 300 bbase_y = &bbase[y*bystride]; in matmul_r10() 319 bbase_y = &bbase[y*bystride]; in matmul_r10() 337 … dest[x*rxstride + y*rystride] += abase[x*axstride + n*aystride] * bbase[n*bxstride + y*bystride]; in matmul_r10() 346 bbase_y = &bbase[y*bystride]; in matmul_r10() 362 bbase_y = &bbase[y*bystride]; in matmul_r10()
|
H A D | matmul_r4.c | 84 const GFC_REAL_4 * restrict bbase; in matmul_r4() local 230 bbase = b->base_addr; in matmul_r4() 253 &one, abase, &lda, bbase, &ldb, &zero, dest, &ldc, 1, 1); in matmul_r4() 276 bbase_y = bbase + y*bystride; in matmul_r4() 300 bbase_y = &bbase[y*bystride]; in matmul_r4() 319 bbase_y = &bbase[y*bystride]; in matmul_r4() 337 … dest[x*rxstride + y*rystride] += abase[x*axstride + n*aystride] * bbase[n*bxstride + y*bystride]; in matmul_r4() 346 bbase_y = &bbase[y*bystride]; in matmul_r4() 362 bbase_y = &bbase[y*bystride]; in matmul_r4()
|
H A D | matmul_c4.c | 84 const GFC_COMPLEX_4 * restrict bbase; in matmul_c4() local 230 bbase = b->base_addr; in matmul_c4() 253 &one, abase, &lda, bbase, &ldb, &zero, dest, &ldc, 1, 1); in matmul_c4() 276 bbase_y = bbase + y*bystride; in matmul_c4() 300 bbase_y = &bbase[y*bystride]; in matmul_c4() 319 bbase_y = &bbase[y*bystride]; in matmul_c4() 337 … dest[x*rxstride + y*rystride] += abase[x*axstride + n*aystride] * bbase[n*bxstride + y*bystride]; in matmul_c4() 346 bbase_y = &bbase[y*bystride]; in matmul_c4() 362 bbase_y = &bbase[y*bystride]; in matmul_c4()
|