July 28, 2009 General » Re: poll for properties | |||
|---|---|---|---|
| |||
...maybe other people too) strongly refuse my len() function that sometimes returns length (in O... | |||
July 23, 2009 General » Re: Reddit: why aren't people using D? | |||
|---|---|---|---|
| |||
...get() { return this.len; }
set(newLen) { this.len = newLen; }
void opIncrement() { this.len++; }
}
I don... | |||
July 23, 2009 General » Re: Reddit: why aren't people using D? | |||
|---|---|---|---|
| |||
...int length {
get() { return this.len; }
set(newLen) { this.len = newLen; }
}
"""
I'm curious. Is... | |||
July 10, 2009 Issues » [Issue 1337] ICE(eh.c) No test case | |||
|---|---|---|---|
| |||
...auto len = queueList.length;
auto list = (cast(QueueFile*) alloca(len * QueueFile.sizeof))[0..len];
// clone... | |||
July 08, 2009 Issues » [Issue 3136] Incorrect and strange behavior of std.regexp.RegExp if using a pattern with optional prefix and suffix longer than 1 char | |||
|---|---|---|---|
| |||
...as follows:
. . .
case REnm:
case REnmq:
// len, n, m, ()
len = (cast(uint *)&prog[i + 1... | |||
July 02, 2009 Learn » help with c translation | |||
|---|---|---|---|
| |||
...while ((len < length) &&
(*(ppos + len) == *(ud.source + len))) ++len;
}
/* output match or literal */
if (len... | |||
July 01, 2009 Learn » Re: parsing again | |||
|---|---|---|---|
| |||
...string index(int len)
{
string res;
for (int i = 0; i < len; ++i)
res ~= "[indices... | |||
June 12, 2009 General » __FUNCTION__ implemented with mixins and mangles | |||
|---|---|---|---|
| |||
...idx;
len = size;
idx += size;
}
if(start < mangle.length)
return mangle[start .. start + len];
else... | |||
June 12, 2009 Learn » Re: Should be easy | |||
|---|---|---|---|
| |||
...string index(int len) {
string res;
for (int i = 0; i < len; ++i)
res ~= "[indices... | |||
June 09, 2009 General » Arrays vs slices | |||
|---|---|---|---|
| |||
...0.0] * 4) print t[len(t)//2 :], "\n", t[: len(t)//2] The output... | |||
Copyright © 1999-2021 by the D Language Foundation