码迷,mamicode.com
首页 >  
搜索关键字:any    ( 7409个结果
python3 内置函数
内置函数的作用: # abs() # 取绝对值,绝对路径 # all() # 判断可迭代对象(列表,集合等)的值是不是全部为ture # any() # 判断可迭代对象,任意一个为ture,则返回true。空列表也是false # ascii() # 把数据转换成字符串的形式 # # bin() # ...
分类:编程语言   时间:2019-12-08 15:43:51    阅读次数:85
[LC] 211. Add and Search Word - Data structure design
Design a data structure that supports the following two operations: void addWord(word) bool search(word) search(word) can search a literal word or a r ...
分类:其他好文   时间:2019-12-08 12:46:54    阅读次数:66
从零学scala(九)类型参数、高级类型
一:类型参数 泛型类 //泛型类,基本和java是一致的 class Pair[T,S](val first:T,val second:S) val pair1 = new Pair("42",42) val pair2 = new Pair[Any,Any](42,"42") 泛型函数 //返回数 ...
分类:其他好文   时间:2019-12-08 12:41:21    阅读次数:130
python测试mysql数据库性能(二)
一,普通写入数据库 二,批量写入数据库 三,普通写入数据库添加事务 输出结果: ...
分类:数据库   时间:2019-12-08 10:45:06    阅读次数:135
操作关联表方法
mysql> CREATE DATABASE student_tb;Query OK, 1 row affected mysql> USE student_tb;Database changed mysql> CREATE TABLE department( -> did int(4) NOT NU ...
分类:其他好文   时间:2019-12-08 01:32:56    阅读次数:111
671. Second Minimum Node In a Binary Tree
Given a non-empty special binary tree consisting of nodes with the non-negative value, where each node in this tree has exactly two or zero sub-node. ...
分类:其他好文   时间:2019-12-07 21:15:30    阅读次数:99
Codeforces Round #604 (Div. 2) D. Beautiful Sequence(构造)
链接: https://codeforces.com/contest/1265/problem/D 题意: An integer sequence is called beautiful if the difference between any two consecutive numbers is ...
分类:其他好文   时间:2019-12-07 01:19:52    阅读次数:89
JS如何获取地址栏url后面的参数?
本文不再更新,可能存在内容过时的情况,实时更新请移步我的新博客: "JS如何获取地址栏url后面的参数?" ; 这里提供了两种获取地址栏url后面参数的方法: 方式1 传参: 获取参数: 方式2 传参: 获取参数: 参考文章: 1. URLSearchParams; 2. Is there any ...
分类:Web程序   时间:2019-12-06 21:40:34    阅读次数:184
【转】以Python为例的Async / Await的编程基础
转, 原文:https://www.cnblogs.com/middleware/p/11996731.html 以Python为例的Async / Await的编程基础 来源:Redislabs 作者:Loris Cro 翻译:Kevin (公众号:中间件小哥) 近年来,许多编程语言都在努力改进它 ...
分类:编程语言   时间:2019-12-06 21:08:40    阅读次数:126
clip-path 加边框border
最近些项目,需求是写一个箭头图案,想着就用clip-path来写,但是写到后来发现clip-path 无法加边框,最后用了个死办法写了出来,仅供参考 下图是设计图 如下是实现方案(就是写两层,外面一层灰色,里面一层白色覆盖) <template> <section class="moveCompan ...
分类:其他好文   时间:2019-12-06 19:38:09    阅读次数:272
7409条   上一页 1 ... 78 79 80 81 82 ... 741 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!