.MetaModelica.MetaModelica.Dangerous

Information

Functions that skip bounds checking

Contents

NameDescription
arrayGetNoBoundsCheckingO(1)
arrayUpdateNoBoundsCheckingO(1)
arrayCreateNoInitCreates a new array where the elements are *not* initialized!. Any attempt to access an uninitialized elements may cause segmentation faults if you're lucky, and pretty much anything else if you're not. Do not use unless you will immediately fill the whole array with data. The dummy variable is used to fix the type of the array.
stringGetNoBoundsCheckingO(1)
listReverseInPlaceO(n). A destructive listReverse. May cause segmentation faults if the list contains *any* non-NIL element that was allocated in a constant data segment. Will cause all other points to the head or within this list to now point to another list. Do not use unless you are really certain the compiler cannot optimise any part of the list into a constant data segment.
listSetFirstO(1). A destructive operation changing the "first" part of a cons-cell.
listSetRestO(1). A destructive operation changing the "rest" part of a cons-cell. NOTE: Make sure you do NOT create cycles as infinite lists are not handled well in the compiler.
listArrayLiteralO(n)
listAppendDestroyO(listLength(lstFirstDestroyed))

Generated at 2024-12-21T19:25:56Z by OpenModelicaOpenModelica 1.24.3 using GenerateDoc.mos