前言 我们都知道 Go 语言中的 slice 具有动态扩容的机制(不知道的同学请先补课 Go 切片) 但是其底层机制是什么呢?本着知其然,知其所以然的探索精神去研究一番。还不是为了应试 手动狗头 go version go1.15.6 windows/amd64 扩容 既然是八股文,哪就先说结论,切 ...
分类:
其他好文 时间:
2021-06-09 10:36:53
阅读次数:
0
java文件中包含3700行 /** * Returns the {@code Class} object associated with the class or * interface with the given string name. Invoking this method is * e ...
分类:
编程语言 时间:
2021-06-09 10:31:41
阅读次数:
0
1、首先在AndroidManifest.xml文件中添加internet申请 <uses-permission android:name="android.permission.INTERNET"/> 2、然后在build.gradle文件中添加相应的依赖(添加后点击下载,后台就会自动下载相应的j ...
分类:
Web程序 时间:
2021-06-08 23:37:55
阅读次数:
0
springCloud 1、创建一个简单的springcloud项目 先看基本项目结构 springcloud:父项目,总项目,对jar包版本等管控 springcloud-api:api主要是提供实体类的一个api模块 spring-cloud-provide-***-host:这个是一个服务提供 ...
分类:
编程语言 时间:
2021-06-08 23:36:55
阅读次数:
0
Linux uniq 命令用于检查及删除文本文件中重复出现的行列,一般与 sort 命令结合使用。 uniq 可检查文本文件中重复出现的行列。 语法 uniq [-cdu][-f<栏位>][-s<字符位置>][-w<字符位置>][--help][--version][输入文件][输出文件] 参数: ...
分类:
系统相关 时间:
2021-06-08 23:36:09
阅读次数:
0
创建maven web工程 在pom.xml中导入依赖: <dependencies> <dependency> <groupId>javax.servlet</groupId> <artifactId>servlet-api</artifactId> <version>2.5</version> ...
分类:
其他好文 时间:
2021-06-08 23:31:21
阅读次数:
0
<runtime> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> <dependentAssembly> <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30AD ...
分类:
Web程序 时间:
2021-06-08 23:12:21
阅读次数:
0
1、添加mybatis依赖 <dependency> <groupId>org.mybatis.spring.boot</groupId> <artifactId>mybatis-spring-boot-starter</artifactId> <version>1.3.2</version> </ ...
分类:
编程语言 时间:
2021-06-08 22:31:11
阅读次数:
0
jstl Maven 依赖导致的 Jar 包冲突 <dependency> <groupId>javax.servlet.jsp.jstl</groupId> <artifactId>jstl-api</artifactId> <version>1.2</version> </dependency> ...
分类:
编程语言 时间:
2021-06-07 21:10:20
阅读次数:
0
一、 . 导出JAR file Export-->JAR file,按如下设置后点“Finish” 二、 1.首先打开Android Studio,新建一个项目 2.接下来展开App目录,找到libs文件夹 3.然后将准备好的Jar包拷贝进去, 4.接着右键Jar包,选择Add As Library ...
分类:
移动开发 时间:
2021-06-07 20:35:17
阅读次数:
0