I am writing an academic project on extremely long functions in the Linux kernel .
For this purpose, I am looking for examples for real functions that are extremely long (several hundred lines of code) that you do not consider poor programming (i.e. they will not use decomposition or the use of a distribution table).
Have you ever written or seen such code? Can you post or link to it and explain why it took so long?
I get terrific help from the community here - any idea that will be taken into the project will be duly credited.
Thanks,
Udi
, - , , switch. , , , . switch Cyclomatic , , .
: , IIRC 1000+. . . . , .
, , , .
, .
, , . @epotter, switch. , , , , , switch.
, , -, .
, C, .
, , Kernel 8K (, ). , , . - , , , .
, , (, - ), - - . , . .