自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

kongkong的专栏

流水账记录

  • 博客(22)
  • 资源 (26)
  • 收藏
  • 关注

翻译 Ribbon属性配置

Starting with version 1.2.0, Spring Cloud Netflix now supports customizing Ribbon clients by setting properties to be compatible with the Ribbon documentation.This lets you change behavior at start up time in different environments.The following li...

2021-03-31 22:10:36 556

原创 nacos标记下线和删除实例

ClientBeatCheckTask标记下线// first set health status of instances: for (Instance instance : instances) { if (System.currentTimeMillis() - instance.getLastBeat() > instance.getInstanceHeartBeatTimeOut()) { // 默认15s

2021-03-29 21:00:16 2452

转载 sentinel属性

ConfigurationThe following table shows that when there are corresponding bean types inApplicationContext, some actions will be taken: Existing Bean Type Action Function UrlCleaner WebCallbackManager....

2021-03-24 19:15:29 397

翻译 22.2.1.6 Page Directory

The Page Directory part of a page has a variable number of record pointers. Sometimes the record pointers are called "slots" or "directory slots". Unlike other DBMSs,InnoDBdoes not have a slot for every record in the page. Instead it keeps a sparse dire...

2021-03-20 22:21:02 363

原创 zookeeper 3.5.9 源码导入idea

clonegit clone -b release-3.5.9 https://github.com/apache/zookeeper.gitcompilemvn clean compile -DskipTestsprovidedzookeeper-server下面的pom的provided都注释掉,应该有7处<dependency> <groupId>jline</groupId> <artifactId>jl.

2021-03-20 13:59:05 323

原创 innodb的B+TREE层数

查看employee_1表desc employee_1总条数select count(*) from employee_1查看information_schema中相关表信息注意索引的PAGE_NO和:index_idSELECT b.name, a.name, index_id, type, a.space, a.PAGE_NO FROM information_schema.INNODB_SYS_INDEXES a, information_sche..

2021-03-18 18:11:53 359

翻译 nginx时间单位

Sizes can be specified in bytes, kilobytes (suffixeskandK) or megabytes (suffixesmandM), for example, “1024”, “8k”, “1m”.Offsets may be also specified in gigabytes usinggorGsuffixes.Time intervals can be specified in milliseconds, seconds, mi...

2021-03-17 18:03:52 646

原创 typedof

描述typedof并没有创建任何新类型,它只是为某个已存在的类型增加一个方便使用的标签。例子例子1typedef unsigned int MYINT;使用MYINT ii = 168;例子2typedef struct Book { int id; char * name;} BK;使用BK b = {5,"c++"};printf("id=%d , name=%s \n",b.id,b.name);...

2021-03-07 20:17:51 460

原创 Clone succeeded, but checkout failed. drivers/gpu/drm/nouveau/nvkm/subdev/i2c/aux.c

错误信息拉取linux的git源码到windows的时候,报下面的错error: invalid path ‘drivers/gpu/drm/nouveau/nvkm/subdev/i2c/aux.c’fatal: unable to checkout working treewarning: Clone succeeded, but checkout failed.You can inspect what was checked out with ‘git status’and retry

2021-03-07 08:00:09 5315 1

原创 指针初始化

初始化指针几种初始化: 某个变量地址 内存地址 或者字符串常量 或者NULL某个变量地址int i= 10;int *p2 = &i; //声明1个指针p2,并直接初始化为变量i的值char letter = 'L';char *myLetter = &letter; // 声明1个指针变量myLetter 并直接初始化为letter的地址内存地址char * name = (char*)malloc(10); //声明1个字符指针nam...

2021-03-05 23:39:26 3084

原创 sizeof

指针大小指针 X86占4个字节 X64占8个字节int b = 10;int *pb = &b;printf("b.size=%d b=%p \n",sizeof(b),b);printf("pb.size=%d pb=%p \n",sizeof(pb),pb);b.size=4 b=000000000000000Apb.size=8 pb=000000000061FE04...

2021-03-05 23:04:34 233

原创 二级指针

二级指针void swap1(int *a, int *b) { int temp = *a; *a = *b; *b = temp;}void swap2(int **a, int **b) { int t = **a; **a = **b; **b = t;}// 高级一点使用void**只是为了通用,可以交换各种类型void swap3(void **a, void **b){ void *t; t =*a;...

2021-03-05 20:50:02 212

原创 c和c++ struct比较

c#include <stdio.h>// 注意 typedof 需要定义nametypedef struct Dog { int id; const char *name;} DD;typedef struct Pig { int id; char *name;} Hog;struct Tiger { int id; char *name;};//struct Lion { int id; char *n

2021-03-05 20:47:17 516

原创 互斥锁 mutex

#include "iostream"#include "thread"#include "mutex"using namespace std;int num=0;mutex m;/** * 线程不安全 */void run(){ clock_t start = clock(); for(int i=0;i<1200000;i++) { num++; } clock_t end = clock(); cout <

2021-03-04 23:26:11 254 1

原创 epoll

