#include "elf.h"
#include
int main(int argc, char *argv[])
{
FILE *fp;
int i = 0;
int fd = 0;
Elf64_Ehdr ehdr;
if ((fp=fopen(argv[1],"r"))==NULL)
{
...
分类:
其他好文 时间:
2014-09-12 08:54:53
阅读次数:
183
1. 环境说明
RHEL 6.4 x86_64 + MySQL 5.5.37和MySQL 5.6.19
2. 案例:redo log文件(ib_logfile)大小参数被修改:innodb_log_file_size
innodb_log_file_size = 256M -- 修改为200M
版本是5.5的,启动失败,会出现如下错误:
InnoDB: Error: log f...
分类:
数据库 时间:
2014-09-12 01:16:32
阅读次数:
290
A:给你n个数(正负都有),让你添加 n-1个符号,使得它能够被 k整除解题思路:显然我们把所有树MOD k 然后 -a[i] or + a[i] 背包处理就行了解题代码: 1 // File Name: a.cpp 2 // Author: darkdream 3 // Created Time:...
分类:
其他好文 时间:
2014-09-12 01:12:42
阅读次数:
449
save_run($data, "xhprof");// echo "" ;// echo $run_id ; //file_put_contents("/data/www/dianking/egougjx/xhprof.log", $run_id."\n", FILE_APPEND) ; ?>上者...
分类:
其他好文 时间:
2014-09-12 01:07:12
阅读次数:
229
Eclipse的设置 window->preferences->general->editors->text editors->spelling->encoding->UTF-8,编辑器的编码格式 window->preferences->workspace->text file?encoding->UTF-8 打开eclipse安装目录->eclip...
分类:
编程语言 时间:
2014-09-12 00:02:23
阅读次数:
235
场景:
通常我们会在业务层判断类型码,执行不同的方法,可以使用子类来取代类型码
前提:
1.类型码不会被改变
2.类型码所属的类没有子类
修改前:
Student:
/**
* @file Student.java
*
*
* @author wumingkun
* @versi...
分类:
其他好文 时间:
2014-09-12 00:00:53
阅读次数:
254
1、错误描述
SecurityError: Error #2148: SWF 文件 file:///D:/Adobe Flash Builder 4 Installer/HVBox/bin-debug/VHBox.swf 不能访问本地资源 file:///D:/Adobe Flash Builder 4 Installer/HVBox/bin-debug/framework_4.0.0.1415...
分类:
其他好文 时间:
2014-09-11 23:54:22
阅读次数:
282
出现错误如下:09-11 13:54:14.222: E/Trace(1321): error opening trace file: No such file or directory (2)09-11 13:54:15.422: E/AndroidRuntime(1321): FATAL EXC...
分类:
其他好文 时间:
2014-09-11 22:23:52
阅读次数:
313
一篇文章:Generating a Link to a Javascript FileProblemYou want your Blade template to load an external javascript file.Instead of usingIf the file path yo...
分类:
编程语言 时间:
2014-09-11 22:23:02
阅读次数:
357
OutputStream,InputStream,FileOutputStream,FileInputStream.fis = new FileInputStream("C:/Desktop/from.txt"); fos = new FileOutputStream("C:/Desktop/t.....
分类:
其他好文 时间:
2014-09-11 22:22:42
阅读次数:
246