📄 testsymbolbuffer.c
字号:
/* | | 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -