January 20, 2014 Learn » Re: Any library with string encoding/decoding support? | |||
|---|---|---|---|
| |||
...while(inputLength) {
auto ret = iconv(i, &input, &inputLength, &outputBuffer, &outputLength);
if(ret == -1) {
// check errno... | |||
January 07, 2014 Learn » Re: How do I choose the correct primative? | |||
|---|---|---|---|
| |||
...RBP,RSP mov EAX,0Ah pop RBP ret ---- mov EAX,0AH This is a 32... | |||
January 06, 2014 Learn » Re: How do I choose the correct primative? | |||
|---|---|---|---|
| |||
...RBP,RSP mov EAX,0Ah pop RBP ret 0f1f add [RAX],R8B .text._Dmain ends... | |||
January 05, 2014 Learn » Re: How do I choose the correct primative? | |||
|---|---|---|---|
| |||
...rbp-8] lea rsp,[rbp] pop rbp ret //This does a 32 bit load into... | |||
January 02, 2014 Learn » Re: Struct field reordering | |||
|---|---|---|---|
| |||
...1]) == string))
{
ret.name = Args[1];
return ret ~ packedFieldsImpl!(Args[2 .. $])();
}
else
return ret ~ packedFieldsImpl... | |||
December 28, 2013 LDC » Re: Inlining problem of core.bitops | |||
|---|---|---|---|
| |||
...startproc
movl %edi, %eax
bsfq %rax, %rax
ret
It inlines llvm_cttz because that is... | |||
December 27, 2013 General » std.conv.parse for user defined structs/objects | |||
|---|---|---|---|
| |||
...Range)(Range range)
if(...)
{
typeof(this) ret;
...
return ret;
}
}
-----------
or something like that.
And then... | |||
December 25, 2013 Issues » [Issue 11817] New: Structs with void initialized fields get initialized anyway | |||
|---|---|---|---|
| |||
...EBP],3
pop EDI
pop ESI
leave
ret
I.e. the field s.b is... | |||
December 25, 2013 Learn » Re: dmd simple loop disassembly - redundant instruction? | |||
|---|---|---|---|
| |||
...useless loop away: __Dmain: xorl %eax, %eax ret If I modify the code returning some... | |||
December 21, 2013 Learn » ubytes to ulong problem | |||
|---|---|---|---|
| |||
...cast(ulong)block[n+7] * 2^0;
writefln ("ret = %s", ret);
return ret;
}
--
Charles Hixson
| |||
Copyright © 1999-2021 by the D Language Foundation