本文主要介绍Java—线程池ThreadPoolExecutor详解。 ...
分类:
编程语言 时间:
2020-05-03 20:20:00
阅读次数:
69
``` import java.util.LinkedList; /** * @Author 昊 * @Create 2020/5/2 9:34 * @Description 临界资源,存放汉堡 */ public class Box { //要进行频繁的删除操作所以使用LinkedList pri... ...
分类:
编程语言 时间:
2020-05-02 21:22:28
阅读次数:
77
用 K.set_image_data_format('channels_first')K.image_data_format();替换网上的博客,不讲前因后果,这样真的不好。上官网一看就明白了。 https://keras.io/backend/#set_image_data_format ...
分类:
其他好文 时间:
2020-05-02 19:15:24
阅读次数:
316
$fhq Tree$ 区间翻转——$tag$的妙用 对于$fhq$树的基础知识,参见 "非旋(fhq) Treap 小记" 全篇采用结构体记录树的相关信息: $\frak{First.}$另一种实现$split$的方法 按子树大小分裂:将这棵树按照某个值$x$分裂成两棵子树,其中一棵包含权值小的前$ ...
分类:
其他好文 时间:
2020-05-02 18:41:46
阅读次数:
58
关于css中选择器的小归纳 一、基本选择器 基本选择器是我们平常用到的最多的也是最便捷的选择器,其中有元素选择器(类似于a,div,body,ul),类选择器(我们在HTML标签里面为其添加的class),ID选择器(与类选择器类似),普遍选择器(*),并且选择器(类似“p.one#first”的写 ...
分类:
Web程序 时间:
2020-05-02 17:03:35
阅读次数:
59
1. 打jar包, idea有坑 https://www.jetbrains.com/help/idea/2020.1/creating-and-running-your-first-java-application.html?utm_campaign=IU&utm_content=2020.1&u ...
分类:
编程语言 时间:
2020-05-02 16:49:59
阅读次数:
57
The task of this problem is simple: insert a sequence of distinct positive integers into a hash table first. Then try to find another sequence of inte ...
分类:
其他好文 时间:
2020-05-02 15:11:59
阅读次数:
52
这本书是18年买的了,当时我买了一堆书,以为自己不会成为屯书的仓鼠,没想到当时看了200页不到就再也没看;如今再次翻开,是因为参加 码农翻身 的读书活动,当年买书时还在的小仓鼠也飞天一年了= = 但还好当初我读了一些,这本书的前言部分教会了我一些学习方法。在我还上学时,我总觉得因为我太笨,不够聪明, ...
分类:
其他好文 时间:
2020-05-02 14:57:28
阅读次数:
67
1807. 斐波纳契数列简单 中文English Find the Nth number in Fibonacci sequence. A Fibonacci sequence is defined as follow: The first two numbers are 0 and 1. The ...
分类:
其他好文 时间:
2020-05-02 11:35:04
阅读次数:
61
代码在这 <div> <input type="range" id="myRange"> <span id="output"></span> <div> <progress id="myProgress" max="100"></progress> </div> </div> function to ...