码迷,mamicode.com
首页 >  
搜索关键字:for loop    ( 3149个结果
JS事件循环机制(宏任务,微任务)
1: 宏任务:包括整体js代码(script标签下的同步任务代码),setTimeout,setInterval; 2: 微任务:Promise.then(),process.nextTick(Node.js); 3: JS 事件循环机制(event loop) (1) 首先执行宏任务,遇到setT ...
分类:Web程序   时间:2020-06-01 12:03:28    阅读次数:108
pl/sql控制结构
1、while 循环:当条件成立执行循环体,否则跳出循环 语法结构 while 条件 loop 循环体 end loop; eg:1加到3的循环体 declare ls_number number:=0;--结果值i number:=1;--计数器begin while i<=3 loop ls_n ...
分类:数据库   时间:2020-05-28 16:32:29    阅读次数:76
redis 源码阅读之 redis.c
Misc /* Resize */ for (j = 0; j < dbs_per_call; j++) { tryResizeHashTables(resize_db % server.dbnum); resize_db++; } /* Rehash */ if (server.activereh ...
分类:其他好文   时间:2020-05-27 01:06:53    阅读次数:83
Python-GUI程序设计-3
代码1: import tkinter.filedialog from tkinter import * from tkinter import messagebox def OpenFile(): filename=filedialog.askopenfilename() messagebox.s ...
分类:编程语言   时间:2020-05-25 17:30:16    阅读次数:67
Swiper插件轮播设置了autoplay滚动速度很快,延时不起作用(swiper版本问题导致)
let appSwiper = new Swiper ('.applet-swiper-container', { direction: 'horizontal', // 垂直切换选项 loop: true, // 循环模式选项 autoplay: true, }); autoplay:true 默 ...
分类:其他好文   时间:2020-05-25 16:03:44    阅读次数:635
mysql 官方文档之Optimization( 8.2 Optimizing SQL Statements)
索引下推 Block Nested-Loop and Batched Key Access Joins BNL 开启bka SET optimizer_switch='mrr=on,mrr_cost_based=off,batched_key_access=on'; Multi-Range Read ...
分类:数据库   时间:2020-05-25 15:36:14    阅读次数:74
[Bash Scripting LOOP]for, while. until
#!/bin/bash for item in * do if [ -f $item ] then echo $item fi done for do done if then (elif...then...) (else) fi ...
分类:其他好文   时间:2020-05-25 00:19:28    阅读次数:49
语义分割:基于openCV和深度学习(二)
语义分割:基于openCV和深度学习(二) Semantic segmentation in images with OpenCV 开始吧-打开segment.py归档并插入以下代码: Semantic segmentation with OpenCV and deep learning # imp ...
分类:其他好文   时间:2020-05-24 13:24:54    阅读次数:51
VB 循环语句
一、Do...Loop 语句 当条件为 True 时,或直到条件变为 True 时,重复执行一个语句块中的命令。 语法 Do [{While | Until} condition][statements][Exit Do][statements] Loop 或者可以使用下面这种语法: Do[stat ...
分类:其他好文   时间:2020-05-24 10:02:45    阅读次数:58
部分代码展示
(1)登陆选择 1 class Choice(wx.Frame): 2 def __init__(self, parent, id): 3 wx.Frame.__init__(self, parent, id, title = "登录选择", pos = (700, 300), size =(400 ...
分类:其他好文   时间:2020-05-23 11:24:49    阅读次数:38
3149条   上一页 1 ... 12 13 14 15 16 ... 315 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!