Search

January 12, 2011
Learn »
...4] buf;
	int len = encodingScheme.encode(ch, buf);
	buffer~=buf[0..len];
}


ubyte[] encodedBuffer;
string...
January 06, 2011
General »
...private string _staticMap(size_t len)
{
    string result;
    if (len)
    {
        result ~= "pred!(A[0])";
        for...
January 05, 2011
General »
...stats->tx_packets++;
    stats->tx_bytes += skbn->len;
    ...
}

The bug here is that in some...
January 05, 2011
General »
...len]))
        enum equalTuples = false;
    else
        enum equalTuples =
            equalTuples!(len-1, T[1 .. len], T[len...
January 05, 2011
General »
...len]))
        enum equalTuples = false;
    else
        enum equalTuples =
            equalTuples!(len-1, T[1 .. len], T[len...
January 03, 2011
General »
...size_t len;
  void * saved_stack;
  int[len] * arr.2;
  int arr[len] [value-expr...
January 03, 2011
Issues »
...ptr = cast(Foo*)alloca(len * Foo.sizeof);
Foo[] arr = ptr[0 .. len];//that's all...
January 01, 2011
General »
...is AFAIK actually rewritten to the magic __len__ method for custom types. The equivalent of...
December 25, 2010
General »
...in dictionary:
                dictionary[word] = 1
    print "Words:", len(dictionary)

psyco.bind(main)
main()

Bye,
bearophile
December 24, 2010
Issues »
...compared value is (in your case
string len) unique, but there may be several original...
83 84 85 86 87 88 89 90 91 92 93 94
Next ›   Last »