October 07, 2015 Learn » Re: AWS API Dlang, hmac sha256 function. | |||
|---|---|---|---|
| |||
...b2.length);
ubyte[] ret;
for (uint i = 0; i < b1.length; i++)
ret ~= b1[i... | |||
September 26, 2015 Issues » [Issue 15121] New: Unneeded stack frame generated | |||
|---|---|---|---|
| |||
...mov RAX,RCX
5D pop RBP
C3 ret
The stack frame is not necessary, and... | |||
September 16, 2015 General » Re: Desperately looking for a work-around to load and unload D shared libraries from C on OSX | |||
|---|---|---|---|
| |||
...Dl_info info;
int ret = dladdr(cast(void*)&callOnAddImage, &info);
assert(ret);
// "dli_fbase" is... | |||
September 08, 2015 Issues » [Issue 15028] New: Weird disassembly on asm.dlang.org | |||
|---|---|---|---|
| |||
...e <void example.f()+0xe>
pop rbp
ret
---
The function is called with null argument?
-- | |||
September 04, 2015 General » std.Stream.InputStream convenience functions | |||
|---|---|---|---|
| |||
...readAndReturn(T)(InputStream stream)
{
T ret;
stream.read(ret);
return ret;
}
alias readByte = readAndReturn!byte... | |||
August 29, 2015 Issues » [Issue 14975] New: DMD refuses to inline even trivial struct constructors | |||
|---|---|---|---|
| |||
...true) static auto inline_cons(int bar) {
foo ret = void;
ret.bar = bar;
return ret;
}
}
-- | |||
August 28, 2015 General » Re: dmd codegen improvements | |||
|---|---|---|---|
| |||
...true) static auto inline_cons(int bar) {
foo ret = void;
ret.bar = bar;
return ret;
}
}
| |||
August 23, 2015 Learn » Re: (De)Serializing interfaces | |||
|---|---|---|---|
| |||
...sizeof] ret; foreach(i; 0 .. T.sizeof) ret[i] = input.moveFront; return to!T(ret... | |||
August 19, 2015 Issues » [Issue 14936] New: Dividing by a power of 2 slow on 32bit | |||
|---|---|---|---|
| |||
...pop %ebx
mov %ebp,%esp
pop %ebp
ret $0x8
add %al,(%eax)
In comparison to... | |||
August 09, 2015 General » Re: D for Game Development | |||
|---|---|---|---|
| |||
...double d) {
return cos(d);
}
generates:
_D3foo3fooFdZd:
fld qword ptr 4[ESP]
fcos
ret 8 | |||
Copyright © 1999-2021 by the D Language Foundation