Search

May 20, 2011
Issues »
...length < len) len = arr.length;
            }
            arr[0..len] = items[0..len];
            items       = items[len..$];
            _tail...
May 19, 2011
Learn »
...create a closure:

auto dg = {recv(buf, len);}; // forces a closure.
wait(dg);

because you...
May 19, 2011
Learn »
...numWaiters--;
}

void test()
{
    ubyte[] buf = new ubyte[1500];
    size_t len;

    wait( { recv(buf, len); } );
}
May 17, 2011
General »
...complete onSend's documentation.

contentLength(size_t len); => contentLength(size_t length);

'Perform http request...
May 14, 2011
Issues »
...length structs:

struct MyArray(T) {
  size_t len;
  T data[0];

  // access methods here, that...
May 09, 2011
General »
...int len){
	string res="return std.stdio.stdin.readf(format,";
	foreach(t;0..len) res...
May 07, 2011
Genel »
...be len*len_mult big */
	double len_ratio; 	/* Given len, final size is len*len...
April 29, 2011
Issues »
...bytes.");

    size_t len = (a.length & (~UNROLL_MASK)) * a[0].sizeof;

    if (len) {
        asm {
            mov...
April 09, 2011
General »
...int[] buff;
	this(size_t len) {
		buff = new int[len];
	}
	this(this) {
		buff = buff.dup...
April 07, 2011
Phobos »
...realloc(buf,len);
        else
            buf = (unsigned char *) malloc(len);
#endif
+        assert(buf);
        pend = buf + len;

79 80 81 82 83 84 85 86 87 88 89 90
Next ›   Last »