search for: length2

Displaying 11 results from an estimated 11 matches for "length2".

Did you mean: length
2007 Apr 18
0
6 commits - libswfdec-gtk/swfdec_gtk_widget.c libswfdec/jpeg libswfdec/swfdec_image.c
...rly, there's no longer a need to do it here diff --git a/libswfdec/swfdec_image.c b/libswfdec/swfdec_image.c index 128506b..5a60681 100644 --- a/libswfdec/swfdec_image.c +++ b/libswfdec/swfdec_image.c @@ -140,47 +140,23 @@ swfdec_jpeg_decode_argb (unsigned char * unsigned char *data2, int length2, void *outdata, int *width, int *height) { - unsigned char *tmpdata; - int tmplength; gboolean ret; - while (length1 >= 2 && data1[0] == 0xff && - (data1[1] == 0xd9 || data1[1] == 0xd8)) { - data1 += 2; - length1 -= 2; - } - while (length1 >= 2 &...
2011 Oct 23
0
code review: is it too much to ask?
...A's ## conf.interval: the percent range of the confidence interval (default is 95%) summarySE <- function(data=NULL, measurevar, groupvars=NULL, na.rm=FALSE, conf.interval=.95) { require(doBy) # New version of length which can handle NA's: if na.rm==T, don't count them length2 <- function (x, na.rm=FALSE) { if (na.rm) sum(!is.na(x)) else length(x) } # Collapse the data formula <- as.formula(paste(measurevar, paste(groupvars, collapse=" + "), sep=" ~ ")) datac <- summaryBy(formula, data=data, FUN=c(length...
2003 Apr 28
1
Red Hat 9 regex symbol conflict
...*regs)); /* Like `re_search', but search in the concatenation of STRING1 and STRING2. Also, stop searching at index START + STOP. */ ! extern int re_search_2 _RE_ARGS ((struct re_pattern_buffer *buffer, const char *string1, int length1, const char *string2, int length2, int start, int range, struct re_registers *regs, int stop)); --- 473,486 ---- characters. Return the starting position of the match, -1 for no match, or -2 for an internal error. Also return register information in REGS (if REGS and BUFFER->no_sub are nonzero)....
2014 Oct 21
3
[LLVMdev] Optimization hints for "constant" loads
...t hard to rearrange calls to invariant.start though... Thoughts?) I suspect that for the Array.length case, I'd probably do something like this: arr = function_that_returns_array(); invariant.start(arr.length) ... arbitrary control flow ... length = arr.length ... arbitrary control flow ... length2 = arr.length My reasoning here is that if something returns an array (in this compilation) I want the invariant fact to be visible. If that factory function gets inlined, I'd end up with: arr = new Array; arr.length = X; invariant.start(arr.length) ... arbitrary control flow ... length = ar...
2004 Aug 06
1
bit/bytes
...quot; channel you'll see : ------------------------------------------------ [playlist] numberofentries=3 File1=http://64.236.34.97:80/stream/1018 Title1=SomaFM Presents: Groove Salad 128k (Feed #1) Length1=-1 File2=http://205.188.245.133:8076 Title2=SomaFM Presents: Groove Salad 128k (Feed #2) Length2=-1 File3=http://server2.somafm.com:8032 Title3=SomaFM Presents: Groove Salad 128k (Feed #3) Length3=-1 Version=2 ----------------------------------------------- So for this channel they have 3 possible feeds to spread the load over. You could be clever and set up some sort of 'round-robbin...
2014 Oct 21
2
[LLVMdev] Optimization hints for "constant" loads
Thank you for the explanation, I think I misunderstood your solution initially. Is it accurate to say: by making the definition of the source pointer of an !invariant load control (or data) dependent on some initialization event, you can effectively separate the initialization event (where the location is not invariant) and the rest of the execution (where the location is invariant). This
2011 Oct 19
0
R classification
...ase. When I apply the code at iris data it works perfect. But when I use fish data at rrcov library I am facing this error. Thanx a lot in advanced Mohammed Here is the code for modifying library (rrcov) data(fish) library(e1071) names(fish) [1] "Weight" "Length1" "Length2" "Length3" "Height" "Width" "Species" model <- svm(Species~., data=fish,type="C") print(model) summary(model) index <- 1:nrow(fish) testindex <- sample(index, trunc(length(index)*30/100)) testset <- fish[testindex,] trainse...
2012 Dec 17
0
User defined functions error - where is it ?
...o create monthly aggregated time series from disaggregated data. They seem to work pretty fine with all the data I provide, but they give me the following error in one the case I use a particular table (per.after.sub): > states.trends(per.after.sub,'CUST_SINCE') Error in if (d.length%%d.length2 != 0) { : missing value where TRUE/FALSE needed > traceback() 5: update.POSIXct(x, mdays = 1, hours = 0, minutes = 0, seconds = 0) 4: update(x, mdays = 1, hours = 0, minutes = 0, seconds = 0) 3: floor_date(x[[w]], "month") at #15 2: trend.generator(x, "STATE", vec.states[i,...
2004 Aug 06
3
bit/bytes
...---------------------------------------- > [playlist] > numberofentries=3 > File1=http://64.236.34.97:80/stream/1018 > Title1=SomaFM Presents: Groove Salad 128k (Feed #1) > Length1=-1 > File2=http://205.188.245.133:8076 > Title2=SomaFM Presents: Groove Salad 128k (Feed #2) > Length2=-1 > File3=http://server2.somafm.com:8032 > Title3=SomaFM Presents: Groove Salad 128k (Feed #3) > Length3=-1 > Version=2 > ----------------------------------------------- > > So for this channel they have 3 possible feeds to spread the load over. You > > could be clev...
2008 Jun 17
2
[Bug 16395] New: glib abort for "double free or corruption" in jpeg code
...quot;, length=515, image=0xbfd7edc8, width=0xa8c85a0, height=0xa8c85a4) at jpeg_rgb_decoder.c:63 dec = (JpegDecoder *) 0xabb8d58 ret = <value optimized out> #9 0xb1a95670 in swfdec_jpeg_decode_argb (renderer=0x974f520, data1=0xafb9a57 "????", length1=515, data2=0x0, length2=0, outdata=0xbfd7edc8, width=0xa8c85a0, height=0xa8c85a4) at swfdec_image.c:164 ret = 0 #10 0xb1a965fd in swfdec_image_create_surface (image=0xa8c8590, renderer=0x974f520) at swfdec_image.c:245 trans = {mask = 0, ra = 256, rb = 0, ga = 256, gb = 0, ba = 256, bb = 0, aa = 256, ab...
2010 Nov 08
89
Re: DM-CRYPT: Scale to multiple CPUs v3 on 2.6.37-rc* ?
On Sun, Nov 07 2010 at 6:05pm -0500, Andi Kleen <andi@firstfloor.org> wrote: > On Sun, Nov 07, 2010 at 10:39:23PM +0100, Milan Broz wrote: > > On 11/07/2010 08:45 PM, Andi Kleen wrote: > > >> I read about barrier-problems and data getting to the partition when > > >> using dm-crypt and several layers so I don''t know if that could be > >