Displaying 5 results from an estimated 5 matches for "out_int".
2020 Sep 11
4
Garbage collection of seemingly PROTECTed pairlist
...rror. My PROTECTed pairlist prlst
gets garbage collected away and causes a memory leak error when I try to
access it.
Here's my code.
#include <Rinternals.h>
SEXP C_int_mat_nth_row_nrnc(int *int_mat_int, int nr, int nc, int n) {
SEXP out = PROTECT(Rf_allocVector(INTSXP, nc));
int *out_int = INTEGER(out);
if (n <= 0 | n > nr) {
for (int i = 0; i != nc; ++i) {
out_int[i] = NA_INTEGER;
}
} else {
for (int i = 0; i != nr; ++i) {
out_int[i] = int_mat_int[n - 1 + i * nr];
}
}
UNPROTECT(1);
return out;}
SEXP C_make_len2_int_vec(int first, int se...
2020 Sep 12
0
Garbage collection of seemingly PROTECTed pairlist
...collected away and causes a memory leak error when I try to
> access it.
>
> Here's my code.
>
> #include <Rinternals.h>
>
>
> SEXP C_int_mat_nth_row_nrnc(int *int_mat_int, int nr, int nc, int n) {
> SEXP out = PROTECT(Rf_allocVector(INTSXP, nc));
> int *out_int = INTEGER(out);
> if (n <= 0 | n > nr) {
> for (int i = 0; i != nc; ++i) {
> out_int[i] = NA_INTEGER;
> }
> } else {
> for (int i = 0; i != nr; ++i) {
> out_int[i] = int_mat_int[n - 1 + i * nr];
> }
> }
> UNPROTECT(1);
> r...
2009 May 15
1
[PATCH server] add server-side groundwork for remote freeipa server
...reeipa_password = '<%= freeipa_password %>'
$short_ldap_dn = '<%= ldap_dn %>'
$ldap_dn = 'cn=ipaConfig,cn=etc,<%= ldap_dn %>'
@@ -328,7 +334,11 @@ firewall_rule{"nat-postrouting": table => "nat", chain => "POSTROUTING", out_int
<% end %>
include postgres::bundled
include freeipa::common
+<% if remote_ipa == "n" %>
include freeipa::bundled
+<% else %>
+include freeipa::remote
+<% end %>
include ovirt::setup
END_OF_TEMPLATE
diff --git a/installer/modules/ovirt/manifests/dns.pp b/ins...
2008 Dec 10
6
[PATCH 0/6] Clean up virtio device object handling [was Re: [PATCH] virtio: make PCI devices take a virtio_pci module ref]
(Moved from kvm at vger to virtualization at linux-foundation, changed
subject, cleaned up cc list)
On Wed, 2008-12-10 at 13:02 +0100, Kay Sievers wrote:
> On Wed, Dec 10, 2008 at 10:49, Mark McLoughlin <markmc at redhat.com> wrote:
> > On Tue, 2008-12-09 at 19:16 +0100, Kay Sievers wrote:
> >> On Tue, Dec 9, 2008 at 17:41, Mark McLoughlin <markmc at redhat.com>
2008 Dec 10
6
[PATCH 0/6] Clean up virtio device object handling [was Re: [PATCH] virtio: make PCI devices take a virtio_pci module ref]
(Moved from kvm at vger to virtualization at linux-foundation, changed
subject, cleaned up cc list)
On Wed, 2008-12-10 at 13:02 +0100, Kay Sievers wrote:
> On Wed, Dec 10, 2008 at 10:49, Mark McLoughlin <markmc at redhat.com> wrote:
> > On Tue, 2008-12-09 at 19:16 +0100, Kay Sievers wrote:
> >> On Tue, Dec 9, 2008 at 17:41, Mark McLoughlin <markmc at redhat.com>