首页
学习
活动
专区
圈层
工具
发布
    • 综合排序
    • 最热优先
    • 最新优先
    时间不限
  • 来自专栏Unity3d程序开发

    unity3d:定时任务封装类TimeManager

    { get { return _timeDelay; } set { _timeDelay = value; } } , bool repeat, TimeTaskDelegate timeTaskCallBack) { _timeDelay = timeDelay; ; } public TimeTask(float timeDelay, TimeTaskDelegate timeTaskCallBack) : this(timeDelay , bool repeat, TimeTaskDelegate timeTaskCallback) { AddTask(new TimeTask(timeDelay -= Time.deltaTime; if (task.timeDelay <= 0) { if

    37140编辑于 2023-08-24
  • 来自专栏全栈程序员必看

    单片机流水单C语言程序,51单片机流水灯C语言源程序

    *********/ #include #include #include #define uchar unsigned char #define uint unsigned int #define TimeDelay *************************************/ void main(void) { while(1) { Flash1b(); Flash1a(); delay(TimeDelay ); delay(TimeDelay); Flash0b(); Flash0a(); Flash2b(); Flash2a(); Flash1b(); Flash1a(); Flash3b(); Flash3a } } void Flash0a(void) { uchar i; uchar Temp; Temp = 0x80; for(i=0;i<8;i++) { P0 = ~Temp; delay(TimeDelay Flash1a(void) { uchar i; uchar Temp; P1 = 1; Temp = 0x80; for(i=0;i<8;i++) { P1 = ~Temp; delay(TimeDelay

    1.4K20编辑于 2022-08-23
  • 来自专栏码匠的流水账

    聊聊rocketmq的consumeConcurrentlyMaxSpan

    } private void executePullRequestLater(final PullRequest pullRequest, final long timeDelay ) { this.mQClientFactory.getPullMessageService().executePullRequestLater(pullRequest, timeDelay mQClientFactory; } public void executePullRequestLater(final PullRequest pullRequest, final long timeDelay PullMessageService.this.executePullRequestImmediately(pullRequest); } }, timeDelay

    90110发布于 2019-11-23
  • 来自专栏码匠的流水账

    聊聊rocketmq的consumeConcurrentlyMaxSpan

    ​ } ​ private void executePullRequestLater(final PullRequest pullRequest, final long timeDelay ) { this.mQClientFactory.getPullMessageService().executePullRequestLater(pullRequest, timeDelay mQClientFactory; } ​ public void executePullRequestLater(final PullRequest pullRequest, final long timeDelay PullMessageService.this.executePullRequestImmediately(pullRequest); } }, timeDelay

    1.2K00发布于 2019-11-18
  • RocketMQ 消费进度持久化

    this.delayLevelTable.entrySet()) { Integer level = entry.getKey(); Long timeDelay ) { offset = 0L; } // 初始化延迟调度任务 if (timeDelay

    26510编辑于 2024-09-20
  • 来自专栏码匠的流水账

    聊聊rocketmq的pullInterval

    private void executePullRequestLater(final PullRequest pullRequest, final long timeDelay) { this.mQClientFactory.getPullMessageService ().executePullRequestLater(pullRequest, timeDelay); } //...... } pullCallback的onSuccess

    53120发布于 2019-11-27
  • 来自专栏码匠的流水账

    聊聊rocketmq的pullInterval

    private void executePullRequestLater(final PullRequest pullRequest, final long timeDelay) { this.mQClientFactory.getPullMessageService ().executePullRequestLater(pullRequest, timeDelay); } ​ //...... } pullCallback的onSuccess

    2K00发布于 2019-11-23
  • 来自专栏码匠的流水账

    聊聊rocketmq的pullThresholdForQueue

    //...... } private void executePullRequestLater(final PullRequest pullRequest, final long timeDelay ) { this.mQClientFactory.getPullMessageService().executePullRequestLater(pullRequest, timeDelay

    1.2K10发布于 2019-11-25
  • 来自专栏码匠的流水账

    聊聊rocketmq的pullThresholdForQueue

    //...... } ​ private void executePullRequestLater(final PullRequest pullRequest, final long timeDelay ) { this.mQClientFactory.getPullMessageService().executePullRequestLater(pullRequest, timeDelay

    1.1K00发布于 2019-11-21
  • 来自专栏码匠的流水账

    聊聊rocketmq的ScheduleMessageService

    this.delayLevelTable.entrySet()) { Integer level = entry.getKey(); Long timeDelay if (null == offset) { offset = 0L; } if (timeDelay

    1.1K20发布于 2019-12-24
  • 来自专栏前端社区

    Javascript闭包

    JohnMerlino 对Ali说: 这里有一个不用return关键字的闭包例子: function closureExample(objID, text, timedelay) { setTimeout (function() { document.getElementById(objID).innerHTML = text; }, timedelay); } closureExample

    1K20发布于 2019-03-21
  • 来自专栏全栈程序员必看

    rocketmq延迟队列原理_rocketmq延迟队列原理

    Map.Entry<Integer, Long> entry : this.delayLevelTable.entrySet()) { Integer level = entry.getKey(); Long timeDelay entry.getValue(); Long offset = this.offsetTable.get(level); if (null == offset) { offset = 0L; } if (timeDelay

    2.6K20编辑于 2022-11-17
  • 来自专栏个人开发

    5 张图带你理解 RocketMQ 延时消息机制

    Integer, Long> entry : this.delayLevelTable.entrySet()) { Integer level = entry.getKey(); Long timeDelay Long offset = this.offsetTable.get(level); if (null == offset) { offset = 0L; } if (timeDelay

    1.3K20编辑于 2022-09-23
  • 来自专栏码匠的流水账

    聊聊rocketmq的ScheduleMessageService

    this.delayLevelTable.entrySet()) { Integer level = entry.getKey(); Long timeDelay if (null == offset) { offset = 0L; } ​ if (timeDelay

    60200发布于 2019-12-23
  • 来自专栏python3

    python的datetime模块处理时

    python的datetime模块主要用来处理时间,里面包含很多类,包括timedelay,date,time,datetime等 开发中经常会用到模块里面的datetime类,这是一个表示日期时间的类

    1K20发布于 2020-01-19
  • 来自专栏java 成神之路

    RocketMQ 延迟消息

    Long> entry : this.delayLevelTable.entrySet()) { Integer level = entry.getKey(); Long timeDelay this.offsetTable.get(level); if (null == offset) { offset = 0L; } if (timeDelay

    2.9K20发布于 2019-01-03
  • 来自专栏CaiRui

    cookie和session

    * 可以通过给`app.config`设置`PERMANENT_SESSION_LIFETIME`来更改过期时间,这个值的数据类型是`datetime.timedelay`类型。

    88150发布于 2018-01-17
  • 来自专栏JavaEdge

    RocketMQ 实战(四) - 订阅机制和定时消息

    entry : this.delayLevelTable.entrySet()) { Integer level = entry.getKey(); Long timeDelay level); if (null == offset) { offset = 0L; } if (timeDelay

    97110发布于 2021-02-22
  • 来自专栏从零开始学自动化测试

    Flask 学习-63.Session 使用

    可以通过给app.config设置PERMANENT_SESSION_LIFETIME来更改过期时间,这个值的数据类型是datetime.timedelay类型。

    63710编辑于 2022-09-14
  • 来自专栏C语言及其他语言

    【程序源码】用纯C语言实现坦克大战

    int x,int y); void DrawAmy(int x,int y,int i); void Score(); void GamePlay(); void GameOver(); void TimeDelay InstallKeyboard(); void ShutDownKeyboard(); void main(void) { Init(); DrawMap(); GamePlay(); End(); } void TimeDelay { if(Playone.fire[i].direction>0) putpixel(100+Playone.fire[i].y*20,50+Playone.fire[i].x*20,11); } TimeDelay

    5.4K50发布于 2018-04-18
领券