<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[]]></title><description><![CDATA[位置不能带来自由，能力才能让人自由]]></description><link>https://blog.youkuaiyun.com/yangkaikwill</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; yangkaikwill]]></copyright><item><title><![CDATA[GC]]></title><link>https://blog.youkuaiyun.com/yangkaikwill/article/details/57082739</link><guid>https://blog.youkuaiyun.com/yangkaikwill/article/details/57082739</guid><author>yangkaikwill</author><pubDate>Sat, 25 Feb 2017 15:31:14 +0800</pubDate><description><![CDATA[GC总结]]></description><category></category></item><item><title><![CDATA[关于单CPU，多CPU上的原子操作]]></title><link>https://blog.youkuaiyun.com/yangkaikwill/article/details/52675330</link><guid>https://blog.youkuaiyun.com/yangkaikwill/article/details/52675330</guid><author>yangkaikwill</author><pubDate>Mon, 26 Sep 2016 22:46:46 +0800</pubDate><description><![CDATA[所谓原子操作,就是”不可中断的一个或一系列操作” 。硬件级的原子操作： 
在单处理器系统(UniProcessor)中，能够在单条指令中完成的操作都可以认为是” 原子操作”，因为中断只能发生于指令之间。 这也是某些CPU指令系统中引入了test_and_set、test_and_clear等指令用于临界资源互斥的原因。在对称多处理器(Symmetric Multi-Processor)结构中就不同了]]></description><category></category></item><item><title><![CDATA[如何在ubuntu提高jdk版本]]></title><link>https://blog.youkuaiyun.com/yangkaikwill/article/details/52381394</link><guid>https://blog.youkuaiyun.com/yangkaikwill/article/details/52381394</guid><author>yangkaikwill</author><pubDate>Wed, 31 Aug 2016 07:48:17 +0800</pubDate><description><![CDATA[The easy wayThe easiest way to install the JDK 7 is to do it with the Web Up8 Oracle Java OOS. However, it is believed that this PPA is sometimes out of date. Also note the dangers of using a PPA.This]]></description><category></category></item><item><title><![CDATA[epoll如何判断客户端不可读]]></title><link>https://blog.youkuaiyun.com/yangkaikwill/article/details/51813215</link><guid>https://blog.youkuaiyun.com/yangkaikwill/article/details/51813215</guid><author>yangkaikwill</author><pubDate>Sat, 02 Jul 2016 23:14:52 +0800</pubDate><description><![CDATA[客户端主动断开会触发EPOLLIN事件，判断recv返回值为0就表示断开连接；但是拔网线或者网络异常导致断开连接就没法判断了，应该可以在应用层通过heartbeat来判断连接是否失效。TCP keep-alive超时时间过长才认为是断开，实际项目中不会使用。]]></description><category></category></item><item><title><![CDATA[MarkDownPad私钥]]></title><link>https://blog.youkuaiyun.com/yangkaikwill/article/details/51765269</link><guid>https://blog.youkuaiyun.com/yangkaikwill/article/details/51765269</guid><author>yangkaikwill</author><pubDate>Sun, 26 Jun 2016 23:39:08 +0800</pubDate><description><![CDATA[Soar360@live.comGBPduHjWfJU1mZqcPM3BikjYKF6xKhlKIys3i1MU2eJHqWGImDHzWdD6xhMNLGVpbP2M5SN6bnxn2kSE8qHqNY5QaaRxmO3YSMHxlv2EYpjdwLcPwfeTG7kUdnhKE0vVy4RidP6Y2wZ0q74f47fzsZo45JE2hfQBFi2O9Jldjp1mW8HUpTtLA2a5/]]></description><category></category></item><item><title><![CDATA[探究Servlet Filter 执行顺序]]></title><link>https://blog.youkuaiyun.com/yangkaikwill/article/details/51598773</link><guid>https://blog.youkuaiyun.com/yangkaikwill/article/details/51598773</guid><author>yangkaikwill</author><pubDate>Mon, 06 Jun 2016 22:32:22 +0800</pubDate><description><![CDATA[这篇blog通过console打印出的信息来判断 servlet和filter的执行顺序 
TestServlet.javapackage com.cakes;import java.io.IOException;
import java.io.PrintWriter;import javax.servlet.ServletException;
import javax.servlet.http.H]]></description><category></category></item><item><title><![CDATA[第一个Java web项目]]></title><link>https://blog.youkuaiyun.com/yangkaikwill/article/details/51592231</link><guid>https://blog.youkuaiyun.com/yangkaikwill/article/details/51592231</guid><author>yangkaikwill</author><pubDate>Sun, 05 Jun 2016 23:00:47 +0800</pubDate><description><![CDATA[参考博客地址
  http://www.thejavageek.com/2013/08/11/mvc-architecture-with-servlets-and-jsp/
