search for: wraps

Displaying 20 results from an estimated 8896 matches for "wraps".

Did you mean: traps
2018 May 08
2
[RFC v3 4/5] virtio_ring: add event idx support in packed ring
...carried in `new`. > ??? int off = off_wrap & ~(1 << 15); > ??? __u16 d1, d2; > > ??? if (new < old) { > ??? ??? new += vq->num; > ??? ??? wrap ^= 1; > ??? } > > ??? if (wrap != off_wrap >> 15) > ??? ??? off += vq->num; When `new` and `old` wraps, and `off` doesn't wrap, wrap != (off_wrap >> 15) will be true. In this case, `off` is bigger than `new`, and what we should do is `off -= vq->num` instead of `off += vq->num`. Best regards, Tiwei Bie > > ??? return vring_need_event(off, new, old); > } > > > &...
2018 May 08
2
[RFC v3 4/5] virtio_ring: add event idx support in packed ring
...carried in `new`. > ??? int off = off_wrap & ~(1 << 15); > ??? __u16 d1, d2; > > ??? if (new < old) { > ??? ??? new += vq->num; > ??? ??? wrap ^= 1; > ??? } > > ??? if (wrap != off_wrap >> 15) > ??? ??? off += vq->num; When `new` and `old` wraps, and `off` doesn't wrap, wrap != (off_wrap >> 15) will be true. In this case, `off` is bigger than `new`, and what we should do is `off -= vq->num` instead of `off += vq->num`. Best regards, Tiwei Bie > > ??? return vring_need_event(off, new, old); > } > > > &...
2018 May 08
1
[RFC v3 4/5] virtio_ring: add event idx support in packed ring
...> > > > > > ??? if (new < old) { > > > ??? ??? new += vq->num; > > > ??? ??? wrap ^= 1; > > > ??? } > > > > > > ??? if (wrap != off_wrap >> 15) > > > ??? ??? off += vq->num; > > When `new` and `old` wraps, and `off` doesn't wrap, > > wrap != (off_wrap >> 15) will be true. In this case, > > `off` is bigger than `new`, and what we should do > > is `off -= vq->num` instead of `off += vq->num`. > > If I understand this correctly, if we track old correctly, it won...
2005 Apr 15
2
abbreviate or wrap dimname labels
For a variety of displays (mosaicplots, barplots, ...) one often wants to either abbreviate or wrap long labels, particularly when these are made up of several words. In general, it would be nice to have a function, abbreviate.or.wrap <- function(x, maxlength=10, maxlines=2, split=" ") { } that would take a character vector or a list of vectors, x, and try to abbreviate or wrap
2010 Sep 19
2
working with eval and environments
I'm trying to get the following section of code to work, I think the problem is being caused by the assignment of data to the lm function not evaluating to "train" in the parent environment but I can't seem to figure out how to do this. fitmodel <- function(trial,data) { wrap.lm <- function(formula,data,...) { cat("in wrap lm",NROW(data),"\n");
2015 Aug 12
3
[LLVMdev] RFC: ThinLTO File Format
Alex already made what I consider to be the most relevant point. I would suggest removing the unwanted functionality and asking again. From my perspective, native wrapped bitcode is only interesting (and thus worth reviewing and/or talking about) once the native bitcode version is in tree and functional. Frankly, I consider the native wrapped bitcode to be an entirely orthogonal proposal
2009 Jul 29
9
partials...
I am getting a blank page, no errors, just a blank page. I have 2 files... reports/city_taxes_print.erb reports/_city_taxes_print.erb and my method is city_taxes_print and after getting variables from the controller, my erb file which is fairly basic... <% # City of Scottsdale @taxauthids = [ "32", "40" ] @report_title = "Scottsdale Sales Tax Detail Report for
2018 May 08
2
[RFC v3 4/5] virtio_ring: add event idx support in packed ring
On Tue, May 08, 2018 at 01:40:40PM +0800, Jason Wang wrote: > On 2018?05?08? 11:05, Jason Wang wrote: > > > > > > Because in virtqueue_enable_cb_delayed(), we may set an > > > event_off which is bigger than new and both of them have > > > wrapped. And in this case, although new is smaller than > > > event_off (i.e. the third param -- old), new
2018 May 08
2
[RFC v3 4/5] virtio_ring: add event idx support in packed ring
On Tue, May 08, 2018 at 01:40:40PM +0800, Jason Wang wrote: > On 2018?05?08? 11:05, Jason Wang wrote: > > > > > > Because in virtqueue_enable_cb_delayed(), we may set an > > > event_off which is bigger than new and both of them have > > > wrapped. And in this case, although new is smaller than > > > event_off (i.e. the third param -- old), new
2020 May 15
2
RFC] Shrink-wrapping improvement
Hi Francis, Thanks for getting back to me. Could you please provide more details about the problems you encounter with those tools and what improvements required to improve compact unwinding format? Most of my experience is in the mid end, but it is still surprising to me that an improved shrink wrap will break that many tools, considering the fact that gcc has a good shrink wrapping pass and
2015 Nov 20
2
[AArch64] bug in shrink-wrapping
Hi Arnaud, Thanks for following up with that and sorry for the breakage. Couple of comments: MachineLoopInfo *MLI; + RegScavenger *RS; Would it make sense to use a unique_ptr here? That should eliminate the need of having explicit deletes. +; RUN: llc -mtriple=aarch64-linux-gnu -o - %s Add -enable-shrink-wrap=true and a second RUN line with -enable-shrink-wrap=false. Then add check lines
2007 Aug 15
0
Branch 'vivi' - 13 commits - doc/swfdec-sections.txt libswfdec/swfdec_as_debugger.h libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_frame.h libswfdec/swfdec_as_types.h vivified/core vivified/ui
...cation.c index 318630f..51ac709 100644 --- a/vivified/core/vivi_application.c +++ b/vivified/core/vivi_application.c @@ -89,6 +89,7 @@ vivi_application_dispose (GObject *objec ViviApplication *app = VIVI_APPLICATION (object); g_object_unref (app->player); + g_hash_table_destroy (app->wraps); G_OBJECT_CLASS (vivi_application_parent_class)->dispose (object); } @@ -120,6 +121,8 @@ vivi_application_init (ViviApplication * app->debugger = g_object_new (VIVI_TYPE_DEBUGGER, NULL); app->debugger->app = app; app->player = swfdec_gtk_player_new (SWFDEC_AS_DEBUGGER...
2006 Mar 30
2
acts_as_ordered plugin
Hey all, I''ve just put together a little plugin to easily access the neighbours of a given model in a particular order. Read on if interested. Install: script/plugin install http://svn.viney.net.nz/things/rails/plugins/acts_as_ordered Usage: class Person < ActiveRecord::Base acts_as_ordered :order => ''first_name'' end Say you have people with first
2020 May 13
2
RFC] Shrink-wrapping improvement
Hi, Sorry for bringing back such an old thread. I am interested in the latest status of the shrink wrapping pass in LLVM. I have found some active work back in 2017 from Francis Visoiu Mistrih and Kit Barton from the following links. However, it seems that all the work suddenly stops and the improvement for the existing shrink wrapping did not make it into the trunk. Is this work abandoned?
2015 Nov 20
2
[AArch64] bug in shrink-wrapping
Hi Quentin, After shrink-wrapping was enabled as default on AArch64, llc has a seg fault when compiling the attached .ll file on AArch64. My command is llc -mcpu=cortex-a57 bug.ll Best, Haicheng -------------- next part -------------- A non-text attachment was scrubbed... Name: bug.ll Type: application/octet-stream Size: 8983 bytes Desc: not available URL:
2015 Aug 12
2
[LLVMdev] RFC: ThinLTO File Format
I went ahead and replied to two of the review threads. I only considered the parts which would be left without the native wrapped bitcode support. Philip On 08/12/2015 01:24 PM, Teresa Johnson wrote: > I can remove the native wrapper portions of the associated patch and > add that later. Most of the support as I mentioned is for the bitcode > handling anyway, but I wanted to
2007 Aug 21
0
Branch 'vivi' - 4 commits - doc/swfdec-sections.txt libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_frame.h libswfdec/swfdec_as_string.c vivified/core
doc/swfdec-sections.txt | 1 libswfdec/swfdec_as_frame.c | 17 +++++++++++++++ libswfdec/swfdec_as_frame.h | 1 libswfdec/swfdec_as_string.c | 9 ++++++++ vivified/core/vivi_initialize.as | 2 + vivified/core/vivi_wrap_as.c | 43 +++++++++++++++++++++++++++++++++++++++ 6 files changed, 73 insertions(+) New commits: diff-tree
2015 Aug 03
2
[LLVMdev] RFC: ThinLTO File Format
Hi Alex, After outlining some of the rationale for using native-wrapped, there were a couple of responses that indicated native-wrapped support was reasonable, but they preferred to see bitcode-only first (Phillip and Rafael). This is essentially what this proposal and the patches do - I've implemented some of the basic support for looking for and parsing the native-wrapped sections, but the
2006 May 04
3
screen wrapping
Hello all, How can I increase/decrease the line length for screen wrapping? Currently when I run the following the output appears to wrap at just under 80 columns: > c(1:100) [1] 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 [19] 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 [37] 37 38 39 40 41 42 43 44 45 46 47 48 49
2012 Apr 27
1
Wrap names.arg text in barplot
Hello! Does anyone know of a handy way to wrap the names.arg text in a barplot? I'm creating a bar plot with rather long labels; I can adjust the margins, but I'd also like to have the text wrap to about 4cm. Thanks! Kyle H. Ambert Doctoral Candidate, Bioinformatics Oregon Health & Science University ambertk@gmail.com [[alternative HTML version deleted]]