Symbian3/PDK/Source/GUID-E2CB0826-FC44-5AC9-BBB1-B449073484F3.dita
changeset 5 f345bda72bc4
parent 3 46218c8b8afa
child 9 59758314f811
equal deleted inserted replaced
4:4816d766a08a 5:f345bda72bc4
    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_d0e307250_href.png" placement="inline"/>
    23 <image href="GUID-4922D80F-009D-56CE-B255-FDAF9C247667_d0e328475_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.