4898794edd81be5285ea6e544acbedeaeb31bf78 max Tue Nov 23 08:10:57 2021 -0800 Fixing pointers to README file for license in all source code files. refs #27614 diff --git src/lib/colHash.h src/lib/colHash.h index 85d81e8..d3109b1 100644 --- src/lib/colHash.h +++ src/lib/colHash.h @@ -1,41 +1,41 @@ /* colHash - stuff for fast lookup of index given an * rgb value. */ /* Copyright (C) 2002 The Regents of the University of California - * See README in this or parent directory for licensing information. */ + * See kent/LICENSE or http://genome.ucsc.edu/license/ for licensing information. */ #ifndef COLHASH_H #define COLHASH_H #define colHashFunc(r,g,b) (r+g+g+b) struct colHashEl /* An element in a color hash. */ { struct colHashEl *next; /* Next in list. */ struct rgbColor col; /* Color RGB. */ int ix; /* Color Index. */ }; struct colHash /* A hash on RGB colors. */ { struct colHashEl *lists[4*256]; /* Hash chains. */ struct colHashEl elBuf[256]; /* Buffer of elements. */ struct colHashEl *freeEl; /* Pointer to next free element. */ }; struct colHash *colHashNew(); /* Get a new color hash. */ void colHashFree(struct colHash **pEl); /* Free up color hash. */ struct colHashEl *colHashAdd(struct colHash *cHash, unsigned r, unsigned g, unsigned b, int ix); /* Add new element to color hash. */ struct colHashEl *colHashLookup(struct colHash *cHash, unsigned r, unsigned g, unsigned b); /* Lookup value in hash. */ #endif /* COLHASH_H */