Main Page | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

scans_common.c File Reference

Implements scans for Grams common to two Buffers. More...

#include <string.h>
#include <assert.h>
#include <math.h>
#include "fret.h"
#include "scans_grind.h"
#include "common.h"

Include dependency graph for scans_common.c:


Functions

const GramscanCommonOffset (BufferId bufferIdA, BufferId bufferIdB, const Gram *const pNextGram, Gram *const pResultGram)
const GramscanCommonHash (BufferId bufferIdA, BufferId bufferIdB, const Gram *const pNextGram, Gram *const pResultGram)

Detailed Description

Implements scans for Grams common to two Buffers.

Implements one Scan that looks for matching Grams in two different Buffers.


Function Documentation

const Gram* scanCommonHash BufferId  bufferIdA,
BufferId  bufferIdB,
const Gram *const   pNextGram,
Gram *const   pResultGram
 

Scans two Buffers looking for Grams that have the same type and hash value.

const Gram* scanCommonOffset BufferId  bufferIdA,
BufferId  bufferIdB,
const Gram *const   pNextGram,
Gram *const   pResultGram
 

Scans two Buffers looking for Grams that have the same type and offset.


Generated on Thu Jan 19 18:59:25 2006 for FRET by  doxygen 1.4.4