码迷,mamicode.com
首页 >  
搜索关键字:fi    ( 3021个结果
Game Console参数指北
一、Xbox Series X 优点: 体积控制良好,外形简洁靓丽 缺点: 没有USB Type-C接口 不支持Wi-Fi 6 无法扩充标准M.2 SSD 没有10Gbps USB接口 二、PlayStation 5 优点: 有USB Type-C接口 支持Wi-Fi 6和Bluetooth 5.1 ...
分类:其他好文   时间:2021-05-25 17:48:22    阅读次数:0
解决Hash冲突的四种方法
1、开放地址法 所谓的开放定址法就是一旦发生了冲突,就去寻找下一个空的散列地址,只要散列表足够大,空的散列地址总能找到,并将记录存入。 公式为:fi(key) = (f(key)+di) MOD m (di=1,2,3,……,m-1) 2、再hash法 再哈希法又叫双哈希法,有多个不同的Hash函数 ...
分类:其他好文   时间:2021-05-25 17:44:53    阅读次数:0
Python os 批量修改文件名
# -*- coding: utf-8 -*-import os#设定文件路径path=r'D:\郭鹏历届真题解析2007-2020'i=1#对目录下的文件进行遍历for file in os.listdir(path):#判断是否是文件 file_name=os.path.join(path,fi ...
分类:编程语言   时间:2021-05-24 09:25:18    阅读次数:0
解决挂载mount: wrong fs type, bad option, bad superblock on
错误如下: mount: wrong fs type, bad option, bad superblock on 192.168.1.7:data/nfsdir2, missing codepage or helper program, or other error (for several fi ...
分类:其他好文   时间:2021-05-24 06:40:25    阅读次数:0
1343. 挤牛奶
贪心。 经典活动安排问题。 注意点 不要忘记最后一个区间对最长连续挤奶时间区间的更新。 const int N=5010; PII a[N]; int n; int main() { cin>>n; for(int i=0;i<n;i++) cin>>a[i].fi>>a[i].se; sort(a ...
分类:其他好文   时间:2021-05-04 16:30:13    阅读次数:0
Hadoop集群管理脚本
这里介绍两个常用的管理hadoop集群的脚本 hadoop集群启停脚本myhadoop.sh #!/bin/bash if [ $# -lt 1 ] then echo "No Args Input..." exit ; fi case $1 in "start") echo " 启动 hadoop ...
分类:其他好文   时间:2021-05-04 15:28:54    阅读次数:0
java的file创建文件/夹
import java.io.File; import java.io.IOException; public class FileDemo2 { public static void main(String[] args) throws IOException { //1.创建文件 File fi ...
分类:编程语言   时间:2021-05-03 12:20:19    阅读次数:0
linux shell if语句
1、测试1 [root@centos7 test2]# ls a.txt [root@centos7 test2]# if [ -e a.txt ]; then echo "exist";else echo "no nxist"; fi exist [root@centos7 test2]# if ...
分类:系统相关   时间:2021-04-23 11:53:02    阅读次数:0
shell-script - shell 如何获取 nginx 配置文件位置?
通过nginx -t获得 nginx=`nginx -t 2>&1 | grep configuration` if [ ! -z "$nginx" ];then nginxtmp="${nginx#*file}" nginxf="${nginxtmp%test*}" echo $nginxf fi ...
分类:系统相关   时间:2021-04-19 15:38:16    阅读次数:0
OpenHarmony 1.1.0 LTS 正式发布
OpenHarmony 1.1.0 LTS 版本已发布。相比OpenHarmony 1.0版本,1.1.0 LTS版本新增AI子系统、电源管理子系统、泛Sensor子系统、升级子系统,及统一AI引擎框架。 LiteOS-M 内核完成三方可移植性重构。驱动子系统完善了Wi-Fi、Sensor、Inpu ...
分类:其他好文   时间:2021-04-13 11:56:34    阅读次数:0
3021条   上一页 1 2 3 4 ... 303 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!