search for: ihash

Displaying 5 results from an estimated 5 matches for "ihash".

Did you mean: hash
2010 Feb 22
1
shash in unique.c
....c, from R-2.10.1 I'm wondering if it makes sense to hash the pointer itself rather than the string it points to? In other words could the SEXP pointer be cast to unsigned int and the usual scatter be called on that as if it were integer? shash would look like a slightly modified version of ihash like this : static int shash(SEXP x, int indx, HashData *d) { if (STRING_ELT(x,indx) == NA_STRING) return 0; return scatter((unsigned int) (STRING_ELT(x,indx), d); } rather than its current form which appears to hash the string it points to : static int shash(SEXP x, int indx, HashData *...
2004 Jan 23
3
Problem installing Asterisk with Mandrake 9.1
Hi All, I am trying to get Asterisk up and running on my new Mandrake 9.1 install. I've installed Linux in the "standard" mandrake security mode, and "su" to do my attempts at install. I managed to obtain the source from CVS, and have been able to compile Zaptel. I then ran insmod zaptel, and also make config. I think I have compiled and loaded Zaptel successfully as
2015 Jul 17
1
[PATCH] daemon: add a space after func/macro to fit code-style
...ntf(maxmem_s, sizeof maxmem_s, "%" PRIi64, maxmem); + snprintf (maxmem_s, sizeof maxmem_s, "%" PRIi64, maxmem); ADD_ARG (argv, i, "-m"); ADD_ARG (argv, i, maxmem_s); } @@ -601,7 +601,7 @@ do_xfs_repair (const char *device, reply_with_error ("ihashsize must be >= 0"); return -1; } - snprintf(ihashsize_s, sizeof ihashsize_s, "ihash=" "%" PRIi64, ihashsize); + snprintf (ihashsize_s, sizeof ihashsize_s, "ihash=" "%" PRIi64, ihashsize); ADD_ARG (argv, i, "-o");...
2012 Aug 21
1
[PATCH] xfs: add a new api xfs_repair
...daemon/xfs.c +++ b/daemon/xfs.c @@ -536,3 +536,119 @@ error: free (err); return -1; } + +int +do_xfs_repair (const char *device, + int imgfile, int forcelogzero, int dangerous, + int nomodify, int noprefetch, int forcegeometry, + int64_t maxmem, int64_t ihashsize, + int64_t bhashsize, int64_t agstride, + const char *logdev, const char *rtdev) +{ + int r; + char *err = NULL; + const char *argv[MAX_ARGS]; + char maxmem_s[64]; + char ihashsize_s[70]; + char bhashsize_s[70]; + char agstride_s[74]; + size_t i = 0; + + ADD_A...
2005 Feb 21
2
compiling cvs-head today?
...p/strlcat.o_a np/strlcpy.o_a np/fgetln.o_a np/vis.o_a np/unvis.o_a history.o_a tokenizer.o_a readline.o_a ranlib libedit.a make[1]: Leaving directory `/usr/src/asterisk/editline' make[1]: Entering directory `/usr/src/asterisk/db1-ast' gcc -Wall -c -D__DBINTERFACE_PRIVATE -O2 -I. -Iinclude -Ihash -o hash.o hash/hash.c hash/hash.c: In function `__hash_open': hash/hash.c:243: internal error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://bugzilla.redhat.com/bugzilla/> for instructions. make[1]: *** [hash.o] Error 1 make[1...