码迷,mamicode.com
首页 >  
搜索关键字:all in one    ( 50303个结果
python判断字典值或键在不在字典里
dict1={'name':'Lara','age':18} #判断键在不在字典中 for one in dict1: if 'name' in dict1:#或dict1.keys() print('key在字典中!') break #判断值在不在字典中 for one in dict1: if ...
分类:编程语言   时间:2021-04-16 12:04:54    阅读次数:0
Clickhouse SQL查询技巧
clickhouse 在关联不上的情况会返回0值,而不是MySQL返回Null select * from (select 1 as a union all select 2 as a union all select 3 as a union all select 0 as a union all ...
分类:数据库   时间:2021-04-16 12:01:37    阅读次数:0
hutool的DateUtil工具类
hutool的DateUtil工具类 1.0、DateUitl(日期时间) 0)坐标 <dependency> <groupId>cn.hutool</groupId> <artifactId>hutool-all</artifactId> <version>5.3.9</version> </de ...
分类:其他好文   时间:2021-04-15 12:45:15    阅读次数:0
Xpath表达式text()和string()的用法和区别
获取结点下字符串 text() selects all text node children of the context node text()获取当前结点下的子文本结点.(不是获取后裔结点的文本结点) 注意,text()不是函数,是文本结点,文本结点从属于其父结点,所以./text()只能获取位 ...
分类:其他好文   时间:2021-04-15 12:43:34    阅读次数:0
关于synchronized
1:对synchronized的理解: 1.1 :假设t1和t2并发,开始执行时肯定有先有后 1.2:假设t1先执行,看到synchronized这个时候自动找“后面的共享对象”的对象锁,找到后并占有锁,然后执行后面同步代码块,在程序执行过程一直都是占有这把锁,直到同步代码块结束,锁才释放。 1.3 ...
分类:其他好文   时间:2021-04-15 12:38:55    阅读次数:0
Jira学习----缺陷信息与缺陷跟踪流程
缺陷的信息: 缺陷严重程度:给开发指明当前重点;方便领导把控产品状态。(测试定的) 致命 严重 一般 建议 缺陷报告样例:(目的描述缺陷,使开发能够重现缺陷过程) 缺陷标题, 类型, 缺陷内容:(前置条件,重现步骤,期望结果与实际结果) 优先级, 缺陷严重程度。 缺陷常见4状态:新建(测试发起缺陷) ...
分类:其他好文   时间:2021-04-15 12:37:40    阅读次数:0
re模块函数(正则表达式)
一、正则表达式对象 obj = compile(pattern,flags = 0) 功能:获得正则表达式对象 参数:pattern:正则表达式 flags:功能标志位,提供更丰富的匹配 返回值:正则表达式对象 obj.findall(string,pos,endpos) 功能:通过正则表达式匹配字 ...
分类:其他好文   时间:2021-04-15 12:27:31    阅读次数:0
Count IP Addresses(codewar)
题目: Implement a function that receives two IPv4 addresses, and returns the number of addresses between them (including the first one, excluding the la ...
分类:其他好文   时间:2021-04-15 12:16:50    阅读次数:0
去掉网页一直点击出现蓝色背景的效果
body, html{ -moz-user-select: none; /*火狐*//*选中文字时避免出现蓝色背景*/ -webkit-user-select: none; /*webkit浏览器*//*选中文字时避免出现蓝色背景*/ -ms-user-select: none; /*IE10*// ...
分类:Web程序   时间:2021-04-15 12:13:30    阅读次数:0
RuntimeError: CUDA error: device-side assert triggered的解决
参考资料:自己debug 首先,我报错的问题的文本是:RuntimeError: CUDA error: device-side assert triggered以及 Assertion `input_val >= zero && input_val <= one` failed 把这两个文本放在前 ...
分类:其他好文   时间:2021-04-15 12:08:09    阅读次数:0
50303条   上一页 1 ... 26 27 28 29 30 ... 5031 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!