I tend to go to the right in those situations, unless there is a wider than normal cycle lane. In both situations I slow down and take extra care to look for anything that might be coming out from between stationary vehicles, slowing right down when passing anything that I can't see through or past. I cross the white line if there is a gap in the oncoming traffic, as this gives me more space between myself and the vehicles I'm passing.
I tend to go to the right in those situations, unless there is a wider than normal cycle lane. In both situations I slow down and take extra care to look for anything that might be coming out from between stationary vehicles, slowing right down when passing anything that I can't see through or past. I cross the white line if there is a gap in the oncoming traffic, as this gives me more space between myself and the vehicles I'm passing.