February 22, 2022 Issues » [Issue 22809] New: ImportC: druntime’s definition of __builtin_offsetof leads to dereference of invalid pointer. | |||
|---|---|---|---|
| |||
...typedef unsigned long size_t;
struct Foo {
int x;
};
int y = ((size_t)((char *)&((struct... | |||
February 21, 2022 General » Re: Discussion Thread: DIP 1035--@system Variables--Final Review | |||
|---|---|---|---|
| |||
...parallel to a pointer and a `@system size_t`. - Some people asked for the feature... | |||
February 21, 2022 General » Re: Discussion Thread: DIP 1035--@system Variables--Final Review | |||
|---|---|---|---|
| |||
...a) it stores a `size_t`, so eliminating the `union` wouldn't save any space... | |||
February 21, 2022 General » Re: Discussion Thread: DIP 1035--@system Variables--Final Review | |||
|---|---|---|---|
| |||
...idea around a `size_t` which indexes into memory. Why can't we do the... | |||
February 21, 2022 General » Re: [OT] The Usual Arithmetic Confusions | |||
|---|---|---|---|
| |||
...int.max (or ssize_t.max) becomes the official array size limit on 32-bit... | |||
February 20, 2022 Learn » Re: Tips on TCP socket to postgresql middleware | |||
|---|---|---|---|
| |||
...of threads, the buffer size that you mention...In case you haven't seen yet, the... | |||
February 20, 2022 Learn » Re: Function Parameters without Names? | |||
|---|---|---|---|
| |||
...Nayar wrote: 1) `extern(C) void* malloc(size_t);` No need for parameter name at... | |||
February 18, 2022 Genel » Re: 12 Tamsayılar Ve Aritmetik İşlemler | |||
|---|---|---|---|
| |||
...türe dönüştürülür Dizilerin .length niteliği size_t'dir. size_t, 64 bitlik ortamda ulong'dur... | |||
February 18, 2022 General » Re: [OT] The Usual Arithmetic Confusions | |||
|---|---|---|---|
| |||
...stdc.stdlib;
import std.stdio;
writeln(malloc(size_t(int.max)+1)); // null (int.max... | |||
February 18, 2022 General » Re: [OT] The Usual Arithmetic Confusions | |||
|---|---|---|---|
| |||
...it can also make sense to do index computations with `long` instead of `size_t`.) | |||
Copyright © 1999-2021 by the D Language Foundation