/usr/include/parrot/6.6.0/parrot/caches.h is in libparrot-dev 6.6.0-1build1.
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 | /* caches.h
* Copyright (C) 2001-2004, Parrot Foundation.
* Overview:
* Cache and direct freelist handling for various items.
* Data Structure and Algorithms:
* History:
* Notes:
* References:
*/
#ifndef PARROT_CACHES_H_GUARD
#define PARROT_CACHES_H_GUARD
#define DISABLE_METH_CACHE 0
/* turn off this hack, we need something better */
#define DISABLE_RETC_RECYCLING 1
/*
* object method cache entry
*/
typedef struct _meth_cache_entry {
void * strstart; /* string address */
PMC * pmc; /* the method sub pmc */
struct _meth_cache_entry *next;
} Meth_cache_entry;
/*
* method cache, continuation freelist, stack chunk freelist, regsave cache
*/
typedef struct _Caches {
UINTVAL mc_size; /* sizeof table */
Meth_cache_entry ***idx; /* bufstart idx */
/* PMC **hash */ /* for non-constant keys */
} Caches;
#endif /* PARROT_CACHES_H_GUARD */
/*
* Local variables:
* c-file-style: "parrot"
* End:
* vim: expandtab shiftwidth=4 cinoptions='\:2=2' :
*/
|