/** @JsonRpcMethod- delFile*/ public function delFile($data){ if(empty($data->filename)){ throw new Exception('参数错误',3104); }else{ $filename = $data-> ...
分类:
Web程序 时间:
2020-12-15 11:58:30
阅读次数:
3
fcntl.h 头文件,file control的缩写。 int open(const char *path, int oflag) int openat(int fd, const char *path, int oflag) 将准备打开的文件或是设备的名字作为参数path传给函数,oflags用 ...
分类:
系统相关 时间:
2020-12-14 13:52:10
阅读次数:
8
1、下载jdk oracle->products->java 2、关于其他jdk配置 JDK12之后无JRE的安装,JDK本身包含专用JRE。 解决: 打开cmd,cd到(安装目录下)D:\Java\jdk-13 ,然后输入并运行命令:bin\jlink.exe --module-path jmod ...
分类:
编程语言 时间:
2020-12-14 13:47:11
阅读次数:
6
Buffered 缓冲流:可以加快节点流的读写效率 字节缓冲流: BufferedInputStream 字节输入缓冲流 BufferedOutputStream 字节输出缓冲流 没有新增方法,可以发生多态 使用: InputStream is = new BufferedInputStream(n ...
分类:
编程语言 时间:
2020-12-14 13:41:41
阅读次数:
5
下面这个工具包下的函数 package utils import ( "crypto/md5" "encoding/hex" ) //md5加密 func Md5(src string) string { m := md5.New() m.Write([]byte(src)) res := hex. ...
分类:
其他好文 时间:
2020-12-14 13:19:12
阅读次数:
3
用于检查和配置组的最大一致性实例的函数以下函数使您能够检查和配置组可以并行执行的最大一致性实例数。●group_replication_get_write_concurrency()检查组可以并行执行的一致性实例的最大数量。语法:INTgroup_replication_get_write_concurrency()此函数没有参数。返回值:当前为组设置的最大一致性实例数。示例:SELECTgrou
分类:
数据库 时间:
2020-12-14 13:08:51
阅读次数:
4
Description: Given a (singly) linked list with head node root, write a function to split the linked list into k consecutive linked list "parts". The l ...
分类:
其他好文 时间:
2020-12-14 13:00:34
阅读次数:
3
最右边的数组元素。MySQL支持last关键字,作为数组中最后一个元素的索引的同义词。last-N形式的表达式可用于相对寻址和范围定义,如下所示:如果不是针对数组计算路径,则求值结果与将该值包装在单个元素数组中的结果相同:可以使用带有JSON列标识符和JSON路径表达式column->path的形式,用作JSON_EXTRACT(column,path)的同义词。有些函数获取现有的JSON文
分类:
数据库 时间:
2020-12-11 12:37:31
阅读次数:
21
python 获取一个文件夹内(包括子文件夹)所有文件的名字和路径 import os dir = "e:\\" for root, dirs, files in os.walk(dir): for file in files: print os.path.join(root,file) 1 2 3 ...
分类:
编程语言 时间:
2020-12-11 12:35:40
阅读次数:
25
系统: Ubuntu18.04 vmware 环境搭建 安装SDK https://dl.google.com/android/repository/platform-tools-latest-linux.zip 执行命令: unzip platform-tools-latest-linux.zip ...
分类:
其他好文 时间:
2020-12-11 12:34:15
阅读次数:
23