Searched refs:iota (Results 1 - 25 of 76) sorted by relevance

1234

/netbsd-current/external/gpl3/gcc.old/dist/libphobos/src/std/internal/test/
H A Ddummyrange.d322 static auto iota(size_t low = 1, size_t high = 11)
324 import std.range : iota;
325 return iota(cast(uint) low, cast(uint) high);
331 arr = iota().array;
345 static auto iota(size_t low = 1, size_t high = 11)
347 import std.range : iota;
348 return iota(cast(double) low, cast(double) high, 1.0);
354 arr = iota().array;
391 static auto iota(size_t low = 1, size_t high = 11)
394 import std.range : iota;
[all...]
/netbsd-current/external/gpl3/gcc/dist/libphobos/src/std/internal/test/
H A Ddummyrange.d322 static auto iota(size_t low = 1, size_t high = 11)
324 import std.range : iota;
325 return iota(cast(uint) low, cast(uint) high);
331 arr = iota().array;
345 static auto iota(size_t low = 1, size_t high = 11)
347 import std.range : iota;
348 return iota(cast(double) low, cast(double) high, 1.0);
354 arr = iota().array;
389 static auto iota(size_t low = 1, size_t high = 11)
392 import std.range : iota;
[all...]
/netbsd-current/external/gpl3/gcc/dist/libphobos/src/std/
H A Dpackage.d12 const r = 6.iota
28 assert(10.iota.map!(a => pow(2, a)).sum == 1023);
H A Dparallelism.d58 import std.range : iota;
83 immutable pi = 4.0 * taskPool.reduce!"a + b"(n.iota.map!getTerm);
1678 auto numbers = iota(100_000_000.0);
2515 auto nums = iota(10_000_000.0f);
3025 foreach (num; parallel(iota(1_000)))
3070 foreach (i; parallel(iota(n)))
3528 import std.range : iota;
3532 auto r = iota(1, N + 1);
3635 import std.range : iota;
3644 assert(arrIndex.sum == 10.iota
[all...]
H A Dmeta.d409 import std.range : iota;
420 static assert(NoDuplicates!(aliasSeqOf!(iota(7)), aliasSeqOf!(iota(7))) == aliasSeqOf!(iota(7)));
421 static assert(NoDuplicates!(aliasSeqOf!(iota(8)), aliasSeqOf!(iota(8))) == aliasSeqOf!(iota(8)));
1030 import std.range : iota;
1032 foreach (I2; aliasSeqOf!(iota(0, 8)))
1033 foreach (I1; aliasSeqOf!(iota(
[all...]
H A Dbitmanip.d1045 import std.range : iota, repeat;
1049 assert(a.bitsSet.equal(iota(0, 70)));
1362 import std.range : iota;
1376 assert(b1.bitsSet.equal(iota(0, 64)));
1383 assert(b2.bitsSet.equal(iota(3, 245)));
1404 import std.range : iota;
1415 assert(b1.bitsSet.equal(iota(0, 270)));
2475 import std.range : iota;
2480 assert(equal(b.bitsSet, iota(0, 64)));
2482 assert(equal(b.bitsSet, iota(6
[all...]
H A Darray.d265 import std.range : iota;
267 auto arr = iota(3).map!(a => S(a)).array;
746 import std.range : iota;
747 auto b = assocArray(3.iota, 3.iota(6));
772 import std.range : iota;
773 static assert(!__traits(compiles, () nothrow { assocArray(1.iota, [ThrowingElement()]);}));
774 assert(assocArray(1.iota, [ThrowingElement()]) == [0: ThrowingElement()]);
779 import std.range : iota;
789 static assert(!__traits(compiles, () @safe { assocArray(1.iota, [UnsafeElemen
[all...]
/netbsd-current/external/gpl3/gcc.old/dist/libphobos/src/std/range/
H A Dpackage.d111 $(TR $(TD $(LREF iota))
469 auto LL = iota(1L, 4L);
867 auto LL = iota(1L, 10L);
1286 assert(equal(chain(iota(0, 3), iota(0, 3)), [0, 1, 2, 0, 1, 2]));
1904 auto LL = iota(1L, 6L);
2246 assert(iota(4).cycle.take(4)[start .. stop]
2247 .equal(iota(start, stop)));
3017 assert(a[].equal(iota(0, 7)));
3305 assert(equal(powersOfTwo, iota(
[all...]
H A Dprimitives.d1084 import std.range : iota, repeat;
1095 static assert( hasMobileElements!(typeof(iota(1000))));
1122 import std.range : iota;
1136 auto range = iota(0, 10);
1208 import std.range : iota;
1216 auto range = iota(0, 10);
1350 import std.range : iota, chain;
1356 static assert(!hasLvalueElements!(typeof(iota(3))));
1740 import std.range : iota;
1741 auto LL = iota(
[all...]
/netbsd-current/external/gpl3/gcc/dist/libphobos/src/std/range/
H A Dpackage.d112 $(TR $(TD $(LREF iota))
462 auto LL = iota(1L, 4L);
862 auto LL = iota(1L, 10L);
1318 assert(equal(chain(iota(0, 3), iota(0, 3)), [0, 1, 2, 0, 1, 2]));
1589 aliasSeqOf!(rs.length.iota)));
1690 aliasSeqOf!(rs.length.iota)));
2221 auto LL = iota(1L, 6L);
2563 assert(iota(4).cycle.take(4)[start .. stop]
2564 .equal(iota(star
[all...]
H A Dprimitives.d1246 import std.range : iota, repeat;
1257 static assert( hasMobileElements!(typeof(iota(1000))));
1284 import std.range : iota;
1298 auto range = iota(0, 10);
1372 import std.range : iota;
1380 auto range = iota(0, 10);
1522 import std.range : iota, chain;
1528 static assert(!hasLvalueElements!(typeof(iota(3))));
1816 import std.range : iota;
1818 assert(10.iota
[all...]
/netbsd-current/external/gpl3/gcc.old/dist/libphobos/src/std/container/
H A Dutil.d140 import std.range : iota;
142 auto arr = make!Array(iota(5));
145 auto rbtmax = make!(RedBlackTree, "a > b")(iota(5));
H A Drbtree.d44 import std.range : iota;
45 auto maxTree = redBlackTree!"a > b"(iota(5));
1894 import std.range : iota;
1903 auto rbt6 = redBlackTree(iota(3));
1904 auto rbt7 = redBlackTree!true(iota(3));
1905 auto rbt8 = redBlackTree!"a > b"(iota(3));
1906 auto rbt9 = redBlackTree!("a > b", true)(iota(3));
1921 import std.range : iota;
1922 auto rbt = new RedBlackTree!(int, "a > b")(iota(5));
1961 import std.range : chain, iota;
[all...]
/netbsd-current/external/gpl3/gcc/dist/libphobos/src/std/container/
H A Dutil.d140 import std.range : iota;
142 auto arr = make!Array(iota(5));
145 auto rbtmax = make!(RedBlackTree, "a > b")(iota(5));
H A Drbtree.d44 import std.range : iota;
45 auto maxTree = redBlackTree!"a > b"(iota(5));
2042 import std.range : iota;
2051 auto rbt6 = redBlackTree(iota(3));
2052 auto rbt7 = redBlackTree!true(iota(3));
2053 auto rbt8 = redBlackTree!"a > b"(iota(3));
2054 auto rbt9 = redBlackTree!("a > b", true)(iota(3));
2069 import std.range : iota;
2070 auto rbt = new RedBlackTree!(int, "a > b")(iota(5));
2109 import std.range : chain, iota;
[all...]
/netbsd-current/external/gpl3/gcc.old/dist/libphobos/src/std/
H A Dparallelism.d49 import std.range : iota;
74 immutable pi = 4.0 * taskPool.reduce!"a + b"(n.iota.map!getTerm);
1581 auto numbers = iota(100_000_000.0);
2412 auto nums = iota(10_000_000.0f);
2787 foreach (num; parallel(iota(1_000)))
2832 foreach (i; parallel(iota(n)))
3949 import std.range : indexed, iota, join;
4118 immutable serialAns = reduce!"a + b"(iota(1000));
4119 assert(poolInstance.reduce!"a + b"(0, iota(1000)) == serialAns);
4120 assert(poolInstance.reduce!"a + b"(iota(100
[all...]
/netbsd-current/external/gpl3/gcc/dist/libphobos/src/std/regex/internal/
H A Dtests.d411 enum Tests = iota(0, 155);
416 enum Tests = iota(155, 174);
422 enum Tests = iota(178, 220);
427 enum Tests = iota(220, tv.length);
430 enum Tests = chain(iota(0, 30), iota(235, tv.length-5));
/netbsd-current/external/gpl3/gcc.old/dist/libphobos/src/std/digest/
H A Dcrc.d493 import std.range : iota;
495 assert(iota(S, F).crc32Of == [59, 140, 234, 154]);
529 import std.range : iota;
531 assert(iota(S, F).crc64ECMAOf == [6, 184, 91, 238, 46, 213, 127, 188]);
565 import std.range : iota;
568 assert(iota(S, F).crc64ISOOf == [21, 185, 116, 95, 219, 11, 54, 7]);
/netbsd-current/external/gpl3/gcc/dist/libphobos/src/std/digest/
H A Dcrc.d516 import std.range : iota;
518 assert(iota(S, F).crc32Of == [59, 140, 234, 154]);
552 import std.range : iota;
554 assert(iota(S, F).crc64ECMAOf == [6, 184, 91, 238, 46, 213, 127, 188]);
588 import std.range : iota;
591 assert(iota(S, F).crc64ISOOf == [21, 185, 116, 95, 219, 11, 54, 7]);
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Target/X86/
H A DX86PartialReduction.cpp160 std::iota(ConcatMask.begin(), ConcatMask.end(), 0);
257 std::iota(ExtractMask.begin(), ExtractMask.end(), i * IntrinsicNumElts);
271 std::iota(ConcatMask.begin(), ConcatMask.end(), 0);
/netbsd-current/lib/libm/ld80/
H A Db_tgammal.c379 * iota is a sloppy threshold to isolate x = 0.
382 static const double iota = 0x1p-116; variable
401 if (x > iota)
404 if (x > -iota) {
/netbsd-current/external/gpl3/gcc/dist/libphobos/src/std/algorithm/
H A Dsorting.d760 import std.range : iota;
763 a = iota(0, uniform(1, 1000, g))
1074 import std.range : iota;
1077 iota(256).makeIndex(index[]);
1078 assert(index[].equal(iota(256)));
1080 iota(128).makeIndex(sindex[]);
1081 assert(sindex[].equal(iota(128)));
1084 10.iota.makeIndex(index2);
1085 assert(index2.equal(10.iota));
1598 auto pts3 = indexed(pts1, iota(pts
[all...]
H A Dsetops.d390 import std.range : iota;
392 iota(0, current.length)));
467 import std.range : iota;
470 iota(0, otherRanges.length+1));
1566 import std.range : iota;
1569 auto dummyResult2 = iota(1, 11);
/netbsd-current/external/gpl3/gcc.old/dist/libphobos/src/std/algorithm/
H A Dsetops.d392 import std.range : iota;
394 iota(0, current.length)));
467 import std.range : iota;
470 iota(0, otherRanges.length+1));
1510 import std.range : iota;
1513 auto dummyResult2 = iota(1, 11);
H A Diteration.d179 auto result1 = iota(-4, 5).map!(a =>tuple(a, fun(a)))()
189 assert(counter == iota(-4, 5).length + result1.length);
193 auto result2 = iota(-4, 5).map!(a =>tuple(a, fun(a)))()
203 assert(counter == iota(-4, 5).length);
226 auto r = iota(0, 4).tee!((a){i = a;}, No.pipeOnPop);
804 auto LL = iota(1L, 4L);
811 import std.range : iota;
813 // Issue #10130 - map of iota with const step.
815 assert(map!(i => i)(iota(0, 10, step)).walkLength == 5);
818 // CommonType template used in the float specialization of iota
[all...]

Completed in 419 milliseconds

1234