original_string: public function moveArchiveBlobsIntoChunks($recordName, $blobs)
      {
          $chunks = array();
  
          foreach ($blobs as $tableId => $blob) {
              $name = $this->getRecordNameForTableId($recordName, $tableId);
  
              if (!array_key_exists($name, $chunks)) {
                  $chunks[$name] = array();
              }
  
              $chunks[$name][$tableId] = $blob;
          }
  
          return $chunks;
      }
code: public function moveArchiveBlobsIntoChunks($recordName, $blobs)
      {
          $chunks = array();
  
          foreach ($blobs as $tableId => $blob) {
              $name = $this->getRecordNameForTableId($recordName, $tableId);
  
              if (!array_key_exists($name, $chunks)) {
                  $chunks[$name] = array();
              }
  
              $chunks[$name][$tableId] = $blob;
          }
  
          return $chunks;
      }
code_tokens: public function moveArchiveBlobsIntoChunks ( $ recordName , $ blobs ) { $ chunks = array ( ) ; foreach ( $ blobs as $ tableId => $ blob ) { $ name = $ this -> getRecordNameForTableId ( $ recordName , $ tableId ) ; if ( ! array_key_exists ( $ name , $ chunks ) ) { $ chunks [ $ name ] = array ( ) ; } $ chunks [ $ name ] [ $ tableId ] = $ blob ; } return $ chunks ; }
docstring: Moves the given blobs into chunks and assigns a proper record name containing the chunk number.
  
  @param string $recordName The original archive record name, eg 'Actions_ActionsUrl'
  @param array  $blobs  An array containg a mapping of tableIds to blobs. Eg array(0 => 'blob', 1 => 'subtableBlob', ...)
  @return array        An array where each blob is moved into a chunk, indexed by recordNames.
  eg array('Actions_ActionsUrl_chunk_0_99'    => array(0 => 'blob', 1 => 'subtableBlob', ...),
  'Actions_ActionsUrl_chunk_100_199' => array(...))
docstring_tokens: Moves the given blobs into chunks and assigns a proper record name containing the chunk number .