search for: modname

Displaying 20 results from an estimated 65 matches for "modname".

Did you mean: mod_name
2012 Sep 13
1
AICcmodavg
...ing the AICmodavg package and using R version 2.15.1. I need help with code that is instead being read as text. Below is a subset of code... I actually have 12 models, but I am trying to get this to work for 2 below right now. Everything 'appears' to work through the line starting with Modnames. After that the code starting with aictab and beyond is recognized as text and not code. What am I doing incorrectly with the code? buco.models<-list ( ) buco.models [[1]] <- glm(P.BUCO~faverage+W15CNT, family=binomial(logit), data=AmphAIC) buco.models [[2]] <- glm(P.BUCO~diam1+W15CN...
2003 Jan 07
1
klibc-0.72 released
This adds [f]getc() and fgets() for parsing config files. Probably hard to avoid. Still trying to decide if I actually want to add system() or not. -hpa
2012 Feb 13
2
R's AIC values differ from published values
...ta = cement ) Cand.models[[2]] <- lm ( y ~ x3 + x4, data = cement ) Cand.models[[3]] <- lm ( y ~ x1 + x2 + x1 * x2, data = cement ) Cand.models[[4]] <- lm ( y ~ x3 + x4 + x3 * x4, data = cement ) ## vector of model names Modnames <- paste("MODEL", 1:4, sep=" ") ## AICc aictab ( cand.set = Cand.models, modnames = Modnames ) However, the AICc value reported by Anderson (2008) is 32.41. The AICc value obtained using RSS value (i.e., calculating AICc "manually" fr...
2010 Mar 17
2
Retaining variable name in a function
...rested in creating a function that will convert a variable within a data.frame to a factor while retaining the original name (yes, I know that I can just: var <-factor(var) but I need it as a function for other purposes). e.g.: # this was an attempt but fails. facts <- function(meta, mod, modname = "spec") { meta$mod <- factor(meta$mod) colnames(meta)['mod'] <- modname return(meta) } # ideally, would like to just specify the data.frame (=meta) and # variable to convert to factor (=mod) (similar to function input below). But am # also interested in having the o...
2008 Nov 07
2
Problem building kernel (gpg problem) - 2.6.18-92.1.17
...e 'Elf64_Xword' + KEYFLAGS='--no-default-keyring --homedir ..' + KEYFLAGS='--no-default-keyring --homedir .. --secret-keyring ../kernel.sec' + KEYFLAGS='--no-default-keyring --homedir .. --secret-keyring ../kernel.sec --keyring ../kernel.pub' + export KEYFLAGS ++ cat modnames + for i in '`cat modnames`' + sh ./scripts/modsign/modsign.sh /var/tmp/kernel-2.6.18-92.1.17.1.el5_ArcosCom-root/lib/modules/2.6.18-92.1.17.1.el5_ArcosCom/kernel/sound/i2c/snd-cs8427.ko CentOS gpg: WARNING: unsafe permissions on homedir `..' gpg: no default secret key: secret key not a...
2017 Jul 18
2
LNT on pypy and documentation build
...doc: failed to import class 'ProfileImpl' from module 'lnt.testing.profile.profile'; the following exception was raised: Traceback (most recent call last): File "/usr/local/lib/python3.5/site-packages/sphinx/ext/autodoc.py", line 551, in import_object __import__(self.modname) File "/Users/mbraun/dev/lnt/lnt/testing/profile/__init__.py", line 3, in <module> from profilev1impl import ProfileV1 ImportError: No module named 'profilev1impl' /Users/mbraun/dev/lnt/docs/profiles.rst:106: WARNING: autodoc: failed to import module 'lnt.testing.p...
2018 Apr 09
5
[PATCH 0/3] daemon: generate almost all the API OCaml interfaces
Hi, as a followup for the signature fix for mount_vfs [1], here it is a patch series to generate automatically most of the OCaml interfaces of daemon actions. Only the Lvm and Mount modules are left with hand-written interfaces. [1] https://www.redhat.com/archives/libguestfs/2018-April/msg00059.html Thanks, Pino Toscano (3): daemon: directly use Optgroups daemon: use the structs from the
2017 Jul 18
2
LNT on pypy and documentation build
...leImpl' from module 'lnt.testing.profile.profile'; the > following exception was raised: > > Traceback (most recent call last): > > File "/usr/local/lib/python3.5/site-packages/sphinx/ext/autodoc.py", > line 551, in import_object > > __import__(self.modname) > > File "/Users/mbraun/dev/lnt/lnt/testing/profile/__init__.py", line 3, > in <module> > > from profilev1impl import ProfileV1 > > ImportError: No module named 'profilev1impl' > > /Users/mbraun/dev/lnt/docs/profiles.rst:106: WARNING: autodoc:...
2020 Sep 29
3
OrcV1 removal
...to implement this. If a symbol name was scoped to a library, we only searched inside that, rather than globally: /* * Attempt to resolve symbol, so LLVM can emit a reference to it. */ static uint64_t llvm_resolve_symbol(const char *symname, void *ctx) { ... llvm_split_symbol_name(symname, &modname, &funcname); ... if (modname) addr = (uintptr_t) load_external_function(modname, funcname, true, NULL); else addr = (uintptr_t) LLVMSearchForAddressOfSymbol(symname); ... return (uint64_t) addr; } I don't think that can be implemented with the current C API. Related to th...
2007 Apr 18
0
[RFC/PATCH LGUEST X86_64 04/13] Useful debugging
...+ u8 c; + c = lhread_u8(vcpu, (u64)name); + name = name + c + 1; + } + + return name - kstuff->names; +} + +static const char *lguest_syms_lookup(struct lguest_vcpu *vcpu, + unsigned long addr, + unsigned long *symbolsize, + unsigned long *offset, + char **modname, char *namebuf) +{ + struct lguest_guest_info *linfo = vcpu->guest; + struct lguest_data *data = linfo->lguest_data; + struct guest_ksym_stuff kstuff; + const char *msym; + unsigned long *ptr; + int i; + + kstuff.addresses = (unsigned long*)lhread_u64(vcpu, (u64)&data->kallsyms_address...
2007 Apr 18
0
[RFC/PATCH LGUEST X86_64 04/13] Useful debugging
...+ u8 c; + c = lhread_u8(vcpu, (u64)name); + name = name + c + 1; + } + + return name - kstuff->names; +} + +static const char *lguest_syms_lookup(struct lguest_vcpu *vcpu, + unsigned long addr, + unsigned long *symbolsize, + unsigned long *offset, + char **modname, char *namebuf) +{ + struct lguest_guest_info *linfo = vcpu->guest; + struct lguest_data *data = linfo->lguest_data; + struct guest_ksym_stuff kstuff; + const char *msym; + unsigned long *ptr; + int i; + + kstuff.addresses = (unsigned long*)lhread_u64(vcpu, (u64)&data->kallsyms_address...
2017 Jul 18
2
LNT on pypy and documentation build
...Impl' from module 'lnt.testing.profile.profile'; the following exception was raised: >> > Traceback (most recent call last): >> > File "/usr/local/lib/python3.5/site-packages/sphinx/ext/autodoc.py", line 551, in import_object >> > __import__(self.modname) >> > File "/Users/mbraun/dev/lnt/lnt/testing/profile/__init__.py", line 3, in <module> >> > from profilev1impl import ProfileV1 >> > ImportError: No module named 'profilev1impl' >> > /Users/mbraun/dev/lnt/docs/profiles.rst:106: WARNIN...
2019 Sep 11
0
[PATCH nbdkit] python: Drop support for Python 2.
...ined ("dump_plugin", &fn)) { PyErr_Clear (); @@ -337,11 +312,7 @@ py_config (const char *key, const char *value) /* Note that because closeit flag == 1, fp is now closed. */ /* The script should define a module called __main__. */ -#ifdef HAVE_PYSTRING_FROMSTRING - modname = PyString_FromString ("__main__"); -#else modname = PyUnicode_FromString ("__main__"); -#endif module = PyImport_Import (modname); Py_DECREF (modname); if (!module) { -- 2.23.0
2007 Aug 05
1
Pulling multiple sources from a daemon
What is the official syntax for pulling multiple sources from a daemon? In analogy to a remote shell, I expected this to work: rsync rsync://matt@mattlaptop2:3141/module/'foo bar' dest/ But it doesn't; the daemon tried to access a file 'foo bar' with a space in its name. Using a newline like this does work because the newline becomes an argument delimiter in the daemon
2007 Apr 18
1
[PATCH] lguest32 kallsyms backtrace of guest.
...+ u8 c; + c = lgread_u8(lg, (unsigned long)name); + name = name + c + 1; + } + + return name - kstuff->names; +} + +static const char *lguest_syms_lookup(struct lguest *lg, + unsigned long addr, + unsigned long *symbolsize, + unsigned long *offset, + char **modname, char *namebuf) +{ + struct lguest_data *data = lg->lguest_data; + struct guest_ksym_stuff kstuff; + const char *msym; + unsigned long *ptr; + int i; + + kstuff.addresses = (unsigned long*)lgread_u32(lg, + (unsigned long)&data->kallsyms_addresses); + kstuff.num_syms = lgread_u32...
2007 Apr 18
1
[PATCH] lguest32 kallsyms backtrace of guest.
...+ u8 c; + c = lgread_u8(lg, (unsigned long)name); + name = name + c + 1; + } + + return name - kstuff->names; +} + +static const char *lguest_syms_lookup(struct lguest *lg, + unsigned long addr, + unsigned long *symbolsize, + unsigned long *offset, + char **modname, char *namebuf) +{ + struct lguest_data *data = lg->lguest_data; + struct guest_ksym_stuff kstuff; + const char *msym; + unsigned long *ptr; + int i; + + kstuff.addresses = (unsigned long*)lgread_u32(lg, + (unsigned long)&data->kallsyms_addresses); + kstuff.num_syms = lgread_u32...
2018 Apr 09
0
[PATCH 3/3] daemon: autogenerate most of OCaml interfaces
...--git a/generator/daemon.ml b/generator/daemon.ml index 7fb7052a0..03b191ac8 100644 --- a/generator/daemon.ml +++ b/generator/daemon.ml @@ -490,6 +490,91 @@ let generate_daemon_caml_callbacks_ml () = else pr "let init_callbacks () = ()\n" +let rec generate_daemon_caml_interface modname () = + generate_header OCamlStyle GPLv2plus; + + let is_ocaml_module_function = function + | { impl = OCaml m } when String.is_prefix m (modname ^ ".") -> true + | { impl = OCaml _ } -> false + | { impl = C } -> false + in + + let ocaml_actions = actions |> (List....
2018 Apr 10
0
[PATCH v2 5/5] daemon: autogenerate OCaml interfaces
...--git a/generator/daemon.ml b/generator/daemon.ml index 7fb7052a0..559ed6898 100644 --- a/generator/daemon.ml +++ b/generator/daemon.ml @@ -490,6 +490,89 @@ let generate_daemon_caml_callbacks_ml () = else pr "let init_callbacks () = ()\n" +let rec generate_daemon_caml_interface modname () = + generate_header OCamlStyle GPLv2plus; + + let is_ocaml_module_function = function + | { impl = OCaml m } when String.is_prefix m (modname ^ ".") -> true + | { impl = OCaml _ } -> false + | { impl = C } -> false + in + + let ocaml_actions = actions |> (List....
2019 Sep 11
3
[PATCH nbdkit] python: Drop support for Python 2.
This patch proposes to drop support for Python 2 in nbdkit. Rather than abruptly drop it everywhere, my proposal is that we point people to nbdkit 1.14 (the current stable version) if they want to continue with Python 2 plugins, while gently reminding them of the upcoming Python 2.7 end of life announcement. Libnbd never supported Python 2. Libguestfs in theory supports Python 2 but I dropped
2004 Nov 24
2
text() with invalid argument type crashes RGui.exe
...t types (modes). This is not a bug. I realize that I'm using the wrong argument type; nevertheless, if the behaviour is general, it might be better to generate an error. For anyone with more know-how than I have, here are the details of the crash: AppName: rgui.exe AppVer: 2.1.41115.0 ModName: r.dll ModVer: 2.1.41115.0 Offset: 000ef1b3 Peter Ehlers U of Calgary ehlers@math.ucalgary.ca