OPeNDAP Hyrax Back End Server (BES)  Updated for version 3.8.3
BESUncompressZ.cc File Reference
#include "config.h"
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <cstdio>
#include <cstring>
#include <cerrno>
#include "BESUncompressZ.h"
#include "BESInternalError.h"
#include "BESDebug.h"
Include dependency graph for BESUncompressZ.cc:

Go to the source code of this file.

Macros

#define BIT_MASK   0x1f
 
#define BITS   16
 
#define BITS   16
 
#define BLOCK_MODE   0x80
 
#define BYTEORDER   0000
 
#define CLEAR   256 /* table clear output code*/
 
#define de_stack   ((unsigned char *)&(htab[HSIZE-1]))
 
#define FIRST   257
 
#define FIRSTBYTE   (unsigned char)'\037'/* First byte of compressed file*/
 
#define HBITS   17 /* 50% occupancy */
 
#define HMASK   (HSIZE-1)
 
#define HSIZE   (1<<HBITS)
 
#define INIT_BITS   9
 
#define MAXCODE(n)   (1L << (n))
 
#define NOALLIGN   0
 
#define SECONDBYTE   (unsigned char)'\235'/* Second byte of compressed file*/
 

Macro Definition Documentation

◆ BIT_MASK

#define BIT_MASK   0x1f

◆ BITS [1/2]

#define BITS   16

◆ BITS [2/2]

#define BITS   16

◆ BLOCK_MODE

#define BLOCK_MODE   0x80

◆ BYTEORDER

#define BYTEORDER   0000

◆ CLEAR

#define CLEAR   256 /* table clear output code*/

◆ de_stack

#define de_stack   ((unsigned char *)&(htab[HSIZE-1]))

◆ FIRST

#define FIRST   257

◆ FIRSTBYTE

#define FIRSTBYTE   (unsigned char)'\037'/* First byte of compressed file*/

◆ HBITS

#define HBITS   17 /* 50% occupancy */

◆ HMASK

#define HMASK   (HSIZE-1)

◆ HSIZE

#define HSIZE   (1<<HBITS)

◆ INIT_BITS

#define INIT_BITS   9

◆ MAXCODE

#define MAXCODE (   n)    (1L << (n))

◆ NOALLIGN

#define NOALLIGN   0

◆ SECONDBYTE

#define SECONDBYTE   (unsigned char)'\235'/* Second byte of compressed file*/