Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 0 | 1.000 | statement_seq |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 99 | InclusionConstraintGraph/Node.h |
2 | 6 | 107 | InclusionConstraintGraph/Node.h |
| ||||
begin_memory = reinterpret_cast<char *>(VirtualAlloc(NULL, size_of_node *page_size,MEM_COMMIT | MEM_RESERVE, PAGE_READWRITE)); if (begin_memory == NULL) { std::cerr << "Error: Could not allocate requested memory for nodes." << std::endl; throw "Out of memory."; } end_memory = begin_memory + size_of_node *page_size; |
| ||||
begin_memory = reinterpret_cast<char *>(VirtualAlloc(NULL, size_of_node *page_size,MEM_COMMIT | MEM_RESERVE, PAGE_READWRITE)); if (begin_memory == NULL) { std::cerr << "Error: Could not allocate requested memory for nodes." << std::endl; throw "Out of memory."; } end_memory = begin_memory + size_of_node *page_size; |
| |||
begin_memory = reinterpret_cast<char *>(VirtualAlloc(NULL, size_of_node * page_size, MEM_COMMIT | MEM_RESERVE, PAGE_READWRITE)); if (begin_memory == NULL) { std::cerr << "Error: Could not allocate requested memory for nodes." << std::endl; throw "Out of memory."; } end_memory = begin_memory + size_of_node * page_size; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
None |