search for: lcm

Displaying 20 results from an estimated 45 matches for "lcm".

Did you mean: lc
2001 Apr 20
1
layout() and lcm() problem
I am doing: layout(mat=matrix(c(1,2,3), 3, 1, byrow=TRUE), widths = lcm(5), heights= lcm(rep(5, 3))) This is one column of 3 plots. If I try to make each subplot bigger, widths = lcm(6), heights= lcm(rep(6, 3))) I get: Error in plot.new() : Figure region too large I don't understand why this is the case: an A4 page is 29.5 cm long by 21 cm wide. 3 x 6 = 18. I s...
2018 Jul 20
3
error: ordered comparison between pointer and zero ('address' (aka 'unsigned char *') and 'int')
Hi Thomas, Thanks for your kind response! Please review my backport for hs25, thanks a lot! diff -r 3544d85cfe11 src/share/vm/opto/lcm.cpp --- a/src/share/vm/opto/lcm.cpp Thu Jul 19 10:00:36 2018 +0100 +++ b/src/share/vm/opto/lcm.cpp Fri Jul 20 10:06:37 2018 +0800 @@ -49,7 +49,7 @@ // Check whether val is not-null-decoded compressed oop, // i.e. will grab into the base of the heap if it represents NULL. static bool acc...
2018 Jul 23
2
error: ordered comparison between pointer and zero ('address' (aka 'unsigned char *') and 'int')
...njdk.java.net/pip > ermail/jdk8u-dev/2018-July/007708.html for an example. > > If you need a sponsor, I could do that for you after approval (I am onjdk8u-dev, so I would notice :) ). > > Thanks, > Thomas > >> >> >> diff -r 3544d85cfe11 src/share/vm/opto/lcm.cpp >> --- a/src/share/vm/opto/lcm.cpp Thu Jul 19 10:00:36 2018 +0100 >> +++ b/src/share/vm/opto/lcm.cpp Fri Jul 20 10:06:37 2018 +0800 >> @@ -49,7 +49,7 @@ >> // Check whether val is not-null-decoded compressed oop, >> // i.e. will grab into the base of th...
2018 Jul 19
2
error: ordered comparison between pointer and zero ('address' (aka 'unsigned char *') and 'int')
Hi HotSpot and LLVM developers, I am building OpenJDK8[1] with LLVM toolchain[2] for mips64el, it failed to build: /home/loongson/jdk8-mips/hotspot/src/share/vm/opto/lcm.cpp:52:35: error: ordered comparison between pointer and zero ('address' (aka 'unsigned char *') and 'int') if (Universe::narrow_oop_base() > 0) { // Implies UseCompressedOops. ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~ Just like compiling Linux kernel with LLVM for mi...
2012 Jul 10
2
how can I show the xlab and ylab information while using layout
...completely as shown the figure attached. How can I midify the script.? thank you . xxlab<-paste(cpmd," (",ro,"%)",sep=" ") yylab<-paste(rfmd," (",co,"%)",sep=" ") par(mar=c(3,3,1,1)) #layout(matrix(c(2,0,1,3),2,2,byrow=TRUE),widths=lcm(30), heights=lcm(25),TRUE) layout(matrix(c(2,0,1,3),2,2,byrow=TRUE),c(5,1),c(1,5),TRUE) layout.show(3) plot(data_cpmd,data_rfmd,xlab=xxlab,ylab=yylab,xlim=XX,ylim=YY,asp=1) abline(1,1) #rug(side=1,jitter(data_cpmd,5)) #rug(side=2,jitter(data_rfmd,5)) #plot(homo_ana$dism16cpmd,homo_ana$dism16rfmd,ma...
2017 May 08
3
RFC: Element-atomic memory intrinsics
...could be backed out and restarted. Intrinsic prototype: @llvm.memcpy_element_atomic.<overload desc>(<ty>* dest, <ty>* src, <ty> len, i32 align, i2 isunordered, i16 element_size) Semantics: * Will do a memcpy of len bytes from src to dest. * len must = k * lcm( #bytes in dest type, #bytes in src type), for some non-negative integer k [note: lcm = least-common multiple] * load/store size given by the constant power-of-2 parameter “element_size”; expected to be the lcm(sizeof(dest_ty), sizeof(src_ty)) * isunordered param: bit 0 == 1 => sto...
2008 Apr 21
1
Use of recordPlot
...this class? And if it is saved as a SavedPlots class, then what is a "recordedplot" class? Why the two names? Finally, the .SavedPlots does not appear in my workspace at all. Where did it go? Here is a code snippet, why does this not work: windows(); nf1 <- layout(matrix(1), widths=lcm(6), heights=lcm(6)) par(mfrow=c(2,2)); par (mfg=c(1,1)); plot( ...some stuff...); par (mfg=c(1,2); plot(....some more stuff...) par (mfg=c(2,1); plot(....some more stuff...) par (mfg=c(2,2); plot(....some more stuff...) plot_save=recordPlot(); # now some more code, doing other stuff, maybe more p...
2015 Feb 04
1
[PATCH v3 18/18] vhost: vhost_scsi_handle_vq() should just use copy_from_user()
...iff --git a/lib/Makefile b/lib/Makefile index 3c3b30b..1071d06 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -24,7 +24,7 @@ obj-y += lockref.o obj-y += bcd.o div64.o sort.o parser.o halfmd4.o debug_locks.o random32.o \ bust_spinlocks.o hexdump.o kasprintf.o bitmap.o scatterlist.o \ - gcd.o lcm.o list_sort.o uuid.o flex_array.o iovec.o clz_ctz.o \ + gcd.o lcm.o list_sort.o uuid.o flex_array.o clz_ctz.o \ bsearch.o find_last_bit.o find_next_bit.o llist.o memweight.o kfifo.o \ percpu-refcount.o percpu_ida.o rhashtable.o reciprocal_div.o obj-y += string_helpers.o diff --git a/lib/iov...
2015 Feb 04
1
[PATCH v3 18/18] vhost: vhost_scsi_handle_vq() should just use copy_from_user()
...iff --git a/lib/Makefile b/lib/Makefile index 3c3b30b..1071d06 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -24,7 +24,7 @@ obj-y += lockref.o obj-y += bcd.o div64.o sort.o parser.o halfmd4.o debug_locks.o random32.o \ bust_spinlocks.o hexdump.o kasprintf.o bitmap.o scatterlist.o \ - gcd.o lcm.o list_sort.o uuid.o flex_array.o iovec.o clz_ctz.o \ + gcd.o lcm.o list_sort.o uuid.o flex_array.o clz_ctz.o \ bsearch.o find_last_bit.o find_next_bit.o llist.o memweight.o kfifo.o \ percpu-refcount.o percpu_ida.o rhashtable.o reciprocal_div.o obj-y += string_helpers.o diff --git a/lib/iov...
2008 Apr 08
1
plot function / par() settings
Dear all; I'm trying to create a 2 x 3 plot (something I know like lattice can do better) using the plot function. However; I'm not sure how to make the width of the plots to be the same on each column. I guess the answer maybe obvious but I haven't been able to figure it out. I'll appreciate any suggestion. Here is the (highly inefficient) code for the first row: par(mfrow =
2012 Jul 10
0
R-help Digest, Vol 113, Issue 13
...re attached. > How can I midify the script.? thank you . > > xxlab<-paste(cpmd," (",ro,"%)",sep=" ") > yylab<-paste(rfmd," (",co,"%)",sep=" ") > par(mar=c(3,3,1,1)) > #layout(matrix(c(2,0,1,3),2,2,byrow=TRUE),widths=lcm(30), > heights=lcm(25),TRUE) > layout(matrix(c(2,0,1,3),2,2,byrow=TRUE),c(5,1),c(1,5),TRUE) > layout.show(3) > plot(data_cpmd,data_rfmd,xlab=xxlab,ylab=yylab,xlim=XX,ylim=YY,asp=1) > abline(1,1) > #rug(side=1,jitter(data_cpmd,5)) > #rug(side=2,jitter(data_rfmd,5)) > #plot(ho...
2003 Jan 28
0
Newbie graphics question
...tal white space and 2 cm of white space as separators, and 2.5 cm outer (page) margins. Titles, tickmarks, and axis labels are to fit into the white space surrounding each figure. What I've tried is: 'sixpack <- layout(matrix(c(1,0,2,0,0,0,3,0,4,0,0,0,5,0,6), 5, 3, byrow=TRUE), widths=lcm(c(5, 3, 5, 5, 3, 5, 5, 3, 5, 5, 3, 5, 5, 3, 5)), heights=lcm(c(5, 2, 5, 2, 5, 5, 2, 5, 2, 5, 5, 2, 5, 5, 2, 5, 5, 2, 5)), TRUE)' 'layout.show(sixpack)' What I get is: 'Error in plot.new() : Figure region too large' However if I keep the (total) space used by the multiple plot...
2006 May 12
1
inches to centimeters in Graph settings
Hi R users, I made a few research on how to convert inches into centimeters for graphics settings (especially width and height of the graphic device). Apart from the function layout() wich can be settled in centimeters using lcm(), I found that writing a function that convert centimeters into inches (i.e. x/2.54) was probably the best answer. Is there somewhere any parameter that could help or should I use/write such a function ? Thanks, Tristan Rouyer
2011 Feb 16
0
y-axis slightly cut-off after printing plots to tiff
Hi Folks, I'm hoping someone could help me a bit. I have plotted the following: ########################################### tiff("plot7.tiff",units="cm",width=15,height=36,res=700) layout(matrix(c(1,2,3,4,5,6),3,1),widths=lcm(c(15)),heights=lcm(c(12,12,12)),respect=TRUE) plot.t1<-plot(data.dist,flot1.bray.hell,xlab="",ylab="Bray-Curtis dissimilarity index",cex.lab=2,cex.axis=1.7,pch=20,cex=2,col="darkgray",font=2,font.lab=2);text(0,0.34,"a",font=2,cex=1.7);text(1.5,0.07,"...
1999 Dec 03
1
filled.contour (PR#357)
Full_Name: Detlef Steuer Version: 0.90.0 and 0.99.0 OS: linux Submission from: (NULL) (129.217.206.26) filled.contour does not work on my machine in versions 0.90.0 and 0.99.0 I always get: Error in plot.new() : Figure margins too large Here an example from help(filled.contour): ( same message for 0.99.0) R : Copyright 1999, The R Development Core Team Version 0.90.0 (November 22, 1999) R is
2007 Feb 22
3
several Filled.contour plots on the same device...
hello - a question about filled.contour plots, for which i haven't found a response in previous posts - sorry if already treated. i'd like to draw several filled.contour plots (that is, maps) on the same device (a postscript file, actually). I know about layout(matrix) , split.screen or par(mfrow) : it works well for simple plots, but with filled.contour plots, i get several pages
2017 May 08
2
RFC: Element-atomic memory intrinsics
...t; Intrinsic prototype: @llvm.memcpy_element_atomic.<overload desc>(<ty>* >> dest, <ty>* src, <ty> len, i32 align, i2 isunordered, i16 element_size) >> Semantics: >> * Will do a memcpy of len bytes from src to dest. >> * len must = k * lcm( #bytes in dest type, #bytes in src type), for >> some non-negative integer k [note: lcm = least-common multiple] >> * load/store size given by the constant power-of-2 parameter >> “element_size”; expected to be the lcm(sizeof(dest_ty), sizeof(src_ty)) > > I'm not...
2023 Nov 09
1
Dependency errors for package pracma
...{pracma} on CRAN from 2.4.2 (2022-09-21) to version 2.4.4 (2023-11-08). This package reverse depends / imports / suggests on 350 packages on CRAN and 25 packages on Bioconductor. The only changes are small corrections on some help files, a new function for stereographic projection, and `gcd` and `Lcm` require integer inputs now (these functions are not used in the packages below). I received a dependency report saying that *** Changes to worse in reverse dependencies *** celltrackR, geostatsp, gmvjoint, hypr, randnet Example: geostatsp suggests pracma, but uses only the function '...
2014 May 29
0
Resetting replace battery status on Pulsar 1500
...seems to contradict the following: 32.407365 Path: UPS.PowerSummary.PresentStatus.NeedReplacement, Type: Feature, ReportID: 0x02, Offset: 8, Size: 8, Value: 0 32.407367 hu_find_infoval: found !replacebatt (value: 0) 32.407369 process_boolean_info: !replacebatt There is also this LCM (Life Cycle Monitoring) part: 22.677035 hid_lookup_path: 00840004 -> UPS 22.677037 hid_lookup_path: ffff0018 -> LCMSystem 22.677039 hid_lookup_path: ffff001a -> LCMAlarm 22.677045 hid_lookup_path: 00ff0001 -> not found in lookup table 22.677049 hid_lookup_...
2014 May 29
2
Resetting replace battery status on Pulsar 1500
On 28 May 2014, at 21:59, Charles Lepple <clepple at gmail.com> wrote: >> What would log it? > > The driver. OK. >> I could try running the driver with debugging and see if that shows anything of interest. > > That should help. Unfortunately for non-debug operation, it appears that most of the usbhid-ups instcmd messages are buried at debug level 3 or 5. That