July 31, 2020 Issues » [Issue 21097] [REG2.083] Stack exhaustion upon large struct .destroy | |||
|---|---|---|---|
| |||
...arr = cast(ubyte[])typeid(T).initializer();
if (arr.ptr is null) {
(cast(ubyte*)val)[0... | |||
July 30, 2020 Issues » [Issue 21097] New: [REG2.083] Stack exhaustion upon large struct .destroy | |||
|---|---|---|---|
| |||
...large to exhaust the stack of course
ubyte[10_000_000] i = [1,2];
void... | |||
July 30, 2020 Learn » Re: How do I convert a Base64 image url string to a png/jpg image file? | |||
|---|---|---|---|
| |||
...string is base64 data. ``` import std.base64; ubyte[] data = Base64.decode(rest_of_string); ``` And... | |||
July 30, 2020 General » Re: Perfect forwarding | |||
|---|---|---|---|
| |||
...16, 320) short arg3, @interval(0, 127) ubyte arg4, ref @interval(0, 8192) ushort arg5... | |||
July 27, 2020 General » Better formatting and sorting of template instance diagnostics | |||
|---|---|---|---|
| |||
...meta.d(287): vtemplate: instance `isSame!(BigInt, ubyte)` ... druntime/import/object.d(2952): vtemplate: found... | |||
July 25, 2020 Issues » [Issue 21074] New: const lost in mixin | |||
|---|---|---|---|
| |||
...Byte = ubyte;
alias T = mixin(q{const(Byte)})*;
static assert(is(T==const(ubyte)*)); // fails... | |||
July 22, 2020 Learn » Re: Templates and SIMD - examining types | |||
|---|---|---|---|
| |||
...msg, typeof(a[0]));
pragma(msg, typeof(b[0]));
}
```
16LU
16LU
1LU
2LU
ubyte
ushort | |||
July 21, 2020 Learn » Re: miscellaneous array questions... | |||
|---|---|---|---|
| |||
...as it is easily proven to work (`ubyte[170_000_000] s; void main(){s... | |||
July 21, 2020 Issues » [Issue 14458] very slow ubyte[] assignment (dmd doesn't use memset) | |||
|---|---|---|---|
| |||
...request #11437 "fix Issue 14458 - very slow ubyte[] assignment (dmd doesn't use memset)" was... | |||
July 21, 2020 Learn » Re: miscellaneous array questions... | |||
|---|---|---|---|
| |||
...or not.
The idea is:
---
class A {
ubyte[4_000_000_000] whole_system;
}
@safe... | |||
Copyright © 1999-2021 by the D Language Foundation