Many applications use connection/object pool. A program may require a IMAP connection pool and LDAP connection pool. One could easily implement a IMAP connection pool, then take the existing code and implement a LDAP connection pool. The program grows, and now there is a need for a pool of threads. So just take the IMAP connection pool and convert that to a pool of threads (Copy, paste, find, replace????). Need to make some changes to the pool implementation? Not a very easy task, since the code has been duplicated in many places. Re-inventing source code is not an intelligent approach in an object oriented environment which encourages re-usability. It seems to make more sense to implement a pool that can contain any arbitrary type rather than duplicating code. How does one do that? The answer is to use type parameterization, more commonly referred to as templates.
标签: connection pool applications program
上传时间: 2013-12-25
上传用户:playboys0
This PNG Delphi version 1.56 documentation (this version is a major rewrite intended to replace the previous version, 1.2). Improvements in this new version includes: This new version allows the programmer to not use Delphi heavy units which will greatly reduce the size of the final executable. Read more about this feature here. Most, if not all, Portable Network Graphics features as CRC checking are now fully performed. Error on broken images are now better handled using new exception classes. The images may be saved using interlaced mode also. Transparency information won t be discarted after the image is loaded any more. Most of the images are decoded much faster now. The images will be better encoded using fresh new algorithms. IMPORTANT! Now transparency information is used to display images.
标签: version documentation intended rewrite
上传时间: 2015-06-28
上传用户:qiao8960
红外线遥控器读码软件,显示红外线波型,读取并保存码 IR Remote Control Unit Code Read System 产品详细描述: 能够像显示器一样显示红外线码的波型 可以读多达150种格式的红外线码 显示红外线码的时间非常准确,误差只有几个微秒。 具有错误检测功能 保存红外线码功能 自动识别码的格式 比较样机与所写的新软件的遥控器码的异同 具体情况请访问本网站:http://www.crzman.com/IR_Reader.htm Display the Infrared wave on the software like oscillograph. Can read more than 150 kinds of infrared code format Display the Infrared time and the tolerance no more than many us. Have error detect function Save Infrared code function Auto identify code s format Compare the code from sample and new Remote Control Unit code) Detail instance please visit address: http://www.crzman.com/IR_Reader.htm
上传时间: 2015-07-03
上传用户:ccclll
电话计费器程序/*信号定义: clk: 时钟信号,本例中其频率值为1Hz; decide: 电话局反馈回来的信号,代表话务种类,“01”表示市话,“10”表示 长话,“11”表示特话; dispmoney: 用来显示卡内余额,其单位为角,这里假定能显示的最大数额为50 元 (500 角); disptime: 显示本次通话的时长; write,read: 当write 信号下降沿到来时写卡,当话卡插入,read 信号变高时读卡; warn: 余额过少时的告警信号。本例中,当打市话时,余额少于3 角,打长 话时,余额少于6 角,即会产生告警信号; cut: 当告警时间过长时自动切断通话信号。 */
上传时间: 2014-01-15
上传用户:hewenzhi
This build is for developing a "binary-to-BCD" converter for use in // displaying numerals in base-10 so that people can read and interpret the // numbers more readily than they could if the numbers were displayed in // binary or hexadecimal format. Also, a "BCD-to-binary" converter is // tested in this build.
标签: binary-to-BCD developing displaying for
上传时间: 2015-07-07
上传用户:lmeeworm
<Floating Point Unit Core> fpupack.vhd pre_norm_addsub.vhd addsub_28.vhd post_norm_addsub.vhd pre_norm_mul.vhd mul_24.vhd vcom serial_mul.vhd post_norm_mul.vhd pre_norm_div.vhd serial_div.vhd post_norm_div.vhd pre_norm_sqrt.vhd sqrt.vhd post_norm_sqrt.vhd comppack.vhd fpu.vhd ***For simulation **** To run the simulation read readme.txt in folder test_bench.
标签: vhd post_norm_addsub pre_norm_addsub Floating
上传时间: 2014-01-18
上传用户:czl10052678
Automate Oracle—and save your time for more important tasks! This is the Oracle automation reference every working Oracle DBA needs...concise, straightforward, and incredibly easy to use. Discover proven solutions for automating installation, database creation, management, monitoring, tuning, backup/recovery,
标签: Oracle automation important reference
上传时间: 2015-07-11
上传用户:stampede
8051 monitor programm: - use external ram to run user program - use eeprom to save user program - provide single step debug, can read internal register and ram
上传时间: 2015-07-11
上传用户:zhichenglu
liblinphone is a high level library to make a SIP phone. This library includes ALL the features of linphone. It is designed to be easy to use, directly from a user interface.
标签: library liblinphone features includes
上传时间: 2014-01-08
上传用户:qq521
1.Delphi_WDM_USB测试源程序 2.stc单片机eeprom的实用操作(读写)源代码, 演示了eeprom内用户数据的动态分配地址方法,通过51rc及54rd+的实际测试 3.Easy 51Pro串行编程器源程序 4.des单片机算法源程序 5.ds18b20 c51源代码 6.Tasking C51 PWM 测试程序
标签: eeprom Delphi_WDM_USB stc 测试
上传时间: 2015-07-21
上传用户:wqxstar