Source
2124
2124
UINT32ENCODE(buf, (uint32_t)0); /* Store the un-used padding */
2125
2125
lenp = buf; /* keep the pointer to the length location for later */
2126
2126
buf += 4; /* skip over space for length */
2127
2127
2128
2128
/* Encode number of dimensions */
2129
2129
UINT32ENCODE(buf, (uint32_t)space->extent.rank);
2130
2130
len += 4;
2131
2131
2132
2132
/* Check for a "regular" hyperslab selection */
2133
2133
if(space->select.sel_info.hslab->diminfo_valid) {
2134
-
unsigned u; /* Local counting variable */
2135
2134
2136
2135
/* Encode number of hyperslabs */
2137
2136
H5_CHECK_OVERFLOW(block_count, hsize_t, uint32_t);
2138
2137
UINT32ENCODE(buf, (uint32_t)block_count);
2139
2138
len+=4;
2140
2139
2141
2140
/* Now serialize the information for the regular hyperslab */
2142
2141
2143
2142
/* Build the tables of count sizes as well as the initial offset */
2144
2143
for(u = 0; u < ndims; u++) {