格西烽火 2.0 完美破解版
格西烽火2.0--串口、网口通信测试软件(完美和谐)
代码片段和文件信息
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 24975872 2016-04-28 14:33 GBeaconBeacon.exe
文件 3 2016-04-28 13:07 GBeaconBeacon.log
文件 3777 2016-04-29 15:17 GBeaconBeacon.xml
文件 913271 2015-10-10 06:54 GBeaconDocsBeacon.chm
文件 898513 2015-10-10 06:54 GBeaconDocsBeacon_en.chm
文件 3340 2015-10-10 06:54 GBeaconExamplesPluginsGeshe.UtilsGBits.cs
文件 637 2015-10-10 06:54 GBeaconExamplesPluginsGeshe.UtilsGCalculator.cs
文件 3067 2015-10-10 06:54 GBeaconExamplesPluginsGeshe.UtilsGConvert.cs
文件 2390 2015-10-10 06:54 GBeaconExamplesPluginsGeshe.UtilsGeshe.Utils.csproj
文件 1426 2015-10-10 06:54 GBeaconExamplesPluginsGeshe.UtilsPropertiesAssemblyInfo.cs
文件 3076 2015-10-10 06:54 GBeaconExamplesPluginsGeshe.Utils.ExcelGeshe.Utils.Excel.csproj
文件 7885 2015-10-10 06:54 GBeaconExamplesPluginsGeshe.Utils.ExcelGExcel.cs
文件 1438 2015-10-10 06:54 GBeaconExamplesPluginsGeshe.Utils.ExcelPropertiesAssemblyInfo.cs
文件 1946 2015-10-10 06:54 GBeaconExamplesPluginsParallelPortParallelPort.cs
文件 2492 2015-10-10 06:54 GBeaconExamplesPluginsParallelPortParallelPort.csproj
文件 1428 2015-10-10 06:54 GBeaconExamplesPluginsParallelPortPropertiesAssemblyInfo.cs
文件 1084 2015-10-10 06:54 GBeaconExamplesPluginsParallelPortResourcesinpout32-Readme.txt
文件 32768 2015-10-10 06:54 GBeaconExamplesPluginsParallelPortResourcesinpout32.dll
文件 4615 2015-10-10 06:54 GBeaconExamplesPluginsPlugins.sln
文件 1418 2015-10-10 06:54 GBeaconExamplesPluginsWinFormPropertiesAssemblyInfo.cs
文件 2884 2015-10-10 06:54 GBeaconExamplesPluginsWinFormWinForm.csproj
文件 1395 2015-10-10 06:54 GBeaconExamplesPluginsWinFormWinFormAgent.cs
文件 713 2015-10-10 06:54 GBeaconExamplesPluginsWinFormWinWindow.cs
文件 3299 2015-10-10 06:54 GBeaconExamplesPluginsWinFormWinWindow.Designer.cs
文件 5817 2015-10-10 06:54 GBeaconExamplesPluginsWinFormWinWindow.resx
文件 2252 2015-10-10 06:54 GBeaconExamplesPluginsWpfFormPropertiesAssemblyInfo.cs
文件 3144 2015-10-10 06:54 GBeaconExamplesPluginsWpfFormWpfForm.csproj
文件 1431 2015-10-10 06:54 GBeaconExamplesPluginsWpfFormWpfFormAgent.cs
文件 942 2015-10-10 06:54 GBeaconExamplesPluginsWpfFormWpfWindow.xaml
文件 965 2015-10-10 06:54 GBeaconExamplesPluginsWpfFormWpfWindow.xaml.cs
............此处省略62个文件信息
using System;
namespace Geshe.Utils
{
public static class BSBits
{
public static void BSSetBits(byte[] dst int index UInt32 src int len)
{
UInt32 val;
int i bit_pos dst_byte_pos;
if (len > 32) return;
dst_byte_pos = index / 8;
bit_pos = index % 8;
val = src;
for (i = 0; i < len; i++)
{
dst[dst_byte_pos] = (byte)((dst[dst_byte_pos] & ((byte)(~(1 << bit_pos)))) | ((byte)(((val >> i) & 0x01) << bit_pos)));
bit_pos++;
if (bit_pos == 8)
{
bit_pos = 0;
dst_byte_pos++;
}
}
}
public static void BSSetBits(byte[] dst int dstIndex byte[] src int srcIndex int len)
{
int i dst_bit_pos src_bit_pos dst_byte_pos src_byte_pos;
dst_byte_pos = dstIndex / 8;
src_byte_pos = srcIndex / 8;
dst_bit_pos = dstIndex%8;
src_bit_pos = srcIndex%8;
for (i=0; i {
dst[dst_byte_pos] = (byte)((dst[dst_byte_pos] & (~(1 << dst_bit_pos))) | (((src[src_byte_pos] >> src_bit_pos) & 0x01) << dst_bit_pos));
dst_bit_pos++;
src_bit_pos++;
if (dst_bit_pos == 8) {
dst_bit_pos = 0;
dst_byte_pos++;
}
if (src_bit_pos == 8) {
src_bit_pos = 0;
src_byte_pos++;
}
}
}
public static int BSCmpBits(byte[] dst int dstIndex byte[] src int srcIndex int len)
{
int matchIndex;
return BSCmpBits(dst dstIndex src srcIndex len out matchIndex);
}
///
///
///
///
///
///
///
///
/// 当前匹配到的位索引
///
public static int BSCmpBits(byte[] dst int dstIndex byte[] src int srcIndex int len out int matchIndex)
{
int i dst_bit_pos src_bit_pos dst_byte_pos src_byte_pos;
dst_byte_pos = dstIndex / 8;
src_byte_pos = srcIndex / 8;
dst_bit_pos = dstIndex % 8;
src_bit_pos = srcIndex % 8;
matchIndex = len;
for (i = 0; i < len; i++)
{
if (((dst[dst_byte_pos] >> dst_bit_pos) & 0x01) != ((src[src_byte_pos] >> src_bit_pos) & 0x01))
{
matchIndex = i;
return 1;
}
dst_bit_pos++;
src_bit_pos++;
if (dst_bit_pos == 8)
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 24975872 2016-04-28 14:33 GBeaconBeacon.exe
文件 3 2016-04-28 13:07 GBeaconBeacon.log
文件 3777 2016-04-29 15:17 GBeaconBeacon.xm
文件 913271 2015-10-10 06:54 GBeaconDocsBeacon.chm
文件 898513 2015-10-10 06:54 GBeaconDocsBeacon_en.chm
文件 3340 2015-10-10 06:54 GBeaconExamplesPluginsGeshe.UtilsGBits.cs
文件 637 2015-10-10 06:54 GBeaconExamplesPluginsGeshe.UtilsGCalculator.cs
文件 3067 2015-10-10 06:54 GBeaconExamplesPluginsGeshe.UtilsGConvert.cs
文件 2390 2015-10-10 06:54 GBeaconExamplesPluginsGeshe.UtilsGeshe.Utils.csproj
文件 1426 2015-10-10 06:54 GBeaconExamplesPluginsGeshe.UtilsPropertiesAssemblyInfo.cs
文件 3076 2015-10-10 06:54 GBeaconExamplesPluginsGeshe.Utils.ExcelGeshe.Utils.Excel.csproj
文件 7885 2015-10-10 06:54 GBeaconExamplesPluginsGeshe.Utils.ExcelGExcel.cs
文件 1438 2015-10-10 06:54 GBeaconExamplesPluginsGeshe.Utils.ExcelPropertiesAssemblyInfo.cs
文件 1946 2015-10-10 06:54 GBeaconExamplesPluginsParallelPortParallelPort.cs
文件 2492 2015-10-10 06:54 GBeaconExamplesPluginsParallelPortParallelPort.csproj
文件 1428 2015-10-10 06:54 GBeaconExamplesPluginsParallelPortPropertiesAssemblyInfo.cs
文件 1084 2015-10-10 06:54 GBeaconExamplesPluginsParallelPortResourcesinpout32-Readme.txt
文件 32768 2015-10-10 06:54 GBeaconExamplesPluginsParallelPortResourcesinpout32.dll
文件 4615 2015-10-10 06:54 GBeaconExamplesPluginsPlugins.sln
文件 1418 2015-10-10 06:54 GBeaconExamplesPluginsWinFormPropertiesAssemblyInfo.cs
文件 2884 2015-10-10 06:54 GBeaconExamplesPluginsWinFormWinForm.csproj
文件 1395 2015-10-10 06:54 GBeaconExamplesPluginsWinFormWinFormAgent.cs
文件 713 2015-10-10 06:54 GBeaconExamplesPluginsWinFormWinWindow.cs
文件 3299 2015-10-10 06:54 GBeaconExamplesPluginsWinFormWinWindow.Designer.cs
文件 5817 2015-10-10 06:54 GBeaconExamplesPluginsWinFormWinWindow.resx
文件 2252 2015-10-10 06:54 GBeaconExamplesPluginsWpfFormPropertiesAssemblyInfo.cs
文件 3144 2015-10-10 06:54 GBeaconExamplesPluginsWpfFormWpfForm.csproj
文件 1431 2015-10-10 06:54 GBeaconExamplesPluginsWpfFormWpfFormAgent.cs
文件 942 2015-10-10 06:54 GBeaconExamplesPluginsWpfFormWpfWindow.xaml
文件 965 2015-10-10 06:54 GBeaconExamplesPluginsWpfFormWpfWindow.xaml.cs
............此处省略62个文件信息
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。
评论列表(条)