Search

July 31, 2020
Issues »
...arr = cast(ubyte[])typeid(T).initializer();
    if (arr.ptr is null) {
        (cast(ubyte*)val)[0...
July 30, 2020
Issues »
...large to exhaust the stack of course
    ubyte[10_000_000] i = [1,2];

    void...
July 30, 2020
Learn »
...string is base64 data.

```
import std.base64;
ubyte[] data = Base64.decode(rest_of_string);
```

And...
July 30, 2020
General »
...16, 320) short arg3,
  @interval(0, 127) ubyte arg4,
  ref @interval(0, 8192) ushort arg5...
July 27, 2020
General »
...meta.d(287): vtemplate: instance `isSame!(BigInt, ubyte)`
...
druntime/import/object.d(2952): vtemplate: found...
July 25, 2020
Issues »
...Byte = ubyte;
alias T = mixin(q{const(Byte)})*;
static assert(is(T==const(ubyte)*)); // fails...
July 22, 2020
Learn »
...msg, typeof(a[0]));
    pragma(msg, typeof(b[0]));
}
```

16LU
16LU
1LU
2LU
ubyte
ushort
July 21, 2020
Learn »
...as it is easily proven to work (`ubyte[170_000_000] s; void main(){s...
July 21, 2020
Issues »
...request #11437 "fix Issue 14458 - very slow ubyte[] assignment (dmd doesn't use memset)" was...
July 21, 2020
Learn »
...or not.

The idea is:

---
class A {
    ubyte[4_000_000_000] whole_system;
}

@safe...
90 91 92 93 94 95 96 97 98 99 100 101
Next ›   Last »