package experiment6; public interface ISoundable { public void increaseVolume(); public void decreaseVolume(); public void stopSound(); public void pl ...
分类:
其他好文 时间:
2021-05-24 00:30:07
阅读次数:
0
使用云服务器git clone某个项目时,遇到如下问题: fatal: Out of memory, malloc failed (tried to allocate 2000000000 bytes) 百度后找到如下解决方法: sudo mkdir -p /opt/temp sudo dd if= ...
分类:
其他好文 时间:
2021-05-24 00:26:08
阅读次数:
0
Y7000 window+Ubuntu环境配置总结 双系统装机与环境初始化配置 装机 WiFi+显卡+时间 Nvidia显卡问题 Google浏览器快捷键 搜狗输入法+报错+LOG OUT ...
分类:
系统相关 时间:
2021-05-24 00:14:25
阅读次数:
0
Vue.js 技术揭秘 https://ustbhuangyi.github.io/vue-analysis/v2/prepare/ Vue源码阅读 - 文件结构与运行机制 https://segmentfault.com/a/1190000015440980 ...
分类:
其他好文 时间:
2021-05-23 23:34:12
阅读次数:
0
1 import urllib.request 2 #获取一个get请求 3 response = urllib.request.urlopen("http://www.baidu.com") 打开网页并返回网页内容给response print(response.read().decode('ut ...
分类:
编程语言 时间:
2021-05-23 23:31:18
阅读次数:
0
public class Test { public static void main(String[] args) { // \u000A String s = "Hello World"; String s = "1212"; System.out.println(s); } } 错误:java ...
分类:
编程语言 时间:
2021-05-23 23:09:26
阅读次数:
0
二叉搜索树 二叉搜索树满足这样的性质: 每个节点 x 有一个键值。 节点 x 的键值大于等于左子树的任意节点 y 的键值. 节点 x 的键值小于等于右子树的任意节点 z 的键值. 二叉搜索树的表达 struct Node{ int key; Node*parent ; Node*left; Node ...
分类:
其他好文 时间:
2021-05-23 23:08:30
阅读次数:
0
1. 如何顺序控制goroutine 如何保证在一个 goroutine 中看到在另一个 goroutine 修改的变量的值,如果程序中修改数据时有其他 goroutine 同时读取,那么必须将读取串行化。为了串行化访问,请使用 channel 或其他同步原语,例如 sync 和 sync/atom ...
分类:
其他好文 时间:
2021-05-23 23:08:09
阅读次数:
0
前言 go的测试用例一般分两种 单元测试:主要测试代码可运行正确行,相当于运行一遍编写代码 基准测试:主要是对性能的测试 gotest 的变量 test.short : 一个快速测试的标记,在测试用例中可以使用 testing.Short() 来绕开一些测试 test.outputdir : 输出目 ...
分类:
其他好文 时间:
2021-05-04 16:32:30
阅读次数:
0