search for: jvalue

Displaying 11 results from an estimated 11 matches for "jvalue".

Did you mean: value
2008 Dec 03
2
changing colnames in dataframes
....as.character.rep.gender..8' I like to have the colnames 'gender' and 'J.value'. I tried levels, labels etc but without success. OK, I can fix(FF) manually, but this is bad, because it has to be done again and again .. OK, I can do gender.J<-c( as.character(rep( gender,3))) Jvalue<-c( F76,6- F83, F90) JJ<-data.frame(gender.J, J.value) but this is not optimal because 'gender' is depending on rep(.., n) and I have many dataframes KK, LL, .. using 'gender' with different size. Question: is it possible to do something like JJ<-data.frame(c( as.charact...
2018 Aug 20
0
[PATCH 4/4] mltools: JSON: unify JSON_parser type with JSON.json_t.
...Llocal4 (rv, lv, v, sv); + CAMLlocal5 (rv, v, tv, sv, consv); if (level > 20) caml_invalid_argument ("too many levels of object/array nesting"); if (json_is_object (val)) { - const size_t len = json_object_size (val); - size_t i; const char *key; json_t *jvalue; - rv = caml_alloc (1, 3); - lv = caml_alloc_tuple (len); - i = 0; + + rv = caml_alloc (1, JSON_DICT_TAG); + v = Val_int (0); + /* This will create the OCaml list backwards, but JSON + * dictionaries are supposed to be unordered so that shouldn't + * matter, right? We...
2018 Aug 22
3
[PATCH v2 0/2] mltools: JSON: unify JSON & JSON parser.
v2: - Added back the null value. - Reran the tests. Rich.
2018 Feb 12
0
[PATCH v2 1/1] Switch from YAJL to Jansson
...) caml_invalid_argument ("too many levels of object/array nesting"); - if (YAJL_IS_OBJECT (val)) { - const size_t len = YAJL_GET_OBJECT(val)->len; + if (json_is_object (val)) { + const size_t len = json_object_size (val); size_t i; + const char *key; + json_t *jvalue; rv = caml_alloc (1, 3); lv = caml_alloc_tuple (len); - for (i = 0; i < len; ++i) { + i = 0; + json_object_foreach (val, key, jvalue) { v = caml_alloc_tuple (2); - sv = caml_copy_string (YAJL_GET_OBJECT(val)->keys[i]); + sv = caml_copy_string (key);...
2017 Nov 23
0
[PATCH 1/1] Switch from YAJL to Jansson
...) caml_invalid_argument ("too many levels of object/array nesting"); - if (YAJL_IS_OBJECT (val)) { - const size_t len = YAJL_GET_OBJECT(val)->len; + if (json_is_object (val)) { + const size_t len = json_object_size (val); size_t i; + const char *key; + json_t *jvalue; rv = caml_alloc (1, 3); lv = caml_alloc_tuple (len); - for (i = 0; i < len; ++i) { + i = 0; + json_object_foreach (val, key, jvalue) { v = caml_alloc_tuple (2); - sv = caml_copy_string (YAJL_GET_OBJECT(val)->keys[i]); + sv = caml_copy_string (key);...
2018 Feb 12
2
[PATCH v2 0/1] RFC: switch from YAJL to Jansson
Hi, recently, there was a discussion in the development list of libvirt on switching to a different JSON library than YAJL [1]. Since we use YAJL, and the points there IMHO apply to libguestfs as well, I decided to give a try in switching to Jansson [2]. The result IMHO is nice, with the additional APIs of Jansson that simplify some of our code. Unlike with YAJL, I did not set a minimum
2017 Nov 23
4
[PATCH 0/1] RFC: switch from YAJL to Jansson
Hi, recently, there was a discussion in the development list of libvirt on switching to a different JSON library than YAJL [1]. Since we use YAJL, and the points there IMHO apply to libguestfs as well, I decided to give a try in switching to Jansson [2]. The result IMHO is nice, with the additional APIs of Jansson that simplify some of our code. Unlike with YAJL, I did not set a minimum
2018 Aug 20
6
[PATCH 0/4] mltools: JSON unification
An evolution of: https://www.redhat.com/archives/libguestfs/2018-August/msg00155.html
2011 Feb 07
1
rjava does not install
...before ?clClassLoader? rJava.h:179: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?oClassLoader? rJava.h:182: error: expected ?)? before ?*? token rJava.h:183: error: expected ?)? before ?*? token rJava.h:184: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?R1par2jvalue? rJava.h:187: error: expected ?)? before ?*? token rJava.h:188: error: expected ?)? before ?*? token rJava.h:191: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?callToString? rJava.h:194: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?createObject? rJava.h:195: e...
2009 Jul 15
2
rJava fails compilation on R-2.9.1 but not R-2.7.1 on Debian Lenny
..._? before ?clClassLoader? rJava.h:134: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?oClassLoader? rJava.h:137: error: expected ?)? before ?*? token rJava.h:138: error: expected ?)? before ?*? token rJava.h:139: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?R1par2jvalue? rJava.h:144: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?callToString? rJava.h:147: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?createObject? rJava.h:148: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?findClass? rJava.h:149: error: expected...
2006 Nov 17
1
gjournal on 6.x wont build
Hi all, I was intending on trying out gjournal on a new disk i've added in my desktop. I had a look to see what the most recent patch provided by Pawel and found http://people.freebsd.org/~pjd/patches/gjournal6_20061024.patch I created the directories as per Pawel's original post (http://lists.freebsd.org/pipermail/freebsd-fs/2006-June/001962.html) and the patch succeeded with no failed