Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
openbis
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
sispub
openbis
Commits
a13f9049
Commit
a13f9049
authored
14 years ago
by
brinn
Browse files
Options
Downloads
Patches
Plain Diff
add: some documentation regarding the layout of native tagged arrays
SVN: 17362
parent
25e3c4cf
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
base/doc/tagged_array_def.txt
+43
-0
43 additions, 0 deletions
base/doc/tagged_array_def.txt
with
43 additions
and
0 deletions
base/doc/tagged_array_def.txt
0 → 100644
+
43
−
0
View file @
a13f9049
Tagged Array Definition:
All indices and lengths are given in bytes.
ID: number_type
START INDEX: 0
LENGTH: 1
DESCRIPTION:
'F' : IEEE floating point numbers
'I' : Integer numbers
ID: endiness
START INDEX: 1
LENGTH: 1
DESCRIPTION:
'L' : Little Endian
'B' : Big Endian
ID: element_size
START INDEX: 2
LENGTH: 1
DESCRIPTION:
Size in Bytes (e.g. 4 for a 32bit number, or 8 for a 64bit number)
ID: rank
START INDEX: 3
LENGTH: 1
DESCRIPTION:
Rank of the array (e.g. 2 for a matrix or 3 for a cube)
ID: dimensions
START INDEX: 4
LENGTH: 4 * rank
DESCRIPTION:
Dimensions of the array along each axis; each entry is a 32bit (4 byte) integer number in the specified endiness
ID: data
START INDEX: 4 + 4 * rank
LENGTH: prod(dimensions)
DESCRIPTION:
Number array with prod(dimensions) elements in C row-major order;
each element is a number of the specified number_type, endiness and element_size
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment