A Waiter relays an order Object to a Producer, waits in an independent thread during the production, and then delivers the result using a Consumer callback method.
标签: independent production Producer Waiter
上传时间: 2015-02-10
上传用户:lepoke
Rotates an image by the angle degrees in the % CCW direction. Degrees may be any number. % The function will put degrees in the range 0 % to 360 degrees and then into a range of -45 to 45 % degrees after performing elementary 90 degree rotations.
标签: direction the Rotates Degrees
上传时间: 2013-12-10
上传用户:sardinescn
This scheme is initiated by Ziv and Lempel [1]. A slightly modified version is described by Storer and Szymanski [2]. An implementation using a binary tree is proposed by Bell [3]. The algorithm is quite simple: Keep a ring buffer, which initially contains "space" characters only. Read several letters from the file to the buffer. then search the buffer for the longest string that matches the letters just read, and send its length and position in the buffer.
标签: initiated described modified slightly
上传时间: 2014-01-09
上传用户:sk5201314
This program demonstrates how to do disconnected briefcase applications with ADO. When the Connected checkbox is unchecked the application is switched into offline mode. If the application is exited at that point then the data is persisted to a file on disk (along with any edits to the data). When the application is restarted it will load the persisted data if present, otherwise it will fetch the data from the database.
标签: demonstrates applications disconnected Connected
上传时间: 2015-03-24
上传用户:xcy122677
The flpydisk sample is a floppy driver that resides in the directory \\Ntddk\Src\Storage\Fdc\Flpydsk. It is similar to a class driver in that it sits a level above the floppy disk controller in the driver stack, and brokers communication between the application level and the low-level driver. The floppy driver takes commands from the application and then calls routines in the controller which will in turn perform the actual interaction with the device. The sample compiles in 64-bit, but has not been tested in this environment. It is compatible with x86 and Alpha platforms.
标签: NtddkSrcStorageFdcFlpydsk directory flpydisk resides
上传时间: 2015-03-30
上传用户:龙飞艇
3 pairs of sample codes for basic net apps: . Socket server/client . start the server first . DatagramSocket . start MyDatagramSocketA first . MyDatagramSocketA receive a packet first, and then send a reply MyDatagramSocketA send a packet first, and then receive a reply. . Multicast sender/receiver . start the receiver first
标签: server Socket Datagr client
上传时间: 2015-03-31
上传用户:yxgi5
This code implements the basic functions for an I2C slave device using the SSP module. All I2C functions are handled in an ISR. Bytes written to the slave are stored in a buffer. After a number of bytes have been written, the master device can then read the bytes back from the buffer.
标签: implements I2C functions the
上传时间: 2015-04-02
上传用户:邶刖
The goal with this project was to make it possible for almost any mobile-phone to use ICQ and be able to communicate with other users! One other goal with this project was to lower the GPRS-traffic in the phone and make the ICQ-ing cheaper. A third goal was to make this service as easy to log-in to as possible. Anyone tried to fill a log-in screen with a WAP-browser should know what I mean. With Wapmess all you have to do is to write your login-url ONCE and then bookmark it in your phone, to make it available fast. :)
标签: mobile-phone possible project almost
上传时间: 2015-04-08
上传用户:xiaodu1124
This the specification of the Enterprise JavaBeansTM architecture.The Enterprise JavaBeans architecture is a component architecture for the development and deployment of componentbased distributed business applications. Applications written using the Enterprise JavaBeans architecture are scalable, transactional, and multi-user secure. These applications may be written once, and then deployed on any server platform that supports the Enterprise JavaBeans specification.
标签: Enterprise specification architecture JavaBeansTM
上传时间: 2013-12-01
上传用户:牛津鞋
接收pop3 Public Function Retrieve(ByVal rhs As Pop3Message) As Pop3Message Dim message, response As String Dim msg As New Pop3Message msg.bytes = rhs.bytes msg.number = rhs.number message = "RETR " + rhs.number.ToString + vbCrLf write(message) response = Respond() If response.Substring(0, 3) <> "+OK" then Throw New Pop3Exception(response) End If MsgBox(msg) msg.retrieved = True While (1 = 1) response = Respond() If response = "." + vbCrLf then Exit While Else msg.message += response End If End While Return msg End Function
标签: Pop3Message Function Retrieve response
上传时间: 2013-12-28
上传用户:fnhhs