March 28, 2012 Issues » [Issue 7789] New: [CTFE] null pointer exception on setting array length | |||
|---|---|---|---|
| |||
...1;
return _ary.length;
}
int[] _ary;
}
enum len = S().foo();
CODE
dmd -c bug
--------
Happens... | |||
March 27, 2012 Learn » Re: std.stream.File help required (and classes) | |||
|---|---|---|---|
| |||
...input ms_mutex_lock(&(f.lock)); int len=cast(int)((m.b_wptr-m.b... | |||
March 27, 2012 Learn » Re: std.stream.File help required (and classes) | |||
|---|---|---|---|
| |||
...File.writeblock(cast(byte*)p,cast(int)len) using > std.stdio.File.rawWrite? D has... | |||
March 27, 2012 Learn » Re: std.stream.File help required (and classes) | |||
|---|---|---|---|
| |||
...File.writeblock(cast(byte*)p,cast(int)len) using std.stdio.File.rawWrite? And why... | |||
March 27, 2012 Learn » std.stream.File help required (and classes) | |||
|---|---|---|---|
| |||
...input ms_mutex_lock(&(f.lock)); int len=cast(int)((m.b_wptr-m.b... | |||
March 24, 2012 DMD » [dmd-internals] [D-Programming-Language/dmd] e644ba: restore original binary() function and re-fix the ... | |||
|---|---|---|---|
| |||
...input string is longer than the search len. Efficiency is important enough to avoid the... | |||
March 24, 2012 Issues » [Issue 7762] New: Possible bug in std.algorithm.sort(ubyte[]) | |||
|---|---|---|---|
| |||
...0 .. nLoops) {
immutable len = uniform(0, maxLen, rnd);
foreach (j; 0 .. len)
items[j] = digits... | |||
March 09, 2012 General » Re: Arbitrary abbreviations in phobos considered ridiculous | |||
|---|---|---|---|
| |||
...int main(string[] argument) {
int len = argument.length;
stdout.writeln(len);
stdout.writeln(trunc(argument... | |||
February 29, 2012 Duyuru » BrainFuck | |||
|---|---|---|---|
| |||
...char **argv) {
int pc, /* program counter */
prog_len = 0; /* length of program */
int c[32768... | |||
February 27, 2012 Learn » Re: Write struct to file | |||
|---|---|---|---|
| |||
...can simply use the cast(void*)[0..len] trick. The challenge would be to implement... | |||
Copyright © 1999-2021 by the D Language Foundation