这两个函数 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
上传用户:我们的船长
迷宫算法(maze) /* Maze * Starting point is m[0][0], need to find a path go to m[9][9]. 0 means OK, * 1 means cannot go there, boundary is 0 and 9, cannot go beyond boundary. * Each step can be made horizontally or vertically for one more grid (diagonal * jump is not allowed). * Your program should print a series of grid coordinates that start from m[0][0] * and go to m[9][9] * Hint: No need to find the shortest path, only need to find one path that gets * you to desitination. */
上传时间: 2013-12-27
上传用户:Divine
In engineering, compensation is planning for side effects or other unintended issues in a design. The design of an invention can itself also be to compensate for some other existing issue or exception. One example is in a voltage-controlled crystal oscillator (VCXO), which is normally affected not only by voltage, but to a lesser extent by temperature. A temperature-compensated version (a TCVCXO) is designed so that heat buildup within the enclosure of a transmitter or other such device will not alter the piezoelectric effect, thereby causing frequency drift. Another example is motion compensation on digital cameras and video cameras, which keep a picture steady and not blurry.
标签: compensation engineering unintended planning
上传时间: 2013-12-11
上传用户:z754970244
This book has been written to support a practically oriented course in programming language translation for senior undergraduates in Computer Science. More specifically, it is aimed at students who are probably quite competent in the art of imperative programming (for example, in C++, Pascal, or Modula-2), but whose mathematics may be a little weak students who require only a solid introduction to the subject, so as to provide them with insight into areas of language design and implementation, rather than a deluge of theory which they will probably never use again students who will enjoy fairly extensive case studies of translators for the sorts of languages with which they are most familiar students who need to be made aware of compiler writing tools, and to come to appreciate and know how to use them. It will hopefully also appeal to a certain class of hobbyist who wishes to know more about how translators work.
标签: practically programming oriented language
上传时间: 2013-12-10
上传用户:我干你啊
With this example-driven book, you get a quick, practical, and thorough introduction to Java s API for XML Web Services (JAX-WS) and the Java API for RESTful Web Services (JAX-RS). Java Web Services: Up and Running takes a clear, no-nonsense approach to these technologies by providing you with a mix of architectural overview, complete working code examples, and short yet precise instructions for compiling, deploying, and executing a sample application. You ll not only learn how to write web services from scratch, but also how to integrate existing services into your Java applications. All the source code for the examples is available from the book s companion website.
标签: example-driven introduction practical thorough
上传时间: 2013-12-18
上传用户:lnnn30
In order to install DotNetNuke and a supporting database you will need either Windows 2003 Server or Windows XP (development only). This book covers a basic install of DotNetNuke using a SQL Server database as the Data Provider. You will need to have access to either SQL Server 2000 or MSDE (develop- ment only) on the same machine or a remote machine. To participate in the development chapters, you will need Visual Studio .NET 2003.
标签: DotNetNuke supporting database install
上传时间: 2013-11-25
上传用户:onewq
This project features a full-hardware sound compressor using the well known algorithm: IMA ADPCM. The core acts as a slave WISHBONE device. The output is perfectly compatible with any sound player with the IMA ADPCM codec (included by default in every Windows). Includes a testbench that takes an uncompressed PCM 16 bits Mono WAV file and outputs an IMA ADPCM compressed WAV file. Compression ratio is fixed for IMA-ADPCM, being 4:1. PLEASE NOTICE THAT THIS CORE IS LICENSED UNDER http://creativecommons.org/licenses/by-nc-sa/3.0/ (Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported). That means you may use it only for NON-COMMERCIAL purposes.
标签: full-hardware compressor algorithm features
上传时间: 2014-01-14
上传用户:Shaikh
GNU_Radio GNU radio is a free/open-source software toolkit for and the content is controlled by a handful of organizations. Cell building software radios, in which software defines the phones are a great convenience, but the features your phone transmitted waveforms and demodulates the received supports are determined by the operator s interests, not yours. waveforms. Software radio is the technique of getting code A centralized system limits the rate of innovation. Instead of as close to the antenna as possible. It turns radio hardware cell phones being second-class citizens, usable only if problems into software problems.
标签: open-source GNU_Radio software toolkit
上传时间: 2017-06-27
上传用户:拔丝土豆