Search

February 28, 2013
Genel »
...struct String {
 size_t len;
 char[] str;

 this(string data) {
   this.len = data.length;
   this...
February 22, 2013
Issues »
...int[1], char[1], int[], char[]))
    {
        auto len  = A.length;
        auto rev  = A.reverse;
        auto...
February 18, 2013
Issues »
...modify struct
(cast(S*)(*this._data).arr)[len] S with immutable members
test.d(6...
February 15, 2013
General »
...byte* pBytes, uint len) // the second parameter always wrong!!!
{
	writefln("lengths=%d", len);
	writeln("Bytes...
February 13, 2013
Issues »
...next(groupby(sorted(o, key=len, reverse=True), key=len))[1])


A similar program using...
February 09, 2013
Issues »
...me.
int[] items = iota(N).array();
immutable len = cartesianProduct(items, items, items, items,
items).walkLength...
February 02, 2013
Learn »
...block[0..len]
        }
        tab = tab.ptr[0..len+flen];
        tab.ptr[len..len+flen] = fill...
February 01, 2013
General »
...get()
        {
            return _outer._len;
        }

        alias this = get;

        void opAssign(int rhs)
        {
            _outer._len = rhs;
        }
    }

    PropType...
February 01, 2013
General »
...both of them may assign to arr._len simultaneously, that's a data-race. It...
February 01, 2013
General »
...Array
{
    int _len;

    length struct // Using Zach's syntax
    {
        @property get() { return _len; }
        alias this...
61 62 63 64 65 66 67 68 69 70 71 72
Next ›   Last »