上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 34 下一页
摘要: 转自09年的blog,因为facebook在国内无法访问,故此摘录。The Photos application is one of Facebook’s most popular features. Up to date, users have uploaded over 15 billion p... 阅读全文
posted @ 2014-08-08 11:38 linyx 阅读(314) 评论(0) 推荐(0) 编辑
摘要: In the traditional model, the life cycle of a user request is the following:Browser sends an HTTP request to web server.Web server parses the request,... 阅读全文
posted @ 2014-08-07 20:30 linyx 阅读(435) 评论(0) 推荐(0) 编辑
摘要: It is finally here: you can configure the open source log-aggregator, scribe, to log data directly into the Hadoop distributed file system.Many Web 2.... 阅读全文
posted @ 2014-08-07 20:25 linyx 阅读(238) 评论(0) 推荐(0) 编辑
摘要: c++类大小和机器还有编译器有关。64位机器指针大小为8个字节,32位机器为4个字节。每个实例在内存中都有一个独一无二的地址,为了达到这个目的,编译器往往会给一个空类隐含的加一个字节,这样空类在实例化后在内存得到了独一无二的地址;有虚函数的类有个virtual table(虚函数表),里面包含了类的... 阅读全文
posted @ 2014-08-07 17:17 linyx 阅读(384) 评论(0) 推荐(0) 编辑
摘要: Given n non-negative integers a1, a2, ..., an, where each represents a point at coordinate (i, ai). n vertical lines are drawn such that the two endpo... 阅读全文
posted @ 2014-08-05 17:48 linyx 阅读(161) 评论(0) 推荐(0) 编辑
摘要: Implement int sqrt(int x).Compute and return the square root of x.线性查找会TLE。用二分查找。注意溢出的处理。全部都改成long long. 1 class Solution { 2 public: 3 int sqrt(i... 阅读全文
posted @ 2014-07-26 23:06 linyx 阅读(126) 评论(0) 推荐(0) 编辑
摘要: sk_buff结构可能是linux网络代码中最重要的数据结构,它表示接收或发送数据包的包头信息。它在中定义,并包含很多成员变量供网络代码中的各子系统使用。 这个结构被不同的网络层(MAC或者其他二层链路协议,三层的IP,四层的TCP或UDP等)使用,并且其中的成员变量在结构从一层向另一层传递时改变。... 阅读全文
posted @ 2014-07-23 00:39 linyx 阅读(185) 评论(0) 推荐(0) 编辑
摘要: JVM -- java virtual machineA Java virtual machine (JVM) is a process virtual machine that can execute Java bytecode. JVM就是我们常说的java虚拟机,它是整个java实现跨平台的 ... 阅读全文
posted @ 2014-07-21 20:00 linyx 阅读(236) 评论(0) 推荐(0) 编辑
摘要: 1. 给两个类A和Bclass A {public void foo (A a) { ...}}class B extends A {public void foo (B b) { ...}}问这么写会不会有问题如果是c++,在B类里面foo(A*a)这个函数是不可见的。也就是说 B b; A ... 阅读全文
posted @ 2014-07-20 17:38 linyx 阅读(231) 评论(0) 推荐(0) 编辑
摘要: What's xxxAn SVM model is a representation of the examples as points in space, mapped so that the examples of the separate categories are divided by a... 阅读全文
posted @ 2014-07-20 15:54 linyx 阅读(238) 评论(0) 推荐(0) 编辑
上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 34 下一页