January 05, 2022 General » Re: What GUI lib do you tend to use in D? if you don't use the one you want, what's preventing it? | |||
|---|---|---|---|
| |||
...tools and I don't like to to...to cut down the size of the library. | |||
January 05, 2022 General » Re: SAOC LLDB D integration: 15th Weekly Update | |||
|---|---|---|---|
| |||
Well, I don't think that directly mapping...specific about `long double` size and it is... | |||
December 31, 2021 General » Re: malloc and buffer overflow attacks | |||
|---|---|---|---|
| |||
...in "professional" code): size_t n = ... /* read from file/socket */; size_t nbytes = n * sizeof... | |||
December 31, 2021 General » SAOC LLDB D integration: 15th Weekly Update | |||
|---|---|---|---|
| |||
...D demangling I didn't work on the...to discover the bit size based on the... | |||
December 30, 2021 General » Re: malloc and buffer overflow attacks | |||
|---|---|---|---|
| |||
...if len = size_t.max / 4 and T.sizeof = 8, then (len * T.sizeof) would... | |||
December 31, 2021 General » Re: malloc and buffer overflow attacks | |||
|---|---|---|---|
| |||
...given size immediately; T[] p = (cast(T*)malloc(len * T.sizeof))[0 .. len * T.sizepf... | |||
December 30, 2021 General » malloc and buffer overflow attacks | |||
|---|---|---|---|
| |||
...size calculation overflow:
T* p = cast(T*)malloc(len * T.sizeof);
What if `len*T... | |||
December 30, 2021 General » Re: Is this a bug or a VERY sneaky case? | |||
|---|---|---|---|
| |||
...t code drunk please) or you don't...easier to know the size of each type... | |||
December 30, 2021 General » Re: Is this a bug or a VERY sneaky case? | |||
|---|---|---|---|
| |||
...No slices are basically `struct T[] { T* ptr; size_t length; }` - it's returning pointer... | |||
December 29, 2021 General » Re: Worst ideas/features in programming languages? | |||
|---|---|---|---|
| |||
...struct Vector(size_t dim)
{ private float[dim] content;
ref opIndex(size_t i){return... | |||
Copyright © 1999-2021 by the D Language Foundation