*.jsp创建在 WebContent路径下，访问时的Url为 
  http://localhost:8080/MVCDemo/login.jsp.
在WebContent/WEB-INF下创建web.xml下面是代码 
Lo]]></description><category></category></item><item><title><![CDATA[Java中值传递与引用传递]]></title><link>https://blog.youkuaiyun.com/yangkaikwill/article/details/51407050</link><guid>https://blog.youkuaiyun.com/yangkaikwill/article/details/51407050</guid><author>yangkaikwill</author><pubDate>Sat, 14 May 2016 17:20:33 +0800</pubDate><description><![CDATA[//Test.java
public class Test {
    public static void main(String[] args)
    {
        Person ps = new Person();
        ps.setPerson(10,"yyy",new Address());
        ps.printPerson();
        Addres]]></description><category></category></item><item><title><![CDATA[71. Simplify Path]]></title><link>https://blog.youkuaiyun.com/yangkaikwill/article/details/51019800</link><guid>https://blog.youkuaiyun.com/yangkaikwill/article/details/51019800</guid><author>yangkaikwill</author><pubDate>Wed, 30 Mar 2016 21:54:12 +0800</pubDate><description><![CDATA[Given an absolute path for a file (Unix-style), simplify it.For example, 
path = “/home/”, => “/home” 
path = “/a/./b/../../c/”, => “/c” 
click to show corner cases.Corner Cases: 
Did you consider the]]></description><category></category></item><item><title><![CDATA[44. Wildcard Matching]]></title><link>https://blog.youkuaiyun.com/yangkaikwill/article/details/51001130</link><guid>https://blog.youkuaiyun.com/yangkaikwill/article/details/51001130</guid><author>yangkaikwill</author><pubDate>Mon, 28 Mar 2016 20:54:28 +0800</pubDate><description><![CDATA[Implement wildcard pattern matching with support for ‘?’ and ‘*’.
‘?’ Matches any single character. 
‘*’ Matches any sequence of characters (including the empty sequence).
  The matching should cover t]]></description><category></category></item><item><title><![CDATA[关于TCP协议收到数据不完整]]></title><link>https://blog.youkuaiyun.com/yangkaikwill/article/details/50952406</link><guid>https://blog.youkuaiyun.com/yangkaikwill/article/details/50952406</guid><author>yangkaikwill</author><pubDate>Tue, 22 Mar 2016 09:45:23 +0800</pubDate><description><![CDATA[发送方 
调用send函数的时候，做的操作实际上是把你给出的数据拷贝的系统的缓存中，然后等待系统发送，send函数的返回值就是实际拷贝进入系统缓存中的数据的大小，这个大小有可能小于你给定的数据大小，所以可能需要多次调用。 
接收方 
调用recv函数的时候，和send很类似，是把系统缓存中已经接收到的数据，拷贝到你给出的缓存中，recv的返回值就是实际从系统缓存中拷贝出来的数据的大小。在实际的网络传]]></description><category></category></item><item><title><![CDATA[160. Intersection of Two Linked Lists]]></title><link>https://blog.youkuaiyun.com/yangkaikwill/article/details/50848127</link><guid>https://blog.youkuaiyun.com/yangkaikwill/article/details/50848127</guid><author>yangkaikwill</author><pubDate>Thu, 10 Mar 2016 16:54:18 +0800</pubDate><description><![CDATA[Write a program to find the node at which the intersection of two singly linked lists begins.For example, the following two linked lists:A:          a1 → a2 
                   ↘]]></description><category></category></item><item><title><![CDATA[191. Number of 1 Bits]]></title><link>https://blog.youkuaiyun.com/yangkaikwill/article/details/50847367</link><guid>https://blog.youkuaiyun.com/yangkaikwill/article/details/50847367</guid><author>yangkaikwill</author><pubDate>Thu, 10 Mar 2016 15:42:15 +0800</pubDate><description><![CDATA[Write a function that takes an unsigned integer and returns the number of ’1’ bits it has (also known as the Hamming weight).For example, the 32-bit integer ’11’ has binary representation 0000000000000]]></description><category></category></item><item><title><![CDATA[ubuntu12.0.4安装samba服务器]]></title><link>https://blog.youkuaiyun.com/yangkaikwill/article/details/50492552</link><guid>https://blog.youkuaiyun.com/yangkaikwill/article/details/50492552</guid><author>yangkaikwill</author><pubDate>Sun, 10 Jan 2016 16:11:16 +0800</pubDate><description><![CDATA[ps:搞了两个多小时 终弄好了  
