November 18, 2010 Issues » [Issue 5233] New: [patch] std.range.put accepts *any* element type when putting to an array. | |||
|---|---|---|---|
| |||
...0])).sizeof == 1 ? 4 : 2]
encoded;
auto len = std.utf.encode(encoded, e);
writeln( typeof... | |||
October 22, 2010 Issues » [Issue 5077] std.algorithm.schwartzSort is slow | |||
|---|---|---|---|
| |||
...random(), random()) for _ in xrange(DATA_LEN)]
if len(data) < 50: print data
if sort... | |||
October 19, 2010 Issues » [Issue 5077] New: std.algorithm.schwartzSort is slow | |||
|---|---|---|---|
| |||
...best.) Timings 2.1 GHz CPU, , DATA_LEN=1_000_000, best of 4, seconds... | |||
October 16, 2010 General » Re: Feature discussion: __traits(getSource, function) | |||
|---|---|---|---|
| |||
...ubyte* buffer; // data for our file
uint len; // amount of data in buffer[]
}
So if... | |||
October 14, 2010 General » A little class benchmark | |||
|---|---|---|---|
| |||
...0;
immutable int len = arr.length;
for (int i = 0; i < len; i++)
sum += arr... | |||
October 14, 2010 General » Re: Streaming transport interfaces: input | |||
|---|---|---|---|
| |||
...CUR); auto len = seek(0, SEEK_END); seek(curpos, SEEK_BEG); return len; So that... | |||
October 13, 2010 c++.stlsoft » STLSoft 1.10.1 alpha 15 (delta) released | |||
|---|---|---|---|
| |||
...string * added comstl_C_BSTR_len() / comstl::added BSTR_len() * added platformstl::thread_shareable_FILE... | |||
October 13, 2010 General » Re: Streaming library | |||
|---|---|---|---|
| |||
...etc using write(void* buf, size_t len)
* BinarySocketStream
* BinaryFileStream
* ...
- TextStream // abstract class implementing writeInt... | |||
October 13, 2010 Learn » dmd 2.049 bug with take and SList? | |||
|---|---|---|---|
| |||
...return; writeln(items); auto len = walkLength(items); auto r = take(items, len - 1); pyramid(r... | |||
October 12, 2010 General » Re: Is D right for me? | |||
|---|---|---|---|
| |||
...t len) // read *exactly* len bytes into buf
* void write(void *buf, size_t len... | |||
Copyright © 1999-2021 by the D Language Foundation