search for: growable

Displaying 20 results from an estimated 43 matches for "growable".

2008 May 11
4
Choosing a Sizer
.../16 px | +-------------------------------------------------------------------v----------+ >| |<-- 5/16 px | | [ Fixed length Wx::Button ] [ <---------- Growable Wx::Gauge ----^-----> ] | | | | +------------------------------------------------------------------------+ | | | ^ | | | | | | | | | | | | | | <------------------ Growa...
2013 Jan 31
5
Request for built-in DOS launch module
...plishes all of the tediousness described above, e.g.: LABEL biosflash KERNEL doslaunch.c32 INITRD flashtool.exe or files.zip or files.tar.gz APPEND exec=flashtool.exe I would imagine this would do something along the following lines: set up a DOS-like environment with an extra drive letter for a growable ramdisk, copy the INITRD file or archive (unpacking as necessary) into that ramdisk, switching to the ramdisk drive letter, and then launching whatever file is listed in the exec parameter. Does something like that already exist? Alex
2020 Sep 11
4
Garbage collection of seemingly PROTECTed pairlist
...t with those intervals plus some added intervals, such that there are no gaps. For example, it should take the matrix rbind(c(5L, 6L), c(7L, 10L), c(20L, 30L)) and return list(c(5L, 6L), c(7L, 10L), c(11L, 19L), c(20L, 30L)). Because the output is of variable length, I use a pairlist (because it is growable) and then I call Rf_PairToVectorList() at the end to make it into a regular list. I'm getting a strange garbage collection error. 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>...
2015 Dec 10
3
Allowing virtual registers after register allocation
To say this first: This whole discussion about using virtregs until emit or having growable physregs is hard to argue without actually having experience trying to go either way. Problems when using virtregs throughout the backend until emit time: - The MC layer is using MCPhysReg (which is an uint16_t) and would need retrofitting to support virtregs - VirtRegs are assumed to have a defin...
2016 Jul 23
0
[ANNOUNCE] libdrm 2.4.70
...at free freedreno/msm: use private bo-cache for ringbuffer bo's freedreno/msm: drop return from get_cmd() freedreno/msm: split out cmd buffer tracking from ring list: add first/last entry macros freedreno/msm: split out dump_submit() helper freedreno: support growable cmdstream buffers freedreno/msm: use hashtable to track bo idx freedreno: move legacy kgsl related README freedreno: fix distcheck errors freedreno: fix android build break freedreno: fix warnings Bump version for release git tag: libdrm-2.4.70 http://dri.freed...
2017 May 16
0
Consider increasing the size of HSIZE
...factor of greater than 5. The histogram in the linked repository shows the distribution of bucket sizes for the hash table. This high load factor means most queries into the hashtable result in a collision, requiring an additional linear search of the linked list for each bucket. Is is common for growable hash tables to increase their size when the load factor is greater than .75, so I think it would be of benefit to increase the HSIZE constant considerably; to 32768 or possibly 65536. This will result in increased memory requirements for the hash table, but far fewer collisions. To get an idea of...
2010 Nov 13
2
Scrolling / wxPanel / wxFlexGridSizer
...vertically) ... In the ruby file invoking the interface I have: require ''wx'' require ''loadgui.rb'' # from xrcise class MyApp < MyGUI def on_init # Sizer holding key value pairs @settings_sizer = Wx::FlexGridSizer.new(2) @settings_sizer.add_growable_col(1, 1) # wxPanel holding the sizer above @panel = @finder.call( ''ID_SETTINGS'' ) @panel.sizer = @settings_sizer @labels = {} @texts = {} ENV.each { |k, v| @labels[k] = Wx::StaticText.new(@panel, :label => k) @texts[k] = Wx::TextCt...
2010 Sep 09
1
scalable < > delimiters in plotmath
Dear list, I read in ?plotmath that I can use bgroup to draw scalable delimiters such as [ ] and ( ). The same technique fails with < > however, and I cannot find a workaround, grid.text(expression(bgroup("<",atop(x,y),">"))) Error in bgroup("<", atop(x, y), ">") : invalid group delimiter Regards, baptiste sessionInfo() R version
2010 Sep 09
1
scalable < > delimiters in plotmath
Dear list, I read in ?plotmath that I can use bgroup to draw scalable delimiters such as [ ] and ( ). The same technique fails with < > however, and I cannot find a workaround, grid.text(expression(bgroup("<",atop(x,y),">"))) Error in bgroup("<", atop(x, y), ">") : invalid group delimiter Regards, baptiste sessionInfo() R version
2017 Nov 21
1
Truncating vectors by reference in C-backend
Dear all, I want to create a function shrinkVector(x) that takes x and truncates it to the first element without copy. With SETLENGTH and SET_TRUELENGTH, I can achieve that. You can find a reproducible example below. But the memory that was freed is not available for other objects afterwards, except if x is a list (VECSXP). Any suggestions? library(inline) ## define the shrinking function
2019 Jun 14
2
R C API resize matrix
Hi, Is there a way to resize a matrix defined as follows: SEXP a = PROTECT(allocMatrix(INTSXP, 10, 2)); int *pa = INTEGER(a) To row = 5 and col = 1 or do I have to allocate a second matrix "b" with pointer *pb and do a "for" loop to transfer the value of a to b? Thank you Best regards Morgan [[alternative HTML version deleted]]
2020 Sep 12
0
Garbage collection of seemingly PROTECTed pairlist
...ls plus some added intervals, such that there are no > gaps. For example, it should take the matrix rbind(c(5L, 6L), c(7L, 10L), > c(20L, 30L)) and return list(c(5L, 6L), c(7L, 10L), c(11L, 19L), c(20L, > 30L)). Because the output is of variable length, I use a pairlist (because > it is growable) and then I call Rf_PairToVectorList() at the end to make it > into a regular list. > > I'm getting a strange garbage collection error. My PROTECTed pairlist prlst > gets garbage collected away and causes a memory leak error when I try to > access it. > > Here's my code...
2019 Jul 30
1
Researching why different cache modes result in 'some' guest filesystem corruption..
Hi All, I've been chasing down an issue in recent weeks (my own lab, so no prod here) and I'm reaching out in case someone might have some guidance to share. I'm running fairly large VMs (RHOSP underclouds - 8vcpu, 32gb ram, about 200gb single disk as a growable qcow2) on some RHEL7.6 hypervisors (kernel 3.10.0-927.2x.y, libvirt 4.5.0, qemu-kvm-1.5.3) on top of SSD/NVMe drives with various filesystems (vxfs, zfs, etc..) and using ECC RAM. The issue can be described as follows: - the guest VMs work fine for a while (days, weeks) but after a kernel up...
2016 Jan 13
2
Allowing virtual registers after register allocation
...Thu, Dec 10, 2015 at 3:52 PM Derek Schuff <dschuff at google.com> wrote: > On Thu, Dec 10, 2015 at 2:46 PM Matthias Braun via llvm-dev < > llvm-dev at lists.llvm.org> wrote: > >> To say this first: This whole discussion about using virtregs until emit >> or having growable physregs is hard to argue without actually having >> experience trying to go either way. >> > > Indeed, we are accumulating exactly this experience now, having started > with VRegs, as that seems like a more natural fit conceptually. The problem > is that we are essentially...
2004 Nov 22
1
Layout Issue ...
The following program represents the basic layout of my application. The problem I have is that the panel, and thus, the grid does not resize when the window width is expanded. Also, I would like the entire grid to be displayed without the horizontal scroll bar. How can I force this behavior? Please tell me if I am going about this incorrectly. I am just getting familar with wxRuby and any
2016 Jan 22
2
Allowing virtual registers after register allocation
...52 PM Derek Schuff <dschuff at google.com> wrote: > >> On Thu, Dec 10, 2015 at 2:46 PM Matthias Braun via llvm-dev < >> llvm-dev at lists.llvm.org> wrote: >> >>> To say this first: This whole discussion about using virtregs until emit >>> or having growable physregs is hard to argue without actually having >>> experience trying to go either way. >>> >> >> Indeed, we are accumulating exactly this experience now, having started >> with VRegs, as that seems like a more natural fit conceptually. The problem >> is...
2010 Sep 25
1
[LLVMdev] Stack roots and function parameters
Forgive my top post but I hate Windows. J I am surprised you (Talin) say that "we know conservative collectors work" because my experience has very much been of them not working. Indeed, if you have 400Mb of allocated heap blocks on a 32-bit machine is there not a 10% chance of *each* random 32-bit int "pointing" into your heap, i.e. a false positive? I just did a simple
2017 Jul 14
0
[PATCH 09/27] daemon: Reimplement ‘mount’, ‘mount_ro’, ‘mount_options’, ‘mount_vfs’ APIs in OCaml.
...ingsbuf (void *ptr); #define CLEANUP_FREE_STRINGSBUF #endif -/*-- in mount.c --*/ - -extern int mount_vfs_nochroot (const char *options, const char *vfstype, - const mountable_t *mountable, - const char *mp, const char *user_mp); - /* Growable strings buffer. */ struct stringsbuf { char **argv; diff --git a/daemon/mount.c b/daemon/mount.c index 0ad9626a7..962b86079 100644 --- a/daemon/mount.c +++ b/daemon/mount.c @@ -111,105 +111,6 @@ is_device_mounted (const char *device) return 0; } -/* The "simple mount" call offer...
2012 May 21
0
[ANNOUNCE] libguestfs 1.18 released - tools for managing virtual machines and disk images
...c warnings and Coverity bugs have been fixed; many strict-overflow bugs have also been fixed - use ./configure --enable-valgrind-daemon to use valgrind on the daemon; many errors have been fixed - use ./configure --with-qemu-options to pass extra options to qemu - the daemon now has a growable strings buffer type (DECLARE_STRINGSBUF) - the <guestfs.h> header file works with C++ and we have a regression test for this - multiple APIs which should only be called in the CONFIG state now give an error if they are not - .gitignore fixed to use absolute paths - gobject bindi...
2010 Apr 10
16
snapshots on xen
...current file system would take too long. 3) What cluster file system is supported? I have sles11 with a Xiotech SAN. I thought I could do this with CLVM, but just found out I can''t. So how would I do it? (even if I have to shut the domU down first) Right now I''m using ocfs2 and growable storage, which definitely doesn''t support snapshots and copies take a pretty long time. Suggestions are appreciated. Thanks, James _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users