/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
heapq.py | 3 """Heap queue algorithm (a.k.a. priority queue). 8 property of a heap is that a[0] is always its smallest element. 12 heap = [] # creates an empty heap 13 heappush(heap, item) # pushes a new item on the heap 14 item = heappop(heap) # pops the smallest item from the heap 15 item = heap[0] # smallest item on the heap without popping i 470 heap = [] variable [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
heapq.py | 3 """Heap queue algorithm (a.k.a. priority queue). 8 property of a heap is that a[0] is always its smallest element. 12 heap = [] # creates an empty heap 13 heappush(heap, item) # pushes a new item on the heap 14 item = heappop(heap) # pops the smallest item from the heap 15 item = heap[0] # smallest item on the heap without popping i 470 heap = [] variable [all...] |
/external/openfst/src/include/fst/ |
heap.h | 19 // Implementation of a heap as in STL, but allows tracking positions 20 // in heap using a key. The key can be used to do an in-place update of 21 // values in the heap. 34 // \class Heap 35 // \brief A templated heap implementation that support in-place update 38 // The templated heap implementation is a little different from the 39 // STL priority_queue and the *_heap operations in STL. This heap 40 // supports indexing of values in the heap via an associated key. 43 // to the calling functions on heap insert. This key can be used 44 // to later update the specific value in the heap [all...] |
/external/srec/tools/thirdparty/OpenFst/fst/lib/ |
heap.h | 0 // heap.h 17 // Implementation of a heap as in STL, but allows tracking positions 18 // in heap using a key. The key can be used to do an in place update of 19 // values in the heap. 30 // \class Heap 31 // \brief A templated heap implementation that support in place update 34 // The templated heap implementation is a little different from the 35 // STL priority_queue and the *_heap operations in STL. The heap 36 // supports indexing of values in the heap via an associated key. 39 // to the calling functions on heap insert. This key can be use [all...] |
/hardware/qcom/msm8960/original-kernel-headers/linux/ |
msm_ion.h | 26 * These are the only ids that should be used for Ion heap ids. 28 * if specified. Don't swap the order of heap ids unless you know what 70 * Flag to use when allocating to indicate that a heap is secure. 113 * struct ion_cp_heap_pdata - defines a content protection heap in the given 117 * @secure_base: Base address for securing the heap. 119 * of this heap in the case of a shared heap. 120 * @secure_size: Memory size for securing the heap. 122 * of this heap in the case of a shared heap [all...] |
/external/chromium_org/v8/src/ |
objects-visiting-inl.h | 112 Heap* heap = map->GetHeap(); local 118 heap, 122 heap, 250 Heap* heap, Address entry_address) { 252 heap->mark_compact_collector()->RecordCodeEntrySlot(entry_address, code); 253 StaticVisitor::MarkObject(heap, code); 259 Heap* heap, RelocInfo* rinfo) 344 Heap* heap = map->GetHeap(); local 367 Heap* heap = map->GetHeap(); local 391 Heap* heap = map->GetHeap(); local 416 Heap* heap = map->GetHeap(); local 431 Heap* heap = map->GetHeap(); local 479 Heap* heap = map->GetHeap(); local 495 Heap* heap = map->GetHeap(); local 544 Heap* heap = map->GetHeap(); local [all...] |
/external/chromium_org/third_party/WebKit/Source/web/ |
DEPS | 5 "+heap",
|
/dalvik/vm/alloc/ |
Heap.h | 17 * Internal heap functions 23 /* If true, only the application heap is threatened. */ 36 /* Automatic GC triggered by exceeding a heap occupancy threshold. */ 46 * Initialize the GC heap. 60 * Tear down the GC heap. 69 * the heap itself is shutdown. 76 * equal to the size of the named object in the heap. 78 * Specifically, it returns the size of the heap 91 * The caller must hold the heap lock as this call releases and 92 * re-acquires the heap lock. After returning, no garbage collectio [all...] |
/external/chromium_org/v8/test/cctest/ |
test-weaktypedarrays.cc | 32 #include "heap.h" 44 static int CountArrayBuffersInWeakList(Heap* heap) { 46 for (Object* o = heap->array_buffers_list(); 55 static bool HasArrayBufferInWeakList(Heap* heap, JSArrayBuffer* ab) { 56 for (Object* o = heap->array_buffers_list(); 92 int start = CountArrayBuffersInWeakList(isolate->heap()); 104 CHECK_EQ(2, CountArrayBuffersInWeakList(isolate->heap()) - start); 105 CHECK(HasArrayBufferInWeakList(isolate->heap(), *iab1)) [all...] |
test-weakmaps.cc | 44 Heap* heap = isolate->heap(); local 49 Object* table_obj = ObjectHashTable::Allocate(heap, 1)->ToObjectChecked(); 81 Heap* heap = isolate->heap(); local 106 heap->CollectAllGarbage(false); 124 heap->CollectAllGarbage(false); 129 heap->CollectAllGarbage(false) 141 Heap* heap = isolate->heap(); local 182 Heap* heap = isolate->heap(); local 221 Heap* heap = isolate->heap(); local [all...] |
test-weaksets.cc | 44 Heap* heap = isolate->heap(); local 49 Object* table_obj = ObjectHashTable::Allocate(heap, 1)->ToObjectChecked(); 81 Heap* heap = isolate->heap(); local 106 heap->CollectAllGarbage(false); 124 heap->CollectAllGarbage(false); 129 heap->CollectAllGarbage(false) 141 Heap* heap = isolate->heap(); local 182 Heap* heap = isolate->heap(); local 221 Heap* heap = isolate->heap(); local [all...] |
/external/chromium-trace/trace-viewer/src/tcmalloc/ |
heap_instance_track.css | 6 .heap-instance-track { 10 .heap-instance-track ul {
|
/external/chromium_org/third_party/tcmalloc/vendor/doc/ |
index.html | 10 <li> <A HREF="heap_checker.html">heap-checking using tcmalloc</A> 11 <li> <A HREF="heapprofile.html">heap-profiling using tcmalloc</A>
|
/external/valgrind/main/gdbserver_tests/ |
mcclean_after_fork.stderr.exp | 8 HEAP SUMMARY: 10 total heap usage: 0 allocs, 0 frees, 0 bytes allocated
|
mcmain_pic.stderr.exp | 6 HEAP SUMMARY: 8 total heap usage: 1 allocs, 0 frees, 16 bytes allocated
|
/external/valgrind/main/memcheck/tests/ |
accounting.stderr.exp | 4 HEAP SUMMARY: 6 total heap usage: 1 allocs, 1 frees, 1 bytes allocated
|
brk2.stderr.exp | 3 HEAP SUMMARY: 5 total heap usage: ... allocs, ... frees, ... bytes allocated
|
bug287260.stderr.exp | 4 HEAP SUMMARY: 6 total heap usage: 0 allocs, 0 frees, 0 bytes allocated
|
filter_allocs | 5 -e "s/total heap usage: [0-9,]* allocs, [0-9,]* frees, [0-9,]* bytes allocated/total heap usage: ... allocs, ... frees, ... bytes allocated/"
|
leak-pool-0.stderr.exp | 3 HEAP SUMMARY: 5 total heap usage: ... allocs, ... frees, ... bytes allocated
|
leak-pool-1.stderr.exp | 3 HEAP SUMMARY: 5 total heap usage: ... allocs, ... frees, ... bytes allocated
|
leak-pool-2.stderr.exp | 3 HEAP SUMMARY: 5 total heap usage: ... allocs, ... frees, ... bytes allocated
|
leak-pool-3.stderr.exp | 3 HEAP SUMMARY: 5 total heap usage: ... allocs, ... frees, ... bytes allocated
|
leak-pool-4.stderr.exp | 3 HEAP SUMMARY: 5 total heap usage: ... allocs, ... frees, ... bytes allocated
|
leak-pool-5.stderr.exp | 3 HEAP SUMMARY: 5 total heap usage: ... allocs, ... frees, ... bytes allocated
|