Lines Matching refs:BitArray
978 struct BitArray
1030 auto a = BitArray(input);
1035 auto b = BitArray([0, 0, 1]);
1047 BitArray a = true.repeat(70).array;
1102 auto a = BitArray([1, 0, 0, 1, 1]);
1106 auto b = BitArray(v, a.length);
1124 auto ba = BitArray(source, source.length * sbits);
1136 auto ba = BitArray(source, source.length * sbits);
1146 auto bc = BitArray(source, sbits + 1);
1217 BitArray ba;
1248 static void fun(const BitArray arr)
1253 BitArray a;
1297 auto b = BitArray([1, 0, 1, 0, 1, 1]);
1365 auto b = BitArray([1, 0, 0, 0, 1, 1, 0]);
1370 auto b1 = BitArray(bitArray);
1381 auto b2 = BitArray(bitArray2);
1407 auto b = BitArray([1, 0, 1, 0, 1, 0]);
1413 auto b1 = BitArray(bits);
1429 auto ax = BitArray([1, 0, 0, 1]);
1435 auto ay = BitArray(y);
1463 auto a = BitArray([0, 1, 1, 0, 0, 1, 1]);
1466 BitArray b;
1471 auto c = BitArray(boolArray);
1478 @property BitArray dup() const pure nothrow
1480 BitArray ba;
1491 BitArray a;
1492 BitArray b;
1571 auto a = BitArray(ba);
1602 @property BitArray reverse() @nogc pure nothrow return
1629 BitArray b;
1632 b = BitArray(data);
1642 @property BitArray sort() @nogc pure nothrow return
1690 auto ba = BitArray(10, &x);
1702 bool opEquals(const ref BitArray a2) const @nogc pure nothrow
1730 auto a = BitArray(ba);
1731 auto b = BitArray(bb);
1732 auto c = BitArray(bc);
1733 auto d = BitArray(bd);
1734 auto e = BitArray(be);
1735 auto f = BitArray(bf);
1736 auto g = BitArray(bg);
1748 int opCmp(BitArray a2) const @nogc pure nothrow
1795 auto a = BitArray(ba);
1796 auto b = BitArray(bb);
1797 auto c = BitArray(bc);
1798 auto d = BitArray(bd);
1799 auto e = BitArray(be);
1800 auto f = BitArray(bf);
1801 auto g = BitArray(bg);
1823 auto x = BitArray(v);
1825 auto y = BitArray(v);
1830 BitArray a1, a2;
1891 auto a = BitArray(true.repeat.take(300).array);
1904 BitArray m;
1907 const BitArray c;
1910 immutable BitArray i;
1928 BitArray opUnary(string op)() const pure nothrow
1933 BitArray result;
1951 auto a = BitArray(ba);
1952 BitArray b = ~a;
1965 BitArray opBinary(string op)(const BitArray e2) const pure nothrow
1975 BitArray result;
1997 auto a = BitArray(ba);
1998 auto b = BitArray(bb);
2000 BitArray c = a & b;
2015 auto a = BitArray(ba);
2016 auto b = BitArray(bb);
2018 BitArray c = a | b;
2033 auto a = BitArray(ba);
2034 auto b = BitArray(bb);
2036 BitArray c = a ^ b;
2051 auto a = BitArray(ba);
2052 auto b = BitArray(bb);
2054 BitArray c = a - b;
2067 BitArray opOpAssign(string op)(const BitArray e2) @nogc pure nothrow return scope
2101 auto a = BitArray(ba);
2102 auto b = BitArray(bb);
2103 BitArray c = a;
2119 auto a = BitArray(ba);
2120 auto b = BitArray(bb);
2136 auto a = BitArray(ba);
2137 auto b = BitArray(bb);
2153 auto a = BitArray(ba);
2154 auto b = BitArray(bb);
2170 auto a = BitArray(ba);
2171 auto b = BitArray(bb);
2188 BitArray opOpAssign(string op)(bool b) pure nothrow return scope
2201 auto a = BitArray(ba);
2202 BitArray b;
2218 BitArray opOpAssign(string op)(BitArray b) pure nothrow return scope
2234 auto a = BitArray(ba);
2235 auto b = BitArray(bb);
2236 BitArray c;
2252 BitArray opBinary(string op)(bool b) const pure nothrow
2255 BitArray r;
2264 BitArray opBinaryRight(string op)(bool b) const pure nothrow
2267 BitArray r;
2277 BitArray opBinary(string op)(BitArray b) const pure nothrow
2280 BitArray r;
2293 auto a = BitArray(ba);
2294 auto b = BitArray(bb);
2295 BitArray c;
2479 BitArray b = BitArray(buf);
2486 b = BitArray(buf);
2502 BitArray a = true.repeat(r / 2).array;
2508 BitArray b = true.repeat(r).array;
2514 BitArray c = true.repeat(2 * r).array;
2526 auto b = BitArray([1, 1, 0, 0, 1, 0, 1, 0, 1, 1, 0, 1, 1]);
2543 b = BitArray([1, 0, 1, 1, 0, 1, 1, 1]);
2556 auto b = BitArray([
2580 b = BitArray([
2639 auto b = BitArray([0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1]);
2671 auto b1 = BitArray([0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1]);
2674 BitArray b2;
2687 BitArray b;
2689 b = BitArray([size_t.max], 0);
2691 b = BitArray([size_t.max], 1);
2693 b = BitArray([size_t.max], wordBits);
2695 b = BitArray([size_t.max, size_t.max], wordBits);
2697 b = BitArray([size_t.max, size_t.max], wordBits + 1);
2699 b = BitArray([size_t.max, size_t.max], wordBits * 2);
2706 BitArray ba;
2757 BitArray b = BitArray(buffer[], buffer.sizeof * 8);
2775 BitArray b = BitArray(buf);
2786 auto b = BitArray([1, 0]);
2789 b ~= BitArray([0, 1]);
2790 auto c = BitArray([1, 0, 1, 0, 1]);
2800 auto b = BitArray([1, 1, 0, 1]);
2801 b &= BitArray([0, 1, 1, 0]);
2811 auto b = BitArray([1, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1]);
2820 BitArray b;
2822 b = BitArray([]);
2826 b = BitArray([1]);
2830 b = BitArray([0, 0, 0, 0]);
2833 b = BitArray([0, 0, 0, 0, 1, 1, 1, 1]);
2837 b = BitArray([0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1]);
2841 b = BitArray([1, 0, 0, 0, 0, 1, 1, 1, 1]);
2844 b = BitArray([1, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1]);
2850 BitArray a;