08 2021 档案

摘要:rdtsc函数及用法 #include static inline __u64 get_cycles(void) { __u32 timehi, timelo; asm("rdtsc":"=a"(timelo),"=d"(timehi):); return (__64)(((__u64)timehi 阅读全文
posted @ 2021-08-24 16:20 aaronwell 阅读(64) 评论(0) 推荐(0)
摘要:1893. 检查是否区域内所有整数都被覆盖 给你一个二维整数数组 ranges 和两个整数 left 和 right 。每个 ranges[i] = [starti, endi] 表示一个从 starti 到 endi 的 闭区间 。 如果闭区间 [left, right] 内每个整数都被 rang 阅读全文
posted @ 2021-08-21 15:40 aaronwell 阅读(134) 评论(0) 推荐(0)
摘要:#服务配置文件postgresql.conf [postgres@fnddb data]$ ls -l postgresql.* -rw . 1 postgres postgres 88 Feb 4 22:20 postgresql.auto.conf -rw . 1 postgres postgr 阅读全文
posted @ 2021-08-17 14:32 aaronwell 阅读(1311) 评论(0) 推荐(0)
摘要:shell去掉字符串最后一个字符 var=”12345467,”${var%?}=”1234567” 阅读全文
posted @ 2021-08-02 10:31 aaronwell 阅读(68) 评论(0) 推荐(0)