- 博客(15)
- 收藏
- 关注
原创 数据结构---线性表(静态循环队列)
LinkQueue.h#ifndef __CIRCLE_H__#define __CIRCLE_H__//一些库函数的头文件包含#include <string.h>#include <ctype.h>#include <malloc.h>#include <limits.h>#include <stdio.h>#...
2018-12-17 21:55:36
190
原创 数据结构---线性表(链式队列)
LinkQueue.h#ifndef __LINKQUEUE__H_#define __LINKQUEUE__H_//一些库函数的头文件包含#include <string.h>#include <ctype.h>#include <malloc.h>#include <limits.h>#include <stdio.h...
2018-12-16 12:20:09
154
原创 数据结构---线性表(单循环链表)
CircleList.h#ifndef __CIRCLELIST_H__#define __CIRCLELIST_H__//一些库函数的头文件包含#include <string.h>#include <ctype.h>#include <malloc.h>#include <limits.h>#include <std...
2018-12-13 22:03:48
262
原创 数据结构---线性表(顺序栈)
SqStack.h#ifndef __SQSTACK_H__#define __SQSTACK_H__//一些库函数的头文件包含#include <string.h>#include <ctype.h>#include <malloc.h>#include <limits.h>#include <stdio.h>#...
2018-12-13 20:51:33
129
原创 数据结构---线性表(链栈)
Stack.h:结构定义和函数申明#ifndef __STACK_H__#define __STACK_H__ //一些库函数的头文件包含#include <string.h>#include <ctype.h>#include <malloc.h>#include <limits.h>#include <stdio.h&...
2018-12-12 12:19:07
142
原创 数据结构---线性表(离散存储)
LinkList.h:结构的定义,基本函数的申明#ifndef __LINKLIST_H__#define __LINKLIST_H__ //一些库函数的头文件包含#include <string.h>#include <ctype.h>#include <malloc.h>#include <limits.h>#include...
2018-12-11 19:34:48
179
原创 数据结构---线性表(连续存储)
ArrayList.h :结构的定义,基本函数的申明#ifndef __ARRAYLIST_H__#define __ARRAYLIST_H__//一些库函数的头文件包含#include <string.h>#include <ctype.h>#include <malloc.h>#include <limits.h>#incl...
2018-12-11 11:28:08
297
1
原创 数据结构---链表示意图
1、单链表:2、单循环链表typedef int ElemType;//使用一般定义,做一般解释struct Node{ ElemType data; struct Node *next;};typedef struct Node LNode,*LinkList;3、双链表4、双循环链表typedef int ElemType;...
2018-12-10 16:40:14
2295
1
原创 数据结构(学习中)
预先知识:(C语言)1、指针地址:内存单元的编号指针:指针就是地址,地址就是指针 指针变量:就是一个变量,这个变量存储了一个非负整数,即存储了内存单元的编号的变量,所有指针变量只占4个字节(32位机器来说)基本类型的指针指针和数组#include <stdio.h>int main(void){ int a[5] = {1...
2018-12-10 16:40:05
355
原创 matplotlib画图记录--pyplot
fig,ax = pyplot.subsplots(figsize=(8,5), nrows=1, ncols=2)绘制8*5图形,并分成1行2列,返回图形对象fig,和坐标对象axpyplot.text(1.5, 2.5, r"$f(x) = \frac{1}{\theta }e^{\frac{-x}{\theta}}$", fontdict={'size': 15, 'color...
2018-12-04 12:29:15
157
原创 android逆向----内存dump下来的so文件的section简单修复
之前弄了下抖音1.8.3版本,实在是加密太复杂,只得从内存中dump出关键的libcms.so,但弄出来后用IDA打开,提示first section must be SHT_NULL,查看了下dump下来的so发现没有section header table,只能自己来加上去了1、从反编译出来的libcms.so中找到section header table和Section header s...
2018-12-03 22:15:41
9222
1
原创 机器学习基础--概率论与数理统计(已学习到P65)(忘记的东西都在这)
1、条件概率 2、全概率公式 条件:B1,B2,B3...Bn是总体S的一个划分,即 且 3、贝叶斯公式 ,也是需要符合上述条件 4、独立事件概率,条件:A事件的发生不影响B事件的发生 5、离散随机变量 1、0-1分布 2、二项分布 3、...
2018-11-27 11:39:08
401
原创 HashMap线程安全问题
主要集中在put操作和map扩容resize方法上,这2个方法都没有线程同步1、当多个线程向map put时,如果有2个或以上的key(来自不同线程)的hash结果一样(hash碰撞),则只有一个线程能put成功,其他线程数据丢失2、map在超过内置的尺寸范围,则会调用resize方法对map扩容,从源码中看出是重新创建一个Entry数组,并重新hash,重新复制元素,再放到table中,...
2018-11-15 09:52:03
180
原创 unicorn java环境配置(忘记的东西都在这)
注:用已经搭建好的msys2环境,来交叉编译unicorn编译过程可以查看github_unicorn-engine. 问题:1、要把c编译版本的unicorn.dll放到c:\windows下(path)2、生成的libunicorn_java.dll 要使用的话前面的lib要去掉 ...
2018-11-14 18:48:28
1348
1
转载 MSYS2 mingw64环境搭建(忘记的东西都在这)
pacman 镜像## MSYS2 repository mirrorlistServer = http://mirrors.ustc.edu.cn/msys2/REPOS/MSYS2/$archServer = http://mirror.bit.edu.cn/msys2/REPOS/MSYS2/$archServer = http://www.mirrorservice.org...
2018-11-14 18:05:25
5997
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人