-
igraph
python-igraph安装文件
适用于windows32/64位系统
复杂网络分析的有效工具(python-igraph install file
for windows32/64 bit
useful tool for complex network)
- 2016-07-02 21:53:38下载
- 积分:1
-
the_example_of_c_codes
the examples of c codes.it is very easy,but the basic is important(the examples of c codes.it is very easy. but the basic is important)
- 2007-03-20 19:40:40下载
- 积分:1
-
m9mm
说明: 9mm弹道程序,适用于小口径内弹道计算。。。。。(9mm ballistic program)
- 2019-04-24 17:28:27下载
- 积分:1
-
39709594UsbMouse
说明: AT89C51单片机 鼠标控制程序,课程设计原理图+程序(AT89C51 MCU mouse control program,course design schematic diagram + program)
- 2020-07-01 21:02:23下载
- 积分:1
-
HslCommunication
说明: 通过以太网三菱MC读写Q系列PLC,将繁琐的MC E3数据帧打包,方便大家快速开发。(Through the Ethernet Mitsubishi MC read and write Q series PLC, the tedious MC E3 data frames are packaged, which is convenient for rapid development.)
- 2020-06-19 16:20:01下载
- 积分:1
-
61IC_S2347
三相整流程序,三相全桥整流电路的dsp实现程序(Program of three-phase rectifier, three-phase full-bridge rectifier circuit dsp procedures)
- 2020-11-23 17:39:34下载
- 积分:1
-
c# 扫描IP Http Header
c# 扫描IP Http Headerusing System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Windows.Forms;using System.Threading;using System.IO;namespace HScan{ public partial class Form1 : Form { int _currentThreads = 0; int _maxThreads = 100; Thread main = null; Thread mt = null; List threads = new List(); public Form1() { InitializeComponent(); Control.CheckForIllegalCrossThreadCalls = false; } private void btnStart_Click(object sender, EventArgs e) { btnStart.Enabled = false; if (txtStart.Text.Trim() == "") { MessageBox.Show("起始IP不能为空."); return; } if (txtEnd.Text.Trim() == "") { MessageBox.Show("结束IP不能为空."); return; } int ts = Convert.ToInt32(txtThreads.Text); _maxThreads = ts; string startIp = txtStart.Text; string endIp = txtEnd.Text; TParameter tp=new TParameter(); tp.StartIp=startIp; tp.EndIp=endIp; tp.ThreadCount=ts; main = new Thread(new ParameterizedThreadStart(StartMe)); main.Start(tp); } protected void ThreadManage() { Thread c=null; while (true) { System.Object lockThis = new System.Object(); lock (lockThis) { for (int i = 0; i < threads.Count; i ) { if (threads[i] != null && !threads[i].IsAlive) { c = threads[i]; break; } } if (c != null) { threads.Remove(c); } } } } protected void StartMe(object ob) { mt = new Thread(new ThreadStart(ThreadManage)); mt.Start(); TParameter p = ob as TParameter; string curIp = p.StartIp; while (true) { for (int i = 0; i < _maxThreads; i ) { if (curIp != "") { if (_currentThreads >= _maxThreads) break; System.Object lockThis = new System.Object(); lock (lockThis) { _currentThreads ; if (_currentThreads > _maxThreads) _currentThreads = _maxThreads; string tip = curIp; Thread t = new Thread(new ParameterizedThreadStart(Run)); t.Start(tip); threads.Add(t); curIp = IPUtility.getLastIp(curIp, p.EndIp, 1); } } else { break; } } } } protected void Run(object ob) { string ip = ob.ToString(); SocketGetHead h = new SocketGetHead(); string ret = h.GetHtml(ip, 80); if (ret.IndexOf("DVRDVS-Webs") > 0) { ListViewItem item = new ListViewItem(); item.SubItems[0].Text = (listView1.Items.Count 1).ToString(); ListViewItem.ListViewSubItem lvSubItem = new ListViewItem.ListViewSubItem(); lvSubItem.Text = ip; item.SubItems.Add(lvSubItem); lvSubItem = new ListViewItem.ListViewSubItem(); lvSubItem.Text = "DVRDVS-Webs"; item.SubItems.Add(lvSubItem); listView1.Items.Add(item); } System.Object lockThis = new System.Object(); lock(lockThis) { lblCurIp.Text = ip; _currentThreads--; if (_currentThreads < 0) _currentThreads = 0; } } private void tsmCopy_Click(object sender, EventArgs e) { if (listView1.SelectedItems.Count > 0) { string ip = listView1.SelectedItems[0].SubItems[1].Text; Clipboard.SetText(ip); } } private void tsmExport_Click(object sender, EventArgs e) { StreamWriter writer = new StreamWriter(AppDomain.CurrentDomain.BaseDirectory "\export.txt",true); foreach (ListViewItem item in listView1.Items) { string ip=item.SubItems[1].Text; writer.WriteLine(ip); writer.Flush(); } writer.Flush(); writer.Close(); MessageBox.Show("导出成功!"); } private void Form1_FormClosing(object sender, FormClosingEventArgs e) { try { if (mt != null) { mt.Interrupt(); mt.Abort(); } foreach (Thread t in threads) { t.Interrupt(); t.Abort(); } if (main != null) { main.Interrupt(); main.Abort(); } } catch { } Thread.Sleep(5000); } private void btnStop_Click(object sender, EventArgs e) { try { if (mt != null) { mt.Interrupt(); mt.Abort(); } foreach (Thread t in threads) { t.Interrupt(); t.Abort(); } if (main != null) { main.Interrupt(); main.Abort(); } } catch { } btnStart.Enabled = true; } }}
- 2014-06-23下载
- 积分:1
-
GrabBitmaps
In computer vision, one usually needs access to video frames as they are streamed in order to analyze or process them in some way. This code-pack shows how to obtain a single bitmap from a video stream using Microsoft Directshow.
- 2020-11-27 14:19:30下载
- 积分:1
-
测量程序
说明: 测量基础软件开发。包括前方交会,后方交会,后方交会等个种测量的平差。(measurement based software development. Including forward intersection, the rear intersection, the rear other species fair measurement of adjustment.)
- 2020-10-08 19:57:36下载
- 积分:1
-
本章主要讲解了winsock2中引入的名字注册和解析模型,他们都是与协议无关的。...
本章主要讲解了winsock2中引入的名字注册和解析模型,他们都是与协议无关的。-The main winsock2 this chapter on the introduction of the name registration and analytical model, they have nothing to do with the agreement.
- 2022-03-15 16:08:45下载
- 积分:1