码迷,mamicode.com
首页 >  
搜索关键字:crc32    ( 141个结果
android 5.x system.img 大于2G导致编译otapackage时报错如何处理
当system分区预制过多apk时如果img size超过2G 在make otapackage时会报如下错误  zipfile.LargeZipFile: Zipfile size would require ZIP64 extensions 或 in writestr zinfo.CRC = crc32(bytes) & 0xffffffff # CRC-32 checksu...
分类:移动开发   时间:2015-07-07 21:18:13    阅读次数:498
A brief CRC tutorial
https://www.kernel.org/doc/Documentation/crc32.txtA brief CRC tutorial.A CRC is a long-division remainder. You add the CRC to the message, and the wh....
分类:其他好文   时间:2015-06-29 06:25:22    阅读次数:197
CRC32 Source Code
/* The Quest Operating System * Copyright (C) 2005-2010 Richard West, Boston University * * This program is free software: you c...
分类:其他好文   时间:2015-06-28 06:20:50    阅读次数:594
CRC32 of Ether FCS with STM32
Everyone knows that STM32F1xx, STM32F2xx, STM32F4xx have a hardware unit with a polynomial CRC32 0x04C11DB7.And he, in general, work.But only a checks...
分类:其他好文   时间:2015-06-28 00:00:10    阅读次数:622
Calculate CRC32 as in STM32 hardware (EWARM v.5.50 and later)
http://supp.iar.com/Support/?note=64424&from=note+11927BackgroundThe STM32 devices from ST Micro have a built-in hardware CRC32 calculator. (So using ...
分类:其他好文   时间:2015-06-27 16:00:03    阅读次数:295
STM32的CRC32 实现代码 -- Ether
uint32_t reverse_32( uint32_t data ){ asm("rbit r0,r0"); return data;};uint32_t crc32_ether( char *buf, int len, int clear ){ uint32_t *p = (uint32...
分类:其他好文   时间:2015-06-27 15:58:17    阅读次数:147
STM32的CRC32 测试代码
// STM32 CRC32 Test App - sourcer32@gmail.com#include #include DWORD Crc32( DWORD Crc, DWORD Data ){ int i; Crc = Crc ^ Data; for ( i = 0; i > ...
分类:其他好文   时间:2015-06-27 15:53:45    阅读次数:235
STM32的CRC32 软件实现代码
对于STM32的32位CRC,如果假定它的一个主要目的是为了校验往内部FLASH存储数据的可靠性,那么(余数)初值是全1当然是比较合理的。由于STM32的32位CRC是纯32位,即每次必须输入32位的数,所以如果数据不到32位,应该往低位用1来填充比较合理;另外,如果输入数据是 "1234"-0x3...
分类:其他好文   时间:2015-06-27 15:44:43    阅读次数:234
MySQL 百万级、千万级 分页优化
查询字段一较长字符串的时候,表设计时要为该字段多加一个字段,如,存储网址的字段查询的时候,不要直接查询字符串,效率低下,应该查诡该字串的crc32或md5如何优化Mysql千万级快速分页Limit1,111数据大了确实有些性能上的问题,而通过各种方法给用上whereid>=XX,这样用上索..
分类:数据库   时间:2015-06-17 01:59:04    阅读次数:136
文件较验及Google Gson的使用
一,CRC32文件较验 文件校验可以确保文件内容不被篡改的方法,刚在工作中用到,记录下来。 1 private void doCheckSum(String fileName){ 2 try { 3 4 Log.d("checksum"...
分类:其他好文   时间:2015-06-09 16:29:06    阅读次数:111
141条   上一页 1 ... 8 9 10 11 12 ... 15 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!