这里的 data segment 访问控制针使用对 DS、ES、FS 以及 GS selector register 进行访问,不包括 SS selector register,stack segment 访问与一般的 data segment 有些差别。 以 DS 为例代表所有的 data se....
分类:
其他好文 时间:
2015-01-31 11:52:19
阅读次数:
192
当程序中使用指令 call / jmp,以及通过 int 引发中断例程的执行,这将都是对目标的 code segment 进行访问,当通过权限的检查后程序将会跳转到目标的 code segment 进行执行。 在 code segment 的访问过程中涉及到权限级别的改变,stack 的改变等问题。...
分类:
其他好文 时间:
2015-01-31 11:50:58
阅读次数:
202
package main
//Stack
//author:Xiong Chuan Liang
//date:2015-1-30
import (
"fmt"
"github.com/xcltapestry/xclpkg/algorithm"
)
func main(){
stack := algorithm.NewStack()
if stack.Empty() {
f...
分类:
编程语言 时间:
2015-01-31 00:29:40
阅读次数:
334
//头文件
#include
/*====================
栈 数据结构
利用数组实现
====================*/
#define MAX 100
#define ok 1
#define error 0
typedef struct Stack
{
int data[MAX];
int top; //栈顶
int bottom; //...
分类:
编程语言 时间:
2015-01-31 00:29:19
阅读次数:
146
分析:实际上,我们用next[i]表示 T[i-n] 和T[1-n]的最长公共前缀,那么a[i]=next[i] +next[i+1]...... +next[n]; 最长公共前缀(lcp)有3种方法 : 扩展kmp ,hash 和后缀数组 。
方法一 :扩展kmp
//#pragma comment(linker, "/STACK:102400000,102400000")
...
分类:
其他好文 时间:
2015-01-30 22:45:56
阅读次数:
318
一:起因
(0)提到C++ STL,首先被人想到的是它的三大组件:Containers(容器), Iterators(迭代器), Algorithms(算法)。容器为用户提供了常用的数据结构(如,vector,list,deque,stack,map,multimap,set,multiset,外加string),算法大多是独立于容器的常用的基本算法(一般在algorithm头文件中,其中sor...
分类:
其他好文 时间:
2015-01-30 21:07:01
阅读次数:
248
view 必须启用 [self.hotView setTranslatesAutoresizingMaskIntoConstraints:YES];这个属性才能有效
分类:
其他好文 时间:
2015-01-30 19:29:23
阅读次数:
111
salt stack 远程命令salt stack是一种自动化的运维工具,可以同时对N台服务器进行配置管理、远程命令执行等操作。salt stack分为两个部分:salt-master,部署在控制服务器上,用于发出运维指令;salt-minion,部署在所有需要批量运维的线上服务器上;salt安装服...
分类:
其他好文 时间:
2015-01-30 19:15:06
阅读次数:
538
http://www.cocoachina.com/ios/20140925/9755.html
分类:
其他好文 时间:
2015-01-30 17:40:51
阅读次数:
171
客户端(C):
/*
Copyright check frame
written by Radish.ghost Jan.2015
*/
#include
#include
#include
#ifdef C
#define bool int //C hesn't bool type
#endif
#pragma comment(lib, "urlmon.lib")
#ifndef USET...
分类:
Web程序 时间:
2015-01-30 16:05:11
阅读次数:
154