The DHRY program performs the dhrystone benchmarks on the 8051. Dhrystone is a general-performance benchmark test originally developed by Reinhold Weicker in 1984. This benchmark is used to measure and compare the performance of different computers or, in this case, the efficiency of the code generated for the same computer by different compilers. The test reports general performance in dhrystones per second. Like most benchmark programs, dhrystone consists of standard code and concentrates on string handling. It uses no floating-point operations. It is heavily influenced by hardware and software design, compiler and linker options, code optimizing, cache memory, wait states, and integer data types. The DHRY program is available in different targets: Simulator: Large Model: DHRY example in LARGE model for Simulation Philips 80C51MX: DHRY example in LARGE model for the Philips 80C51MC
标签: general-performanc benchmarks Dhrystone dhrystone
上传时间: 2016-11-30
上传用户:hphh
密码学界牛人Victor Shoup用C++编写数论类库。 NTL is a high-performance, portable C++ library providing data structures and algorithms for arbitrary length integers for vectors, matrices, and polynomials over the integers and over finite fields and for arbitrary precision floating point arithmetic. NTL provides high quality implementations of state-of-the-art algorithms for: * arbitrary length integer arithmetic and arbitrary precision floating point arithmetic * polynomial arithmetic over the integers and finite fields including basic arithmetic, polynomial factorization, irreducibility testing, computation of minimal polynomials, traces, norms, and more * lattice basis reduction, including very robust and fast implementations of Schnorr-Euchner, block Korkin-Zolotarev reduction, and the new Schnorr-Horner pruning heuristic for block Korkin-Zolotarev * basic linear algebra over the integers, finite fields, and arbitrary precision floating point numbers.
标签: high-performance providing portable library
上传时间: 2014-01-04
上传用户:exxxds
matlab 7.0 以上版本提供了强大的优化工具箱,但在整数规划方面,只提供了bintprog()这个m文件以求解0-1整数规划,而对于一般的整数规划模型没有具体的算法提供。我们一般情况只是用最简单的分值定界思想编写matlab程序求解整数规划问题,但效率低下,如何利用求解整数规划的先进算法编写matlab程序提上日程,香港大学的李端和复旦大学编写的《Nonlinear integer Programming》(非线性整数规划)为编写解决整数规划问题提供强大有效的算法,其中算法针对具体问题包括: lagrangian 对偶问题 代理对偶问题 非线性lagrangian 和强对偶问题 非线性背包问题 可分解的整数规划问题 二次目标函数的整数规划问题 非约束的0-1多项式规划问题 约束的 0-1多项式规划问题 混合整数非线性规划问题
上传时间: 2017-02-27
上传用户:zhaoq123
SQLite 是用C语言编写的开源数据库,主要用于嵌入式,你也可以把它集成在自己的桌面程序中,也有人将其替代Access,用作后台数据库。 SQLite 支持多数SQL92标准,例如:索引、限制、触发和查看支持。 支持 NULL、integer、REAL、TEXT 和 BLOB 数据类型,支持事务。
上传时间: 2013-12-11
上传用户:gmh1314
200-MHz ARM920T Processor • 16-kbyte Instruction Cache • 16-kbyte Data Cache • Linux® , Microsoft® Windows® CE-enabled MMU • 100-MHz System Bus • MaverickCrunch™ Math Engine • Floating Point, integer, and Signal Processing Instructions • Optimized for digital music compression and decompression algorithms. • Hardware interlocks allow in-line coding. • MaverickKey™ IDs • 32-bit Unique ID can be used for DRM-compliant 128-bit random ID. • Integrated Peripheral Interfaces • 32-bit SDRAM Interface
标签: 8226 Cache kbyte Instruction
上传时间: 2017-04-08
上传用户:comua
HashTable实例 public class HashTable_msg { public HashTable_msg() { String sum_sql="select mobilenum,count(*) from SJSJ_Msg where (left(in_date,6)=(select left(CONVERT(varchar(12) , getdate(), 112 ),6)))group by mobilenum" Hashtable<String,integer> ht = new Hashtable<String,integer>() try{ ResultSet rs= DBAccess.getInstance().select(sum_sql) while(rs!=null) { ht.put(rs.getString(1),rs.getInt(2)) rs.next() } } catch (Exception e) { Logs.printError(e) } } }
标签: HashTable_msg public HashTable sum_sql
上传时间: 2014-12-07
上传用户:a6697238
这两个函数 function app_path1:string function socket_rec_line1(socket1:TCustomWinSocket timeout1:integer crlf1:string=#13#10):string 实际上是我的一个公用单元中的函数,大家应该养成建立自己的公用单元的习惯。 socket_rec_line1函数中用了唐晓峰大侠的coolmail中的办法:只是简单的一个一个字节收取,找到结束 标志后就算收完一行了,大家实际应用时可能应该找更好的办法。
标签: function TCustomWinSocket socket_rec_line app_path
上传时间: 2014-11-28
上传用户:coeus
我写了一个类,专门用来操作Treeview和数据库,通过数据库中的数据自动添加到Treeview控件中,不过数据控件用的是ADO组件,另外数据库中存放Treeview节点数据表的结构位:ID:integer PID:integer Caption:string 字段名成可以不同,但是类型必须相同! 公用单元:TreeFillThrd.pas TreeUtils.pas
标签:
上传时间: 2013-12-08
上传用户:ghostparker
Compression using lempel-ziv -for a dictionary size of 2k -provide dictionary Lempel ziv algorithm is a dictionary based algorithm that addresses byte sequences from former contents instead of the original data. This algorithm consists of a rule for parsing strings of symbols from a finite alphabet into substrings, whose lengths do not exceed a prescribed integer and a coding scheme which maps these substrings sequentially into uniquely decipherable code words of fixed length. The strings are selected so that they have nearly equal probability of occurrence. Frequently-occurring symbols are grouped into longer strings while occasional symbols appear in short strings.
标签: dictionary Compression lempel-ziv provide
上传时间: 2014-01-07
上传用户:我们的船长
RC4 加密解密单元delphi版 附件压缩包里有两个单元文件,其中Rc4_Kol_Unit.pas是在delphi KOL编程时引用。若只是delphi编程只须引用Rc4_Unit.pas单元即可。 函数名: Rc4_StrEncrypt() 描 述: RC4 Based string encryption 参 数: i_Encrypt ——为 1 是加密, 0 是解密(integer类型); s_EncryptText ——待加密(解密)的字符串(string类型); s_EncryptPassword ——加密(解密)的密码(string类型); i_EncryptLevel ——加密级别(范围:1--10;integer类型))
上传时间: 2013-12-27
上传用户:钓鳌牧马