This file is indexed.

/usr/include/ncarg/hlu/WorkspaceP.h is in libncarg-dev 6.4.0-9.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
/*
 *      $Id: WorkspaceP.h,v 1.10 2008-08-11 20:17:09 dbrown Exp $
 */
/************************************************************************
*									*
*			     Copyright (C)  1992			*
*	     University Corporation for Atmospheric Research		*
*			     All Rights Reserved			*
*									*
************************************************************************/
/*
 *	File:		WorkspaceP.h
 *
 *	Author:		David Brown
 *			National Center for Atmospheric Research
 *			PO 3000, Boulder, Colorado
 *
 *	Date:		Fri Oct 2 15:01:59 MDT 1992
 *
 *	Description:	
 */

#ifndef _NWORKSPACEP_h
#define _NWORKSPACEP_h

#include <ncarg/hlu/BaseP.h>
#include <ncarg/hlu/WorkspaceI.h>

#define NhlwsDEF_THRESHOLD	4194304
#define NhlwsDEF_MAXIMUM	100000000
#define NhlwsMIN_THRESHOLD	8096
#define NhlwsMIN_MAXIMUM	262144
#define NhlwsIDLE_REC_ALLOC	64
#define NhlwsMAX_GKS_POINTS	500000
#define NhlwsMAX_AREA_GROUPS	64
#define DEBUG_WS		0

typedef struct _NhlWorkspaceRec {
	int			ws_id;     	/* Workspace identifier */
	NrmQuark		type;   	/* Workspace type */
	NhlPersistence		persistence;	/* Need for preservation */
        int			req_size;
	NhlPointer		ws_ptr;		/* Workspace address */
	int			cur_size;  	/* Current size in bytes */
	NhlBoolean		in_use;		/* Workspace in use? */
	NhlBoolean		data_intact;	/* Data preserved flag */
	FILE			*tmp_fp;
	struct _NhlWorkspaceRec *next;
} NhlWorkspaceRec;

typedef struct _NhlwsIdleRec {
	struct _NhlwsIdleRec	*next;
	struct _NhlwsIdleRec	*prev;
	NhlWorkspaceRec		*wsrp;
} NhlwsIdleRec;

typedef struct _NhlWorkspaceLayerPart {
	/* public resources */
	long			maximum_size;
	long			threshold_size;
	long			current_size;

	/* private fields */

	long			total_size;
	int		        last_ws_id;
	NhlWorkspaceRec		*ws_list;
	
} NhlWorkspaceLayerPart;

typedef struct _NhlWorkspaceLayerRec {
	NhlBaseLayerPart	base;
	NhlWorkspaceLayerPart	workspace;
} NhlWorkspaceLayerRec;

typedef struct NhlWorkspaceClassPart{
	int			num_ws_instances;
} NhlWorkspaceClassPart;

typedef struct _NhlWorkspaceClassRec{
	NhlBaseClassPart		base_class;
	NhlWorkspaceClassPart	workspace_class;
} NhlWorkspaceClassRec;

typedef struct _NhlWorkspaceClassRec *NhlWorkspaceClass;
typedef struct _NhlWorkspaceLayerRec	*NhlWorkspaceLayer;

extern NhlWorkspaceClassRec		NhlworkspaceClassRec;

/* Private external functions */

extern void _NhlInitWorkspace(
#if	NhlNeedProto
	void
#endif
);

extern void _NhlCloseWorkspace(
#if	NhlNeedProto
	void
#endif
);

#endif  /* _NWORKSPACEP_h */