EPool.cepollCreateJNIEXPORT jint JNICALLJava_sun_nio_ch_EPoll_epollCreate(JNIEnv *env, jclass c) { /* * epoll_create expects a size as a hint to the kernel about how to * dimension internal structures. We can't predict the size in advan

2021-03-04 23:03:37 210 1

原创 内嵌汇编例子

语法解释__asm__ __violate__ ("movl %1,%0" : "=r" (result) : "m" (input));movl %1,%0"是指令模板;"%0"和"%1"代表指令的操作数,称为占位符,本例中只有两个:"result"和"input",他们按照出现的顺序分 别与指令操作数"%0","%1"对应;注意对应顺序:第一个C 表达式对应"%0";第二个表达式对应"%1",依次类推,操作数至多有10 个,分别用"%0","%1"...."%9"表示。"resu

2021-03-03 23:36:15 867 1

原创 IA-32 Assembly Language Reference Manual

IA-32IA-32 Assembly Language Reference ManualcmpxchgCompare and Exchange (cmpxchg)[486]cmpxchg{bwl} reg[8|16|32], r/m[8|16|32]Examplecmpxchgb %cl, 1(%esi)cmpxchgl %edx, 4(%edi)https://docs.oracle.com/cd/E19455-01/806-3773/6jct9o0b0/index.html

2021-03-03 18:33:01 302 1

原创 compareAndSwapInt实现

compareAndSwapIntunsafe.compareAndSwapInt(this, valueOffset, expect, update)接口定义public final native boolean compareAndSwapInt(Object object, long offset, int expect, int update);unsafe.cppUnsafe_CompareAndSwapIntUNSAFE_ENTRY(jboolean, Unsafe_Comp

2021-03-02 22:09:21 2372 1

转载 简单了解C语言内嵌汇编

内嵌汇编有个固定格式asm ( assembler template /* 汇编语句 */ : output operands /* 输出 */ : input operands /* 输入 */ : list of clobbered registers );cmpxchgl的描述Compares the value in the AL, AX, EAX, or RAX

2021-03-02 21:43:48 564

原创 memset

memset函数void *memset(void *str, int c, size_t n)C 库函数 void *memset(void *str, int c, size_t n) 复制字符 c(一个无符号字符)到参数 str 所指向的字符串的前 n 个字符#include <stdio.h>#include <string.h>int main(){ char str[50]; strcpy(str,"welcome to c lan

2021-03-01 23:06:31 200

原创 redis sds 源码

object encoding define#define OBJ_ENCODING_RAW 0 /* Raw representation */#define OBJ_ENCODING_INT 1 /* Encoded as integer */#define OBJ_ENCODING_HT 2 /* Encoded as hash table */#define OBJ_ENCODING_ZIPMAP 3 /* Encoded as zipmap */#defi

2021-03-01 22:38:31 287 1

原创 window安装clion

install mingw先下载 mingw64install clionconfig mingw

2021-03-01 20:13:10 225

汇编软件 包含DOSBox0.74-3-win32-installer

汇编软件 包含DOSBox0.74-3-win32-installer

2022-05-22

Dosbox0.74-3

Dosbox0.74-3

2022-05-22

canal.1.1.5包

canal.deployer-1.1.5.tar canal.admin-1.1.5.tar canal.deployer-1.1.5.tar canal.example-1.1.5.tar

2022-05-08

eclipse.paho.ui.app-1.0.2.win32.x86_64.zip

mqtt客户端测试工具

2021-12-03

org.eclipse.paho.ui.app-1.0.2-win32.x86_64.zip.zip

mqtt测试工具

2021-12-02

seata-server-1.4.2.zip

seata-server-1.4.2

2021-07-14

jdk-8u172-linux-x64.zip

linux版的jdk8

2021-07-14

sentinel-dashboard.jar

version: 1.8.1

2021-03-24

java8-261.zip

jdk-8u261-windows-x64

2021-03-07

EasyConnectInstaller

EasyConnect 7.6.7.0

2021-01-10

Git-2.30.0-64-bit

Git-2.30.0-64-bit

2021-01-04

Git-1.9.5-preview20150319

Git-1.9.5-preview20150319

2021-01-04

Jaspersoft Studio 6官方文档

IBCO Jaspersoft Studio User Guide Jasperreport6官方文档

2020-12-01

mysql5.7文档

mysql5.7文档

2020-11-09

seata-server-1.2.0.tar.gz

分布式事务seata服务,自己直接网上下载seata-server-1.2.0.tar.gz有点难下载,主要用于自己备份,方便下载

2020-06-29

navicat_premium12

Navicat Premium 12是一套数据库开发管理工具,支持连接 MySQL、Oracle等多种数据库,可以快速轻松地创建、管理和维护数据库。

2019-02-25

清理日志脚本

linux日志定时清理shell脚本, 可指定目录, 指定天数

2018-11-11

java reflection action

java reflection action

2014-11-22

Head First Design Patterns

Head First Design Patterns

2014-11-03

Manning.JUnit.in.Action.2nd.Edition

learning junit good book

2014-10-29

how to learn bash third edition

学习bash好书 OReilly.Learning.the.bash.Shell.3rd.Edition.Mar.2005.eBook-DDU.chm

2009-03-14

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除