June 06, 2020 General » Re: Getting action on your favorite D issues | |||
|---|---|---|---|
| |||
...with 8 bit sized types (bool, byte, ubyte and char). With short it uses correctly... | |||
June 05, 2020 General » Re: Counting bits in a ulong | |||
|---|---|---|---|
| |||
...std.datetime.systime; ubyte [257] LOOKUP_1; // 8-bit lookup table ubyte [65537] LOOKUP_2... | |||
June 02, 2020 General » Re: template statistics | |||
|---|---|---|---|
| |||
...Unqual!(ElementType!A)) || is(ElementType!A : const(ubyte))) && i
sInputRange!A && !isInfinite!A)
1 1... | |||
June 01, 2020 Issues » [Issue 20892] New: [REG2.086] ElfFile comparison suboptimal | |||
|---|---|---|---|
| |||
...struct MMapRegion(T)
alias data this;
private ubyte[] mappedRegion;
const(T)* data;
```
Before 2.086... | |||
May 31, 2020 Issues » [Issue 20887] New: Improve speed of std.digest.digest!(Hash, Range) on non-array ranges | |||
|---|---|---|---|
| |||
...use something like `std.stdio.File.byChunk(ubyte[])` but I didn't find anything equivalent... | |||
May 29, 2020 Learn » Re: [Windows]Need an example: How to read and list names of USB devices via Windows API without using Utilities | |||
|---|---|---|---|
| |||
...bVal);
break;
case VARENUM.VT_UI1:
printf("ubyte: %d\n",
cast(int) vtProp.bVal);
break... | |||
May 24, 2020 Learn » Re: Using Vibe.d for not HTTP | |||
|---|---|---|---|
| |||
...void handleConnections(TCPConnection connection) {
...
}
auto buf = new ubyte[amount];
connection.read(temp);
connection.write(buf... | |||
May 21, 2020 Learn » Re: How to allocate/free memory under @nogc | |||
|---|---|---|---|
| |||
...that in your example if T is ubyte or some other trivial value type it... | |||
May 20, 2020 Issues » [Issue 20850] New: Can't assign enum of Tuple | |||
|---|---|---|---|
| |||
...std.typecons : Tuple, tuple;
enum RC5Command: Tuple!(ubyte, ubyte) {
Standby = RC5Command(0,0)
}
unittest {
RC5Command... | |||
May 20, 2020 Learn » Assignment of tuples | |||
|---|---|---|---|
| |||
...enum RC5Command: Tuple!(ubyte, ubyte) {
Standby = tuple(to!ubyte(0x10), to!ubyte(0x0c)),
…
I... | |||
Copyright © 1999-2021 by the D Language Foundation