自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

  • 博客(17)
  • 收藏
  • 关注

转载 Wildcard Matching

'?' Matches any single character.'*' Matches any sequence of characters (including the empty sequence).The matching should cover the entire inpu...

2015-08-22 19:19:00 128

转载 Regular Expression Matching ('.' and '*')

char isMatch(char* s, char* p) { int m = strlen(s); int n = strlen(p); char **dp = malloc((m+1) * sizeof(char*)); for(int i = 0; i ...

2015-08-22 19:06:00 137

转载 Two Sum

/** * Note: The returned array must be malloced, assume caller calls free(). */#define explen 16#define calchash(data) ((data * 2654435769) &gt...

2015-08-21 23:04:00 121

转载 Longest Palindromic Substring

char* longestPalindrome(char* s) { int i; int id = 0, mx = 0, imax = 0; int p[2000] = {0}; int len = strlen(s); char *str = (ch...

2015-08-21 22:58:00 105

转载 Median of Two Sorted Arrays

static double findKth(int* A, int size1, int A_start, int* B, int size2, int B_start,int k){ if(A_start >= size1){ return B[B_start+...

2015-08-21 18:29:00 132

转载 HelloFPGA

chapter 0: 开发工具和环境 开发环境:ISE Design suite 14.7 WebPack(x64) 目标板:xilinxspartan-3efpga 最小系统开发板 (主芯片:Spartan-3E系列XC3S500PQE208) 下载器:xilinx...

2015-02-08 13:55:00 410

转载 系统调用(system_call)

chapter 0: 举个栗子 在Linux中写程序,如果使用系调用,通常的方法是使用C库。这里用汇编直接使用中断指令写系统调用。 第一个例子是x86架构的: .data mesg: .string "Hello World\n" len = . -...

2015-02-06 13:20:00 126

转载 GCC-Inline-Assembly-HOWTO

GCC-Inline-Assembly-HOWTO Sandeep.S v0.1, 01 March 2003. This HOWTO explains the use and usage of the inline assembly feature provided...

2015-02-03 11:22:00 213

转载 Clang

Clang[编辑] Clang 原作者 克里斯·拉特纳 开发者 苹果公司,...

2015-02-03 11:21:00 255

转载 LLVM

LLVM[编辑] LLVM 开发者 LLVM开发团队 初始版本 2003 ...

2015-02-03 11:19:00 203

转载 Linux History

chapter 0: 起源 Linux:http://en.wikipedia.org/wiki/Linux Linux Kernel: http://en.wikipedia.org/wiki/Linux_kernel 严格来讲,术语Linux只表示操作系统内核本身,...

2015-02-02 17:47:00 104

转载 Dingus - 第零天,添加工具

开发操作系统的话,源码怎么一步步地转化为系统镜像的?写下这些对自己理解是很有帮助的,同时也能理清一下思路。 qemu: 虚拟机,用来快速模拟操作系统的运行情况。软件模拟和实际在机器上运行的情况可能有不同。 dinguslibc.lib: 用来链接hari_main...

2015-02-02 17:34:00 185

转载 GNU/GCC

来自: http://zh.wikipedia.org/wiki/GCC http://blog.youkuaiyun.com/sonicling GCC(GNU Compiler Collection,GNU编译器套装),是一套由GNU开发的编程语言编译器。它是一套以GPL及...

2015-02-02 17:21:00 361

转载 Hello Assembler

一段代码 #hello.s .data # 数据段声明 msg : .string "Hello, world!\\n" # 要输出的字符串 len = . - msg ...

2015-02-02 17:19:00 107

转载 让人迷惑的C代码

chapter 0: 之前有人开玩笑说码农工资按代码行数来算的,现在有个办法让你瞬间变成富富富! 先写几行代码:“a.c” #include <windows.h>#include <stdlib.h>#include <s...

2015-02-02 17:12:00 329

转载 一款镜像工具——edimg

Chapter 0: 转载于:https://my.oschina.net/hanjianqiao/blog/374497

2015-02-02 17:05:00 454

转载 最简单的Windows win32 API 程序开发方法

第零章:准备好工具先开发一个小程序看看 第一步:找到我们所需要的所有原料 这里用到的原料都是从mingw中获取的,先安装一个mingw然后搜索安装目录找到下面几个文件: cc1.exe as.exe ld.exe mingw3...

2015-01-31 13:45:00 638

空空如也

空空如也

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

TA关注的人

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