码迷,mamicode.com
首页 >  
搜索关键字:interval    ( 2017个结果
什么是防抖和节流?
防抖 解释定义 防抖是指在一定的时间内再次触发此事件,会清空上次的事件重新开始,如果制定的时间内没有再次触发,那么这个事件才会执行 例如: input输入信息,不可能每次按下都发起一个ajax请求,可以等一段时间内不输入了之后在发起请求 代码样例 节流 解释定义 节流是指在一定的时间同一事件只会触发 ...
分类:其他好文   时间:2019-12-11 09:41:33    阅读次数:606
学习-JVM命令
jstat jstat (JVM statistics Monitoring)是用于监视虚拟机运行时状态信息的命令,它可以显示出虚拟机进程中的类装载、内存、垃圾收集、JIT编译等运行数据。 格式: jstat [option] LVMID [interval] [count] 参数: [option ...
分类:其他好文   时间:2019-12-10 13:31:37    阅读次数:101
微信小程序swiper使用网络图片不显示问题
@ wxml代码: <view class="container"> <swiper indicator-dots="true}" autoplay="true" interval="3000" duration="1"> <block wx:for="{{imgUrls}}" wx:key="*t ...
分类:微信   时间:2019-12-08 10:58:53    阅读次数:374
Kafka消费者——结合spring开发
Kafka消费者端 可靠性保证 作为消费端,消费数据需要考虑的是: 1、不重复消费消息 2、不缺失消费消息 自动提交 offset 的相关参数: enable.auto.commit: 是否开启自动提交 offset 功能(true) auto.commit.interval.ms: 自动提交 of ...
分类:编程语言   时间:2019-12-07 23:06:31    阅读次数:140
Vue生命周期
Vue实例有一个完整的生命周期,即开始创建 》初始化数据 》编译模板 》挂载DOM 》渲染 》更新 》渲染 》销毁等一系列过程,这一系列过程我们称之为Vue实例的生命周期,钩子就是在某个阶段给你一个做某些处理的机会。 先上一张图来只管的感受一下Vue的生命周期: Vue生命周期主要以下几个钩子函数: ...
分类:其他好文   时间:2019-12-07 16:15:22    阅读次数:90
Appendix 2- Lebesgue integration and Reimann integration
Lebesgue integration and Reimann integration: Reimann: Split up the axis into equal intervals, then approximate the function within each interval, add ...
分类:移动开发   时间:2019-12-06 13:37:38    阅读次数:86
对于分布式Job的思考
引言 在清理Github的时候,发现以前写的一个简单的分布式任务分发系统 "ClawHub/task distribution" ,使用了zk的选主与队列,调度器使用spring的ThreadPoolTaskScheduler,任务支持cron表达式。 这让我想起在这之前还封装过Quartz,那时候 ...
分类:其他好文   时间:2019-12-05 22:49:46    阅读次数:171
57. Insert Interval
Given a set of non-overlapping intervals, insert a new interval into the intervals (merge if necessary). You may assume that the intervals were initia ...
分类:其他好文   时间:2019-12-04 22:22:54    阅读次数:118
Matplotlib 的使用
Matplotlib 作图工具包,一般配合 numpy 和 pandas 一起使用 导入 import numpy as np import pandas as pd import matplotlib.pyplot as plt # 约定俗成 起别名 plt # 会出现警告,不是错 D:\User ...
分类:其他好文   时间:2019-12-04 21:54:14    阅读次数:111
Python 系统资源信息获取CPU 和内存使用情况
In [6]: psutil.swap_memory()Out[6]: sswap(total=23501340672, used=20144758784, free=3356581888, percent=85.7, sin=0, sout=0) In [7]: psutil.cpu_percen ...
分类:编程语言   时间:2019-12-04 18:40:55    阅读次数:194
2017条   上一页 1 ... 22 23 24 25 26 ... 202 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!