Dope vector

Dope vector

In computer programming, a dope vector is a data structure used to hold information about a data object,[1] e.g. an array, especially its memory layout.

A dope vector typically contains information about the type of array element, rank of an array, the extents of an array, and the stride of an array as well as a pointer to the block in memory containing the array elements.

It is often used in compilers to pass entire arrays between procedures in a high level language like Fortran.

Prior to the invention of the linked-list a dope vector was used internally in the internal structure of computer systems.

The dope vector included a identifier, a length, a parent address, and a next child address. The identifier was an assigned name and was mostly useless, but the length was the amount of allocated storage to this vector from the end of the dope vector that contained data of use to the internal processes of the computer. This length by many was called the offset, span of vector length. The parent and child references were absolute core references, or register and offset settings to the parent or child depending on the type of computer.

Dope vectors were managed internally by the operating system and allowed the processor to allocate and de-allocate storage in specific segments as needed.

Later dope vectors had a status bit that told the system if they were active; if it was not active it would be reallocated when needed. Using this technology the computer could perform a more granular memory management.

  1. ^ Pratt T. and M. Zelkowitz, Programming Languages: Design and Implementation (Third Edition), Prentice Hall, Upper Saddle River, NJ, (1996) pp 114



Wikimedia Foundation. 2010.

Игры ⚽ Поможем написать реферат

Look at other dictionaries:

  • Vector — may refer to: In mathematics * Euclidean vector, a geometric entity endowed with both length and direction, an element of a Euclidean vector space * Coordinate vector, in linear algebra, an explicit representation of an element of any abstract… …   Wikipedia

  • Array slicing — In computer programming, array slicing is an operation that extracts certain elements from an array and packages them as another array, possibly with different number of indices (or dimensions) and different index ranges. Two common examples are… …   Wikipedia

  • Array data type — Not to be confused with Array data structure. In computer science, an array type is a data type that is meant to describe a collection of elements (values or variables), each selected by one or more indices that can be computed at run time by the …   Wikipedia

  • Array — In computer science an array [Paul E. Black, array , in Dictionary of Algorithms and Data Structures , Paul E. Black, ed., U.S. National Institute of Standards and Technology. 26 August 2008 (accessed 10 September 2008).… …   Wikipedia

  • дескриптор массива — — [http://www.iks media.ru/glossary/index.html?glossid=2400324] Тематики электросвязь, основные понятия EN dope vector …   Справочник технического переводчика

  • Gene therapy — using an Adenovirus vector. A new gene is inserted into an adenovirull. If the treatment is successful, the new gene will make a functional protein. Gene therapy is the insertion, alteration, or removal of genes within an individual s cells and… …   Wikipedia

  • Terapia génica — La terapia génica consiste en la inserción de copias funcionales ausentes en el genoma de un individuo. Se realiza en las células y tejidos con el objetivo de tratar una enfermedad. La técnica todavía está en desarrollo, motivo por el cual su… …   Wikipedia Español

  • Список компьютерных игр:D — Компьютерные игры # | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | …   Википедия

  • Semiconductor — Citations missing|date=March 2008A semiconductor is a solid material that has electrical conductivity in between a conductor and an insulator; it can vary over that wide range either permanently or dynamically. [. They are used in many… …   Wikipedia

  • RETAS — Infobox Software name = RETAS! developer = CELSYS latest release version = RETAS!PRO HD operating system = Microsoft Windows,Mac OS X license = Proprietary website = [http://www.celsys.co.jp/retas/index.asp] Retas!Pro is a 2D animation software… …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”