- 博客(19)
- 收藏
- 关注
原创 brk()/sbrk()
brk()brk()调整数据段的end位置#define_GNU_SOURCE #include<unistd.h> int brk(viod * end_data_segment);参数end_data_segment:将数据段的end置于end_data_segment处返回值成功,返回0失败,-1,返回ENOMEM。sbrk()sbrk()是一个c语言封装库函数,不是system call,作用通过调整process break的位置,调整bss段?heap的大小
2020-12-20 14:59:11
461
1
原创 mmap( )
mrmap()扩大/缩小现有内存映射,flags参数还可以控制???#define_GNU_SOURCE #include<unistd.h> #include<sys/mman.h> void * mremap(void *old_address, size_t old_size , size_t new_size, int flags.../* void *new_address */);参数old_address:旧地址已经被page aligned页对齐ol
2020-12-16 10:51:09
170
原创 mremap()
mremap()扩大/缩小现有内存映射,flags参数还可以控制???#define_GNU_SOURCE #include<unistd.h> #include<sys/mman.h> void * mremap(void *old_address, size_t old_size , size_t new_size, int flags.../* void *new_address */);参数old_address:旧地址已经被page aligned页对齐o
2020-12-14 23:18:36
3170
原创 安然邮箱社交网络分析
1.数据结构化1.1数据处理原始数据:安然邮箱数据txt步履蹒跚:安装配置mysqlmysql 8.0 以上越过密码 Python3 使用PyMySQL连接数据库conda安装pymysqlconda安装报错CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://mirrors.tuna.tsiAnaconda 一直 solving package specification...
2020-12-03 22:29:50
1064
原创 pycharm爬虫day1
1.定义不指定长度字符串:malloc()函数#include<stdio.h>#include<stdlib.h>int main(){ char *p = NULL; p = (char *)malloc(sizeof(char)); scanf("%s", p); int len = strlen(p); char s...
2020-11-17 11:00:59
204
原创 PyCharm 调试笔记
文章类型选成“转载”,要上传资源链接。但是插入以下的文章链接就报错???所以选择“原创”。但是本篇笔记都是转载!pycharm 调用统计目录文件出错转自https://blog.youkuaiyun.com/qq_36701743/article/details/90199283右键Mark Directory as->Sources Rootpycharm调用其他文件函数转自...
2019-12-01 15:18:01
146
原创 kaldi学习笔记(一)macOS安装kaldi
参考:https://blog.youkuaiyun.com/weixin_39594447/article/details/86765305 https://blog.youkuaiyun.com/gui694278452/article/details/88058507 https://wiki.znc.in/Installation#Mac_OS_X 1.从...
2019-10-14 13:19:59
1510
原创 conda报错UnavailableInvalidChannel
报错:UnavailableInvalidChannel: The channel is not accessible or is invalid.channel name:xxxxxxxxxchannel url:xxxxxxxxxerror code : 404分析: 当前通道不可用,如果url为某个网址,可能是被墙了;若果是某个本地路径,可能是此通道需要的路径内容文...
2019-05-22 22:22:39
2278
转载 pycharm安装了anaconda却加载不出numpy
https://blog.youkuaiyun.com/aanndd77/article/details/80830468
2019-05-08 22:32:42
4005
原创 mac qq电话时其他媒体声音变小
Terminalprintf "p(char)(void(*)())AudioDeviceDuck=0xc3\nq" | lldb -n QQ但是每次用都需要一次,或者下个程序手动调一下sound control
2019-04-17 10:28:31
7921
1
原创 Xcode配置opencv2
下载部分参考:https://blog.youkuaiyun.com/lkj345/article/details/50910613xcode c++程序配置opencv2:1.build settings搜索search paths,修改header search paths 为/usr/local/include 修改lib...
2018-12-18 17:58:13
419
原创 Xcode10搭建python环境
版权声明https://blog.youkuaiyun.com/f_zyj/article/details/80426373pycharm好烦啊,又还不怎么会写python还是用比较习惯的Xcode 吧已经建立完一个project了那就记录一下防止以后忘记吧等下次再用记得配图step1新建External Build System,在Build Tool 中填写Python路...
2018-12-04 18:09:06
3360
2
原创 Xcode 相对路径问题
编程时引用绝对路径不仅字符串长、可能含有中文字符,而且当程序传输给别人时也给程序运行带来了不便。以下关于Xcode中引用文件夹的设置问题:product > scheme > edit scheme->options->working directory->use custom working directory 在其中插入需要的文件夹就好啦!...
2018-11-26 18:40:16
497
原创 [Software Construction] Chapter 3
Chapter 3 Abstract Data Type(ADT) and Objective-Oriented Programming(OOP) ...
2018-06-24 18:41:24
174
原创 Lab1
一、Magic Squares A magic square of order n is an arrangement of n×n numbers, usually distinct integers, in a square, such that the n numbers in all rows, all columns, and both diagonals sum to the...
2018-06-17 23:26:52
344
原创 [Software Construction] Chapter 2
Chapter 2 Process and Tools of Software Construction 一、SCM(软件配置管理)和VC...
2018-06-12 23:07:27
273
原创 [Software Construction] Chapter 1
Chapter 1 Views and Quality Objectives of Software Construction 一、软件构...
2018-06-12 00:57:16
198
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人