search for: xsval

Displaying 4 results from an estimated 4 matches for "xsval".

Did you mean: qsval
2006 Aug 02
0
[PATCH] xenstore-chmod
...quot;, + PATH_SEP, path); + + *path_sep_ptr = ''\0''; /* truncate path */ + + do_chmod(path, perms, nperms, 1, 0, xsh, xth); + + *path_sep_ptr = PATH_SEP; + } + + if (recurse) { + char buf[MAX_PATH_LEN]; + + /* apply same permissions to all child entries: */ + unsigned int xsval_n; + char **xsval = xs_directory(xsh, xth, path, &xsval_n); + + if (xsval) { + int i; + for (i = 0; i < xsval_n; i++) { + snprintf(buf, MAX_PATH_LEN, "%s/%s", path, xsval[i]); + + do_chmod(buf, perms, nperms, 0, 1, xsh, xth); + } + + free(xsval); + } + } +} +#e...
2010 Sep 28
4
drawing samples based on a matching variable
Hi, everyone. I have what I hope will be a simple coding question. It seems this is a common job, but so far I've had trouble finding the answer in searches. I have two matrices (x and y) with a different number of observations in each. I need to draw a random sample without replacement of observations from x, and then, using a matching variable, draw a sample of equal size from y. It is the
2005 Sep 08
45
/proc/xen/xenbus supports watch?
Hi, Anybody (Christian?) could please tell me if we can get the support for registering watch with /proc/xen/xenbus? (..OK, I know that we will change it this /proc stuff to a device soon) So far we can only do read/write/rm. I really miss the xen watch feature. Many thanks, Hieu _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com
2005 Aug 04
0
[PATCH 6/11] Xenstore watch rework
...char *token = ""; struct xs_handle *xh = xshandle(self); @@ -365,9 +363,9 @@ if (!xh) goto exit; if (!PyArg_ParseTupleAndKeywords(args, kwds, arg_spec, kwd_spec, - &path, &priority, &token)) - goto exit; - xsval = xs_watch(xh, path, token, priority); + &path, &token)) + goto exit; + xsval = xs_watch(xh, path, token); val = pyvalue_int(xsval); exit: return val; diff -r ba5d5bd28edf -r b0de1894df67 tools/xenstore/Makefile --- a/tools/xenstore/...