January 31, 2010 Beta » [dmd-beta] ModuleInfo compaction | |||
|---|---|---|---|
| |||
...char)*)(calcPosition(MASKname))
auto len = strlen(p);
return p[0 .. len];
}
else
return o.name... | |||
January 18, 2010 Issues » [Issue 3719] New: forward references can cause out-of-memory error | |||
|---|---|---|---|
| |||
...copy)
@@ -938,6 +938,8 @@
{
size_t len;
+ if(dprogress == 0)
+ return;
static int nested... | |||
January 15, 2010 Concurrency » [dmd-concurrency] shared arrays | |||
|---|---|---|---|
| |||
...deal. So we set either ptr or len to size_t.max. Either should be... | |||
January 12, 2010 General » Re: Variable-length stack allocated arrays | |||
|---|---|---|---|
| |||
...the idiom buffer.length = len; instead of buffer = new buffer[len]; so there's a... | |||
January 12, 2010 General » Re: Variable-length stack allocated arrays | |||
|---|---|---|---|
| |||
...size_t len = calculateNeededLengthFrom(someStr); if ( buffer.length < len ) buffer = new buffer[len]; // Sometimes you... | |||
January 11, 2010 General » Sturcts with constructor (dmd1.x) | |||
|---|---|---|---|
| |||
...int len;
bool len_done;
const char* str;
int length()
{ if (!len_done)
{ len = strlen... | |||
January 06, 2010 Concurrency » [dmd-concurrency] synchronized, shared, and regular methods inside the same class | |||
|---|---|---|---|
| |||
...old.max, p_old ) );
atomicStore( x.len, y.len );
atomicStore( x.ptr, y.ptr );
}
In... | |||
January 03, 2010 General » Re: output ranges: by ref or by value? | |||
|---|---|---|---|
| |||
...uint len = src.length();
return len == NO_LENGTH_SUPPORT ? NO_LENGTH_SUPPORT : len < nelems ? len... | |||
December 26, 2009 General » Re: Function meta information | |||
|---|---|---|---|
| |||
...string refliteral(int len) {
char[] res;
for (int i=0; i<len; ++i) {
res~="~_isRef... | |||
December 11, 2009 General » Re: Short list with things to finish for D2 | |||
|---|---|---|---|
| |||
...way: a[len(a) / 2] Or today better (// is the integer division): a[len(a... | |||
Copyright © 1999-2021 by the D Language Foundation