February 23, 2012 General » Re: A file reading benchmark | |||
|---|---|---|---|
| |||
...argv[1])
for line in f:
if len(line) > 10000: rows.append(line[:-1].split... | |||
February 19, 2012 General » Re: When are associative arrays meant to throw a RangeError? | |||
|---|---|---|---|
| |||
The call is rewriten to _aa_len(aa) and checks for null. This can almost... | |||
February 19, 2012 General » Re: The Right Approach to Exceptions | |||
|---|---|---|---|
| |||
...specific handling ..
writeln("length: ", (cast(UTFException)ex).len);
}
// .. handling of UtfException and StringException in common... | |||
February 12, 2012 Issues » [Issue 7487] New: A faster std.bitmanip.BitArray.opCat | |||
|---|---|---|---|
| |||
...auto istart = len;
length = len + b.length;
for (auto i = istart; i < len; i++)
this... | |||
February 06, 2012 Genel » Bir leftJustify incelemesi | |||
|---|---|---|---|
| |||
...len = s.walkLength();
writefln("s.walkLength(): %s, s.length: %s", len, s.length);
if(len... | |||
February 06, 2012 Genel » Bir leftJustify incelemesi | |||
|---|---|---|---|
| |||
...len = s.walkLength();
if(len >= width)
return s;
auto retval = new Unqual!(C)[width - len... | |||
February 04, 2012 Genel » Bir leftJustify incelemesi | |||
|---|---|---|---|
| |||
...t width,
char fillChar = ' ')
{
immutable len = s.length;
if(len >= width) {
/* Dizginin uzunluğu, içine yazılacağı... | |||
February 04, 2012 Genel » Bir leftJustify incelemesi | |||
|---|---|---|---|
| |||
...2] encoded; auto len = std.utf.encode(encoded, item); put(encoded[0 .. len]); ``` Ayrıca inceleme... | |||
February 03, 2012 Genel » Dosyaya bayt yazmak | |||
|---|---|---|---|
| |||
...len = s.walkLength(); alias typeof(s[0]) C; //auto retval = new Unqual!(C)[width - len... | |||
February 02, 2012 Genel » Dosyaya bayt yazmak | |||
|---|---|---|---|
| |||
...yazacağım. ``` auto retval = new Unqual!(C)[width - len + s.length]; ``` Unqual, kendisine verilen türün const... | |||
Copyright © 1999-2021 by the D Language Foundation