code: private void initializeServiceRefMetadata(int serviceLocationOffset, int serviceOffsetIndex) {
          metaDataBuffer.putInt(serviceLocationOffset, serviceRefSection + serviceOffsetIndex * BitUtil.SIZE_OF_INT);
  
          // service reference section
          metaDataBuffer.putInt(serviceRefSection + serviceOffsetIndex * BitUtil.SIZE_OF_INT, 0);
          metaDataBuffer.putInt(serviceRefSection + (serviceOffsetIndex + 1) * BitUtil.SIZE_OF_INT,
                  SERVICE_COUNTER_LABELS_BUFFER_LENGTH);
          metaDataBuffer.putInt(serviceRefSection + (serviceOffsetIndex + 2) * BitUtil.SIZE_OF_INT, 0);
          metaDataBuffer.putInt(serviceRefSection + (serviceOffsetIndex + 3) * BitUtil.SIZE_OF_INT,
                  SERVICE_COUNTER_VALUES_BUFFER_LENGTH);
      }
docs: Method initializing service ref metadata section data
  @param serviceLocationOffset
  @param serviceOffsetIndex