自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

Striving on the way

I am a soldier and I am marching on!

  • 博客(10)
  • 资源 (3)
  • 收藏
  • 关注

原创 Prove König's theorem

Problem Statement: König’s theorem describes an equivalence between the maximum matching and the minimum vertex cover problem in bipartite graphs. This is a problem in the mathematical area of graph t

2015-05-21 20:19:00 673

原创 An Empirical Study of Regression Test Selection Techniques

由于课程设置原因,选了软件测试这门课,需要做一个presentation,我选择了这篇名为An Empirical Study of Regression Test Selection Techniques的文章,这是一篇发表于2001年的文章,有一定的年头了,正如文章题目所示,这篇文章是关于regression test的,由于regression test代价是很昂贵的,我们不可能每一次都全部重

2015-05-12 21:29:34 748 1

原创 A Probabilistic Graphical Model-based Approach for Minimizing Energy Under Performance Constraints

这学期的一门课需要做一个presentation,我从老师提供的论文池中选择了这篇论文A Probabilistic Graphical Model-based Approach for Minimizing Energy Under Performance Constraints, 基本内容是如何在保证性能的前提下使整个系统尽可能地节能,看起来这是一个contrained optimiaztio

2015-05-09 17:19:30 869

转载 欢迎使用CSDN-markdown编辑器

欢迎使用Markdown编辑器写博客本Markdown编辑器使用StackEdit修改而来,用它写博客,将会带来全新的体验哦:Markdown和扩展Markdown简洁的语法代码块高亮图片链接和图片上传LaTex数学公式UML序列图和流程图离线写博客导入导出Markdown文件丰富的快捷键快捷键加粗 Ctrl + B 斜体 Ctrl + I 引用 Ctrl

2015-05-09 15:43:28 402

原创 开机出现 Grub error: unknown file system 的解决办法

昨天一个同学问我误删除分区的问题,为了分析原因,我就帮忙演示了一番…重新分出来一块分区,并分配了一个新的磁盘符给它,之后便没再管了。今天开电脑的时候悲剧了,出现了Grub error: unknown file system的错误,不能正确启动电脑。 搜索了一下网上的资源,大致了解了原因,由于新建磁盘的原因,引导区所在磁盘的标号发生了改变,所以不能正确加载引导程序。(我是Linux, win8 双

2015-01-05 19:37:39 3269

转载 ubuntu 更新没有公钥,签名失败的解决办法

很可能是cache的问题,执行下列命令:sudo apt-get cleancd /var/lib/aptmv lists lists.oldmkdir -p lists/partialapt-get cleanapt-get update

2014-04-26 16:14:02 1025

原创 在eclipse环境下编译cmu sphinx4

要用到force alignment功能,由于pocketsphinx不支持,只好开始看sphinx4了。。。

2014-04-08 15:21:25 1654

原创 编译运行 pocketsphinx android demo 需要注意的问题

1 记得修改swig文件夹中的makefile文件,主要是java路径2

2014-04-04 12:35:39 983

原创 linux 下不识别android手机的解决办法

刚刚接触linux,一切都很新奇,用eclipse 写android程序发现很懊恼的事情,设备不被识别! 经过查资料,最终得以解决。解决方案如下:Step 1   终端运行:$lsusb  显示如下:Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hubBus 002 Device 001: ID 1d6b:00

2014-03-28 14:08:25 2026

原创 hello world

就像每门编程语言中的第一个程序一样,我的第一篇博客名字起做hello world,今天开始,一个新的习惯就要养成了,我的学习生活开始记录在此,总结经验,加油                                     2014年3月28日

2014-03-28 13:52:26 519

统计学习方法,李航著

李航著统计学习方法,算是国内该领域的经典著作了,需要一定的基础,可作自学使用

2014-11-14

安卓安全论文

搜集的一些关于Android安全方面的论文,英文原版的,值得读一读

2013-06-01

TCP/IP Sockets in java.pdf 英文高清原版

1 Introduction 1 1.1 Networks, Packets, and Protocols 1 1.2 About Addresses 4 1.3 About Names 6 1.4 Clients and Servers 6 1.5 What Is a Socket? 7 1.6 Exercises 8 2 Basic Sockets 9 2.1 Socket Addresses 9 2.2 TCP Sockets 15 2.2.1 TCP Client 16 2.2.2 TCP Server 21 2.2.3 Input and Output Streams 25 2.3 UDP Sockets 26 2.3.1 DatagramPacket 27 2.3.2 UDP Client 29 2.3.3 UDP Server 34 2.3.4 Sending and Receiving with UDP Sockets 36 2.4 Exercises 38 3 Sending and Receiving Data 39 3.1 Encoding Information 40 3.1.1 Primitive Integers 40 vii viii Contents 3.1.2 Strings and Text 45 3.1.3 Bit-Diddling: Encoding Booleans 47 3.2 Composing I/O Streams 48 3.3 Framing and Parsing 49 3.4 Java-Specific Encodings 55 3.5 Constructing and Parsing Protocol Messages 55 3.5.1 Text-Based Representation 58 3.5.2 Binary Representation 61 3.5.3 Sending and Receiving 63 3.6 Wrapping Up 71 3.7 Exercises 71 4 Beyond the Basics 73 4.1 Multitasking 73 4.1.1 Java Threads 74 4.1.2 Server Protocol 76 4.1.3 Thread-per-Client 80 4.1.4 Thread Pool 82 4.1.5 System-Managed Dispatching: The Executor Interface 84 4.2 Blocking and Timeouts 86 4.2.1 accept(), read(), and receive() 87 4.2.2 Connecting and Writing 87 4.2.3 Limiting Per-Client Time 87 4.3 Multiple Recipients 89 4.3.1 Broadcast 90 4.3.2 Multicast 90 4.4 Controlling Default Behaviors 95 4.4.1 Keep-Alive 96 4.4.2 Send and Receive Buffer Size 96 4.4.3 Timeout 97 4.4.4 Address Reuse 97 4.4.5 Eliminating Buffering Delay 98 4.4.6 Urgent Data 98 4.4.7 Lingering after Close 99 4.4.8 Broadcast Permission 99 4.4.9 Traffic Class 100 4.4.10 Performance-Based Protocol Selection 100 4.5 Closing Connections 101 4.6 Applets 107 4.7 Wrapping Up 107 4.8 Exercises 108 5 NIO 109 5.1 Why Do We Need This? 109 5.2 Using Channels with Buffers 112 Contents ix 5.3 Selectors 115 5.4 Buffers in Detail 121 5.4.1 Buffer Indices 121 5.4.2 Buffer Creation 122 5.4.3 Storing and Retrieving Data 124 5.4.4 Preparing Buffers:clear(), flip(), and rewind() 126 5.4.5 Compacting Data in a Buffer 128 5.4.6 Buffer Perspectives:duplicate(), slice(), etc. 129 5.4.7 Character Coding 131 5.5 Stream (TCP) Channels in Detail 132 5.6 Selectors in Detail 135 5.6.1 Registering Interest in Channels 135 5.6.2 Selecting and Identifying Ready Channels 138 5.6.3 Channel Attachments 140 5.6.4 Selectors in a Nutshell 140 5.7 Datagram (UDP) Channels 141 5.8 Exercises 145 6 Under the Hood 147 6.1 Buffering and TCP 150 6.2 Deadlock Danger 152 6.3 Performance Implications 155 6.4 TCP Socket Life Cycle 155 6.4.1 Connecting 156 6.4.2 Closing a TCP Connection 160 6.5 Demultiplexing Demystified 163 6.6 Exercises 165 Bibliography 167 Index 169

2012-10-12

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除