全文搜索
标题搜索
全部时间
1小时内
1天内
1周内
1个月内
默认排序
按时间排序
为您找到相关结果13,648个

Kotlin线程的桥接与切换使用介绍_Android_脚本之家

joinBlocking方法通过循环在当前线程上对EventLoop进行任务分发来实现线程的阻塞。当任务发生异常或执行完毕后,会回调重写的afterCompletion方法,唤起线程继续循环,当在循环中检测到isCompleted标志位为true时,会跳出循环,恢复线程执行。 二.线程的切换 1.withContext方法 withContext方法用于在协程中切换线程去执行其他任务,该...
www.jb51.net/article/2607...htm 2025-2-22

Kotlin协程操作之创建启动挂起恢复详解_Android_脚本之家

本文的定位是协程的创建、启动、挂起、恢复,也会示例一些简单的使用,这里不对suspend讲解,,也不对协程的高级用法做阐述(热数据通道Channel、冷数据流Flow...),本文主要讲协程稍微深入的全面知识+ 目录 GPT4.0+Midjourney绘画+国内大模型 会员永久免费使用!【 如果你想靠AI翻身,你先需要一个靠谱的工具!】 下面以...
www.jb51.net/article/2575...htm 2022-8-1

ae怎么使用Trapcode Form插件制作火焰效果?_媒体工具_软件教程_脚本之...

4、最后把Flow Loop打开,让Form循环流动,设置为几,每隔几秒的开头结尾是一样的。 二、Lynda的火焰 1、新建合成、固态层,添加Form效果。基础形状设置为球体,Y轴中心点上移,Y轴加大。Sphere Layer设为1层。 2、粒子的颜色为棕色(#693210),增加Size,降低透明度。
www.jb51.net/softjc/4502...html 2025-3-9

drools规则动态化实践解析_java_脚本之家

-基于flowable dmn实现 -配置简单直观 -已有大量系统使用 总结: 简单配置型规则可以接入easycode,平台提供配置页面,通过jsf交互。 复杂规则,需要动态生成规则,easycode目前还不支持。drools从流行度及活跃度考虑,都比easy-rule强,所以选择drools。 三、 drools简单示例 3.1 引入依赖 1 2 3 4 5 <dependency> <grou...
www.jb51.net/article/2744...htm 2025-3-12

iOS模仿电子书首页实现书架布局样式_IOS_脚本之家

// call super so flow layout can return default attributes for all cells, headers, and footers // NOTE: Flow layout has already taken care of the Cell view layout attributes! :) NSArray *array = [super layoutAttributesForElementsInRect:rect]; // create a mutable copy so we can add lay...
www.jb51.net/article/805...htm 2025-3-15

基于Vue插入视频的2种方法小结_vue.js_脚本之家

{{this.activeVideo.title}} 1.2###视频列表1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
www.jb51.net/article/1588...htm 2025-3-13

Vue中v-bind原理深入探究_vue.js_脚本之家

// work around flow var slot = data.slot; data = {}; if (slot) { data.slot = slot; } } // install component management hooks onto the...var _loop_1 = function (key) { keys.push(key); var value = validateProp(key, propsOptions, propsData, vm); /* istanbul ignore else */ ...
www.jb51.net/article/2656...htm 2025-3-17

大量小文件的实时同步的解决方案分析_编程开发_软件教程_脚本之家

print 'over flow' max_queued_events.value *= 2 def process_default(self, event): pass wm = WatchManager() notifier = Notifier(wm, UpdateParentDir()) dirs.update(wm.add_watch(base, flags, rec=True, auto_add=True)) notifier.loop() ...
www.jb51.net/softjc/101...html 2025-3-14

Qt 5.9使用VTK显示点云的详解详解_C 语言_脚本之家

vtkFiltersFlowPaths-7.0-gd.lib vtkFiltersGeneral-7.0-gd.lib vtkFiltersGeneric-7.0-gd.lib vtkFiltersGeometry-7.0-gd.lib vtkFiltersHybrid-7.0-gd.lib vtkFiltersHyperTree-7.0-gd.lib vtkFiltersImaging-7.0-gd.lib vtkFiltersModeling-7.0-gd.lib vtkFiltersParallel-7.0-gd.lib vtkFiltersParallelImaging-7.0...
www.jb51.net/article/2564...htm 2025-3-11

浅谈Android中多线程切换的几种方法_Android_脚本之家

return RxJavaPlugins.onAssembly(new FlowableSubscribeOn<T>(this, scheduler, requestOn)); }然后,进入FlowableSubscribeOn类1 2 3 4 5 6 7 8 9 10 11 12 13 14 //进入FlowableSubscribeOn类 public FlowableSubscribeOn(Flowable<T> source, Scheduler scheduler, boolean nonScheduledRequests) { ... thi...
www.jb51.net/article/1318...htm 2018-1-2