If you plant a seed shortly before the end of shabbat (zoraya) and then un-bury it after shabbat, or you put an uncooked food into an oven and then take it out within seconds without it having baked (ofeh). Have you transgressed a melacha or not?