Main Page   Compound List   File List   Compound Members   File Members  

guess_mem.c File Reference

Despite its name, it actually just return the memory to each table 2,3,...,n-grams. More...

#include <stdio.h>
#include "toolkit.h"
#include "ngram.h"
#include "rr_libs/general.h"
#include "pc_libs/pc_general.h"

Go to the source code of this file.

Functions

void guess_mem (int total_mem, int middle_size, int end_size, int n, table_size_t *table_sizes, int verbosity)


Detailed Description

Despite its name, it actually just return the memory to each table 2,3,...,n-grams.

Definition in file guess_mem.c.


Function Documentation

void guess_mem int    total_mem,
int    middle_size,
int    end_size,
int    n,
table_size_t   table_sizes,
int    verbosity
 

Definition at line 35 of file guess_mem.c.

References i, pc_message(), rr_malloc(), table_size_t, and verbosity.

Referenced by main().


Generated on Tue Dec 21 13:54:47 2004 by doxygen1.2.18