open SYSCALL_DEFINE3(open, const char __user *, filename, int, flags, umode_t, mode) { ...... return do_sys_open(AT_FDCWD, filename, flags, mode); } l ...
分类:
其他好文 时间:
2021-06-15 17:45:08
阅读次数:
0
一、找到模板需要填写的位置 二、可填写的参数如下: # {PROJECT_NAME} - -当前项目的名称 # {NAME} - --新文件名称 # {USER} - -当前用户的登录名 # {DATE} - -当前的系统日期 # {TIME} - -当前系统时间 # {YEAR} - -年 # { ...
分类:
其他好文 时间:
2021-06-13 10:47:52
阅读次数:
0
使用jpa时,我们需要继承至JpaRepository 继承之后,可以写HQL或者通过方法名自动生成SQL语句 生成SQL语句时JPA中的常用关键字 And 等价于 SQL 中的 and 关键字, 比如 findByUsernameAndPassword(String user, String pw ...
分类:
其他好文 时间:
2021-06-13 10:29:36
阅读次数:
0
mysql-索引 21.6.12【索引的分类】 单列索引:索引加在一个列上 普通索引(normal): alter table user add index `name`(`name`) 唯一索引(unique): alter table user add unique index `code`(` ...
分类:
数据库 时间:
2021-06-13 10:24:21
阅读次数:
0
1. Units(单位) 配置大小单位,开头定义了一些基本的度量单位,只支持bytes,不支持bit 大小写不敏感 # Note on units: when memory size is needed, it is possible to specify # it in the usual for ...
分类:
其他好文 时间:
2021-06-13 10:22:30
阅读次数:
0
const myEchart = echarts.init(document.getElementById('main')) const options = { xAxis: { data: ['小明', '夏红', '君子', '闰土', '明', '红', '子', '土'], type: 'c ...
分类:
其他好文 时间:
2021-06-13 10:16:48
阅读次数:
0
nginx.conf配置 #user nobody; user www www; worker_processes 8; #error_log logs/error.log; #error_log logs/error.log notice; #error_log logs/error.log in ...
分类:
其他好文 时间:
2021-06-13 09:55:40
阅读次数:
0
1 数据库不能分离(分离时,老提示占用) --查询数据库得连接Idselect spid from sysprocesses where dbid=db_id('test') kill 61 --这个是上边语句的查询结果 --分离数据库 use master go exec sp_detach_db ...
分类:
数据库 时间:
2021-06-13 09:30:56
阅读次数:
0
Rsync+Notify: yum install make gcc gcc-c++ 客户端启动rsync port:873/usr/local/rsync/bin/rsync --daemon --config=/usr/local/rsync/rsync.conf Client:tar xf r ...
分类:
其他好文 时间:
2021-06-13 09:26:06
阅读次数:
0
本文将介绍MySQL参数的五大类设置,平时我们一般都很少碰它们,在进行MySQL性能调优和故障诊断时这些参数还是非常有用的。 (一)连接 连接通常来自Web服务器,下面列出了一些与连接有关的参数,以及该如何设置它们。 1、max_connections 这是Web服务器允许的最大连接数,记住每个连接 ...
分类:
数据库 时间:
2021-06-11 19:00:25
阅读次数:
0