November 15, 2021 Genel » Re: Karşılaştırma: synchronized, atomicOp, cas | |||
|---|---|---|---|
| |||
...işçiBaşınaArtış değeri nasıl oluyor da 4 işleve ```size_t artış``` vasaıtasıyla aktarılıyor! Sanırım spawn()'nın... | |||
November 14, 2021 Genel » Karşılaştırma: synchronized, atomicOp, cas | |||
|---|---|---|---|
| |||
...değişkeni doğrudan değiştirdiğinden
// sonuç hatalıdır.
void korumasız(size_t artış) {
foreach (_; 0 .. artış) {
// D, hatalı... | |||
November 14, 2021 Learn » Re: How to get the location (file, line) of UDA without parens? | |||
|---|---|---|---|
| |||
...2)):
```d
struct W(string f = __FILE__, size_t l = __LINE__)
{
auto loc = L(f... | |||
November 14, 2021 Learn » How to get the location (file, line) of UDA without parens? | |||
|---|---|---|---|
| |||
...L
{
string file;
size_t line;
}
auto W(string f = __FILE__,size_t l= __LINE... | |||
November 13, 2021 General » Store mutable indirections in immutable data with this one weird trick! | |||
|---|---|---|---|
| |||
...Stores a pointer, cast to an integer
size_t address;
// Enables GC scanning (and prevents... | |||
November 13, 2021 General » Re: Want reasonable reference counting? Disable automatic sharing of immutable | |||
|---|---|---|---|
| |||
...haven't been making progress on this may be that your intuition for the size... | |||
November 13, 2021 General » Re: Challenge: write a reference counted slice that works as much as possible like a built-in slice | |||
|---|---|---|---|
| |||
...today isn't that. I don't think...reason. Using a fixed-size array or a... | |||
November 13, 2021 General » Re: Challenge: write a reference counted slice that works as much as possible like a built-in slice | |||
|---|---|---|---|
| |||
...it back:
immutable(int)* p;
size_t n = cast(size_t) (p - 1);
int* q... | |||
November 12, 2021 Learn » Re: Wrong result with enum | |||
|---|---|---|---|
| |||
...n,
double b = factors.n1)
{ return cast(size_t)(a * b)/2; }
void main()
{
gauss... | |||
November 11, 2021 General » Re: Is importC ready? | |||
|---|---|---|---|
| |||
...night to assess the size of the problem. I couldn't even understand what some... | |||
Copyright © 1999-2021 by the D Language Foundation