一、自定义函数参数 1.种类 (1)位置参数 "x"就是位置参数 (2)默认参数 "n"就是默认参数 (3)可变参数 "numbers"就是可变参数,调用calc函数时,变元numbers是一个列表 (4)关键字参数 "**every"是关键字参数 (5)命名关键字参数 "*"后面的就是命名关键字 ...
分类:
编程语言 时间:
2018-04-27 22:53:40
阅读次数:
169
转自https://www.2cto.com/kf/201803/727574.html 如果你还没有听说过 3 点钟区块链群,说明你还不是链圈的人;如果你还没有加入 3 点钟区块链群,说明你还不是链圈的大佬;如果你还没有被 3 点钟区块链群刷屏,说明你还体会不到什么是“币圈一天,人间一年”。 “三 ...
分类:
其他好文 时间:
2018-04-27 21:06:04
阅读次数:
371
1、新建maven项目,File → New → Other...,选择Maven Project 2、点击Next,配置项目工作空间和所属的组(可以不进行修改,默认的就可以) 3、点击Next,选择maven-archetype-webapp 4、点击Next,填写Group id和Artifac ...
分类:
Web程序 时间:
2018-04-27 19:45:02
阅读次数:
217
1、全局对象 var a=100; function fun(){ a = true; console.log(window.a); } window.fun(); 全局变量 属于window这个对象的属性 只有全局对象才对他产生影响 window这个全局对象是js操作浏览器的句柄在<script> ...
分类:
其他好文 时间:
2018-04-27 19:38:48
阅读次数:
139
快速生成insert update select 语句 declare sText VARCHAR2(3000); sTable varchar2(30); begin sTable := '&Tablename'; select get_sql_insert(sTable) INTO sText ...
分类:
数据库 时间:
2018-04-27 12:13:22
阅读次数:
282
A. Love Triangle A. Love Triangle As you could know there are no male planes nor female planes. However, each plane on Earth likes some other plane. T ...
分类:
其他好文 时间:
2018-04-27 02:26:54
阅读次数:
279
摘抄自:https://www.ibm.com/developerworks/cn/analytics/library/ba-cn-apache-spark-memory-management/index.html 一、概述 Spark 作为一个基于内存的分布式计算引擎,其内存管理模块在整个系统中扮 ...
分类:
其他好文 时间:
2018-04-26 23:16:47
阅读次数:
220
在SQL中我们经常用到null值, 那么什么是NULL?如下是MSDN给出的一段简短描述(见“Null Values”):?A value of NULL indicates that the value is unknown. A value of NULL is different from a ...
分类:
数据库 时间:
2018-04-26 12:13:33
阅读次数:
177
Vuex 是一个专为 Vue.js 应用程序开发的状态管理模式。它采用集中式存储管理应用的所有组件的状态,并以相应的规则保证状态以一种可预测的方式发生变化。 状态管理模式、集中式存储管理,一听就很高大上,蛮吓人的。在我看来 vuex 就是把需要共享的变量全部存储在一个对象里面,然后将这个对象放在顶层 ...
分类:
其他好文 时间:
2018-04-26 01:20:11
阅读次数:
297
Contrary to the other answers, there is no undefined behavior here, and there is no overflow. Unsigned integers use modulo 2n arithmetic. Section 4.7 ...
分类:
编程语言 时间:
2018-04-25 15:59:42
阅读次数:
168