Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 0 | 1.000 | statement_seq[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 128 | File/WriteUnicodeUTF16File.h |
2 | 5 | 140 | File/WriteUnicodeUTF16File.h |
| ||||
// determine file size required for access if (m_file_size < (position +1) *sizeof (wchar_t)) { m_file_size = (position +1) *sizeof (wchar_t); } // fetch reference to character from current file page return m_file_page[position %(FileMapPageSize /sizeof (wchar_t))]; |
| ||||
// determine file size required for access if (m_file_size < (position +1) *sizeof (wchar_t)) { m_file_size = (position +1) *sizeof (wchar_t); } // fetch character from current file page return m_file_page[position %(FileMapPageSize /sizeof (wchar_t))]; |
| |||
// determine file size required for access if (m_file_size < (position + 1) * sizeof (wchar_t)) { m_file_size = (position + 1) * sizeof (wchar_t); } // fetch reference to character from current file page // fetch character from current file page return m_file_page[position % (FileMapPageSize / sizeof (wchar_t))]; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
None |