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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? crcmodel.h

?? crc算法講解文檔以及通用算法模型的建立例程
?? H
字號:
/******************************************************************************//*                             Start of crcmodel.h                            *//******************************************************************************//*                                                                            *//* Author : Ross Williams (ross@guest.adelaide.edu.au.).                      *//* Date   : 3 June 1993.                                                      *//* Status : Public domain.                                                    *//*                                                                            *//* Description : This is the header (.h) file for the reference               *//* implementation of the Rocksoft^tm Model CRC Algorithm. For more            *//* information on the Rocksoft^tm Model CRC Algorithm, see the document       *//* titled "A Painless Guide to CRC Error Detection Algorithms" by Ross        *//* Williams (ross@guest.adelaide.edu.au.). This document is likely to be in   *//* "ftp.adelaide.edu.au/pub/rocksoft".                                        *//*                                                                            *//* Note: Rocksoft is a trademark of Rocksoft Pty Ltd, Adelaide, Australia.    *//*                                                                            *//******************************************************************************//*                                                                            *//* How to Use This Package                                                    *//* -----------------------                                                    *//* Step 1: Declare a variable of type cm_t. Declare another variable          *//*         (p_cm say) of type p_cm_t and initialize it to point to the first  *//*         variable (e.g. p_cm_t p_cm = &cm_t).                               *//*                                                                            *//* Step 2: Assign values to the parameter fields of the structure.            *//*         If you don't know what to assign, see the document cited earlier.  *//*         For example:                                                       *//*            p_cm->cm_width = 16;                                            *//*            p_cm->cm_poly  = 0x8005L;                                       *//*            p_cm->cm_init  = 0L;                                            *//*            p_cm->cm_refin = TRUE;                                          *//*            p_cm->cm_refot = TRUE;                                          *//*            p_cm->cm_xorot = 0L;                                            *//*         Note: Poly is specified without its top bit (18005 becomes 8005).  *//*         Note: Width is one bit less than the raw poly width.               *//*                                                                            *//* Step 3: Initialize the instance with a call cm_ini(p_cm);                  *//*                                                                            *//* Step 4: Process zero or more message bytes by placing zero or more         *//*         successive calls to cm_nxt. Example: cm_nxt(p_cm,ch);              *//*                                                                            *//* Step 5: Extract the CRC value at any time by calling crc = cm_crc(p_cm);   *//*         If the CRC is a 16-bit value, it will be in the bottom 16 bits.    *//*                                                                            *//******************************************************************************//*                                                                            *//* Design Notes                                                               *//* ------------                                                               *//* PORTABILITY: This package has been coded very conservatively so that       *//* it will run on as many machines as possible. For example, all external     *//* identifiers have been restricted to 6 characters and all internal ones to  *//* 8 characters. The prefix cm (for Crc Model) is used as an attempt to avoid *//* namespace collisions. This package is endian independent.                  *//*                                                                            *//* EFFICIENCY: This package (and its interface) is not designed for           *//* speed. The purpose of this package is to act as a well-defined reference   *//* model for the specification of CRC algorithms. If you want speed, cook up  *//* a specific table-driven implementation as described in the document cited  *//* above. This package is designed for validation only; if you have found or  *//* implemented a CRC algorithm and wish to describe it as a set of parameters *//* to the Rocksoft^tm Model CRC Algorithm, your CRC algorithm implementation  *//* should behave identically to this package under those parameters.          *//*                                                                            *//******************************************************************************//* The following #ifndef encloses this entire *//* header file, rendering it indempotent.     */#ifndef CM_DONE#define CM_DONE/******************************************************************************//* The following definitions are extracted from my style header file which    *//* would be cumbersome to distribute with this package. The DONE_STYLE is the *//* idempotence symbol used in my style header file.                           */#ifndef DONE_STYLEtypedef unsigned long   ulong;typedef unsigned        bool;typedef unsigned char * p_ubyte_;#ifndef TRUE#define FALSE 0#define TRUE  1#endif/* Change to the second definition if you don't have prototypes. */#define P_(A) A/* #define P_(A) () *//* Uncomment this definition if you don't have void. *//* typedef int void; */#endif/******************************************************************************//* CRC Model Abstract Type *//* ----------------------- *//* The following type stores the context of an executing instance of the  *//* model algorithm. Most of the fields are model parameters which must be *//* set before the first initializing call to cm_ini.                      */typedef struct  {   int   cm_width;   /* Parameter: Width in bits [8,32].       */   ulong cm_poly;    /* Parameter: The algorithm's polynomial. */   ulong cm_init;    /* Parameter: Initial register value.     */   bool  cm_refin;   /* Parameter: Reflect input bytes?        */   bool  cm_refot;   /* Parameter: Reflect output CRC?         */   ulong cm_xorot;   /* Parameter: XOR this to output CRC.     */   ulong cm_reg;     /* Context: Context during execution.     */  } cm_t;typedef cm_t *p_cm_t;/******************************************************************************//* Functions That Implement The Model *//* ---------------------------------- *//* The following functions animate the cm_t abstraction. */void cm_ini P_((p_cm_t p_cm));/* Initializes the argument CRC model instance.          *//* All parameter fields must be set before calling this. */void cm_nxt P_((p_cm_t p_cm,int ch));/* Processes a single message byte [0,255]. */void cm_blk P_((p_cm_t p_cm,p_ubyte_ blk_adr,ulong blk_len));/* Processes a block of message bytes. */ulong cm_crc P_((p_cm_t p_cm));/* Returns the CRC value for the message bytes processed so far. *//******************************************************************************//* Functions For Table Calculation *//* ------------------------------- *//* The following function can be used to calculate a CRC lookup table.        *//* It can also be used at run-time to create or check static tables.          */ulong cm_tab P_((p_cm_t p_cm,int index));/* Returns the i'th entry for the lookup table for the specified algorithm.   *//* The function examines the fields cm_width, cm_poly, cm_refin, and the      *//* argument table index in the range [0,255] and returns the table entry in   *//* the bottom cm_width bytes of the return value.                             *//******************************************************************************//* End of the header file idempotence #ifndef */#endif/******************************************************************************//*                             End of crcmodel.h                              *//******************************************************************************/

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产精品国产三级国产| 日韩av一二三| 免费人成在线不卡| 99国产一区二区三精品乱码| 欧美一区二区三区爱爱| 亚洲欧美一区二区三区极速播放 | 国产欧美日韩不卡免费| 亚洲一二三四区不卡| 福利一区福利二区| 亚洲精品在线免费观看视频| 亚洲综合一区二区三区| 99re6这里只有精品视频在线观看 99re8在线精品视频免费播放 | **性色生活片久久毛片| 久久99日本精品| 欧美色区777第一页| 国产精品福利一区二区三区| 经典三级在线一区| 欧美一级高清大全免费观看| 亚洲精品高清视频在线观看| 国产不卡视频在线播放| 精品国产百合女同互慰| 日韩成人精品在线| 欧美区一区二区三区| 亚洲一区在线观看网站| eeuss鲁片一区二区三区在线看| 久久久蜜桃精品| 久久精品免费观看| 日韩欧美一二三四区| 日韩电影免费在线| 欧美一区二区精品| 久久精品99国产国产精| 日韩精品一区二区三区四区视频| 日本在线播放一区二区三区| 欧美精品色一区二区三区| 午夜精品免费在线观看| 欧美日韩一级二级| 免费高清在线一区| 久久午夜国产精品| 国产99久久久国产精品免费看| 久久久午夜精品理论片中文字幕| 精一区二区三区| 久久综合九色综合97_久久久| 精品一区二区在线免费观看| 久久综合九色综合欧美98| 国产精品18久久久| 中文字幕一区二区三区在线播放| 91一区二区在线观看| 一区二区三区欧美日韩| 欧美日韩国产综合视频在线观看| 午夜精品影院在线观看| 欧美成人官网二区| 国产成人精品亚洲午夜麻豆| 国产婷婷一区二区| 色哟哟一区二区在线观看| 亚洲五码中文字幕| 精品国产乱码久久久久久久久 | 成人中文字幕合集| 国产精品久久久久久亚洲毛片| 99久久国产免费看| 视频一区二区不卡| 久久久久久久网| 91麻豆国产福利在线观看| 亚洲高清免费在线| 久久久久久久久岛国免费| 99re免费视频精品全部| 蜜臀久久99精品久久久画质超高清 | 久久蜜臀精品av| 91色在线porny| 麻豆高清免费国产一区| 国产精品无码永久免费888| 欧美视频一区二区在线观看| 精品一区二区三区免费视频| 国产精品白丝在线| 日韩免费视频一区二区| 色域天天综合网| 卡一卡二国产精品| 亚洲一区免费视频| 国产精品亲子乱子伦xxxx裸| 6080国产精品一区二区| 成人av在线一区二区三区| 五月天欧美精品| 亚洲丝袜自拍清纯另类| 26uuu另类欧美亚洲曰本| 精品视频一区二区三区免费| 豆国产96在线|亚洲| 日韩电影免费在线观看网站| 亚洲免费看黄网站| 国产欧美日韩在线| 欧美一区二区日韩| 欧美午夜精品久久久| 粉嫩一区二区三区性色av| 视频一区在线播放| 一区二区理论电影在线观看| 久久精品一级爱片| 精品少妇一区二区三区日产乱码| 欧美婷婷六月丁香综合色| av电影在线观看不卡| 国产自产高清不卡| 久久精品国产99国产精品| 亚洲国产精品久久一线不卡| 亚洲欧洲日韩女同| 中文字幕av资源一区| wwwwww.欧美系列| 精品99一区二区三区| 日韩午夜av电影| 日韩欧美一区电影| 亚洲三级在线观看| 中文字幕电影一区| 欧美国产激情一区二区三区蜜月| 精品久久久久一区二区国产| 91精选在线观看| 欧美一区二区三区四区视频| 精品1区2区3区| 欧美日韩国产三级| 欧美狂野另类xxxxoooo| 欧美日韩国产123区| 欧美日韩一二区| 91精品午夜视频| 欧美xxxx在线观看| 久久九九久久九九| 国产精品青草久久| 一区二区在线观看视频 | 99视频热这里只有精品免费| 国产成人在线视频免费播放| 极品少妇xxxx精品少妇| 黑人巨大精品欧美黑白配亚洲| 美女一区二区视频| 国产一区二三区| 高清日韩电视剧大全免费| 不卡一区二区三区四区| 91福利区一区二区三区| 欧美乱熟臀69xxxxxx| 日韩欧美久久一区| 欧美激情在线一区二区三区| 日韩一区在线看| 亚洲高清在线视频| 国模少妇一区二区三区| eeuss鲁片一区二区三区在线看| 在线精品视频一区二区三四| 欧美久久久久久蜜桃| 26uuu亚洲综合色| 亚洲人成亚洲人成在线观看图片| 亚洲成人自拍一区| 国产精品综合久久| 日本道精品一区二区三区| 欧美一区二区三区啪啪| 国产欧美综合在线| 亚洲午夜羞羞片| 国产精品888| 欧美日韩视频在线观看一区二区三区 | 欧美一区二区啪啪| 国产精品久久久久久久久图文区| 亚洲成在人线在线播放| 国产精品综合一区二区| 精品视频在线看| 国产人伦精品一区二区| 亚洲国产欧美另类丝袜| 日韩欧美自拍偷拍| 伊人一区二区三区| 国产一区二区毛片| 在线成人av影院| 国产精品免费视频网站| 麻豆精品在线看| 欧美在线观看视频在线| 久久麻豆一区二区| 日韩影视精彩在线| 色婷婷久久久综合中文字幕| 2021中文字幕一区亚洲| 午夜激情综合网| 91在线精品一区二区三区| 久久影院午夜片一区| 亚瑟在线精品视频| 色婷婷久久久亚洲一区二区三区 | 4438x亚洲最大成人网| 中文字幕第一区综合| 精品中文字幕一区二区小辣椒| 91久久精品一区二区三区| 国产三级一区二区三区| 日本不卡在线视频| 欧美亚洲一区二区在线| 国产精品美女久久久久久久网站| 久久国产综合精品| 欧美一二区视频| 亚洲国产精品久久久久婷婷884 | 丝袜亚洲另类欧美| 91香蕉视频污| 国产精品视频一二三| 国产一区二区福利视频| 欧美一级黄色大片| 蜜桃91丨九色丨蝌蚪91桃色| 欧美自拍偷拍一区| 亚洲黄色av一区| 在线免费视频一区二区| 亚洲老妇xxxxxx| 91免费国产视频网站| 亚洲女同女同女同女同女同69| 成人avav在线| 亚洲色图第一区| 91国产免费看| 亚洲二区在线视频|