That reminds me that I had to reimplement basic hashmaps in C at least three times in my career. What a waste of time.
I believe the name comes from a tradition of putting such code in a directory named vendor/name-of-library or vendor/name-of-vendor/name-of-library which allowed for distinguishing between the src directory which was first-party code and the vendor directory which contained code form 3rd party vendors (often such code was proprietary and had to be bought/licensed).
Nowadays the term is used to differentiate between a manual approach and the use of a package manager.
Based on my long builds times and erratic network behavior in CI I'm beginning to think every system should just vendor.