A number of Keith Laumer's SF novels have a nice hardboiled feel to them ( and A Trace of Memory and Dinosaur Beach come to mind), but Deadfall, published in paperback as Fat Chance is a straightforward Chandler pastiche and homage. The dedication reads, "Dedicated to the incomprable Raymond Chandler and his peerless private eye, Philip Marlowe."
Some readers might find Laumer almost too good at doing Chandler, but I really liked the novel. The first-person narrator, a p.i. named Shaw, is hired to find the daughter of a man who hasn't seen her in 25 years. As always, complications ensue. Lots of them.
The movie version of the book was called Peeper, and as you can see from the photo to the left, it starred Michael Caine. And Natalie Wood. I saw it when it hit the theaters and liked it a lot. I may be the only person who remembers it. At any rate, I recommend both the forgotten book and the forgotten movie. You can decide for yourself how tongue-in-cheek they're supposed to be. Well worth a look.