Green’s Dictionary of Slang

cob n.3

[orig. dial. cob, a small roundish loaf]
(UK prison)

1. [late 19C] a punishment cell.

2. [1940s–50s] prison bread.