search for: outdata

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

Did you mean: optdata
2012 Apr 05
0
Multi part problem...array manipulation and sampling
...t1 where [,162,] is the index that represents whether a survey had been conducted or not...sitesurvey total OK, here is where I need help; Step 1) I need to extract from new.mydata1 the rows where [,162,] != NA....this will create a ragged array where the number of counts per sitesurvey varies outdata (dim1 varies from 1,22...ragged, 162,56). Step 2) from the extracted list, I would like to randomly select n rows (say for example, 3) outdata (dim1=2 or 3 counts(samples), dim2=162, dim3=56) Step 3) I need to sum the values from the columns of dimension 1 from step 2 s outdata (dim1=1 (colum...
2007 Apr 18
0
6 commits - libswfdec-gtk/swfdec_gtk_widget.c libswfdec/jpeg libswfdec/swfdec_image.c
...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 && data1[length1-...
2011 Mar 21
3
appending collums in for loop
...3 4 4 5 5 After going trough the loop three times: Array 1 Array 2 Array 3 1 1 1 2 2 2 3 3 3 4 4 4 5 5 5 This is my code: setwd("J:/Stage/Datasets2/Datasets/outData") masterTable<-read.table("AR1000900A_N_241110_(Mapping250K_Nsp)_2,Mapping250K_Nsp,CNprobes.tab _SNP_IDs.xls",sep="\t", dec=",", fill=T, header=T) masterTable<-data.frame(masterTable) fileNames<-list.files(getwd(), pattern='_0,5 -0,51.xls') regi...
2019 Feb 28
0
[PATCH branch 1.1] fix: use EVP_DecryptUpdate while decrypting
...git a/src/openssl/cipher.c b/src/openssl/cipher.c index d51ec0d..974fbeb 100644 --- a/src/openssl/cipher.c +++ b/src/openssl/cipher.c @@ -189,7 +189,7 @@ bool cipher_decrypt(cipher_t *cipher, const void *indata, size_t inlen, void *ou } else { int len; - if(EVP_EncryptUpdate(cipher->ctx, outdata, &len, indata, inlen)) { + if(EVP_DecryptUpdate(cipher->ctx, outdata, &len, indata, inlen)) { if(outlen) { *outlen = len; } -- 2.19.2
2005 Mar 02
2
Dual Asterisk Servers
Due to the unfortunate nature of Wikis, the section on voip-info.org that deals with dual asterisk servers is full of pretty bad and outdataed examples. What I'm trying to do is distribute small asterisk boxes to remote offices that have SIP clients connected inside the network, and ship any outbound calls to a central asterisk server via IAX that is in turn connected to the PSTN and some VOIP LD providers. I also want 4 digit...
2007 May 25
0
Help with complex lme model fit
...seems there might be some identifiability issues that could possibly be dealt with by specifying starting parameters - but I can't see how to do this. I'm comparing results from R to those got when using GenStat... The raw data are available on the web at http://cmbeale.freehostia.com/OutData.txt and can be read directly into R using: gpdat <- read.table("http://cmbeale.freehostia.com/OutData.txt", header = T) gpdat$X7 <- as.factor(gpdat$X7) gpdat$X4 <- as.factor(gpdat$X4) rand_mat <- as.matrix(gpdat[,11:26]) gpdat <- groupedData(Y1 ~X1 + X2 + X3 + X4 + X5...
2012 Sep 17
9
[PATCH] Upgrade vtpmd to berlios version 0.7.4
...TPM_FAIL; - } - length = sizeof_TPM_CERTIFY_INFO((*certifyInfo)); - sha1_init(&sha1_ctx); -- sha1_update(&sha1_ctx, buf, length); -+ sha1_update(&sha1_ctx, buf, (size_t) length); - sha1_final(&sha1_ctx, buf); - res = tpm_sign(cert, auth1, FALSE, buf, SHA1_DIGEST_LENGTH, outData, outDataSize); - tpm_free(buf); -@@ -292,7 +294,8 @@ TPM_RESULT TPM_CertifyKey2(TPM_KEY_HANDL - TPM_KEY_DATA *cert, *key; - sha1_ctx_t sha1_ctx; - BYTE *buf, *p; -- UINT32 length; -+ size_t length; -+ UINT32 length32; - info("TPM_CertifyKey2()"); - /* get keys */ - cert =...
2007 Apr 08
0
6 commits - libswfdec/Makefile.am libswfdec/swfdec_audio_flv.c libswfdec/swfdec_audio_flv.h libswfdec/swfdec_audio_stream.c libswfdec/swfdec_audio_stream.h libswfdec/swfdec_buffer.c libswfdec/swfdec_codec_adpcm.c libswfdec/swfdec_codec_audio.c
...dioDecoderAdpcm *) dec; -const SwfdecAudioCodec swfdec_codec_adpcm = { - swfdec_codec_adpcm_init, - swfdec_codec_adpcm_get_format, - swfdec_codec_adpcm_decode, - swfdec_codec_adpcm_finish -}; + return swfdec_buffer_queue_pull_buffer (adpcm->queue); +} -#if 0 -void -adpcm_decoder(indata, outdata, len, state) - char indata[]; - short outdata[]; - int len; - struct adpcm_state *state; +static void +swfdec_audio_decoder_adpcm_free (SwfdecAudioDecoder *dec) { - signed char *inp; /* Input buffer pointer */ - short *outp; /* output buffer pointer */ - int sign; /* Curre...
2007 Jul 21
2
tincctl patches
(Second try to send this. I wonder if the first one gotten eaten by a spam filter; I'll link to patches instead of attaching them.) Here are the tincctl patches I've been working on. They apply to http://www.tinc-vpn.org/svn/tinc/branches/1.1@1545. I intend to commit them once the crypto stuff's fixed. Since they're basically done, I'm emailing them now for review and in case
2008 Jun 17
2
[Bug 16395] New: glib abort for "double free or corruption" in jpeg code
...th=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 = 0}...
2012 Mar 25
2
avoiding for loops
I have data that looks like this: > df1 group id 1 red A 2 red B 3 red C 4 blue D 5 blue E 6 blue F I want a list of the groups containing vectors with the ids. I am avoiding subset(), as it is only recommended for interactive use. Here's what I have so far: df1 <- data.frame(group=c("red", "red", "red", "blue",