自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

  • 博客(4)
  • 资源 (9)
  • 收藏
  • 关注

原创 The Linux Programming Interface 笔记之malloc和free的实现

Although malloc() and free() provide an interface for allocating memory that is much easier to use than brk() and sbrk(), it is still possible to make various programming errors when using them.

2017-02-04 23:20:20 656

转载 off-by-one(大小差一)错误介绍

详细了解请移步这里 off-by-one,大小差一错误是一类常见的程序设计错误。这方面有一个经典的例子OpenSSH.去Google搜索关键词“OpenSSH off-by-one”可以了解相关状况。具体来说, 1. if(id channels_alloc)... 2. if(id = channels_alloc)... 第二句应该是正确的写法。举个更通俗的例子: int a

2017-02-04 22:55:09 2390 2

原创 当进程退出后,动态申请的内存会自动释放吗

stackoverflow有人问了这么一个问题,下面这段程序执行完毕后,malloc的内存会释放吗 int main () { int *p = malloc(10 * sizeof *p); *p = 42; return 0; //Exiting without freeing the allocated memory } 赞数最多的这么回答: It depends

2017-02-04 20:50:03 12863

原创 Linux笔记--二

1、Unix IPC分类:

2017-02-03 17:20:23 799

Hands.On.Machine.Learning.with.Scikit.Learn.and.TensorFlow

Fast-forward 10 years and Machine Learning has conquered the industry: it is now at the heart of much of the magic in today’s high-tech products, ranking your web search results, powering your smartphone’s speech recognition, and recommending videos, beating the world champion at the game of Go. Before you know it, it will be driving your car.

2017-11-07

Deep Learning 英文原版

Deep Learning 英文原版 Ian Goodfellow Yoshua Bengio Aaron Courville This book is about a solution to these more intuitive problems. This solution is to allow computers to learn from experience and understand the world in terms of a hierarchy of concepts, with each concept defined in terms of its relation to simpler concepts. By gathering knowledge from experience, this approach avoids the need for human operators to formally specify all of the knowledge that the computer needs.

2017-11-05

APK去广告的一种方法

APK去广告所需资源如下: 过程大体分为以下四步:解包、去广告、打包、签名,具体如下:

2015-11-19

面向对象程序设计(C++)课件

相当经典的C++入门到精通课件,想学C++的人有福了!

2011-09-22

数值计算方法的一些课件

学习数值计算方法必备课件,可供老师学生使用。

2011-08-21

C++单词分析程序代码

输入所给文法的源程序字符串,输出源程序字符串以及分类单词(如运算符,保留字,常量等)到控制台以及文件。

2011-07-19

空空如也

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

TA关注的人

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