similar to: Using "opaque pointers" right now?

Displaying 20 results from an estimated 3000 matches similar to: "Using "opaque pointers" right now?"

2019 Dec 17
2
Using "opaque pointers" right now?
> pointers. If you're writing a front-end this probably means you need > to keep your AST's representation of element types alongside LLVM > pointer Values in your own data-structures Yeah, that’s no problem - the type is needed for signed/unsigned integer distinctions anyway. There’s no getting around having one’s own type hierarchy. >> And also - is it possible to use
2019 Nov 12
2
The best way of generating a good representation for an array with header?
The advantages: 1. A pointer to the struct offset can be converted to a pointer without any cost. 2. A nullpointer to a stretchy buffer can be treated as a zero length array. Consequently no actual struct allocation is needed to represent a zero length array. 3. A reference to the array is the same size as to a pointer. 4. It can be converted to and back from an pointer without losing any
2019 Nov 12
2
The best way of generating a good representation for an array with header?
2019 Nov 12
2
The best way of generating a good representation for an array with header?
Yes, we’re actually viewing the struct at an offset. So basically it’s a struct like this: typedef struct { uint32_t size; uint32_t capacity; int array[0]; } Foo; The whole thing is malloc:ed with extra bytes at the end, and capacity is set to that same number of extra bytes. What’s then passed around is actually the int pointer at an offset: &(foo->array) Using the that pointer
2015 Aug 17
2
[LLVMdev] [RFC] Developer Policy for LLVM C API
2015-08-17 13:47 GMT-07:00 David Blaikie <dblaikie at gmail.com>: > > > >> >> I'd propose that the only 100% strict rule should be that if the ABI/API >> changes, it is done in a way that *loudly* breaks old programs -- e.g. they >> fail to compile, link, or run (depending on how the other-lang wrappers are >> accessing the API functions) -- not
2008 Apr 09
8
Testing basic direct x capability
Hi, I am running wine 0.9.58 and having problems running Counter Strike: Source, Rainbow Six 3: Raven Shield. I think this is caused by the direct x layer in wine. My system runs opengl programs fine using the ATI driver (Radeon 3850). Is there any way I can test directx functionality without having to download a game? Dxdiag.exe is not included in wine. Best regards, Chris
2015 Aug 17
6
[LLVMdev] [RFC] Developer Policy for LLVM C API
As someone who used the LLVM C API for an experiment back in 2009ish (porting the SBCL lisp compiler to target LLVM as a backend -- never finished), I thought it was great that LLVM provided the C API. I was sad that it wasn't properly updated to include support for all the newly introduced IR features, though. (E.g. atomics). I tried to send patches for some of that stuff a while later, but
2015 Jul 01
4
[PATCH] MAINTAINERS: separate section for s390 virtio drivers
The s390-specific virtio drivers have probably more to do with virtio than with kvm today; let's move them out into a separate section to reflect this and to be able to add relevant mailing lists. CC: Christian Borntraeger <borntraeger at de.ibm.com> Signed-off-by: Cornelia Huck <cornelia.huck at de.ibm.com> --- MAINTAINERS | 10 +++++++++- 1 file changed, 9 insertions(+), 1
2015 Jul 01
4
[PATCH] MAINTAINERS: separate section for s390 virtio drivers
The s390-specific virtio drivers have probably more to do with virtio than with kvm today; let's move them out into a separate section to reflect this and to be able to add relevant mailing lists. CC: Christian Borntraeger <borntraeger at de.ibm.com> Signed-off-by: Cornelia Huck <cornelia.huck at de.ibm.com> --- MAINTAINERS | 10 +++++++++- 1 file changed, 9 insertions(+), 1
2001 Oct 11
4
ext3 0.9.12 for 2.4.10-ac11
An ext3 update for Alan's latest kernel is at http://www.uow.edu.au/~andrewm/linux/ext3/ The version of ext3 in -ac kernels currently stands at 0.9.6, so this is a fairly large diff. However most of this code has had a decent amount of external testing via the 0.9.9 patch. The changelog since 0.9.6 is below. Please test it if you can, and all being well we shall ask Alan to merge it a
2006 May 10
2
hard_breaks
Dear Dressers of RedCloth, I have a question: text = "Foo\nBar\n\nBaz" RedCloth.new(text, [ :hard_breaks ]).to_html # => "<p>Foo<br />Bar<br />\nBaz</p>" Shouldn''t that really be "<p>Foo<br />Bar</p><p>Baz</p>"? So long, -- Christoffer Sawicki
2009 Jan 18
9
Limited number of phy disks?
In my experiments with setting up a NAS as a VM, I can only successfully import three drives; the root drive, the cd and one more. However, I have plenty that I want to use: disk=[''file:/vserver/vm_disks/Patch.disk.xm,hda,w'', ''phy:/dev/sda,ioemu:hdd,w'', ''phy:/dev/sdb,ioemu:hde,w'', ''phy:sdc,ioemu:hdf,w'',
2004 Jan 22
4
Fitting compartmental model with nls and lsoda?
Dear Colleagues, Our group is also working on implementing the use of R for pharmacokinetic compartmental analysis. Perhaps I have missed something, but > fit <- nls(noisy ~ lsoda(xstart, time, one.compartment.model, c(K1=0.5, k2=0.5)), + data=C1.lsoda, + start=list(K1=0.3, k2=0.7), + trace=T + ) Error in eval(as.name(varName), data) : Object
2004 Jul 27
1
Samba 3.0.5 cannot mount Windows 2003 shares
I'm having a real hair-raising problem here and I thought maybe someone could help. At least I hope so. My workstation was running 3.0.2a, upgraded to 3.0.5. After upgrading to 3.0.5, I can no longer mount shares on my 2003 server. This started happening on an upgrade to 3.0.4 as well, I might add. Permissions-wise: I own the directory mounts on the local Linux workstation,
2015 Jul 07
1
[PATCH] MAINTAINERS: separate section for s390 virtio drivers
On Wed, 1 Jul 2015 17:17:41 +0200 Paolo Bonzini <pbonzini at redhat.com> wrote: > > > On 01/07/2015 17:15, Cornelia Huck wrote: > > The s390-specific virtio drivers have probably more to do with virtio > > than with kvm today; let's move them out into a separate section to > > reflect this and to be able to add relevant mailing lists. > > > >
2015 Jul 07
1
[PATCH] MAINTAINERS: separate section for s390 virtio drivers
On Wed, 1 Jul 2015 17:17:41 +0200 Paolo Bonzini <pbonzini at redhat.com> wrote: > > > On 01/07/2015 17:15, Cornelia Huck wrote: > > The s390-specific virtio drivers have probably more to do with virtio > > than with kvm today; let's move them out into a separate section to > > reflect this and to be able to add relevant mailing lists. > > > >
2006 Jul 02
4
2 bugs when parsing emphasized or bold text
I''ve found 2 bugs that produce (imho) incorrect rendering results: 1) The regexp for strong (*) and bold (**) is greedy, which produces very strange results. The simplest way to show the problem is to give an example. This is the original code: ===== Strong: Lets do a little test *t* this should not be strong *u*. Bold: Lets do another test **t** this should not be bold **u**. =====
2016 Jan 19
2
[RFC] A proposal for byval in a world with opaque pointers
2016-01-20 1:11 GMT+02:00 Antoine Pitrou via llvm-dev < llvm-dev at lists.llvm.org>: > On Wed, 20 Jan 2016 00:47:56 +0200 > "Eddy B. via llvm-dev" <llvm-dev at lists.llvm.org> wrote: > > > > I would love to know your thoughts on this, and more specifically: > > Which of the 3 (byval(T), byval(N) and byval + dereferenceable + align) > > do you
2010 Mar 26
4
Creating a vector of categories
Hi, I have a column in a data frame looking something like: $sex $language $count male english 0 male english 0 female english 32 male spanish 154 female english 11 female norweigan 7 and so on. What I want to do is to order these in to categories, for instance one category where count>=0 & count<10 and so on.. I want my data to turn out looking something like: male
2003 May 02
2
Isolinux init problem
Hello I have a problem with isolinux my root filesystem is a iso9660 cdrom , it wont start the init but it mounts /dev/hdc as root. Cant linux start directly from a the cdrom or is this another problem? I get this: VFS: Mounted root filesystem (iso9660) readonly Freeing unused kernel memory: 2808kb freead Warning: unable to open an intital console Kernel panic: no init found. try parsing