A Study on Thinking Patterns of Large Reasoning Models in Code Generation