码迷,mamicode.com
首页 >  
搜索关键字:线程池 pipe queue    ( 14698个结果
python3 进程线程协程 并发查找列表
code import multiprocessing from multiprocessing import Pool,Queue import time import threading import gevent from gevent import monkey monkey.patch_a ...
分类:编程语言   时间:2020-12-04 10:52:40    阅读次数:6
Socket 多任务
1. 循环版实现多连接 2. threading.Thread 多线程(传输文件) 3. SockerServer 实现多任务 3.1 ForkingMixIn - 多进程(限 linux) 3.2 ThreadingMixIn - 多线程 3.3 ThreadingTCPServer - 线程池 ...
分类:其他好文   时间:2020-12-03 11:55:16    阅读次数:6
接口测试平台:支持多线程执行(压测)
接口测试平台:支持多线程执行(压测)由于testng本身是支持多线程执行的,我们只需要调用testng的多线程就可以。集合详情内新增了两个字段:threadPoolSize和repeatTimes,对应线程数和重复执行次数。Server端代码,新增了一个MultiThreadingListener监听类,用以修改testng的InvocationCount和ThreadPoolSize。(详细用法
分类:编程语言   时间:2020-11-30 15:17:56    阅读次数:10
使用优先队列完成了一个Astar搜索算法的c++实现,有时间可以完整的完成一遍
#include<queue> #include<vector> #include<unordered_map> using namespace std; struct Node { int x; int y; double cost; int parent; Node(int ix, int iy ...
分类:编程语言   时间:2020-11-27 11:07:17    阅读次数:8
102. 二叉树的层序遍历
/** * Definition for a binary tree node. * struct TreeNode { * int val; * struct TreeNode *left; * struct TreeNode *right; * }; */ /** * Return an arr ...
分类:其他好文   时间:2020-11-26 14:41:52    阅读次数:8
java中list和map详解
一、List和Set以及Map 1、List , Set, Map都是接口,前两个继承至Collection接口(Collection接口下还有个Queue接口,有PriorityQueue类),Map为独立接口, (1)List下有ArrayList,Vector,LinkedList (2)Se ...
分类:编程语言   时间:2020-11-26 14:26:02    阅读次数:4
最近3款Android APP逆向分析总结
项目需求,最近team逆向了3款竞品APP,总结一些经验和想法, 两款APP分别是A、B和C, A: 无法中间人,抓不到包,一旦走Charles,则提示更新APP。 一定是做了证书校验,Android里面是SSL Pinning,分析后是在Java侧做的,直接hook掉校验函数即可。 B: 可抓包, ...
分类:移动开发   时间:2020-11-25 12:48:12    阅读次数:25
rabbitmq消息发送失败
rabbitmq消息发送失败、 一、概述 rabbitmq消息发送失败,主要有三种 1、producter连接mq失败,消息没有发送到mq 2、producter连接mq成功,但是发送到exchange失败 3、消息发送到exchange成功,但是路由到queue失败 二、发送失败处理 produc ...
分类:其他好文   时间:2020-11-25 12:38:28    阅读次数:4
Tips
noilinux-1.4.1(g4.8.4)下sizeof(long double a)为12,Windows(g4.9.2)和Deepin(g++8.3.0)下都为16 sort默认从小到大排序,默认使用operator<为比较符 priority_queue,默认大根堆,小根堆为priority ...
分类:其他好文   时间:2020-11-25 12:25:36    阅读次数:6
jQuery效果
基本 show([s,[e],[fn]]) hide([s,[e],[fn]]) toggle([s],[e],[fn]) 滑动 slideDown([s],[e],[fn]) slideUp([s,[e],[fn]]) slideToggle([s],[e],[fn]) 淡入淡出 fadeIn([ ...
分类:Web程序   时间:2020-11-24 13:03:47    阅读次数:23
14698条   上一页 1 ... 21 22 23 24 25 ... 1470 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!