《Linux多线程服务器端编程》第3章主要讲的是多线程服务器的适用场合与常用的编程模型。1.进程和线程 一个进程是"内存中正在运行的程序“。每个进程都有自己独立的地址空间(address space)。将"进程"比喻为"人",每个人都有自己的记忆(memory),人与人通过谈话(消息传递)来交...
分类:
编程语言 时间:
2015-02-08 12:43:36
阅读次数:
231
日志文件格式如下: 220.181.108.151 - - [31/Jan/2012:00:02:32 +0800] "GET /home.php?mod=space&uid=158&do=album&view=me&from=space HTTP/1.1" 200 8784 "-" "Mozilla/5.0 (compatible; Baiduspider/2.0; +h...
分类:
其他好文 时间:
2015-02-08 11:43:11
阅读次数:
236
孙广东:2015-2-8/2:19 转载请注明出处:http://blog.csdn.net/u010019717更全的内容请看我的游戏蛮牛地址:http://www.unitymanual.com/space-uid-18602.html 先看一下很普通的实现方式:??随便命名一个javascript脚本。然后复制如下的代码之后随便挂在一个对象上,观察效果。var Point : flo...
分类:
编程语言 时间:
2015-02-08 10:24:28
阅读次数:
2931
OpenGL坐标系介绍 =============== OpenGL可以分成四种坐标系,分别是世界坐标系,模型坐标系,眼坐标系,设备坐标系。 #数学的观点:向量空间和仿射空间 仿射空间(affine space)是向量空间的扩展,除了标量和向...
分类:
其他好文 时间:
2015-02-07 17:37:02
阅读次数:
178
Calculate a + bInputThe input will consist of a series of pairs of integers a and b,separated by a space, one pair of integers per line.OutputFor each...
分类:
其他好文 时间:
2015-02-07 15:44:43
阅读次数:
183
题目描述:Palindrome NumberDetermine whether an integer is a palindrome. Do this without extra space.Some hints:Could negative integers be palindromes? (ie...
分类:
其他好文 时间:
2015-02-07 14:22:19
阅读次数:
175
题目 这道题是迄今为止最快通过的一道题,改了两次就过了,runtime一般(中等偏下,这点不太满意)。Palindrome就是判断一个整数是否对称。Determine whether an integer is a palindrome. Do this without extra space.click to show spoilers.Some hints:Could negativ...
分类:
其他好文 时间:
2015-02-07 13:16:36
阅读次数:
141
??孙广东:2015-2-7/1:19 转载请注明出处:http://blog.csdn.net/u010019717更全的内容请看我的游戏蛮牛地址:http://www.unitymanual.com/space-uid-18602.html 先看一下效果: 告别枯燥乏味和单调吧!其实很简单的, 就是让字符串中有Rich Text标记, 因为unity支持,所以使用就行了。可以详细...
分类:
编程语言 时间:
2015-02-07 01:46:33
阅读次数:
278
Martian Mining
Time Limit: 5000MS
Memory Limit: 65536K
Total Submissions: 2459
Accepted: 1517
Description
The NASA Space Center, Houston, is less than 200 miles from Sa...
分类:
其他好文 时间:
2015-02-06 20:31:49
阅读次数:
157
Given a string s consists of upper/lower-case alphabets and empty space characters ’ ‘, return the length of last word in the string.If the last word does not exist, return 0.Note: A word is defined...
分类:
其他好文 时间:
2015-02-06 18:53:14
阅读次数:
146