Displaying 20 results from an estimated 4789 matches for "overlap".
2020 Aug 25
2
Clang generates calls to llvm.memcpy with overlapping arguments, but LangRef requires the arguments to not overlap
+ llvm-dev
On 25 Aug 2020, at 13:53, Florian Hahn wrote:
> Hi,
>
> It appears that Clang generates calls to `llvm.memcpy` with
> potentially overlapping arguments in some cases.
>
> For the snippet below
>
> struct S
> {
> char s[25];
> };
>
> struct S *p;
>
> void test2() {
> ...
> foo (&b, 1);
> b = a;
> b = *p;
> ...
> }
>
>
> Clang uses `llvm.memcpy` to copy the struct...
2015 Mar 02
2
R-devel does not update the C++ returned variables
Hi,
Within my R code, I am using a C++ function as below:
overlaps <- matrix(0, nrow=B, ncol=length(N))
overlaps.P <- matrix(0, nrow=B, ncol=length(N))
.C("speedUp", D, S, pD, pS, nrow(D), as.integer(N), length(N),
ssq[i], i, as.integer(B), overlaps, overlaps.P, DUP=FALSE)
the function "speedUp", is supposed...
2017 Apr 11
2
MDCT implementation and his overlapped relationship
Dear all
I'm working on the implementation of the MDCT for the processor
ARM-Cortex-M4 I'm trying to replicate the behavior of the MDCT for several
overlapped values however I realized that current implementation of the
MDCT is very close to the theory only in case in which we have and overlap
exactly equal to N/2 where N is the size of the input vector as is shown in
the examples for celt.
could you explain me if the implementation had been thought...
2015 Mar 02
2
R-devel does not update the C++ returned variables
...ith R but not R-devel?
And another question is related to using .Call. Based on the manual page, I
do not need to change the function parameters when using .Call. So I can
run like this:
.Call("sppedUp", D, S, pD, pS, nrow(D), as.integer(N), length(N),
ssq[i], i, as.integer(B), overlaps, overlaps.P)
But I am receiving the memory(?) related error:
terminate called after throwing an instance of 'std::bad_alloc' what():
std::bad_alloc
Now that I am running the code using .Call.
Thanks.
On Mon, Mar 2, 2015 at 2:01 PM, Duncan Murdoch <murdoch.duncan at gmail.com>
w...
2011 Jul 18
1
SDMTools package - calculating overlap?
Dear R users,
Any idea of how to calculate an area of an overlap between two functions? The only R build in function that I found is I Similarity Statistic for Quantifying Niche Overlap and I am really not sure if this function is producing exactly what I am interested in since I was plotting functions and often got confused results (for example: got high value...
2012 Aug 07
4
Overlapping a Plot with Dataframe
Hello Everyone,
I am trying to overlap a plot with a data set in the form of a data frame.
Its very easy to overlap the data using "points" function. But the only
problem I am facing is "Standard deviation bar" on the plot.
data <- data.frame(
x = c(3.00,2.00,3.80,2.40,2.00),
error = c(0.0,0.4,1.1,0.7,0.5)...
2018 May 11
3
RFC: [FileCheck] CHECK-DAG for multiple occurrences of string
On Mon, May 7, 2018 at 12:56 PM, <paul.robinson at sony.com> wrote:
> > 1. In a CHECK-DAG group, don't let the matches for patterns overlap.
> > 2. Add a new CHECK-DAG-N directive, where N is some integer, to express
> > that a pattern must have N non-overlapping matches.
>
> I think #1 is much more intuitive and easy to describe/document than #2.
> Changing the meaning of DAG in that way is highly unlikely to affe...
2007 Oct 17
4
polygon overlapping
Hi there,
Is there any package which can calculate the overlapping area of two
polygons or output the coordinates of the overlapping of two polygons?
Thanks.
Haiyong
2008 May 31
2
How to identify overlapped items from two list and plot them?
Hi list,
I have a question on how to identify the overlapped items from two vectors:
>x<-c(0,1,2)
>y<-c(1,2,2,3)
and plot the number of the overlapped as well as non-overlapped in a
diagram?
Thanks much,
Allen
[[alternative HTML version deleted]]
2013 Mar 15
2
phyper returning zero
Hi,
I am attempting to use phyper to test the significance of two overlapping lists. I keep getting a zero and wondered if that was determining non-significance of my overlap or a p-value too small to calculate?
overlap = 524
lista = 2784
totalpop = 54675
listb = 1296
phyper(overlap, lista, totalpop, listb,lower.tail = FALSE, log.p=F)
[1] 0
If I plug in some different...
2008 Feb 13
4
writing a simple function
Dear lists,
any suggestion on how to write a function to return a TRUE if interval [a,b] overlaps the interval [c,d]. I've tried it but an error occur saying that 'could not find function v ; in addition warning message occur'. Below is my codes.Please help me sort this problem as i'm in process of learning of writing a function. Many thanks
overlap<-function(m,n){
t=l...
2011 Jun 02
2
shading in overlap between two ranges
...rget, plot(X75.~i.value,ylim=c(0,55),type='l',col='red'))
par(new=T)
with(observed, plot(X25.~i.value,ylim=c(0,55),type='l'))
par(new=T)
with(observed, plot(X75.~i.value,ylim=c(0,55),type='l'))
par(new=F)
Ideally, the target and the observed should overlap in every month -
they don't. The desire is to visually accentuate the amount of overlap
by shading in the area where these two "zones" overlap. How would you
do that? Note, that in some of these characterizations, the overlap
wanders in and out [I already have routines that calcula...
2018 May 16
0
RFC: [FileCheck] CHECK-DAG for multiple occurrences of string
...inded me I needed to get back
to you about this... sorry for the slow response.
> From: Joel E. Denny [mailto:jdenny.ornl at gmail.com]
>> On Mon, May 7, 2018 at 12:56 PM, <paul.robinson at sony.com> wrote:
>>> 1. In a CHECK-DAG group, don't let the matches for patterns overlap.
>>> 2. Add a new CHECK-DAG-N directive, where N is some integer, to express
>>> that a pattern must have N non-overlapping matches.
>>
>> I think #1 is much more intuitive and easy to describe/document than #2.
>> Changing the meaning of DAG in that way is highl...
2008 May 29
2
FFT Resampler
...you plan to use it in VoIP environment? If so, 10ms of additional latency
> is a big cost for resampling. Do you think there are any ways to reduce it?
>
Yes, I plan to use it in a VoIP environment if I can get latency reduced
to an acceptable level :)
The latency depends directly on the overlap parameter, which also
controls the quality. Higher quality => higher latency. You could set
the overlap to 0, but that would give you some nasty artifacts.
You can also resample with smaller block sizes. In the example I used
20ms blocks and 50% overlap. If you use 10ms blocks and 50% overlap...
2008 May 29
2
FFT Resampler
>> Yes, I plan to use it in a VoIP environment if I can get latency reduced to
>> an acceptable level :)
>> The latency depends directly on the overlap parameter, which also controls
>> the quality. Higher quality => higher latency. You could set the overlap to
>> 0, but that would give you some nasty artifacts.
>> You can also resample with smaller block sizes. In the example I used 20ms
>> blocks and 50% overlap. If y...
2018 May 16
2
RFC: [FileCheck] CHECK-DAG for multiple occurrences of string
Paul Robinson <paul.robinson at sony.com> writes:
>> From: Joel E. Denny [mailto:jdenny.ornl at gmail.com]
>>> On Mon, May 7, 2018 at 12:56 PM, <paul.robinson at sony.com> wrote:
>>>> 1. In a CHECK-DAG group, don't let the matches for patterns overlap.
>>>> 2. Add a new CHECK-DAG-N directive, where N is some integer, to express
>>>> that a pattern must have N non-overlapping matches.
>>>
>>> I think #1 is much more intuitive and easy to describe/document than #2.
>>> Changing the meaning of DAG...
2008 Sep 09
2
densities with overlapping area of 0.35
Hi,
I like to generate two normal densities such that the overlapping area
between them is 0.35. Is there any code/package available in R to do that??
Regards,
Lavan
--
View this message in context: http://www.nabble.com/densities-with-overlapping-area-of-0.35-tp19384741p19384741.html
Sent from the R help mailing list archive at Nabble.com.
2019 May 15
2
[nbdkit PATCH] extents: Do not shorten overlaps by 0
...2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/server/extents.c b/server/extents.c
index d3d1a15ab97c..c422491601f0 100644
--- a/server/extents.c
+++ b/server/extents.c
@@ -168,7 +168,7 @@ nbdkit_add_extent (struct nbdkit_extents *exts,
return 0;
/* Shorten extents that overlap the end of the range. */
- if (offset + length >= exts->end) {
+ if (offset + length > exts->end) {
overlap = offset + length - exts->end;
length -= overlap;
}
--
2.21.0
2018 May 07
0
RFC: [FileCheck] CHECK-DAG for multiple occurrences of string
> 1. In a CHECK-DAG group, don't let the matches for patterns overlap.
> 2. Add a new CHECK-DAG-N directive, where N is some integer, to express
> that a pattern must have N non-overlapping matches.
I think #1 is much more intuitive and easy to describe/document than #2.
Changing the meaning of DAG in that way is highly unlikely to affect any
existing test, I...
2013 Mar 12
2
funtion equivalent of jitter to move figures on device
hello all,
I'm overlaying numerous scatter plots onto a map (done in PBSmodelling). In this case I'm placing each plot by setting par(fig) to the centroid of map polygons. The location/mapping part is not so important. There are cases of small overlaps for some plots (ie figures) so I'm keen to write or find a function that moves my small scatter plots so they don't overlap. A little like jitter, but not random in behaviour, it needs to move away from the plots it's overlapping.
thanks to all
Michael
________________________________...