to move information between one's memory and some other source of information, e.g. a book. (These respectively correspond to "fast-access memory" and "slower storage" referred to in the "origin" section below.)
To keep something "swapped in" is to keep it fresh in one's memory. To "swap something out" is to write it down before you forget. To "have swapped something out" is to have forgotten it because - in theory - some other information overwrote it in one's brain.
I read the programming manual every few months to keep it swapped in.
Person, being interrupted while writing: Just a second, let me finish swapping this out.
Person A: Which order do the functional parameters go?
Person B: I swapped that out. Let me check the manual.