October 03, 2012 Announce » Re: Component Programming in D | |||
|---|---|---|---|
| |||
...be used like this: auto squares = randomAccessRange(len, (size_t i) => i * i); This probably... | |||
October 02, 2012 c++ » Re: export symbol problem | |||
|---|---|---|---|
| |||
...Error: Corrupt file 'ix.lib', Typ=x0, Len=x6308 So the linker is making a... | |||
September 30, 2012 Learn » Re: Very strange problem with comparing floating point numbers | |||
|---|---|---|---|
| |||
...justifications they come up with, "a.len == a.len" failure is IMO unacceptable, an opEqual... | |||
September 28, 2012 Issues » [Issue 4489] std.array.insert is slow | |||
|---|---|---|---|
| |||
...string;
immutable to_insert = stuff.length;
immutable len = array.length;
T* ptr = array.ptr+pos... | |||
September 28, 2012 Learn » Re: read single characters from stdin | |||
|---|---|---|---|
| |||
...buffer[0] = getch();
auto len = stride(buffer,0);
foreach (i ; 1 .. len)
buffer[i] = getch... | |||
September 21, 2012 General » GC.malloc problems with the DMD | |||
|---|---|---|---|
| |||
...buffer[80]; ushort len; while(isc_get_segment(status, & blob_handle, & len, 80, buffer.ptr... | |||
September 20, 2012 Announce » Re: Slides from LASER 2012 | |||
|---|---|---|---|
| |||
...lambda there is a len() global function, that just calls the __len__ attribute/property of... | |||
September 16, 2012 Issues » [Issue 8672] %% operator | |||
|---|---|---|---|
| |||
...movement == -1
while True:
index = (index + movement) % len(data)
if data[index]:
break
return index... | |||
September 15, 2012 Genel » Hızlı sıralama | |||
|---|---|---|---|
| |||
...şekilde:
```
import random
def hızlıSırala(liste):
if len(liste) <= 1:
return liste
küçük = [x for... | |||
September 15, 2012 Genel » Hızlı sıralama | |||
|---|---|---|---|
| |||
...int(time.time())
def hızlıSırala(dizi):
if len(dizi) <= 1:
return dizi
küçük = [x for... | |||
Copyright © 1999-2021 by the D Language Foundation