alloc
Appearance
English
[edit]Etymology 1
[edit]Verb
[edit]alloc (third-person singular simple present alloc's, present participle alloc'ing, simple past and past participle alloc'ed)
- (programming) Clipping of allocate.
- 1994 June 12, Eric M Hermanson, “Re: +new vs. +alloc -init”, in comp.sys.next.programmer[1] (Usenet):
- If you simply use alloc then init, you can't check for the existence of the object before it gets alloc'ed. If you use a single +new method (or something similar), then you can check for the existence of the object before it gets allocated in memory.
- 2001, John Viega, Gary R. McGraw, Building Secure Software:
- Alloc enough space for any possible padding.
- 2011, Stephen G. Kochan, Programming in Objective-C, page 413:
- Among the things this analyzer is capable of detecting is simple memory leaks. For example, it can find an object you alloc'ed but forgot to release.
- 2012, Helmut J. Helpenstein, CAD Geometry Data Exchange Using STEP, page 86:
- Could not alloc enough memory
- 2022, Handbook for CTFers, page 331:
- Generally, the data ins the stack should not be changed, a simple packing would choose to push such information into the stack (to alloc a new space on the stack).
Etymology 2
[edit]Alternative forms
[edit]Noun
[edit]alloc (uncountable)
- (organic chemistry, often attributively) Clipping of allyloxycarbonyl.
- alloc protecting group