1.Samba软件包的安装  
在Ubuntu的终端中输入一下命令：  
sudo apt-get install samba  
配置win7访问linux  
第一步创建共享目录： 比如要创建/home/用户名/share首先创建这个文件夹 （这个用户名就是你的用户名，比如test）  
代码:mkdir /home/用户名/share （新建share文件夹]]></description><category></category></item><item><title><![CDATA[世界是数字的(三)]]></title><link>https://blog.youkuaiyun.com/yangkaikwill/article/details/50434509</link><guid>https://blog.youkuaiyun.com/yangkaikwill/article/details/50434509</guid><author>yangkaikwill</author><pubDate>Wed, 30 Dec 2015 14:34:27 +0800</pubDate><description><![CDATA[互联网互联网并不是一个巨型网络，更不是一台计算机。他由定义了网络和其中的计算机相互通信规则的标准连接在一起，是一个松散的、非结构化的、混乱、自组织的网络集合如何才能把光纤网、以太网、无线网等不同的物理属性的网络连接起来，甚至比他们之间相隔很远时也能联通？我们需要在间接相连的网络之间找到通信路径，需要就信息采用何种格式传输达成协议，需要在错误处理、时延、过载等一些不太容易想到的问题上达成协议。没有这些]]></description><category></category></item><item><title><![CDATA[世界是数字的(二)]]></title><link>https://blog.youkuaiyun.com/yangkaikwill/article/details/50427160</link><guid>https://blog.youkuaiyun.com/yangkaikwill/article/details/50427160</guid><author>yangkaikwill</author><pubDate>Tue, 29 Dec 2015 15:42:35 +0800</pubDate><description><![CDATA[网络带宽是最基本的一个特性，他描述的是通信系统的传输数据的速度。延迟衡量的是特定信息块通过系统所需要的时间。抖动，即延迟的可变性。信程指的是某种技术能够在多大的地理范围内实现联网。在家庭中，电话系统传送模拟的声音信号，不传送数据。因此，必须有一种设备来实现数字化信息和模拟的声音之间的转换，才能利用电话网络传输数据。改变通过声音信号传输的信息形式叫调制。相反，把这种形式再转换成比特叫解调。最大带宽不过]]></description><category></category></item><item><title><![CDATA[世界是数字的(一)]]></title><link>https://blog.youkuaiyun.com/yangkaikwill/article/details/50423456</link><guid>https://blog.youkuaiyun.com/yangkaikwill/article/details/50423456</guid><author>yangkaikwill</author><pubDate>Tue, 29 Dec 2015 00:57:00 +0800</pubDate><description><![CDATA[操作系统怎么工作标签（空格分隔）： 操作系统操作系统控制和分配计算机资源。首先，它负责管理CPU，调度和协调当前运行的程 
序。它控制CPU 在任意时刻执行的程序，包括应用程序和后台进程（如杀毒软件和 
检查更新的程序）。它会将一个暂时等待的程序（比如等待用户在上面单击的对话框） 
挂起。它会阻止个别程序多占资源。如果一个程序占用CPU 时间太多，操作系统会 
强行将其中断以便其他任务得以正常执行。]]></description><category></category></item><item><title><![CDATA[225. Implement Stack using Queues]]></title><link>https://blog.youkuaiyun.com/yangkaikwill/article/details/50395844</link><guid>https://blog.youkuaiyun.com/yangkaikwill/article/details/50395844</guid><author>yangkaikwill</author><pubDate>Thu, 24 Dec 2015 17:26:59 +0800</pubDate><description><![CDATA[Implement the following operations of a stack using queues.push(x) – Push element x onto stack. 
pop() – Removes the element on top of the stack. 
top() – Get the top element. 
empty() – Return whether]]></description><category></category></item><item><title><![CDATA[232. Implement Queue using Stacks]]></title><link>https://blog.youkuaiyun.com/yangkaikwill/article/details/50390036</link><guid>https://blog.youkuaiyun.com/yangkaikwill/article/details/50390036</guid><author>yangkaikwill</author><pubDate>Wed, 23 Dec 2015 22:00:14 +0800</pubDate><description><![CDATA[Implement the following operations of a queue using stacks.push(x) – Push element x to the back of queue. 
pop() – Removes the element from in front of queue. 
peek() – Get the front element. 
empty()]]></description><category></category></item><item><title><![CDATA[155. Min Stack]]></title><link>https://blog.youkuaiyun.com/yangkaikwill/article/details/50388185</link><guid>https://blog.youkuaiyun.com/yangkaikwill/article/details/50388185</guid><author>yangkaikwill</author><pubDate>Wed, 23 Dec 2015 16:46:40 +0800</pubDate><description><![CDATA[Min Stack
Design a stack that supports push, pop, top, and retrieving the minimum element in constant time.push(x) – Push element x onto stack. 
pop() – Removes the element on top of the stack. 
top()]]></description><category></category></item></channel></rss>