March 15, 2022 Learn » Re: Make shared static this() encoding table compilable | |||
|---|---|---|---|
| |||
...key;
return null;
}
T get(T key)
{
return *aa.get(&key);
}
size_t length()
{
return... | |||
March 13, 2022 Genel » Re: Tek boyutlu diziyi iki boyutlu olarak kullanmak | |||
|---|---|---|---|
| |||
...std.stdio;
auto diziDizisi(T)(size_t x, size_t y) {
T[][] sonuç;
ubyte[] arr... | |||
March 13, 2022 Genel » Tek boyutlu diziyi iki boyutlu olarak kullanmak | |||
|---|---|---|---|
| |||
...size_t satırUzunluğu, size_t satır, size_t sütun) {
size_t buSatırınBaşı = satır * satırUzunluğu;
size... | |||
March 13, 2022 Genel » Re: Big-endian nedir, ne işe yarar? (endianness kavramı) | |||
|---|---|---|---|
| |||
...yakın yol. Dilerseniz burada da reverse kullanın size_t i değeri de değişeceğinden hiçbir veri... | |||
March 12, 2022 Learn » error forward references if scope | |||
|---|---|---|---|
| |||
...T = __traits(hasMember, T, "touch");
//...
}
void main(){
}
```
```
src/app.d(3,1): Error: no size... | |||
March 11, 2022 Genel » Re: Faydalı Yan Etkili Bir Taşma Örneği | |||
|---|---|---|---|
| |||
...oluyor:
```d
// ... önceki kodlar aynı ...
@property pop(size_t x)
{
scope(exit)
{
this.index += x... | |||
March 11, 2022 General » Re: The problem that took him 5 years to fix in C++, I solved in a minute with D | |||
|---|---|---|---|
| |||
...computation of the middle point: ```c++ constexpr size_t m = lo + (hi + low)/2; ``` This... | |||
March 10, 2022 Learn » Write UTF-8 bytes directly to stack buffer | |||
|---|---|---|---|
| |||
...str"(input_thing.fieldA, input_thing.fieldB); } size_t used = buf.length - usable_buf.length... | |||
March 10, 2022 Issues » [Issue 22867] New: std.utf.decode changes offset despite error. | |||
|---|---|---|---|
| |||
...utf;
void main() {
string data = hexString!"f787a598";
size_t offset = 0;
try
{
data.decode(offset... | |||
March 07, 2022 Issues » [Issue 22858] New: [REG2.099] Incorrect alignment of void*[0] | |||
|---|---|---|---|
| |||
...0] arr; } static assert (S.arr.offsetof % size_t.sizeof == 0); // aligned pointer? ``` Alignment is... | |||
Copyright © 1999-2021 by the D Language Foundation