int length = port.getWidthInside();
int[] bufferSizes = new int[length];
_bufferSizes.put(port, bufferSizes);
Director directorHelper = (Director) _getHelper((((Actor) getComponent())
.getDirector()));
for (int i = 0; i < port.getWidthInside(); i++) {
// If the local director is an SDF director, then the buffer
// size got from the director helper is final. Otherwise
// the buffer size will be updated later on with the maximum
// for all possible schedules.
int bufferSize = directorHelper.getBufferSize(port, i);
setBufferSize(port, i, bufferSize);
}
Object[] readOffsets = new Object[length];
_readOffsets.put(port, readOffsets);