GC需要完成的三个件: 哪些内存需要回收 ?什么时候回收? 如何回收? java内存运行时区域中程序计数器,虚拟机栈,本地方法栈3个区域随线程而生,随线程而灭,栈中的栈帧随着方法的进入和退出 而有条不紊的执行着出栈和入栈操作。每一个桢帧中分配多少内存基本上是类结构确定下来就已知的,因此这个区域的内存 ...
分类:
其他好文 时间:
2019-09-07 13:11:22
阅读次数:
92
Markdown 学习记录 Markdown 简介 Markdown是一种轻量级标记语言,创始人为约翰·格鲁伯(英语:John Gruber)。它允许人们“使用易读易写的纯文本格式编写文档,然后转换成有效的XHTML(或者HTML)文档”。[4]这种语言吸收了很多在电子邮件中已有的纯文本标记的特性。 ...
分类:
其他好文 时间:
2019-09-06 01:03:27
阅读次数:
69
点击这里查看JetBrains官方英文源文件本篇Blog只是搬运外加大概翻译一下。File template variablesA file template can contain variables, which are replaced by their values when the tem... ...
分类:
其他好文 时间:
2019-09-01 23:55:58
阅读次数:
182
链接:https://vjudge.net/problem/POJ-3278 Farmer John has been informed of the location of a fugitive cow and wants to catch her immediately. He starts a ...
分类:
其他好文 时间:
2019-09-01 01:49:14
阅读次数:
140
input()函数接受一个标准输入数据,返回为 string 类型。a = input("Input your name: ")print(a)运行结果Input your name: 此时会有光标闪烁,提示用户进行输入。这里输入“John”:结果Input your name: JohnJohn返... ...
分类:
编程语言 时间:
2019-08-31 17:14:23
阅读次数:
73
一、cookie的生命周期 设置Cookie对象的有效时间, setMaxAge()方法便可以设置Cookie对象的有效时间, 例如:Cookie c = new Cookie("username","john"); c.setMaxAge(60);//60秒的意思 c.setMaxAge(60*6 ...
分类:
Web程序 时间:
2019-08-29 13:48:00
阅读次数:
96
题目描述 Farmer John has installed a new system of N-1N?1 pipes to transport milk between the NN stalls in his barn (2 \leq N \leq 50,0002≤N≤50,000), conv ...
分类:
其他好文 时间:
2019-08-28 22:38:18
阅读次数:
105
Cows Time Limit: 3000MS Memory Limit: 65536K Total Submissions: 24787 Accepted: 8296 Description Farmer John's cows have discovered that the clover gr ...
分类:
编程语言 时间:
2019-08-27 22:52:22
阅读次数:
95
描述Farmer John has built a new long barn, with N (2 <= N <= 100,000) stalls. The stalls are located along a straight line at positions x1,...,xN (0 <= ...
分类:
其他好文 时间:
2019-08-27 21:27:16
阅读次数:
111
1.有冲突时可以用 git status查看 2.通过git log查看commit 参考:https://www.jianshu.com/p/f2fa0a590370 (1)通过author commiter等搜索 git log --author="John" 它接受正则表达式,返回所有作者名字 ...
分类:
其他好文 时间:
2019-08-24 23:14:51
阅读次数:
181