File: IntConstantInitializedVector.h

package info (click to toggle)
openmpi 5.0.8-4
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 201,684 kB
  • sloc: ansic: 613,078; makefile: 42,353; sh: 11,194; javascript: 9,244; f90: 7,052; java: 6,404; perl: 5,179; python: 1,859; lex: 740; fortran: 61; cpp: 20; tcl: 12
file content (16 lines) | stat: -rw-r--r-- 522 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef INTEGER_CONSTANT_INITIALIZED_VECTOR
#define INTEGER_CONSTANT_INITIALIZED_VECTOR

#include "ompi_config.h"

typedef struct int_CIVector_
{
  int init_value, size, top, *to, *from, *vec;
} int_CIVector;

OMPI_HIDDEN int tm_intCIV_isInitialized(int_CIVector * v, int i);
OMPI_HIDDEN void tm_intCIV_init(int_CIVector * v, int size, int init_value);
OMPI_HIDDEN int tm_intCIV_set(int_CIVector * v, int i, int val);
OMPI_HIDDEN int tm_intCIV_get(int_CIVector * v, int i);

#endif /*INTEGER_CONSTANT_INITIALIZED_VECTOR*/