Something well-written that does more than just print "Hello world!" and is much less complex than the Linux kernel.
For example the program SetTime which comes with Visual C++ source code and project files. This is described by its author as being written "with meticulous care as a programming example to legibly demonstrate a variety of Windows programming techniques and constructs".
Just any source code is not necessarily good for learning from, see Uri's caveats in answer to a similar question.