crock

(redirected from crocked)
Also found in: Dictionary, Thesaurus, Medical, Idioms, Wikipedia.

crock

1
1. an earthen pot, jar, etc.
2. a piece of broken earthenware

crock

2
an old broken-down horse or ewe
Collins Discovery Encyclopedia, 1st edition © HarperCollins Publishers 2005

crock

[American scatologism "crock of shit"] 1. An awkward feature or programming technique that ought to be made cleaner. For example, using small integers to represent error codes without the program interpreting them to the user (as in, for example, Unix "make(1)", which returns code 139 for a process that dies due to segfault).

2. A technique that works acceptably, but which is quite prone to failure if disturbed in the least. For example, a too-clever programmer might write an assembler which mapped instruction mnemonics to numeric opcodes algorithmically, a trick which depends far too intimately on the particular bit patterns of the opcodes. (For another example of programming with a dependence on actual opcode values, see The Story of Mel.) Many crocks have a tightly woven, almost completely unmodifiable structure. See kluge, brittle. The adjectives "crockish" and "crocky", and the nouns "crockishness" and "crockitude", are also used.
This article is provided by FOLDOC - Free Online Dictionary of Computing (foldoc.org)
References in periodicals archive ?
CRUNCH: Mendes in agony after he was crocked at Hampden
GREAT GUNNER: Denilson celebrates scoring Arsenal's third goal at Bolton with Alex Song and Bacary Sagna; CROCKED: Gael Clichy after tackle
HIT FOR SIX Horne is the latest Warrior to be crocked
Michael Collins (Achilles) also misses the match against Sheffield United, skipper Cliff Byrne remains crocked and striker Bobby Grant is suspended.
A PRISON guard was crocked by cack-handed colleagues as they practised halting escaped cons.
Supporters of rivals FC Dallas vented their frustration when they realised the crocked England star was not even sitting on the subs' bench.
LEEDS will send crocked winger Steve Stone to see leading German specialist Hans Muller Wolfhart in a bid to cure his long-term Achilles problem.
"What we will not do is rush him back too soon." Rangers certainly could do with an added boost after shelling out so much money to Chelsea for the Norwegian and then having him crocked so quickly.
ST MIRREN defender Darren McGregor last night revealed his kindhearted Buddies held a whip-round for the club's crocked stars.
Defenders Danny Collins, Kenny Cunningham and Stephen Wright are also crocked.
It was a complete accident and it did affect him before he also came off crocked."
RANGERS are set for a compensation battle with the Belgian FA over Thomas Buffel, who was crocked on international duty.