Symbian3/SDK/Source/GUID-E2CB0826-FC44-5AC9-BBB1-B449073484F3.dita
changeset 8 ae94777fff8f
parent 7 51a74ef9ed63
child 13 48780e181b38
equal deleted inserted replaced
7:51a74ef9ed63 8:ae94777fff8f
    18 termed the <i>granularity</i> of the array. For example, adding a fifth element
    18 termed the <i>granularity</i> of the array. For example, adding a fifth element
    19 to a fixed flat array constructed with a granularity of four, causes the array
    19 to a fixed flat array constructed with a granularity of four, causes the array
    20 buffer to be re-allocated so that its capacity increases from four to eight
    20 buffer to be re-allocated so that its capacity increases from four to eight
    21 elements.</p>
    21 elements.</p>
    22 <fig id="GUID-B752C5C8-FFA3-5F27-8D75-C951EE2D1432">
    22 <fig id="GUID-B752C5C8-FFA3-5F27-8D75-C951EE2D1432">
    23 <image href="GUID-4922D80F-009D-56CE-B255-FDAF9C247667_d0e219038_href.png" placement="inline"/>
    23 <image href="GUID-4922D80F-009D-56CE-B255-FDAF9C247667_d0e215301_href.png" placement="inline"/>
    24 </fig>
    24 </fig>
    25 <p>For a segmented array buffer, the granularity defines the capacity of a
    25 <p>For a segmented array buffer, the granularity defines the capacity of a
    26 single segment. A segmented array buffer is always expanded by allocating
    26 single segment. A segmented array buffer is always expanded by allocating
    27 additional segments.</p>
    27 additional segments.</p>
    28 <p>The granularity of an array is defined at construction time.
    28 <p>The granularity of an array is defined at construction time.