search for: dataout

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

2015 Oct 21
3
Crear variable con condiciones
Muchas gracias Javier por tu respuesta. Si. Para obtener "dataout" se utilizan filas anteriores de acuerdo con la disponibilidad de la variable TOENDREF para cada valor de la variable REF. Por ejemplo, las filas 3 y 4 de "datain" son #REF TIMEREF TOENDREF #3 999 360 150 #4 1099 30 480 En la fila 3, el valor de TOENDREF es 150....
2015 Oct 20
2
Crear variable con condiciones
Buenas tardes a todos, Quisiera crear una variable de acuerdo a ciertas condiciones. Me gustaria llegar de "datain" a "dataout". ## entrada datain <- structure(list(REF = c("999", "999", "999", "1099", "731", "731", "731", "731", "1442", "1442", "1442", "1442"), TIMEREF = c(120, 240, 360, 30, 30,...
2004 Aug 06
0
About sample code
...ex_bits_destroy(&enbits); speex_encoder_destroy(enc_state); // Free decoder resource speex_bits_destroy(&debits); speex_decoder_destroy(dec_state); } int SpeeXCodec::Encode(void *input, int inputSizeBytes, void *output, int *outputSizeBytes) { float *dataIn = (float *)input; char *dataOut = (char *)output; int nbBytes; if(dataIn==NULL) return 1; //error occur else{ /***********encode frame *************** input : dataIn ; output:enbits ***************************************/ speex_encode(enc_state,dataIn,&enbits); /*******************************...
2010 Jun 10
0
speex multi frame
...ize); // speex_bits_init(&m_speexBitsIn); m_pSpeexDecStateIn= speex_decoder_init(&speex_nb_mode); speex_decoder_ctl(m_pSpeexDecStateIn, SPEEX_GET_FRAME_SIZE, &m_nDecodeFrameSize); } int CSpeexCodec::Decode(const char* pcIndata, int nIndataSize, CShortCollection& dataOut) { // speex_bits_read_from( &m_speexBitsIn, (char*)pcIndata, nIndataSize); static std::vector<float> floatDataOut; int nFrame = 0; size_t nbBytes = speex_bits_remaining(&m_speexBitsIn); while(nbBytes > 0 ) { if( (nFrame+1) * m_nDecodeFrameSize > (int...
2009 Nov 16
5
Writing a data frame in an excel file
Hello, I am having trouble by using the write.table function to write a data frame of 4 columns and 7530 rows. I don?t know if I should just use a sep="\n" and change the .xls file into a .csv file. Thanks in advance ----- Anna Lippel new in R so be careful I should be asking a loooooooot of questions!:teeth: -- View this message in context:
2011 Jun 07
2
virtio scsi host draft specification, v3
...ueues requests to an arbitrary request queue, and they are used by the device on that same queue. Requests have the following format: struct virtio_scsi_req_cmd { u8 lun[8]; u64 id; u8 task_attr; u8 prio; u8 crn; char cdb[cdb_size]; char dataout[]; u8 sense[sense_size]; u32 sense_len; u32 residual; u16 status_qualifier; u8 status; u8 response; char datain[]; }; /* command-specific response values */ #define VIRTIO_SCSI_S_OK 0 #define VIRTIO_SCSI_S_UNDERR...
2011 Jun 07
2
virtio scsi host draft specification, v3
...ueues requests to an arbitrary request queue, and they are used by the device on that same queue. Requests have the following format: struct virtio_scsi_req_cmd { u8 lun[8]; u64 id; u8 task_attr; u8 prio; u8 crn; char cdb[cdb_size]; char dataout[]; u8 sense[sense_size]; u32 sense_len; u32 residual; u16 status_qualifier; u8 status; u8 response; char datain[]; }; /* command-specific response values */ #define VIRTIO_SCSI_S_OK 0 #define VIRTIO_SCSI_S_UNDERR...
2011 Nov 30
2
[PATCH] Add virtio-scsi to the virtio spec
...out + +\begin_layout Plain Layout + +\change_inserted 1531152142 1322572425 + + u8 crn; +\end_layout + +\begin_layout Plain Layout + +\change_inserted 1531152142 1322572426 + + char cdb[cdb_size]; +\end_layout + +\begin_layout Plain Layout + +\change_inserted 1531152142 1322572410 + + char dataout[]; +\end_layout + +\begin_layout Plain Layout + +\change_inserted 1531152142 1322572429 + + u32 sense_len; +\end_layout + +\begin_layout Plain Layout + +\change_inserted 1531152142 1322572430 + + u32 residual; +\end_layout + +\begin_layout Plain Layout + +\change_inserted 1531152142 132257243...
2011 Nov 30
2
[PATCH] Add virtio-scsi to the virtio spec
...out + +\begin_layout Plain Layout + +\change_inserted 1531152142 1322572425 + + u8 crn; +\end_layout + +\begin_layout Plain Layout + +\change_inserted 1531152142 1322572426 + + char cdb[cdb_size]; +\end_layout + +\begin_layout Plain Layout + +\change_inserted 1531152142 1322572410 + + char dataout[]; +\end_layout + +\begin_layout Plain Layout + +\change_inserted 1531152142 1322572429 + + u32 sense_len; +\end_layout + +\begin_layout Plain Layout + +\change_inserted 1531152142 1322572430 + + u32 residual; +\end_layout + +\begin_layout Plain Layout + +\change_inserted 1531152142 132257243...
2011 Dec 05
1
[PATCH v2] Add virtio-scsi to the virtio spec
...out + +\begin_layout Plain Layout + +\change_inserted 1531152142 1322572425 + + u8 crn; +\end_layout + +\begin_layout Plain Layout + +\change_inserted 1531152142 1322572426 + + char cdb[cdb_size]; +\end_layout + +\begin_layout Plain Layout + +\change_inserted 1531152142 1322572410 + + char dataout[]; +\end_layout + +\begin_layout Plain Layout + +\change_inserted 1531152142 1322725797 + + // Write-only part +\end_layout + +\begin_layout Plain Layout + +\change_inserted 1531152142 1322572429 + + u32 sense_len; +\end_layout + +\begin_layout Plain Layout + +\change_inserted 1531152142 1322...
2011 Dec 05
1
[PATCH v2] Add virtio-scsi to the virtio spec
...out + +\begin_layout Plain Layout + +\change_inserted 1531152142 1322572425 + + u8 crn; +\end_layout + +\begin_layout Plain Layout + +\change_inserted 1531152142 1322572426 + + char cdb[cdb_size]; +\end_layout + +\begin_layout Plain Layout + +\change_inserted 1531152142 1322572410 + + char dataout[]; +\end_layout + +\begin_layout Plain Layout + +\change_inserted 1531152142 1322725797 + + // Write-only part +\end_layout + +\begin_layout Plain Layout + +\change_inserted 1531152142 1322572429 + + u32 sense_len; +\end_layout + +\begin_layout Plain Layout + +\change_inserted 1531152142 1322...
2014 Nov 24
0
[PATCH v3 37/41] virtio_scsi: v1.0 support
...d by protection information */ struct virtio_scsi_cmd_req_pi { u8 lun[8]; /* Logical Unit Number */ - u64 tag; /* Command identifier */ + __virtio64 tag; /* Command identifier */ u8 task_attr; /* Task attribute */ u8 prio; /* SAM command priority field */ u8 crn; - u32 pi_bytesout; /* DataOUT PI Number of bytes */ - u32 pi_bytesin; /* DataIN PI Number of bytes */ + __virtio32 pi_bytesout; /* DataOUT PI Number of bytes */ + __virtio32 pi_bytesin; /* DataIN PI Number of bytes */ u8 cdb[VIRTIO_SCSI_CDB_SIZE]; } __packed; /* Response, followed by sense data and data-in */ struct vi...
2014 Nov 24
0
[PATCH v3 37/41] virtio_scsi: v1.0 support
...d by protection information */ struct virtio_scsi_cmd_req_pi { u8 lun[8]; /* Logical Unit Number */ - u64 tag; /* Command identifier */ + __virtio64 tag; /* Command identifier */ u8 task_attr; /* Task attribute */ u8 prio; /* SAM command priority field */ u8 crn; - u32 pi_bytesout; /* DataOUT PI Number of bytes */ - u32 pi_bytesin; /* DataIN PI Number of bytes */ + __virtio32 pi_bytesout; /* DataOUT PI Number of bytes */ + __virtio32 pi_bytesin; /* DataIN PI Number of bytes */ u8 cdb[VIRTIO_SCSI_CDB_SIZE]; } __packed; /* Response, followed by sense data and data-in */ struct vi...
2014 Nov 27
0
[PATCH v5 41/45] virtio_scsi: v1.0 support
...d by protection information */ struct virtio_scsi_cmd_req_pi { u8 lun[8]; /* Logical Unit Number */ - u64 tag; /* Command identifier */ + __virtio64 tag; /* Command identifier */ u8 task_attr; /* Task attribute */ u8 prio; /* SAM command priority field */ u8 crn; - u32 pi_bytesout; /* DataOUT PI Number of bytes */ - u32 pi_bytesin; /* DataIN PI Number of bytes */ + __virtio32 pi_bytesout; /* DataOUT PI Number of bytes */ + __virtio32 pi_bytesin; /* DataIN PI Number of bytes */ u8 cdb[VIRTIO_SCSI_CDB_SIZE]; } __packed; /* Response, followed by sense data and data-in */ struct vi...
2014 Nov 27
0
[PATCH v6 42/46] virtio_scsi: v1.0 support
...d by protection information */ struct virtio_scsi_cmd_req_pi { u8 lun[8]; /* Logical Unit Number */ - u64 tag; /* Command identifier */ + __virtio64 tag; /* Command identifier */ u8 task_attr; /* Task attribute */ u8 prio; /* SAM command priority field */ u8 crn; - u32 pi_bytesout; /* DataOUT PI Number of bytes */ - u32 pi_bytesin; /* DataIN PI Number of bytes */ + __virtio32 pi_bytesout; /* DataOUT PI Number of bytes */ + __virtio32 pi_bytesin; /* DataIN PI Number of bytes */ u8 cdb[VIRTIO_SCSI_CDB_SIZE]; } __packed; /* Response, followed by sense data and data-in */ struct vi...
2014 Dec 01
0
[PATCH v8 42/50] virtio_scsi: v1.0 support
...d by protection information */ struct virtio_scsi_cmd_req_pi { u8 lun[8]; /* Logical Unit Number */ - u64 tag; /* Command identifier */ + __virtio64 tag; /* Command identifier */ u8 task_attr; /* Task attribute */ u8 prio; /* SAM command priority field */ u8 crn; - u32 pi_bytesout; /* DataOUT PI Number of bytes */ - u32 pi_bytesin; /* DataIN PI Number of bytes */ + __virtio32 pi_bytesout; /* DataOUT PI Number of bytes */ + __virtio32 pi_bytesin; /* DataIN PI Number of bytes */ u8 cdb[VIRTIO_SCSI_CDB_SIZE]; } __packed; /* Response, followed by sense data and data-in */ struct vi...
2014 Nov 27
0
[PATCH v5 41/45] virtio_scsi: v1.0 support
...d by protection information */ struct virtio_scsi_cmd_req_pi { u8 lun[8]; /* Logical Unit Number */ - u64 tag; /* Command identifier */ + __virtio64 tag; /* Command identifier */ u8 task_attr; /* Task attribute */ u8 prio; /* SAM command priority field */ u8 crn; - u32 pi_bytesout; /* DataOUT PI Number of bytes */ - u32 pi_bytesin; /* DataIN PI Number of bytes */ + __virtio32 pi_bytesout; /* DataOUT PI Number of bytes */ + __virtio32 pi_bytesin; /* DataIN PI Number of bytes */ u8 cdb[VIRTIO_SCSI_CDB_SIZE]; } __packed; /* Response, followed by sense data and data-in */ struct vi...
2014 Nov 27
0
[PATCH v6 42/46] virtio_scsi: v1.0 support
...d by protection information */ struct virtio_scsi_cmd_req_pi { u8 lun[8]; /* Logical Unit Number */ - u64 tag; /* Command identifier */ + __virtio64 tag; /* Command identifier */ u8 task_attr; /* Task attribute */ u8 prio; /* SAM command priority field */ u8 crn; - u32 pi_bytesout; /* DataOUT PI Number of bytes */ - u32 pi_bytesin; /* DataIN PI Number of bytes */ + __virtio32 pi_bytesout; /* DataOUT PI Number of bytes */ + __virtio32 pi_bytesin; /* DataIN PI Number of bytes */ u8 cdb[VIRTIO_SCSI_CDB_SIZE]; } __packed; /* Response, followed by sense data and data-in */ struct vi...
2014 Dec 01
0
[PATCH v8 42/50] virtio_scsi: v1.0 support
...d by protection information */ struct virtio_scsi_cmd_req_pi { u8 lun[8]; /* Logical Unit Number */ - u64 tag; /* Command identifier */ + __virtio64 tag; /* Command identifier */ u8 task_attr; /* Task attribute */ u8 prio; /* SAM command priority field */ u8 crn; - u32 pi_bytesout; /* DataOUT PI Number of bytes */ - u32 pi_bytesin; /* DataIN PI Number of bytes */ + __virtio32 pi_bytesout; /* DataOUT PI Number of bytes */ + __virtio32 pi_bytesin; /* DataIN PI Number of bytes */ u8 cdb[VIRTIO_SCSI_CDB_SIZE]; } __packed; /* Response, followed by sense data and data-in */ struct vi...
2014 Nov 25
2
[PATCH v4 38/42] virtio_scsi: v1.0 support
...d by protection information */ struct virtio_scsi_cmd_req_pi { u8 lun[8]; /* Logical Unit Number */ - u64 tag; /* Command identifier */ + __virtio64 tag; /* Command identifier */ u8 task_attr; /* Task attribute */ u8 prio; /* SAM command priority field */ u8 crn; - u32 pi_bytesout; /* DataOUT PI Number of bytes */ - u32 pi_bytesin; /* DataIN PI Number of bytes */ + __virtio32 pi_bytesout; /* DataOUT PI Number of bytes */ + __virtio32 pi_bytesin; /* DataIN PI Number of bytes */ u8 cdb[VIRTIO_SCSI_CDB_SIZE]; } __packed; /* Response, followed by sense data and data-in */ struct vi...