Search

September 22, 2021
General »
...pointers are stored as `size_t`s, as CAS operations don't work with `void...
September 20, 2021
General »
...just like:

```D
size_t count(InputRange r)
{

}
```

instead of

```D
size_t count(Range...
September 20, 2021
General »
...mimic the true AA impl
    struct FakeBucket {
        size_t hash;
        void * entry;
    }
    struct FakeAAImpl
    {
        FakeBucket...
September 20, 2021
General »
...can add
```d
    Value* opIndex (Key key)
    {
       size_t search_item_idx = hash(key) % n...
September 19, 2021
General »
...for structs. Since the type-size is unknown, it wouldn't allow opaque value-types...
September 18, 2021
Learn »
...uint events;
        epoll_data_t data;
    }
}
```

I am...and has 12 bytes size.
2) old gdc...
September 17, 2021
Learn »
...Type[]` arrays in D are effectively struct {size_t length; Type* ptr; } under the hood...
September 17, 2021
Learn »
...padded_size, attr, tinext);
...
}
```

->

```d
// gc.impl.conservative.gc
    BlkInfo qalloc( size_t size, uint...
September 17, 2021
Learn »
...Options
{
   @Option("threads", "t")
   @Help("Number of threads to use.")
   size_t threads;

   @Option("file...
September 16, 2021
Learn »
...nothrow
T[][] computeChoices(T)(T[] values, size_t tupleSize = 2)
{
    if (tupleSize == 0) {
     	return [[]];
    }

    T...
132 133 134 135 136 137 138 139 140 141 142
Next ›   Last »