Search

November 03, 2021
Learn »
...D
void assumedLength(S)(ref S slice, size_t length) {
    if(slice.length >= length)
        slice...
November 02, 2021
General »
...of similar size, made it a requirement for adoption after a visit at AT&T.
November 01, 2021
Learn »
...following struct (showing for int):

struct __Slice__ {
  size_t length;
  int * ptr;
}

So, .ptr is...
November 01, 2021
Learn »
...struct LengthSetter {
    void opAssign(size_t length) {
      // Nooo! :)
      *cast(size_t*)(&slice) = length;
    }
  }

  return LengthSetter...
October 31, 2021
Learn »
...C. I just don't understand how "promoting...are also of same size, so this is...
October 29, 2021
General »
...someone could help me with this.

```
for(size_t d = 0; d < props.disparityRange; d...
October 25, 2021
Issues »
...gig file with uncompressed size of 4-gig...of RAM. I don't know why. Maybe...
October 25, 2021
Learn »
...size of the heap up to the  size...I didn't look at the implementation, but...
October 24, 2021
Learn »
...gig file with uncompressed size of 4-gig...of RAM. I don't know why. Maybe...
October 23, 2021
Learn »
...this() {
        bar.length = 10;
    }
    ref int opIndex(size_t i) {
        return bar[i];
    }
}
void main...
126 127 128 129 130 131 132 133 134 135 136
Next ›   Last »