Depends on the bike and the bars it came with. My bike didnt come with extra cable length. I would have to have gotten "all new" if I had gotten Any sort of Ape style handle bar to put on my bike when stock.
I'm betting anything 2 inches more that stock will have to be rewired. They don't seem to leave anything extra for wire from the factory. Trying to keep it clean looking?