前言: 本渣渣想分析分析Doug Lea大佬对高并发代码编写思路, 于是找到了我们今天的小主角ConcurrentLinkedQueue进行鞭打, 说实话草稿我都打好了, 就差临门一脚, 给踢折了 直接看问题, idea在Debug和非Debug模式下运行结果不同, vscode复现, eclips ...
分类:
系统相关 时间:
2020-06-29 13:28:18
阅读次数:
57
CVPR2020:端到端学习三维点云的局部多视图描述符 End-to-End Learning Local Multi-View Descriptors for 3D Point Clouds 论文地址: https://openaccess.thecvf.com/content_CVPR_2020 ...
分类:
其他好文 时间:
2020-06-29 11:17:43
阅读次数:
65
调试 pdb pdb是基于命令行的调试工具,非常类似gnu的gdb(调试c/c++)。 命令简写命令作用 break b 设置断点 continue c 继续执行程序 list l 查看当前行的代码段 step s 进入函数 return r 执行代码直到从当前函数返回 quit q 中止并退出 n ...
分类:
数据库 时间:
2020-06-29 10:04:52
阅读次数:
69
C语言传统的类型转换 C方式的类型转换方式:(Type) (Expression)或Type (Expression),后者比较古老。C风格的强制类型转换容易出问题,比较粗暴,如: typedef void(PF)(int); struct Point { int x; int y; }; int ...
分类:
编程语言 时间:
2020-06-29 10:01:27
阅读次数:
53
简介 想不想了解JVM最最底层的运行机制?想不想从本质上理解java代码的执行过程?想不想对你的代码进行进一步的优化和性能提升? 如果你的回答是yes。那么这篇文章非常适合你,因为本文将会站在离机器码最近的地方来观看JVM的运行原理:Assembly。 使用PrintAssembly 小师妹:F师兄 ...
分类:
其他好文 时间:
2020-06-29 09:39:49
阅读次数:
71
CVPR2020:训练多视图三维点云配准 Learning Multiview 3D Point Cloud Registration 源代码和预训练模型:https://github.com/zgojcic/3D_multiview_reg 论文地址: https://openaccess.the ...
分类:
其他好文 时间:
2020-06-29 09:31:56
阅读次数:
235
1.yield实现的功能 yield return: 先看下面的代码,通过yield return实现了类似用foreach遍历数组的功能,说明yield return也是用来实现迭代器的功能的。 using static System.Console; using System.Collectio ...
def count_factors(): n = int(input('input the num:')) num = n res = [] while n > 1: for i in range(2, n+1): if n % i == 0: n = int(n/i) res.append(i) ...
分类:
其他好文 时间:
2020-06-28 20:47:41
阅读次数:
250
1.while循环
2.while嵌套
3.for循环遍历
4.for循环结合range使用
5.break和continue
6.循环语句结合else语句使用 ...
分类:
其他好文 时间:
2020-06-28 18:48:38
阅读次数:
43
Point in triangle test https://blackpawn.com/texts/pointinpoly/ Perspective-Correct Interpolation https://www.comp.nus.edu.sg/~lowkl/publications/lowk ...
分类:
编程语言 时间:
2020-06-28 18:36:12
阅读次数:
51