亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? verify.c

?? 關于LDPC編/譯碼的方針平臺。能隨機產生信源和模擬高斯信道。
?? C
字號:
/* VERIFY.C - Verify encoded or decoded blocks. *//* Copyright (c) 2000, 2001 by Radford M. Neal  * * Permission is granted for anyone to copy, use, or modify this program  * for purposes of research or education, provided this copyright notice  * is retained, and note is made of any changes that have been made.  * * This program is distributed without any warranty, express or implied. * As this program was written for research purposes only, it has not been * tested to the degree that would be advisable in any important application. * All use of this program is entirely at the user's own risk. */#include <stdio.h>#include <stdlib.h>#include <string.h>#include <math.h>#include "alloc.h"#include "blockio.h"#include "open.h"#include "mod2sparse.h"#include "mod2dense.h"#include "mod2convert.h"#include "rcode.h"#include "check.h"void usage(void);/* MAIN PROGRAM. */int main( int argc,  char **argv){  char *coded_file, *source_file;  char *pchk_file, *gen_file;  int table;  char *sblk, *cblk, *chks;  int seof, ceof;  int srcerr, chkerr, bit_errs;  int i, n;  FILE *srcf, *codef;  int tot_srcerrs, tot_chkerrs, tot_botherrs;  /* Look at arguments. */  table = 0;  if (argc>1 && strcmp(argv[1],"-t")==0)  { table = 1;    argc -= 1;    argv += 1;  }  if (argc<3 || argc>5) usage();  if (!(pchk_file = argv[1])   || !(coded_file = argv[2]))  { usage();  }   gen_file = 0;  source_file = 0;  if (argv[3])  { gen_file = argv[3];    if (argv[4])    { source_file = argv[4];      if (argv[5])      { usage();      }    }  }  if ((strcmp(pchk_file,"-")==0)     + (strcmp(coded_file,"-")==0)     + (source_file!=0 && strcmp(source_file,"-")==0)    + (gen_file!=0 && strcmp(gen_file,"-")==0) > 1)  { fprintf(stderr,"Can't read more than one stream from standard input\n");    exit(1);  }  /* Read parity check file. */  read_pchk(pchk_file);  if (N<=M)  { fprintf(stderr,     "Number of bits (%d) should be greater than number of checks (%d)\n",N,M);    exit(1);  }  /* Read generator matrix file, if given, up to the point of finding     out which are the message bits. */  if (gen_file!=0)  { read_gen(gen_file,1,0);  }  /* Open coded file to check. */  codef = open_file_std(coded_file,"r");  if (codef==NULL)  { fprintf(stderr,"Can't open coded file: %s\n",coded_file);    exit(1);  }  /* Open source file to verify against, if given. */  if (source_file!=0)  {     srcf = open_file_std(source_file,"r");    if (srcf==NULL)    { fprintf(stderr,"Can't open source file: %s\n",source_file);      exit(1);    }  }  sblk = chk_alloc (N-M, sizeof *sblk);  cblk = chk_alloc (N, sizeof *cblk);  chks = chk_alloc (M, sizeof *chks);  /* Print header for table. */  if (table)  { if (gen_file!=0)    { printf("  block chkerrs srcerrs\n");    }    else    { printf("  block chkerrs\n");    }  }  /* Verify successive blocks. */  tot_srcerrs = 0;  tot_chkerrs = 0;  tot_botherrs = 0;  bit_errs = 0;  seof = 0;   ceof = 0;  for (n = 0; ; n++)  {     /* Read block from coded file. */        if (blockio_read(codef,cblk,N)==EOF)     { ceof = 1;    }    /* Read block from source file, if given. */    if (source_file!=0 && !ceof && !seof)    { if (blockio_read(srcf,sblk,N-M)==EOF)       { fprintf(stderr,"Warning: Not enough source blocks (only %d)\n",n);        seof = 1;      }    }    /* Stop if end of received file. */    if (ceof) break;    /* Check that received block is a code word, and if not find the number of       parity check errors. */    chkerr = check(H,cblk,chks);    /* Check against source block, if provided, or against zeros, if       the generator matrix was provided but no source file. */    if (gen_file!=0)    { srcerr = 0;      if (source_file!=0 && !seof)      { for (i = M; i<N; i++)        { if (cblk[cols[i]]!=sblk[i-M])          { srcerr += 1;          }        }      }      if (source_file==0)      { for (i = M; i<N; i++)        { if (cblk[cols[i]]!=0)          { srcerr += 1;          }        }      }      bit_errs += srcerr;    }    /* Print table entry. */    if (table)    { if (gen_file!=0)      { printf("%6d %7d %7d\n",n,chkerr,srcerr);      }      else      { printf("%6d %7d\n",n,chkerr);      }    }    /* Increment totals. */    if (chkerr) tot_chkerrs += 1;    if (gen_file!=0 && (source_file==0 || !seof))    { if (srcerr) tot_srcerrs += 1;      if (srcerr && chkerr) tot_botherrs += 1;    }  }  /* Write final statistics to standard error.  Flush standard output      first to avoid mixing of output. */  fflush(stdout);  if (gen_file!=0)  { fprintf(stderr,     "Block counts: tot %d, with chk errs %d, with src errs %d, both %d\n",      n, tot_chkerrs, tot_srcerrs, tot_botherrs);    fprintf(stderr,     "Bit error rate (on message bits only): %.3e\n",       (double)bit_errs/(n*(N-M)));  }  else  { fprintf (stderr,      "Block counts: tot %d, with chk errs %d\n", n, tot_chkerrs);  }  return 0;}/* PRINT USAGE MESSAGE AND EXIT. */void usage(void){ fprintf(stderr, "Usage: verify [ -t ] pchk-file decoded-file [ gen-file [ source-file ] ]\n");  exit(1);}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
色婷婷久久久综合中文字幕| 91麻豆精品国产91久久久久久久久| yourporn久久国产精品| 欧美日韩高清不卡| 中文字幕国产一区| 久久99精品久久久久久动态图 | 久久久久国色av免费看影院| 综合久久久久综合| 国产99久久久精品| 日韩欧美精品三级| 午夜精品爽啪视频| 91精品办公室少妇高潮对白| 中文字幕不卡在线播放| 加勒比av一区二区| 欧美一卡2卡3卡4卡| 亚洲成人手机在线| 色综合中文字幕| 中文字幕乱码久久午夜不卡| 国产精一区二区三区| 日韩写真欧美这视频| 日韩精品乱码免费| 欧美人妇做爰xxxⅹ性高电影 | 国产精品美女www爽爽爽| 热久久国产精品| 欧美肥妇毛茸茸| 亚洲国产精品一区二区久久恐怖片| 国产成人一级电影| 久久精品一区蜜桃臀影院| 国产真实乱对白精彩久久| 欧美xxxxx牲另类人与| 久草这里只有精品视频| 精品少妇一区二区三区| 麻豆国产精品视频| 久久中文娱乐网| 国产精华液一区二区三区| 久久精品男人的天堂| 国产成人在线免费观看| 国产精品免费av| 91成人国产精品| 婷婷亚洲久悠悠色悠在线播放| 欧美喷水一区二区| 久久成人综合网| 久久久99免费| 91污在线观看| 日韩精品亚洲专区| 日韩欧美专区在线| 国产成人小视频| 亚洲精品午夜久久久| 欧美日韩欧美一区二区| 麻豆国产欧美一区二区三区| 久久精品免费在线观看| 91蜜桃视频在线| 五月婷婷久久丁香| 亚洲精品在线免费观看视频| 懂色一区二区三区免费观看| 亚洲美女屁股眼交| 日韩午夜电影av| eeuss鲁片一区二区三区| 亚洲成年人影院| 久久久久久麻豆| 一本久久精品一区二区| 理论电影国产精品| 国产精品美女久久久久久久| 欧美日韩卡一卡二| 极品少妇xxxx精品少妇偷拍| 中文av一区特黄| 欧美精品丝袜久久久中文字幕| 久久99精品国产麻豆不卡| 国产日本亚洲高清| 欧美日韩国产美| 国产精品69毛片高清亚洲| 亚洲一区在线观看免费| 久久夜色精品国产欧美乱极品| 91一区二区在线观看| 久久精品99国产精品日本| 综合亚洲深深色噜噜狠狠网站| 日韩欧美www| 在线精品视频免费观看| 成人永久免费视频| 久久精品久久99精品久久| 亚洲乱码精品一二三四区日韩在线| 日韩欧美二区三区| 欧美日韩成人在线| 99麻豆久久久国产精品免费| 毛片av一区二区| 一区二区三区蜜桃| 国产精品久久久久久久久晋中 | 欧美在线视频你懂得| 国产一区欧美二区| 亚洲成人av中文| 一区二区三区四区蜜桃| 国产精品免费人成网站| 久久久久久久久一| 日韩精品一区二区三区视频播放| 欧美午夜精品久久久久久孕妇| 成人国产精品视频| 国产乱国产乱300精品| 久久国产剧场电影| 亚洲aⅴ怡春院| 亚洲成在人线在线播放| 亚洲一区二三区| 亚洲视频1区2区| 亚洲同性gay激情无套| 亚洲国产精品高清| 中文成人av在线| 国产精品久久毛片a| 国产精品视频yy9299一区| 2021国产精品久久精品| 欧美www视频| 久久中文字幕电影| 欧美精品一区二区三区在线播放| 欧美成人乱码一区二区三区| 日韩女优av电影| 欧美电视剧在线观看完整版| 欧美一级淫片007| 日韩欧美国产电影| 欧美mv日韩mv国产| 久久久久一区二区三区四区| 久久综合资源网| 国产欧美精品日韩区二区麻豆天美| 久久久久久电影| 国产午夜精品久久| 国产精品久久久久桃色tv| 亚洲色图在线播放| 亚洲国产va精品久久久不卡综合 | 国产精品美女视频| 亚洲人一二三区| 亚洲a一区二区| 精品影院一区二区久久久| 久久99久久99| 国产黄色91视频| 99精品久久只有精品| 色婷婷综合久久久久中文 | 色老综合老女人久久久| 欧美亚洲丝袜传媒另类| 日韩限制级电影在线观看| 久久精品视频网| 亚洲乱码国产乱码精品精的特点| 亚洲成人综合视频| 国产乱人伦精品一区二区在线观看 | 亚洲国产日韩av| 久久99久久精品欧美| 成熟亚洲日本毛茸茸凸凹| 色婷婷亚洲综合| 欧美成人精品福利| 国产精品高潮呻吟| 日本不卡一二三区黄网| 成人高清伦理免费影院在线观看| 欧美亚洲免费在线一区| 久久综合久久久久88| 亚洲在线一区二区三区| 国产综合久久久久久鬼色| 色综合视频一区二区三区高清| 欧美日韩色综合| 中文字幕乱码亚洲精品一区| 亚洲国产精品一区二区www在线| 国产一区二区在线电影| 欧美中文字幕一区二区三区| 国产亚洲精品超碰| 天堂一区二区在线免费观看| 国产iv一区二区三区| 日韩一区二区在线看| 亚洲精品一二三| 国产电影精品久久禁18| 6080yy午夜一二三区久久| 中文字幕亚洲视频| 老司机免费视频一区二区三区| 色网站国产精品| 国产精品久久久久久亚洲伦| 麻豆国产欧美一区二区三区| 欧美中文字幕一区二区三区亚洲 | 日韩一区二区三免费高清| 亚洲美女少妇撒尿| eeuss鲁片一区二区三区在线观看| 欧美一区二区三区白人| 玉足女爽爽91| av一区二区三区在线| 久久精品视频免费| 精品一区二区国语对白| 欧美久久一区二区| 亚洲国产毛片aaaaa无费看| 成人国产精品免费网站| 久久精品人人做| 极品美女销魂一区二区三区 | 国产无人区一区二区三区| 青椒成人免费视频| 欧美卡1卡2卡| 日韩精品三区四区| 欧美日韩aaa| 肉色丝袜一区二区| 欧美视频精品在线观看| 亚洲一区二区三区四区在线观看| 91猫先生在线| 亚洲激情在线播放| 在线视频中文字幕一区二区| 亚洲三级免费观看| 在线观看日韩电影| 午夜精品久久久久久久蜜桃app| 在线观看91视频| 午夜欧美一区二区三区在线播放|