Changeset 4085
- Timestamp:
- Jun 1, 2005, 2:58:26 PM (21 years ago)
- Location:
- trunk/doc/pslib
- Files:
-
- 2 edited
-
ChangeLogSDRS.tex (modified) (2 diffs)
-
psLibSDRS.tex (modified) (12 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/pslib/ChangeLogSDRS.tex
r4084 r4085 1 %%% $Id: ChangeLogSDRS.tex,v 1.12 0 2005-06-02 00:42:48jhoblitt Exp $1 %%% $Id: ChangeLogSDRS.tex,v 1.121 2005-06-02 00:58:26 jhoblitt Exp $ 2 2 3 3 \subsection{Changes from version 00 to version 01} … … 656 656 \item change blurb about ``Threads'' to clarify requirements 657 657 \item remove \code{lock} from \code{psList} 658 \item change \code{psVector} to store it's number of elements as an \code{ unsignedlong int}659 \item change \code{psArray} to store it's number of elements as an \code{ unsignedlong int}660 \item change \code{psList} to store it's number of elements as an \code{ unsignedlong int}661 \item change \code{psListIterator} to store the number of elements on the list as an \code{ unsignedlong int}658 \item change \code{psVector} to store it's number of elements as an \code{long int} 659 \item change \code{psArray} to store it's number of elements as an \code{long int} 660 \item change \code{psList} to store it's number of elements as an \code{long int} 661 \item change \code{psListIterator} to store the number of elements on the list as an \code{long int} 662 662 \item change \code{psListIterator} to store it's index as an \code{long int} 663 \item change \code{psHash} to store it's number of elements as an \code{ unsignedlong int}664 \item change \code{psLookupTable} to store it's index as an \code{ unsignedlong int}663 \item change \code{psHash} to store it's number of elements as an \code{long int} 664 \item change \code{psLookupTable} to store it's index as an \code{long int} 665 665 \item change \code{psBitSet} to store it's size as an \code{long int} 666 666 \end{itemize} -
trunk/doc/pslib/psLibSDRS.tex
r4084 r4085 1 %%% $Id: psLibSDRS.tex,v 1.25 6 2005-06-02 00:42:48jhoblitt Exp $1 %%% $Id: psLibSDRS.tex,v 1.257 2005-06-02 00:58:26 jhoblitt Exp $ 2 2 \documentclass[panstarrs,spec]{panstarrs} 3 3 … … 1363 1363 typedef struct { 1364 1364 psType type; ///< vector data type and dimension 1365 unsigned long int n;///< size of vector1366 const unsigned long int nalloc;///< allocated data block1365 long int n; ///< size of vector 1366 const long int nalloc; ///< allocated data block 1367 1367 union { 1368 1368 psS8 *S8; ///< Pointers to byte data … … 1393 1393 % 1394 1394 \begin{prototype} 1395 psVector *psVectorAlloc( unsignedlong int nalloc, psElemType type);1396 psVector *psVectorRealloc(psVector *vector, unsignedlong int nalloc);1397 psVector *psVectorRecycle(psVector *vector, unsignedlong int nalloc, psElemType type);1395 psVector *psVectorAlloc(long int nalloc, psElemType type); 1396 psVector *psVectorRealloc(psVector *vector, long int nalloc); 1397 psVector *psVectorRecycle(psVector *vector, long int nalloc, psElemType type); 1398 1398 \end{prototype} 1399 1399 % … … 1417 1417 1418 1418 \begin{prototype} 1419 psVector *psVectorExtend(psVector *vector, unsigned long int delta, unsignedlong int nExtend);1419 psVector *psVectorExtend(psVector *vector, long int delta, long int nExtend); 1420 1420 \end{prototype} 1421 1421 … … 1549 1549 \begin{datatype} 1550 1550 typedef struct { 1551 const unsigned long int n;///< size of array1552 const unsigned long int nalloc;///< allocated data block1551 const long int n; ///< size of array 1552 const long int nalloc; ///< allocated data block 1553 1553 void **data; ///< pointer to data block 1554 1554 } psArray; … … 1562 1562 % 1563 1563 \begin{prototype} 1564 psArray *psArrayAlloc( unsignedlong int nalloc);1565 psArray *psArrayRealloc(psArray *array, unsignedlong int nalloc);1564 psArray *psArrayAlloc(long int nalloc); 1565 psArray *psArrayRealloc(psArray *array, long int nalloc); 1566 1566 \end{prototype} 1567 1567 % … … 1580 1580 1581 1581 \begin{prototype} 1582 psArray *psArrayAdd(psArray *array, unsignedlong int delta, psPtr data);1582 psArray *psArrayAdd(psArray *array, long int delta, psPtr data); 1583 1583 \end{prototype} 1584 1584 … … 1600 1600 1601 1601 \begin{prototype} 1602 bool psArraySet(psArray *array, unsignedlong int position, psPtr data);1603 psPtr psArrayGet(const psArray *array, unsignedlong int position);1602 bool psArraySet(psArray *array, long int position, psPtr data); 1603 psPtr psArrayGet(const psArray *array, long int position); 1604 1604 \end{prototype} 1605 1605 … … 1633 1633 \begin{datatype} 1634 1634 typedef struct { 1635 unsigned long int n;///< number of elements on list1635 long int n; ///< number of elements on list 1636 1636 psListElem *head; ///< first element on list (may be NULL) 1637 1637 psListElem *tail; ///< last element on list (may be NULL) … … 1843 1843 \begin{datatype} 1844 1844 typedef struct { 1845 unsigned long int n;///< number of buckets1845 long int n; ///< number of buckets 1846 1846 psHashBucket **buckets; ///< the buckets themselves 1847 1847 } psHash; … … 1865 1865 A hash table is created with the following function: 1866 1866 \begin{prototype} 1867 psHash *psHashAlloc( unsignedlong int nalloc);1867 psHash *psHashAlloc(long int nalloc); 1868 1868 \end{prototype} 1869 1869 which allocates the space for the hash table, creating and … … 1942 1942 const char *filename; ///< File from which data is to be read 1943 1943 const char *format; ///< scanf-like format string for file 1944 unsigned long int indexCol;///< Column of the index vector (starting at zero)1944 long int indexCol; ///< Column of the index vector (starting at zero) 1945 1945 psVector *index; ///< Index values 1946 1946 psArray *values; ///< Corresponding values: an array of vectors
Note:
See TracChangeset
for help on using the changeset viewer.
