1. 递归 可过,耗时长。 1 class Solution { 2 public: 3 int jumpFloor(int number) { 4 if(number==0) 5 return 0; 6 if(number==1) 7 return 1; 8 if(number==2) 9 ret ...
分类:
其他好文 时间:
2020-04-25 19:26:19
阅读次数:
66
[TOC] Java异步调用实现并发上传下载SMB共享文件 选择异步 通常情况下,上传(下载)多个SMB共享文件这类任务之间不存在依赖关系,可以考虑通过异步调用的方式来实现上传(下载)的并发执行,来充分利用系统资源以提高计算机的处理能力。 来看一下以下载为例该程序最后的运行日志: 其中最直接的体现, ...
分类:
编程语言 时间:
2020-04-25 17:03:11
阅读次数:
71
cmake_minimum_required(VERSION 3.5) project(hello_library) ############################################################ # Create a library ########### ...
分类:
其他好文 时间:
2020-04-25 16:50:46
阅读次数:
78
cmake_minimum_required(VERSION 3.5) project(cmake_examples_install) ############################################################ # Create a library ## ...
分类:
其他好文 时间:
2020-04-25 16:48:02
阅读次数:
73
1.多参数Map接收 1 @RequestMapping(value = "/{version}/{cate}/{article}",method = RequestMethod.GET) 2 public String dynApiDemo(@PathVariable Map<String, St ...
分类:
移动开发 时间:
2020-04-25 16:45:28
阅读次数:
310
version: "3.7" services: mysql: container_name: mysql image: mysql:5.7 #从私有仓库拉镜像 restart: always command: --default-authentication-plugin=mysql_native ...
分类:
数据库 时间:
2020-04-25 16:44:28
阅读次数:
267
# Set the minimum version of CMake that can be used # To find the cmake version run # $ cmake --version cmake_minimum_required(VERSION 3.5) # Set the ...
分类:
其他好文 时间:
2020-04-25 13:10:15
阅读次数:
81
最近做产品开发,同时要支持MySQL与Oracle两种数据库,查了很多关于MySQL与Oracle在数据类型上的差异,下面这些还是比较靠谱的,特记录下。 其中TINYINT在mysql中表示范围是-128-127,对应oracle应该用3位表示,所以应该用NUMBER(3,0)代替,当然后者的范围确 ...
分类:
数据库 时间:
2020-04-25 12:48:46
阅读次数:
128
# Set the minimum version of CMake that can be used # To find the cmake version run # $ cmake --version cmake_minimum_required(VERSION 3.5) # Set the ...
分类:
其他好文 时间:
2020-04-25 12:37:02
阅读次数:
55
操作助手 Using System.Data.SQLite SQLiteConnection m_dbConnection; public SQLiteHelper() { //路径为同项目的sqlite文件夹下的db文件 string connectionstr = string.Format(@ ...
分类:
数据库 时间:
2020-04-25 11:01:11
阅读次数:
112