草稿: float positions[6] = { -0.5f, -0.5f, 0.0f, 0.5f, 0.5f, -0.5f, }; unsigned int buffer; glGenBuffers(1, &buffer); glBindBuffer(GL_ARRAY_BUFFER, buff ...
分类:
其他好文 时间:
2020-05-21 00:17:45
阅读次数:
46
#include"reg52.h"//单片机头文件 #define uchar unsigned char//宏定义,用uchar表示unsigned char,叫无符号字符型数据类型,取值范围为:0到255。 #define uint unsigned int//宏定义,用uint表示unsign ...
分类:
其他好文 时间:
2020-05-19 23:05:10
阅读次数:
91
????点进来你就知道什么回事,每一次遇见都是你的幸运???? ...
分类:
其他好文 时间:
2020-05-16 20:53:42
阅读次数:
172
参考: https://blog.csdn.net/u013344915/article/details/18669783 https://www.cnblogs.com/jianggest/p/recovery_string.html https://blog.csdn.net/huangyabi ...
分类:
移动开发 时间:
2020-05-16 20:25:52
阅读次数:
90
先看个小案例: 话不多说,上案例,先创建一个表 mysql> CREATE TABLE IF NOT EXISTS `account`( `id` INT UNSIGNED AUTO_INCREMENT, `name` VARCHAR(60), `balance` INT(11) DEFAULT N ...
分类:
数据库 时间:
2020-05-16 17:08:07
阅读次数:
79
create table order_ipad( id bigint(20) unsigned not null auto_increment,comment '自增主键', uuid bigint(20) unsigned not null default '0' comment '用户id', ...
分类:
其他好文 时间:
2020-05-15 17:55:14
阅读次数:
55
srand((unsigned)time(NULL)); int iRange1 = 0xf7 - 0xb0; int iRange2 = 0xfe - 0xa1; for (int i=0;i<10;++i) { BYTE iCode1 = rand()%iRange1 + 0xb0; BYTE ...
分类:
编程语言 时间:
2020-05-15 15:17:28
阅读次数:
75
kmalloc 函数原型: void *kmalloc(size_t size, gfp_t flags); kmalloc() 申请的内存位于物理内存映射区域,而且在物理上也是连续的,它们与真实的物理地址只有一个固定的偏移,因为存在较简单的转换关系,所以对申请的内存大小有限制,不能超过128KB。 ...
分类:
其他好文 时间:
2020-05-15 11:36:36
阅读次数:
74
#include<reg52.h> #include<stdio.h> #define uchar unsigned char #define uint unsigned int uchar code Duan[]={0x3F, 0x06,0x5B,0x4F,0x66,0x6D,0x7D,0x07, ...
分类:
其他好文 时间:
2020-05-14 22:18:08
阅读次数:
88
看了这篇文章 https://arjunsreedharan.org/post/148675821737/memory-allocators-101-write-a-simple-memory 主要内容就是介绍了实现简化版malloc free的过程。之前玩过pwn,代码理解起来还是挺简单的 #in ...
分类:
其他好文 时间:
2020-05-14 21:05:40
阅读次数:
98