码迷,mamicode.com
首页 >  
搜索关键字:unless    ( 237个结果
ruby 新建文件夹 fileutils
require 'fileutils' ROOT_DIR = '/home/zn/work/small-tools-master/price/' FileUtils.makedirs(ROOT_DIR) unless File.exists?ROOT_DIR ...
分类:其他好文   时间:2019-08-18 11:32:17    阅读次数:86
二次剩余系解法
(Note: All are taken to mean , unless indicated otherwise).[edit]The algorithm Inputs: p, an odd prime. n, an integer which is a quadratic residue (mo ...
分类:其他好文   时间:2019-08-17 00:48:36    阅读次数:94
BCrypt BCryptPasswordEncoder
package org.linlinjava.litemall.core.util.bcrypt; // Copyright (c) 2006 Damien Miller <djm@mindrot.org> // // Permission to use, copy, modify, and dis... ...
分类:Web程序   时间:2019-08-08 00:15:44    阅读次数:125
Python单元测试框架 —— unittest
文章转自 :https://blog.csdn.net/huilan_same/article/details/52944782 unittest是xUnit系列框架中的一员,如果你了解xUnit的其他成员,那你用unittest来应该是很轻松的,它们的工作方式都差不多。 unittest核心工作原 ...
分类:编程语言   时间:2019-08-03 14:44:50    阅读次数:94
WHAT IS GAME-BASED LEARNING?
https://www.growthengineering.co.uk/what-is-game-based-learning/ Gamification and game-based learning have been hot topics in the world of learning an ...
分类:其他好文   时间:2019-07-29 14:09:14    阅读次数:134
Python语言基础考察点:python语言基础常见考题(一)
一、python是静态还是动态类型?是强类型还是弱类型? 1、动态强类型语言(不少人误以为是弱类型) 不要傻傻分不清 2、动态还是静态指的是编译期还是运行期确定类型 3、强类型指的是不会发生隐式类型转换 若类型语言 强类型语言 4、python作为后端语言优缺点 1、胶水语言、轮子多、应用广泛 2、 ...
分类:编程语言   时间:2019-07-26 17:24:19    阅读次数:231
二分查找小结
Templates These templates come from "LeetCode" . Tips The tip below comes from "LeetCode 278. First Bad Version" . If you are setting , you have to be ...
分类:其他好文   时间:2019-07-07 09:20:37    阅读次数:123
unless|until|LABEL|{}|last|next|redo| || |//|i++|++i
1 #!/usr/bin/perl 2 3 use strict; 4 use warnings; 5 6 $_ = 'oireqo````'; 7 8 unless($_ =~ /^a/m){print "no match to a\n"} 9 10 #no match to a 11 12 if... ...
分类:其他好文   时间:2019-06-30 17:31:00    阅读次数:113
用字符串对列表赋值,一个字符串对应一个列表元素,eg: my @escaped = "asteriskasterisk hash access unpack_func";
my @escaped = "asteriskasterisk hash access unpack_func"; # 是一个元素的赋值 25 unless( $escaped[1] ){ 26 print "\$escaped[1] is undef."; 27 } 输出:$escaped[1] ...
分类:数据库   时间:2019-06-18 10:42:49    阅读次数:153
Qwidget::update
void QWidget::update ()分析重绘事件激活 1看看手册中这段话 void QWidget::update () [slot] Updates the widget unless updates are disabled or the widget is hidden. This ...
分类:其他好文   时间:2019-06-10 23:37:20    阅读次数:172
237条   上一页 1 ... 4 5 6 7 8 ... 24 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!