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

    The asynchronous backtracking algorithm (ABT) 算法

    Asynchronous backtracking (ABT) 算法假设所有智能体(agent)都有各自的优先级(priority)。

    94220发布于 2020-02-11
  • 来自专栏潇涧技术专栏

    Android Asynchronous Http Client

    本文总结了著名的Android的异步网络请求库Asynchronous Http Client的使用 最近在阅读Coding的安卓客户端源码,因为该源码使用了android-async-http,所以有必要先研究一下它的使用 1.Asynchronous Http Client for Android简介 Android开源库中鼎鼎大名的网络库Asynchronous Http Client for Android,顾名思义 An asynchronous callback-based Http client for Android built on top of Apache’s HttpClient libraries. 它的功能异常强大,主要包括: 1.Make asynchronous HTTP requests, handle responses in anonymous callbacks 异步发送HTTP请求,

    1.2K10发布于 2018-08-01
  • 来自专栏FEr

    聊聊JavaScript的Asynchronous

    例如,函数 fetchData 为数据赋值(例如:从服务器获取数据)并,displayData 显示获取的数据:

    96530编辑于 2022-01-21
  • 来自专栏自译文章/自学记录

    Asynchronous

    But this are things you will not notice, because you are not involved in what I do with your asynchronous But asynchronous sockets (as supported by Windows sockets), or the asynchronous IO pattern used in .NET Asynchronous Win32 sockets "marshal" their results onto a specific GUI thread by passing Window messages , whereas .NET asynchronous IO is free-threaded (you don't know what thread your callback will be called Asynchronous means that the API always returns immediately, having started a "background" effort to fulfil

    51720发布于 2019-08-26
  • 来自专栏科学计算

    false path和asynchronous的区别

    常用的不让工具分析两个时钟域交互的方式有两种,一种是设置为伪路径(False Path),一种是设置为异步(Asynchronous)。那这两种设置方式有什么区别呢? get_clocks clkb]] set_false_path -from [get_clocks clkb] -to [get_clocks clka]] 方式二: set_clock_groups -asynchronous group clka -group clkb 既然是等价,当然是第二种方式更简单,因为只需要一行指令就可以了,而且通过group还可以同时设置多个时钟的异步关系: set_clock_groups -asynchronous

    54430发布于 2021-11-25
  • 来自专栏开源部署

    Apache服务挂起Asynchronous AcceptEx failed.

    : AH00341: winnt_accept: Asynchronous AcceptEx failed. : AH00341: winnt_accept: Asynchronous AcceptEx failed. : AH00341: winnt_accept: Asynchronous AcceptEx failed. : AH00341: winnt_accept: Asynchronous AcceptEx failed. : AH00341: winnt_accept: Asynchronous AcceptEx failed.

    94310编辑于 2022-07-03
  • 来自专栏云深之无迹

    MicroPython中的异步编程(Asynchronous).介绍

    CPython 支持通过库进行异步编程。而MicroPython 提供了其中的一个子集,针对裸机目标的小型代码大小和高性能进行了优化。

    1.6K10发布于 2021-04-14
  • 来自专栏mwangblog

    Asynchronous dynamic programming (ASYNCHDP) 算法求最短路径

    如果节点$x$位于$s$到$t$的最短路径上,那么$x$到$t$的路径也必须是$x$和$t$之间的最短路径。这种“分而治之”(devide-and-conquer)的思想,被称为动态规划(dynamic programming)。

    85120发布于 2020-02-11
  • 来自专栏开水泡饭的前端学习之路

    javascript编程单线程之异步模式Asynchronous

    异步模式Asynchronous 不会等待这个任务结束才开始执行下一个任务,开启之后立即执行下一个任务,后续逻辑一般会通过回调函数的方式定义,异步模式对js 非常重要,没有异步任务单线程的 js 语言就无法同时处理大量耗时任务

    91210编辑于 2022-12-26
  • 来自专栏女程序员的日常

    STM8S——Universal asynchronous receiver transmitter (UART)

    1.5K10发布于 2017-12-25
  • 来自专栏JAVA

    同步(Synchronous)和异步(Asynchronous)的理解和区别讲解

    同步(Synchronous)和异步(Asynchronous) 我后面自己做了详细的2次整理 基础 完整版 有兴趣的同学自行查看;都附有代码demo 方便大家理解 同步和异步是什么? 同步和异步强调的是消息通信机制 (synchronous communication/ asynchronous communication)。

    4.3K20编辑于 2024-11-20
  • 来自专栏mwangblog

    使用ABT(The asynchronous backtracking algorithm)算法求解四皇后问题

    将4个皇后放入4×4的棋盘中,修改4个皇后的位置,使他们不能“立即”攻击对方。这里我们假设4个皇后被放置在不同的行中,仅能修改4个皇后的列的位置。

    1K10发布于 2020-02-11
  • 来自专栏林德熙的博客

    WPF 已知问题 BitmapDecoder.Create 不支持传入 Asynchronous 的文件流

    这是在 GitHub 上有小伙伴报的问题,在 WPF 中,不支持调用 BitmapDecoder.Create 方法,传入的 FileStream 是配置了 FileOptions.Asynchronous 本质原因是 WIC 层不支持,和 WPF 没有关系 GitHub 链接: BitmapDecoder.Create does not handle FileStream with FileOptions.Asynchronous · Issue #4355 · dotnet/wpf 现象是传入 BitmapDecoder.Create 的 FileStream 配置了 FileOptions.Asynchronous 选项,代码如下 new FileStream("image.jpg", FileMode.Open, FileAccess.Read, FileShare.Read, 4096, FileOptions.Asynchronous 那么将会在 CreateDecoderFromFileHandle 抛出错误 因此在 WPF 中,调用 BitmapDecoder.Create 方法,传入的带 FileOptions.Asynchronous

    68430发布于 2021-05-17
  • 来自专栏程序猿杜小头

    Asynchronous Servlet 在 Nacos 1.X 动态配置管理中的应用

    2 Asynchronous Servlet 在 Servlet 3.0 之前,Servlet 完全遵循同步阻塞I/O模型,这意味着一个 HTTP 请求对应一个 Servlet Container 线程 Servlet 3.0 引入了一种异步处理请求的能力,即Asynchronous Servlet。为什么要有 Asynchronous Servlet 呢? 笔者总感觉 Asynchronous Servlet 思路有点怪怪的,难道重新开了一个业务线程就不会造成业务线程的饥饿问题吗? 此外,Asynchronous Servlet 与基于长轮询的客户端 Pull 方案简直绝配啊,有没有? 希望大家在读完本文后,在实际工作中如果遇到基于长轮询的客户端 Pull 场景,不要忽略了 Asynchronous Servlet 。

    96110编辑于 2022-12-01
  • 来自专栏AhDung

    【C#】转一篇MSDN杂志文:ASP.NET Pipeline: Use Threads and Build Asynchronous Handlers in Your Server-Side Web

    Handlers Asynchronous Handler with a Delegate Asynchronous Handler with Custom Threads Asynchronous Asynchronous Handler with a Delegate If you have done any work with asynchronous execution in the .NET Asynchronous Handler with Custom Threads To build a truly effective asynchronous handler, you must spawn Asynchronous Handler with a Custom Thread Pool There is one remaining problem with this asynchronous Asynchronous Pages So far, all of the examples of asynchronous request handling have involved building

    82631发布于 2018-09-13
  • man -f/-k [keyword]在fedora 29 中报错nothing appropriate

    asynchronous I/O request aio_cancel (3p) - cancel an asynchronous I/O request aio_error (3) asynchronous I/O operation aio_fsync (3) - asynchronous file synchronization aio_fsync (3p) - asynchronous file synchronization aio_init (3) - asynchronous I/O initialization aio_read ( 3) - asynchronous read aio_read (3p) - asynchronous read from a file aio_return (3) (3p) - wait for an asynchronous I/O request aio_write (3) - asynchronous write aio_write

    43630发布于 2020-12-30
  • 来自专栏皮皮星球

    What's the Difference Between Blocking vs Non-Blocking and Sync vs Async?

    In essence: "Synchronous" and "Asynchronous" processes involve at least two subjects. When their task durations align, it's "Synchronous"; if not, it's "Asynchronous." Asynchronous: Overseen by the kernel. References Wikipedia - Asynchronous I/O Asynchronous and non-Blocking I/O Stack Overflow Discussion Blocking or Non-Blocking, Synchronous and Asynchronous

    51930编辑于 2023-11-18
  • 来自专栏韩曙亮的移动开发专栏

    【Flutter】FutureBuilder 异步编程 ( FutureBuilder 构造方法 | AsyncSnapshot 异步计算 )

    = null); /// Current state of connection to the asynchronous computation. final ConnectionState connectionState; /// The latest data received by the asynchronous computation data; /// The latest error object received by the asynchronous computation. /// /// If this is none, /// Connected to an asynchronous computation and awaiting interaction. active, /// Connected to a terminated asynchronous computation. done, } final T?

    1.4K20编辑于 2023-03-29
  • 来自专栏python3

    tornado6与python3.7

    _1(tornado.web.RequestHandler): async def get(self): body = await asynchronous_fetch(url) _2(tornado.web.RequestHandler): async def get(self): body = await asynchronous_fetch(url) _3(tornado.web.RequestHandler): async def get(self): body = await asynchronous_fetch(url) _1), (r"/2", asynchronous_fetcher_2), (r"/3", asynchronous_fetcher_3), (r"/4" , asynchronous_fetcher_4), (r"/5", synchronous_fetcher), (r"/6", synchronous_geter),

    1.3K30发布于 2020-01-02
  • 来自专栏码生

    ios NSOperation & Queue 官方文档学习

    默认同步执行 代码代用 start 方法时,当 main 方法执行完后,operation complete When you call the start method of an asynchronous An asynchronous operation object is responsible for scheduling its task on a separate thread. The operation could do that by starting a new thread directly, by calling an asynchronous method, or Defining an asynchronous operation requires more work, because you have to monitor the ongoing state Whether you spawn a thread or call an asynchronous function, you do it from this method.

    76830发布于 2018-11-21
领券