1. socket通信:有客户端和服务端的socket代码。 2. 多线程:客户端和服务端各用一线程发送信息;服务端另有一监听线程,用于把超时的信息删除。 这里应用到了同步,使两个线程可以操作同一个map。
上传时间: 2017-02-27
上传用户:lanwei
cordic methods describe essentially the same algorithm that with suitably chosen inputs can be used to calculate a whole range of scientific functions including sin, cos, tan, arctan, arcsin, arccos, sinh, cosh, tanh, arctanh, log, exp, square root and even multiply and divide. the method dates back to volder [1959], and due to its versatility and compactness, it made possible the microcoding of the hp35 pocket scientific calculator in 1972. here is some code to illustrate the techniques. ive split the methods into three parts linear, circular and hyperbolic. in the hp35 microcode these would be unified into one function (for space reasons). because the linear mode can perform multiply and divide, you only need add/subtract and shift to complete the implementation. you can select in the code whether to do the multiples and divides also by cordic means. other multiplies and divides are all powers of 2 (these dont count). to eliminate these too, would involve ieee hackery.
标签: essentially algorithm describe suitably
上传时间: 2017-03-02
上传用户:litianchu
Verilog HDL的程式,上網找到SPI程式, vspi.v這程式相當好用可用來接收與傳送SPI,並且寫了一個傳輸信號測試,spidatasent.v這程式就是傳送的資料,分別為00 66... 01 77...... 02 55這樣的資料,並透過MAX+PULS II軟體進行模擬,而最外層的程式是test_createspi.v!
上传时间: 2017-03-06
上传用户:onewq
Verilog是广泛应用的硬件描述语言,可以用在硬件设计流程的建模、综合和模拟等多个阶段。随着硬件设计规模的不断扩大,应用硬件描述语言进行描述的CPLD结构,成为设计专用集成电路和其他集成电路的主流。通过应用Verilog HDL对多功能电子钟的设计,达到对Verilog HDL的理解,同时对CPLD器件进行简要了解。 本文的研究内容包括: 对Altera公司Flex 10K系列的EPF10K 10简要介绍,Altera公司软件Max+plusⅡ简要介绍和应用Verilog HDL对多功能电子钟进行设计。
上传时间: 2017-03-06
上传用户:epson850
[SMS SDK V1.7 测试说明] 1)“接口库”为SDK库包其中: Release —— 发布的稳定库 Debug —— 为调试库 2)“演示代码”为测试代码目录。 [1] 测试代码中使用的库都是Release的版本。 [2] 如使用Debug库,需要设置环境变量GSMLIB_DEBUG等于2,则会在C:\下生成GSMModem.log文件。 若您在开发的过程中遇到问题,可以使用此方法获得GSMModem.log并发送给经销商,即可有 效的解决您的问题。 设置环境变量的方法: 我的电脑->属性->高级->环境变量->用户变量和系统变量->新建 变量名: GSMLIB_DEBUG 变量值: 2 3)执行测试: [1] C#/VB/VB6/C++/Delphi 直接找到exe可执行文件,即可运行测试程序; [2] JAVA测试: 可以修改一下test.bat文件,然后直接运行即可了。 需要修改以下内容: set Number=13681191399 接收的手机号码 set SN=ITIU-NWCJ-VCJD-WJDU 注册码 set JAVA_HOME=D:\JBuilder9\jdk1.4 JAVA环境
上传时间: 2013-11-26
上传用户:2404
srand[getpid[]] /* initialize some of the memory */ memset[heightmap, 0, MAPSIZE*MAPSIZE] memset[vpage, 0, RENDERWIDTH * RENDERHEIGHT] printf["Creating dx d fractal terrain\n", MAPSIZE, MAPSIZE] heightmap[0] = [rand[] 128] + 64 // initialize starting point on map CreateFractalMap[0, 0, MAPSIZE, MAPSIZE] printf["Smoothing terrain\n"] for [i = 0 i < 5 i++] SmoothMap[] MakeColorMap[]
标签: MAPSIZE initialize heightmap getpid
上传时间: 2014-01-04
上传用户:ainimao
srand[getpid[]] /* initialize some of the memory */ memset[heightmap, 0, MAPSIZE*MAPSIZE] memset[vpage, 0, RENDERWIDTH * RENDERHEIGHT] printf["Creating dx d fractal terrain\n", MAPSIZE, MAPSIZE] heightmap[0] = [rand[] 128] + 64 // initialize starting point on map CreateFractalMap[0, 0, MAPSIZE, MAPSIZE] printf["Smoothing terrain\n"] for [i = 0 i < 5 i++] SmoothMap[] MakeColorMap[]
标签: MAPSIZE initialize heightmap getpid
上传时间: 2013-12-25
上传用户:CSUSheep
8位全加器的VHDL描述,可用MAX+plusⅡ运行测试
上传时间: 2014-01-16
上传用户:erkuizhang
电话号码管理系统,很小的程序,是学习stl,自己编的,用map实现,还有文档说明
上传时间: 2017-04-02
上传用户:181992417
-The existence of numerous imaging modalities makes it possible to present different data present in different modalities together thus forming multimodal images. Component images forming multimodal images should be aligned, or registered so that all the data, coming from the different modalities, are displayed in proper locations. Mutual Information is the similarity measure used in this case for optimizing the two images. This method requires estimating joint histogram of the two images. The fusion of images is the process of combining two or more images into a single image retaining important features from each. The Discrete Wavelet Transform (DWT) has become an attractive tool for fusing multimodal images. In this work it has been used to segment the features of the input images to produce a region map. Features of each region are calculated and a region based approach is used to fuse the images in the wavelet domain.
标签: present modalities existence different
上传时间: 2014-03-04
上传用户:15736969615