登录
首页 » SQL » 49189245

49189245

于 2019-04-08 发布 文件大小:3KB
0 133
下载积分: 1 下载次数: 0

代码说明:

  Call the Windows API function with Visual C #

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • Graph
    malab图论工具包 聚类系数 度 度分布 网络直径 小世界网络构造(malab clustering coefficient graph theory Kit degree degree distribution network diameter small world network structure)
    2020-08-18 17:28:22下载
    积分:1
  • data set
    常用的分类数据集 banana数据集 flame数据集(banana data set , flame data set)
    2021-01-13 19:08:47下载
    积分: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
  • p2_0_generate_training_data
    凯斯西储大学数据,轴承故障诊断过程,数据预处理(generate training data)
    2017-11-01 19:27:06下载
    积分:1
  • PCA
    说明:  用于模式识别中的PCA降维输入数据data和option。data是一个矩阵,每一行代表一个样本。option是选择降维到多少维。([eigvector, eigvalue] = PCA(data, options) [eigvector, eigvalue] = PCA(data))
    2009-08-11 20:36:41下载
    积分:1
  • 编程案例,OUTLOOK,是初学者绝好的的案例,开发工具是vs,无控件...
    网络编程案例,OUTLOOK,是初学者绝好的的案例,开发工具是vs,无控件-Case of network programming, OUTLOOK, is excellent for beginners cases, development tool is vs, no control
    2022-07-27 13:13:29下载
    积分:1
  • pso
    运用神经网络pso的算法进行极值的搜索,并且以函数例子进行了演示。(Use grnn neural network algorithms for data prediction, and the cargo as an example for a demonstration.)
    2011-11-19 16:29:04下载
    积分:1
  • ntop-3.2
    ntop 3.2的源代码,其官方网站为http://222.ntop.org(ntop 3.2 source code for its official website http://222.ntop.org)
    2006-08-05 10:30:24下载
    积分:1
  • zhijiang-audio-2020-master
    说明:  音频分类算法 思路为:频谱分析->数据增强->卷积分类 之江大赛初赛22名方案(Audio classification algorithm The idea is: spectrum analysis data enhancement convolution classification Scheme of 22 winners in the preliminary competition of Zhijiang competition)
    2021-01-30 22:58:36下载
    积分:1
  • 一个基于c语言的websocket服务器
    cWebsocket is lightweight websocket server library written in C. This library include functions for easy creating websocket server. It implements websocket protocol rfc6455.
    2022-01-21 01:20:59下载
    积分:1
  • 696516资源总数
  • 106478会员总数
  • 6今日下载