Saturday, September 25, 2010

Delphi study: to find any string in the stream


寮?彂涓湁鏃堕渶瑕佸湪娴佷腑鏌ユ壘鏌愪釜瀛椾覆,杩欎簺瀛椾覆鏈夊彲鑳芥槸ASCII琛ㄥ悗鍗婇儴鍒嗘垨娣锋潅.浣嗘槸缃戜笂鎻愪緵鐨勪緥绋嬫晥鏋滀笉浣宠?涓斾唬鐮佸啑闀?

Later, a pumping of time writing code very small, very efficient. Only for your reference:

function ScanStream (T: Tstream; S: String): integer;
var i, j: integer;
p: Pchar;
begin
getMem (p, T.size); / / allocate memory
T. ReadBuffer (p ^, t.Size); / / Reading

for i: = 0 to T. Size -1 do begin
for j: = 1 to length (S) do
if p [i + j] <> S [j] then break; / / have a different or out of
銆??if j&gt;length(S) then begin file//渚濇嵁
result: = i +1;
銆??break; file//瀹屾垚
end;
end;
FreeMem (p);
end;





相关链接:



Town And Only "limited Earnings"



Lists Mathematics Education



Sonic Foundry Vegas 4.0 Dynamic Subtitles Novice Collection 16



Basij to gates the new company to sell anti virus



XviD to WMV



MKV To Zune



E-Mail Clients Shop



Common understanding between the main types of disc Burning



JSN-1 (A) Digital Switching Introduction



Official Air Strike 2 Cheats



Is out of date, ADSL Anecdotes



Thunder look at real-time on-demand player in the player to build pan-



DDSN Analysis, PLM value for the DDSN



Carried out in the end to P2P: the story about the Jxta (2)



AVI to DivX



Sunday, September 19, 2010

Qwest MCI crush on the bride price increase to 9 billion U.S. dollars


CNET Technology News Network International reported on April 1st time this week, U.S. Pacific time zone four, compete with the Verizon acquisition of MCI battle, Qwest killed a back thrust, will be bid up to 90 billion dollars.

Qwest offer is that this increase has continued for seven weeks in the acquisition of the latest war in the first round. Qwest, Verizon MCI had its eyes on the lucrative enterprise in the communications market, market share, Qwest wants to rely on MCI's cash flow to repay its debt of 17 billion U.S. dollars.

Qwest's latest offer over the original 8.45 billion U.S. dollars of its bid and Verizon 76 billion bid. A shareholder of MCI, said, obviously this is a good bid, it is significantly higher than Verizon's offer.

MCI's shareholders are very satisfied with Verizon's offer, MCI and Qwest negotiations required to achieve substantial returns to shareholders the transaction. MCI said it will evaluate Qwest's offer, and respond accordingly.

Mexican tycoon Carlos industry said on this week, Verizon and MCI in the last round of bids is clearly too low. He did not comment on Qwest's new offer.

Qwest on Wednesday said it has hired a proxy firm Altman Group, which is that it may be a sign of a hostile takeover bid MCI. Qwest may bypass MCI's management, and direct to MCI's shareholders to assess their bid. But MCI has developed an anti-hostile takeover plan, the shareholders holding more than 15% pay a heavy price.







Recommended links:



Articles about Icons



FreeBSD forget the root password of a repair



Understanding of EIP



Port logistics industry settlement plan was



m2ts youtube



Easy File And Disk Management



God used to measure BI



Ts Video Format



vb6 how to dynamically add controls



Huang Guangyu Of "money Power" And The Weak Power



Convert wmv to ps3



MacTel Impact WinTel



BLACKBERRY divx