May 20, 2011 Issues » [Issue 5813] [patch] std.array.Appender has severe performance and memory leak problems. | |||
|---|---|---|---|
| |||
...length < len) len = arr.length;
}
arr[0..len] = items[0..len];
items = items[len..$];
_tail... | |||
May 19, 2011 Learn » Re: Enforcing static closure | |||
|---|---|---|---|
| |||
...create a closure:
auto dg = {recv(buf, len);}; // forces a closure.
wait(dg);
because you... | |||
May 19, 2011 Learn » Enforcing static closure | |||
|---|---|---|---|
| |||
...numWaiters--;
}
void test()
{
ubyte[] buf = new ubyte[1500];
size_t len;
wait( { recv(buf, len); } );
} | |||
May 17, 2011 General » Re: Curl wrapper | |||
|---|---|---|---|
| |||
...complete onSend's documentation. contentLength(size_t len); => contentLength(size_t length); 'Perform http request... | |||
May 14, 2011 Issues » [Issue 5997] Static arrays with 0 length accepted by compiler | |||
|---|---|---|---|
| |||
...length structs:
struct MyArray(T) {
size_t len;
T data[0];
// access methods here, that... | |||
May 09, 2011 General » Re: Google Code Jam 2011 Language Usage | |||
|---|---|---|---|
| |||
...int len){
string res="return std.stdio.stdin.readf(format,";
foreach(t;0..len) res... | |||
May 07, 2011 Genel » SDL ilinti çalışmaları | |||
|---|---|---|---|
| |||
...be len*len_mult big */ double len_ratio; /* Given len, final size is len*len... | |||
April 29, 2011 Issues » [Issue 4393] Very good dotProduct | |||
|---|---|---|---|
| |||
...bytes.");
size_t len = (a.length & (~UNROLL_MASK)) * a[0].sizeof;
if (len) {
asm {
mov... | |||
April 09, 2011 General » Struct copy and destruction | |||
|---|---|---|---|
| |||
...int[] buff;
this(size_t len) {
buff = new int[len];
}
this(this) {
buff = buff.dup... | |||
April 07, 2011 Phobos » [phobos] windows breakage | |||
|---|---|---|---|
| |||
...realloc(buf,len);
else
buf = (unsigned char *) malloc(len);
#endif
+ assert(buf);
pend = buf + len;
| |||
Copyright © 1999-2021 by the D Language Foundation