Lines Matching refs:Block
66 << "Parameter block not found: " << parameter_block;
84 << "Aliasing detected between existing parameter block at memory "
87 << "block that has memory address " << new_block << " and would have "
98 // Ignore the request if there is a block for the given pointer already.
104 << "Tried adding a parameter block with the same double pointer, "
105 << values << ", twice, but with different block sizes. Original "
113 // Before adding the parameter block, also check that it doesn't alias any
118 // If lb is not the first block, check the previous block for aliasing.
138 // Pass the index of the new parameter block as well to keep the index in
158 // If needed, remove the parameter dependencies on this residual block.
173 // Deletes the residual block in question, assuming there are no other
195 // Deletes the parameter block in question, assuming there are no other
268 << "are not allowed. Parameter block pointers: ["
282 // Check that the block sizes match the block sizes expected by the
287 << "The cost function expects parameter block " << i
289 << " but was given a block of size "
472 // Delete a block from a vector of blocks, maintaining the indexing invariant.
476 template<typename Block>
477 void ProblemImpl::DeleteBlockInVector(vector<Block*>* mutable_blocks,
478 Block* block_to_remove) {
481 << "Block requested: "
483 << "Block present: "
486 // Prepare the to-be-moved block for the new, lower-in-index position by
488 Block* tmp = mutable_blocks->back();
491 // Overwrite the to-be-deleted residual block with the one at the end.
496 // The block is gone so shrink the vector of blocks accordingly.
505 StringPrintf("Residual block to remove: %p not found. This usually means "
510 " the problem, but referred to a parameter block which has "
512 "depend on that parameter block, and was thus removed.\n"
536 // Copy the dependent residuals from the parameter block because the set of
546 // block. Do the scan backwards since the vector changes while iterating.
834 // In this case the residual blocks that depend on the parameter block are
835 block already, so just copy them out.
844 // Find residual blocks that depend on the parameter block.