Displaying 20 results from an estimated 89 matches for "repr".
Did you mean:
repo
2020 Jul 21
3
trivial typo in ?Matrix::sparse.model.matrix.Rd
...e}).
>> ?? The \code{fac2[Ss]parse()} functions are utilities, also used
> Thank you, Ben; corrected in my (not yet committed) development
> version.
>
> BTW, there will be another improvement there,
> deprecating 'giveCsparse = TRUE'
> and replacing it by 'repr = "C"'
>
> the latter allowing all three kind of sparseMatrix formats
> ("C", "R", "T") instead of just Csparse* and Tsparse*.
????? How I can learn more about this, including (a) 'repr = ("C", "R",
"T")'...
2019 Jun 05
2
The way of implementing structs of Rust bindings
Hi, I'm now implementing generators of Rust, and I faced a problem.
In order for the wrapper to 'understand' the struct passed from C API, it
is required to incorporate the definition of the struct in C into Rust
code.
I have two approaches.
1. Create raw struct(#[repr(C)]), which has the equivalent memory mapping
to C struct and access through this struct in Rust
2. Use bindgen to create ffi struct from guestfs.h
Each of them has advantages and disadvantages.
# 1st approach
This is highly dependent on the implementation of API because it is subject
to the memo...
2020 Jul 21
2
trivial typo in ?Matrix::sparse.model.matrix.Rd
? "form" -> "from". Diff against latest SVN:
Index: sparse.model.matrix.Rd
===================================================================
--- sparse.model.matrix.Rd??? (revision 3336)
+++ sparse.model.matrix.Rd??? (working copy)
@@ -4,7 +4,7 @@
?\alias{fac2sparse}
?\alias{fac2Sparse}
?\description{Construct a sparse model or \dQuote{design} matrix,
-? form a formula
2023 Jun 06
5
Trying to build Samba from source on RHEL 8
...ne 317, in fun
return f(*k, **kw)
File "/usr/local/src/Samba/samba-4.16.10/third_party/waf/waflib/Configure.py", line 552, in run_build
h = Utils.h_list(buf)
File "/usr/local/src/Samba/samba-4.16.10/third_party/waf/waflib/Utils.py", line 608, in h_list
return md5(repr(lst).encode()).digest()
TypeError: __init__() takes 1 positional argument but 2 were given
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/src/Samba/samba-4.16.10/third_party/waf/waflib/Context.py", line 296, in r...
2019 Jun 05
1
Re: The way of implementing structs of Rust bindings
...er to 'understand' the struct passed from C API, it
> > is required to incorporate the definition of the struct in C into Rust
> > code.
> >
> > I have two approaches.
>
> I don't know a lot about Rust bindings, but ...
>
> > 1. Create raw struct(#[repr(C)]), which has the equivalent memory mapping
> > to C struct and access through this struct in Rust
>
> ... this is what I did in nbdkit (although it is not generated, but
> written by hand in this case):
>
>
> https://github.com/libguestfs/nbdkit/blob/a5d94ab65110136680598...
2005 Apr 07
3
analyse des correspondances multiples
bonjour,
Je voudrais faire une analyse des correspondances multiples avec R. avec
les repr?sentation graphiques correspondantes avec R.
je ne sais pas comment proc?der ..
en vour remerciant par avance
Faouzi
2023 Jun 06
1
Trying to build Samba from source on RHEL 8
...return f(*k, **kw)
> File "/usr/local/src/Samba/samba-4.16.10/third_party/waf/waflib/Configure.py", line 552, in run_build
> h = Utils.h_list(buf)
> File "/usr/local/src/Samba/samba-4.16.10/third_party/waf/waflib/Utils.py", line 608, in h_list
> return md5(repr(lst).encode()).digest()
> TypeError: __init__() takes 1 positional argument but 2 were given
>
> During handling of the above exception, another exception occurred:
>
> Traceback (most recent call last):
> File "/usr/local/src/Samba/samba-4.16.10/third_party/waf/waflib/Conte...
2019 Aug 16
0
[nbdkit PATCH 2/2] rust: Add support for dynamic .thread_model
...st plugins will have already thought about thread
models, they can convert their existing model into the new
.thread_model field (and thus, I don't feel too bad making Parallel
the default, even if it is not always the safest).
And something I learned the hard way: enum ThreadModel _must_ be
#[repr(C)], otherwise Rust will compile a return type of this enum
into a 1-byte return, even though C expects sign-extension into a
4-byte return; the garbage left in the other three bytes (at least on
x86 architecture) would generally render .thread_model broken
otherwise.
Signed-off-by: Eric Blake <...
2019 Aug 16
1
Re: [nbdkit PATCH 2/2] rust: Add support for dynamic .thread_model
...hought about thread
> models, they can convert their existing model into the new
> .thread_model field (and thus, I don't feel too bad making Parallel
> the default, even if it is not always the safest).
>
> And something I learned the hard way: enum ThreadModel _must_ be
> #[repr(C)], otherwise Rust will compile a return type of this enum
> into a 1-byte return, even though C expects sign-extension into a
> 4-byte return; the garbage left in the other three bytes (at least on
> x86 architecture) would generally render .thread_model broken
> otherwise.
>
>...
2019 Jun 25
3
methods package: A _R_CHECK_LENGTH_1_LOGIC2_=true error
...n Mon, Jun 24, 2019 at 3:05 AM Martin Maechler
<maechler at stat.math.ethz.ch> wrote:
>
> >>>>> Henrik Bengtsson via R-core
> >>>>> on Sun, 23 Jun 2019 11:29:58 -0700 writes:
>
> > Thank you.
> > To correct myself, I can indeed reproduce this with R --vanilla too.
> > A reproducible example is:
>
> > $ R --vanilla
> > R version 3.6.0 Patched (2019-05-31 r76629) -- "Planting of a Tree"
> > ...
> >> Sys.setenv("_R_CHECK_LENGTH_1_LOGIC2_" = "true&quo...
2019 Jun 05
0
Re: The way of implementing structs of Rust bindings
...em.
>
> In order for the wrapper to 'understand' the struct passed from C API, it
> is required to incorporate the definition of the struct in C into Rust
> code.
>
> I have two approaches.
I don't know a lot about Rust bindings, but ...
> 1. Create raw struct(#[repr(C)]), which has the equivalent memory mapping
> to C struct and access through this struct in Rust
... this is what I did in nbdkit (although it is not generated, but
written by hand in this case):
https://github.com/libguestfs/nbdkit/blob/a5d94ab65110136680598677610868196ed71145/plugins/rust/...
2002 Nov 26
1
script-shell sftp
...Bernard SANTABODIA
Url : http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20021126/2e7b17c0/attachment.vcf
-------------- next part --------------
Post-scriptum La Poste
Ce message est confidentiel. Sous r?serve de tout accord conclu par
?crit entre vous et La Poste, son contenu ne repr?sente en aucun cas un
engagement de la part de La Poste. Toute publication, utilisation ou
diffusion, m?me partielle, doit ?tre autoris?e pr?alablement. Si vous
n'?tes pas destinataire de ce message, merci d'en avertir imm?diatement
l'exp?diteur.
2019 Jun 23
2
methods package: A _R_CHECK_LENGTH_1_LOGIC2_=true error
Thank you.
To correct myself, I can indeed reproduce this with R --vanilla too.
A reproducible example is:
$ R --vanilla
R version 3.6.0 Patched (2019-05-31 r76629) -- "Planting of a Tree"
...
> Sys.setenv("_R_CHECK_LENGTH_1_LOGIC2_" = "true")
> loadNamespace("oligo")
Error in omittedSig &&...
2019 Aug 16
7
[nbdkit PATCH 0/2] rust: Implement some missing v2 callbacks
Similar to what I just did for OCaml (this IS an API break, requiring
recompilation of any existing Rust plugin), and done because I want to
add fast_zero support to both languages as part of my upcoming fast
zero series.
Figuring out how to get extents working was hard enough that I punted
that, still.
Eric Blake (2):
rust: Implement can_cache
rust: Add support for dynamic .thread_model
2019 Jun 24
0
methods package: A _R_CHECK_LENGTH_1_LOGIC2_=true error
>>>>> Henrik Bengtsson via R-core
>>>>> on Sun, 23 Jun 2019 11:29:58 -0700 writes:
> Thank you.
> To correct myself, I can indeed reproduce this with R --vanilla too.
> A reproducible example is:
> $ R --vanilla
> R version 3.6.0 Patched (2019-05-31 r76629) -- "Planting of a Tree"
> ...
>> Sys.setenv("_R_CHECK_LENGTH_1_LOGIC2_" = "true")
>> loadNamespac...
2017 Jun 20
2
Unable to get transaction opinfo for transaction ID gluster version 3.6
...enkel de gedelegeerde bestuurder, de algemeen directeur
of zijn uitdrukkelijke lasthebber verbintenissen aangaan namens Smals.
Indien dit bericht niet voor u bestemd is, verzoeken wij u dit
onmiddellijk aan ons te melden en het bericht te vernietigen.
Conform?ment aux dispositions relatives ? la repr?sentation de l'asbl dans
ses statuts, seul l'administrateur d?l?gu?, le directeur g?n?ral ou son
mandataire expr?s est habilit? ? souscrire des engagements au nom de
Smals.
Si ce message ne vous est pas destin?, nous vous prions de nous le
signaler imm?diatement et de d?truire le messag...
2020 Jul 21
2
trivial typo in ?Matrix::sparse.model.matrix.Rd
...gt;> "library(Ecfun)". I find that interesting, because "Matrix" does not
>> appear in the Ecfun DESCRIPTION file.
AS> Not interesting.
AS> Note the imports and depends fields.
AS> (Of your own packages).
>> AND I don't see 'repr = ("C",
>> "R", "T")' in the "sparse.model.matrix" help file I do see.
AS> Martin's comment used future tense.
Indeed. It's not even yet in the *development* version of Matrix
on R-forge, see
packageDescription("Ma...
2007 Aug 05
5
accent
Salut alex, est-ce qu''il est possible d''avoir la liste de tous les accents qu''il est possible de représenter avec wxruby2,
comme "é" par exemple.
merci
Sebastien
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/wxruby-users
2024 Jun 07
0
[RFC PATCH 7/8] rust: add firmware abstractions
...-Identifier: GPL-2.0
> +
> +//! Generic devices that are part of the kernel's driver model.
> +//!
> +//! C header: [`include/linux/device.h`](srctree/include/linux/device.h)
> +
> +use crate::types::Opaque;
> +
> +/// Wraps the kernel's `struct task_struct`.
> +#[repr(transparent)]
> +pub struct Device(Opaque<bindings::device>);
> +
> +impl Device {
> + /// Creates a new [`Device`] instance from a raw pointer.
> + ///
> + /// # Safety
> + ///
> + /// For the duration of 'a, the pointer must point at a valid `devic...
2019 Jun 27
2
methods package: A _R_CHECK_LENGTH_1_LOGIC2_=true error
Henrik,
If a minimal reprex is hard to construct, could you perhaps instrument your version of R to include a browser() call at the start of the
else if(!all(signature[omittedSig] == "missing")) {
branch, run the code that triggers the issue for you (and must hit that branch) and tell us what the "sign...