From 9387913b734e1a8f4c90acdfcbdc7f92a9892244 Mon Sep 17 00:00:00 2001 From: Araq Date: Mon, 31 Jan 2011 08:50:30 +0100 Subject: documentation improvements --- lib/system/alloc.nim | 7 ------- 1 file changed, 7 deletions(-) (limited to 'lib/system') diff --git a/lib/system/alloc.nim b/lib/system/alloc.nim index 840107440..0e0b450b4 100755 --- a/lib/system/alloc.nim +++ b/lib/system/alloc.nim @@ -329,7 +329,6 @@ proc ListRemove[T](head: var T, c: T) {.inline.} = proc isSmallChunk(c: PChunk): bool {.inline.} = return c.size <= SmallChunkSize-smallChunkOverhead() - #return c.size < SmallChunkSize proc chunkUnused(c: PChunk): bool {.inline.} = result = not c.used @@ -377,9 +376,6 @@ proc freeBigChunk(a: var TAllocator, c: PBigChunk) = proc splitChunk(a: var TAllocator, c: PBigChunk, size: int) = var rest = cast[PBigChunk](cast[TAddress](c) +% size) assert(rest notin a.freeChunksList) - # c_fprintf(c_stdout, "to add: %p\n", rest) - # writeFreeList(allocator) - # assert false rest.size = c.size - size rest.used = false rest.next = nil @@ -397,14 +393,11 @@ proc getBigChunk(a: var TAllocator, size: int): PBigChunk = result = a.freeChunksList block search: while result != nil: - #if not chunkUnused(result): - # c_fprintf(c_stdout, "%lld\n", int(result.used)) assert chunkUnused(result) if result.size == size: ListRemove(a.freeChunksList, result) break search elif result.size > size: - #c_fprintf(c_stdout, "res size: %lld; size: %lld\n", result.size, size) ListRemove(a.freeChunksList, result) splitChunk(a, result, size) break search -- cgit 1.4.1-2-gfad0 colorschemes/__init__.py?id=6db53d9a8a6c9d30b63330bd9edb2f749c8c02f7'>diff stats
path: root/ranger/colorschemes/__init__.py
blob: 9e55dc1e26714f4d605f593bc215477efba7ed36 (plain) (tree)
1
                                                                              
ref='#n49'>49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68