August 03, 2013 Issues » [Issue 10754] New: std.range.rotate? | |||
|---|---|---|---|
| |||
...int len = r.walkLength;
return r.cycle.drop(n >= 0 ? n : len + n).take(len... | |||
August 03, 2013 Issues » [Issue 10753] New: std.array.array of a range of structs with immutable fields too | |||
|---|---|---|---|
| |||
...Foo[]()
{
return (cast(Foo*)(*this._data).arr)[len..len + 1u];
}
()[0u] Foo with immutable members... | |||
July 30, 2013 Announce » Re: Article: Increasing the D Compiler Speed by Over 75% | |||
|---|---|---|---|
| |||
...len = aa->b_length;
if (len == 4)
i = (size_t)key & 3;
else if (len... | |||
July 22, 2013 General » Re: xdc: A hypothetical D cross-compiler and AST manipulation tool. | |||
|---|---|---|---|
| |||
...Array(T) { T* ptr; private size_t len; ... }
This code will only be visible to... | |||
July 22, 2013 Learn » Re: Why is size_t unsigned? | |||
|---|---|---|---|
| |||
...max); int len = cast(int)s.length; for (int i=0; i < len-1; i... | |||
July 16, 2013 Learn » Re: Need a way to get compressed mangling of a symbol. | |||
|---|---|---|---|
| |||
...128
if (len > LIBIDMAX)
{
// Attempt to compress the name
name2 = id_compress(name, len);
// snip... | |||
July 15, 2013 Learn » Re: Allocate N elements | |||
|---|---|---|---|
| |||
...u)
{
immutable len = arr.length;
arr.ptr[len] = u;
arr = arr[0 .. len + 1];
}
//----
void... | |||
July 09, 2013 GDC » [Bug 69] gcc.builtins should be nothrow, pure and probably @safe | |||
|---|---|---|---|
| |||
...nothrow @safe int __builtin_va_arg_pack_len();
extern pure nothrow @safe ulong __builtin_object... | |||
July 05, 2013 General » Re: [:] as empty associative array literal, plus warning for null | |||
|---|---|---|---|
| |||
...it packs 2 pointers (pair: ptr, ptr+len), modeling the region in between. No matter... | |||
June 30, 2013 Issues » [Issue 10515] New: -shared -O -release -fPIC -m32 generates a broken library | |||
|---|---|---|---|
| |||
...override size_t write (size_t len)
{
return len;
}
}
~~~
Compile and link those two files... | |||
Copyright © 1999-2021 by the D Language Foundation