search for: ihashs

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

Did you mean: hashs
2010 Feb 22
1
shash in unique.c
Looking at shash in unique.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) {
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"); A...
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_AR...
2005 Feb 21
2
compiling cvs-head today?
Anyone having problems compiling the current cvs head this morning? New cvs checkout on RH9, followed by appropriate make clean and make install. System was running cvs head from Nov 23 with TDM card, PRI, SIP phones on local wire, and IAX. Appears zaptel and libpri compiled correctly, however the first attempt in the asterisk src directory yielded: gcc -pipe -Wall -Wstrict-prototypes