locate.h (18829) | locate.h (18905) |
---|---|
1/* | 1/* |
2 * Copyright (c) 1995 Wolfram Schneider <wosch@FreeBSD.org>. Berlin. |
|
2 * Copyright (c) 1989, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright 9 * notice, this list of conditions and the following disclaimer. --- 16 unchanged lines hidden (view full) --- 26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 * 33 * @(#)locate.h 8.1 (Berkeley) 6/6/93 | 3 * Copyright (c) 1989, 1993 4 * The Regents of the University of California. All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: 9 * 1. Redistributions of source code must retain the above copyright 10 * notice, this list of conditions and the following disclaimer. --- 16 unchanged lines hidden (view full) --- 27 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 28 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 29 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 30 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 31 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 32 * SUCH DAMAGE. 33 * 34 * @(#)locate.h 8.1 (Berkeley) 6/6/93 |
35 * $Id$ |
|
34 */ 35 36/* Symbolic constants shared by locate.c and code.c */ 37 38#define NBG 128 /* number of bigrams considered */ 39#define OFFSET 14 /* abs value of max likely diff */ 40#define PARITY 0200 /* parity bit */ 41#define SWITCH 30 /* switch code */ | 36 */ 37 38/* Symbolic constants shared by locate.c and code.c */ 39 40#define NBG 128 /* number of bigrams considered */ 41#define OFFSET 14 /* abs value of max likely diff */ 42#define PARITY 0200 /* parity bit */ 43#define SWITCH 30 /* switch code */ |
44#define UMLAUT 31 /* an 8 bit char followed */ |
|
42 43/* 0-28 likeliest differential counts + offset to make nonnegative */ 44#define LDC_MIN 0 45#define LDC_MAX 28 46 47/* 128-255 bigram codes (128 most common, as determined by 'updatedb') */ 48#define BIGRAM_MIN (UCHAR_MAX - CHAR_MAX) 49#define BIGRAM_MAX UCHAR_MAX --- 20 unchanged lines hidden --- | 45 46/* 0-28 likeliest differential counts + offset to make nonnegative */ 47#define LDC_MIN 0 48#define LDC_MAX 28 49 50/* 128-255 bigram codes (128 most common, as determined by 'updatedb') */ 51#define BIGRAM_MIN (UCHAR_MAX - CHAR_MAX) 52#define BIGRAM_MAX UCHAR_MAX --- 20 unchanged lines hidden --- |