testsymbolbuffer.c
来自「wcdma模型」· C语言 代码 · 共 42 行
C
42 行
/* | | Copyright disclaimer: | This software was developed at the National Institute of Standards | and Technology by employees of the Federal Government in the course | of their official duties. Pursuant to title 17 Section 105 of the | United States Code this software is not subject to copyright | protection and is in the public domain. | | We would appreciate acknowledgement if the software is used. |*/#include <stdio.h>#include "blockcollect.h"int main( int argc, char *argv[]){ int i, j; double data[8] = { 1, 2, 3, 4, 5, 6, 7, 8 }; int ready = 0; double out_data[20]; wcdma_symbolbuffer_init(20, 0); for (i=0; i < 8; i++) { ready = 0; wcdma_symbolbuffer(0, data, 8, &ready, out_data); if (ready == 1) { printf(" round %d: ", i); for (j=0; j < 20; j++) { printf(" %g", out_data[j]); } printf("\n"); } } wcdma_symbolbuffer_free(0);}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?