Help ID this movie or TV scene please

This scene popped into my head, and I can’t remember where I saw it. And it’s really bugging me, because I get a little obsessive about this kind of thing.

So, the protagonist of the story is a guy. I believe he had some disappointment in love or something and decided to just have some meaningless sex. There’s a montage of different bed partners. One is a girl who just lies there, nearly silent, then announces, “I just came.” There’s also a girl who keeps saying, “Hi” over and over, and IIRC when called on it asks if he’d like to gag her.

Where is this from? ARGH, I know it’ll be totally obvious when you tell me.

Thanks!

Forgetting Sarah Marshall

Ah! Thank you, it was going to drive me crazy!