September 17, 2009 Learn » Re: D1: std.md5: corrections for the given example | |||
|---|---|---|---|
| |||
...while ((len = file.readBlock(buffer.ptr, buffer.sizeof)) != 0) context.update(buffer[0 .. len]); context... | |||
September 16, 2009 Learn » D1: std.md5: corrections for the given example | |||
|---|---|---|---|
| |||
...md5, this line can be found: while ((len = fread(buffer, 1, buffer.sizeof, file)) != 0... | |||
September 11, 2009 Issues » [Issue 2224] Bad codegen for array element assignment | |||
|---|---|---|---|
| |||
...len) dat.length=dat.length+32;
dat[len]=t;
len++;
}
void pushn(uint n) {
len... | |||
September 05, 2009 General » Re: D naming style? | |||
|---|---|---|---|
| |||
...that often conflict with local variables, like "len" or "src" or such. Unless the type... | |||
August 22, 2009 Learn » Re: At compile time | |||
|---|---|---|---|
| |||
...7000) out = "const int primes[%d] = %s;" % (len(p), p) print "\n".join(textwrap.wrap... | |||
August 16, 2009 General » Partial specialisation is foobarred?! | |||
|---|---|---|---|
| |||
...where only _len is common
void f(M)(M rhs) {
_len = rhs._len;
writefln("method... | |||
August 02, 2009 General » Re: property syntax strawman | |||
|---|---|---|---|
| |||
...that bad, right?
@property bool empty() { return _len == 0; }
(we can use @prop if @property... | |||
July 31, 2009 Issues » [Issue 3218] New: Performance of std.xml.encode must be improved | |||
|---|---|---|---|
| |||
...len + entity.length)
+ dst.length / 2;
dst [index .. index + len] = t [0 .. len];
index += len... | |||
July 31, 2009 General » We can see the performance difference from the simple functions in Tango and Phobos | |||
|---|---|---|---|
| |||
...len + entity.length)
+ dst.length / 2;
dst [index .. index + len] = t [0 .. len];
index += len... | |||
July 29, 2009 General » Re: Properties: a.b.c = 3 | |||
|---|---|---|---|
| |||
...now cached. var len = things.length; for ( int i = 0; i < len; i++ ) stroke(things... | |||
Copyright © 1999-2021 by the D Language Foundation