Offset (computer science)
Integer indicating the distance (displacement) between the beginning of an array or data structure and a given element or point
In computer science, an offset within an array or other data structure object is an integer indicating the distance (displacement) between the beginning of the object and a given element or point, presumably within the same object. The concept of a distance is valid only if all elements of the object are of the same size (typically given in bytes or words).
Nº Q1156822 ★
Common · Knowledge
Offset (computer science)
Integer indicating the distance (displacement) between the beginning of an array or data structure and a given element or point
In computer science, an offset within an array or other data structure object is an integer indicating the distance (displacement) between the beginning of the object and a given element or point, presumably within the same object. The concept of a distance is valid only if all elements of the object are of the same size (typically given in bytes or words).
From Wikipedia
In computer science, an offset within an array or other data structure object is an integer indicating the distance (displacement) between the beginning of the object and a given element or point, presumably within the same object. The concept of a distance is valid only if all elements of the object are of the same size (typically given in bytes or words). For example, if A is an array of characters containing "abcdef", the fourth element containing the character 'd' has an offset of three from the start of A.
Text: Wikipédia, CC BY-SA 4.0. ·
Related cards
-
O
Off-by-one error
Type of numerical or counting error
Nº Q1439356 ★★
Not listed
-
Arithmetic overflow
Condition in computer arithmetics when a calculation yields a result that is greater in magnitude than that which a given storage location can represent
Nº Q669163 ★★
Not listed
-
O
Object (computer science)
Programming element that groups data with relevant operations/behaviors
Nº Q216601 ★★
Not listed
-
A
Abstraction (computer science)
Technique for arranging complexity of computer systems
Nº Q224055 ★★
Not listed
-
Integer overflow
In programming, a condition that occurs when an arithmetic operation attempts to create a numeric value that is outside of the range that can be represented with a given number of digits
Nº Q1423448 ★★
Not listed
-
P
Physical Address Extension
Memory management feature
Nº Q1062251 ★
Not listed