August 02, 2011 Learn » Re: Generate array of random values | |||
|---|---|---|---|
| |||
...being returned. I guess this is the next best thing: arr = array(rndRange(max, len)); | |||
August 02, 2011 Learn » Re: Generate array of random values | |||
|---|---|---|---|
| |||
...auto max = 1024; auto len = 1024; arr = rndRange(max)[0..len]; IOW, using the slice... | |||
July 25, 2011 Learn » Re: Sending messages using socket | |||
|---|---|---|---|
| |||
...loop repeats forever, although the stream is empty cs.read(len); cs.readString(msg, len); } } } | |||
July 24, 2011 Issues » [Issue 6374] [CTFE] Cannot subscript using pointer to array | |||
|---|---|---|---|
| |||
...ptr[len] = cast(Unqual!T)item; // <-- error
_data.arr = _data.arr.ptr[0 .. len + 1... | |||
July 07, 2011 Learn » Runtime evaluation | |||
|---|---|---|---|
| |||
...In); uint len; s.read(len); string entry = cast(string) s.readString(len); s.close... | |||
June 18, 2011 General » Curl wrapper round two | |||
|---|---|---|---|
| |||
...Result not HttpResult * gramma for http.postData * len -> length * perform http request -> perform a http... | |||
May 26, 2011 General » Re: How about adding NEW Special Tokens?? For ease and Security | |||
|---|---|---|---|
| |||
...idx;
len = size;
idx += size;
}
if(start < mangle.length)
return mangle[start .. start + len];
else... | |||
May 25, 2011 Issues » [Issue 2255] AA.remove() doesn't remove AA element when iterating using foreach | |||
|---|---|---|---|
| |||
...in xrange(10000):
stuff[i] = i
print len(stuff) # Should be 10_000
for k... | |||
May 24, 2011 General » Re: Curl wrapper That's sick | |||
|---|---|---|---|
| |||
...t) len = m.length; data[0..len] = m[0..$]; msg.length = 0; return len; }; Remarkable... | |||
May 23, 2011 General » Building DMD on Linux with Windows Domain Logins | |||
|---|---|---|---|
| |||
...c:171: void OmToHeader(Header*, ObjModule*): Assertion `len <= 6' failed. Digging around, and it appears... | |||
Copyright © 1999-2021 by the D Language Foundation