LeetCode – Design Circular Queue

Design your implementation of the circular queue. The circular queue is a linear data structure in which the operations are performed based on FIFO (First In…

2019-06-14 · 2 分钟

shell16进制hex和10进制转换

\[root@centosgpt ~\]# echo "ibase=16; FF" |bc \[root@centosgpt ~\]# echo $((0xFF)) \[root@centosgpt ~\]# printf "%d\\n" 0xFF \[root@centosgpt ~\]# dc -e '16i…

2019-06-14 · 1 分钟

什么是RCU:用法

这篇文章 What is RCU? Part 2: Usage

2019-06-12 · 3 分钟

ELF 文件格式分析

ELF: Executable and Linkable Format

2019-06-11 · 19 分钟

Vmware + Centos7 + NAT 方式连接公网

Vmware + Centos7 + NAT 方式连接公网 - 使用gdb调试时, Missing separate debuginfos, use: debuginfo-install glibc-2.17-260.el7.x86_64, 需要虚拟机联网更新。

2019-06-06 · 2 分钟

LeetCode – Rotate List

Given a linked list, rotate the list to the right by _k_ places, where _k_ is non-negative. Example 1: Example 2: Input: 0->1->2->NULL, k = Output: 2->0->1->…

2019-06-03 · 1 分钟

Linux下实现一个系统调用

环境: cenos7 kernel: 3.10.0-862.el7.x86\_64 gcc: gcc version 4.8.5 20150623 (Red Hat 4.8.5-36) (GCC) 新版内核: linux-5.2-rc2 - 安装相关软件: - 下载内核源码并解压: tar -xf linux-5.2-…

2019-06-02 · 2 分钟

什么是RCU

这篇文章What is RCU, Fundamentally?

2019-06-02 · 2 分钟

ORA-01795, limit on in clause

        实施过程中 oracle 报错 ORA-01795, limit on in clause, 发现是SQL  IN 语句中的条件从ZZ表中拼接而成。  以下引用oracle  ASK TOM 中描述:    -      如果子查询中T2 的结果很小 IN通常比较合适 -      如果子查询T2结果很…

2019-05-29 · 1 分钟

LeetCode-Copy List with Random Pointer

A linked list is given such that each node contains an additional random pointer which could point to any node in the list or null

2019-05-28 · 2 分钟