Allure常用的注解 Feature: 标注主要功能模块Story: 标注Features功能模块下的分支功能Severity: 标注测试用例的重要级别Step: 标注测试用例的重要步骤Issue和TestCase: 标注Issue、Case,可加入URL 1、Features定制详解 执行命令: ...
分类:
其他好文 时间:
2020-06-22 01:13:13
阅读次数:
54
1 概要 switch case语句 for循环语句 goto语句 字符串的格式化 运算符 2 switch case语句 package main func main() { /*switch 1 + 1 { case 1: fmt.Println("equal one") case 2: fmt ...
分类:
其他好文 时间:
2020-06-21 15:42:26
阅读次数:
51
最近将windows上的mysql数据库导入到阿里云上,结果项目一直报错,提示表不存在,网上查了下应该是mysql的配置导致的,找到mysql的配置文件,我的配置文件叫“my.cnf”,在最后加一行“lower_case_table_names=1” 加上配置之后记得重启数据库 ...
分类:
数据库 时间:
2020-06-21 12:15:31
阅读次数:
52
//用折半查找法找出整型数组中指定元素所在的位置,并输出(折半查找法只能用于有序数列)。 #include<stdio.h> main() { int a[10]={1,3,6,8,9,12,15,16,19,20},n,low,high,mid; scanf("%d",&n);//输入要找的数 l ...
分类:
编程语言 时间:
2020-06-21 09:39:53
阅读次数:
95
前言 HashMap 是无论在工作还是面试中都非常常见常考的数据结构。 比如 Leetcode 第一题 Two Sum 的某种变种的最优解就是需要用到 HashMap 的,高频考题 LRU Cache 是需要用到 LinkedHashMap 的。 HashMap 用起来很简单,底层实现也不复杂,先来 ...
分类:
其他好文 时间:
2020-06-20 14:13:27
阅读次数:
68
Given a string S, consider all duplicated substrings: (contiguous) substrings of S that occur 2 or more times. (The occurrences may overlap.) Return a ...
分类:
其他好文 时间:
2020-06-20 13:20:54
阅读次数:
43
本文主要介绍redis命令行的使用,使用到的软件版本:Java 1.8.0_191、Redis 5.0.8、Jedis 3.3.0。 1、引入依赖 <dependency> <groupId>redis.clients</groupId> <artifactId>jedis</artifactId> ...
分类:
其他好文 时间:
2020-06-20 11:11:21
阅读次数:
68
[root@rhel8 shell]# cat auto_yum_config.sh #!/bin/bash ########################################################################## # yum config case # ...
分类:
系统相关 时间:
2020-06-19 21:05:36
阅读次数:
68
--if 条件判断语句 if 条件判断 then 命令序列1 else 命令序列2 fi [root@iscsi opt]# vim mkmydata.sh #!/bin/bash dir="/opt/mydata" if [ ! -e $dir ] then mkdir -p $dir fi [r ...
分类:
系统相关 时间:
2020-06-19 17:57:08
阅读次数:
67
16进制的 ea 就是10进制的 -22(有符号数据,所以是-22,无符号是234) 第15位是 ea ,获取出来的数据强转为short ,得到的是 -22 ,但是 select case 里面的 case 只会进 case -22 ...
分类:
其他好文 时间:
2020-06-19 12:08:45
阅读次数:
47