Is it only this code and nothing else?
https://github.com/mcostalba/Stockfish/tree/ONE_PLY/src
Is there no DB or machine learning inside?
https://github.com/mcostalba/Stockfish/tree/ONE_PLY/src
Is there no DB or machine learning inside?
No, SF doesn't use machine learning, it's entirely heuristic.
> If the engine is searching a position that is not in the tablebases (e.g. a position with 7 pieces)
and it speaks a lot about tablebases. What is it?
It's still a heuristic searcher when it's not using those though.