August 25, 2010 Issues » [Issue 4722] New: Debug Phobos lib | |||
|---|---|---|---|
| |||
...0);
}
body
{
ptr = cast(uint*)v.ptr;
len = numbits;
}
But if you compile (with no... | |||
August 24, 2010 Issues » [Issue 4717] std.bitmanip.BitArray changes | |||
|---|---|---|---|
| |||
...the BitArray struct:
struct BitArray
{
size_t len;
uint* ptr;
...
void init(void[] v, size... | |||
August 24, 2010 General » Re: Why C++ compiles slowly | |||
|---|---|---|---|
| |||
...fat pointers (C structs that keep ptr + len) as D may be enough to avoid... | |||
August 24, 2010 Learn » BitArray contracts | |||
|---|---|---|---|
| |||
...0);
}
body
{
ptr = cast(uint*)v.ptr;
len = numbits;
}
But it seems this program works... | |||
August 10, 2010 Learn » Re: Cannot use local xxx as parameter to non-global template. | |||
|---|---|---|---|
| |||
...offset, int len)
{
auto pre = array[0 .. offset];
auto slice = array[offset .. offset+len];
auto... | |||
August 09, 2010 Learn » Cannot use local xxx as parameter to non-global template. | |||
|---|---|---|---|
| |||
...offset, int len)
{
auto pre = array[0 .. offset];
auto slice = array[offset .. offset+len];
auto... | |||
August 08, 2010 General » Re: tolf and detab | |||
|---|---|---|---|
| |||
...for line in open(file_name):
total += len(line)
return total
print "Total:", process(argv... | |||
August 07, 2010 Learn » palindrome function | |||
|---|---|---|---|
| |||
...text(num);
int len = s.length;
for (int i = 0; i < len / 2; ++i) {
if... | |||
August 05, 2010 General » Re: Andrei's Google Talk | |||
|---|---|---|---|
| |||
...enforce could be made, so this works:
enforce(a < len, new RangeError("out of bounds")); | |||
July 30, 2010 General » Re: TDPL: Foreach over Unicode string | |||
|---|---|---|---|
| |||
...int wctomb(char *s, wchar_t wch) {
len = WideCharToMultiByte(__locale_codepage, ...);
}
I found the C... | |||
Copyright © 1999-2021 by the D Language Foundation