You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
49 lines
1.0 KiB
49 lines
1.0 KiB
using System;
|
|
using System.Text.RegularExpressions;
|
|
|
|
namespace GenProtoDll
|
|
{
|
|
unsafe public struct BigST
|
|
{
|
|
private const int size = 128 * 1024 * 1024 - 8;
|
|
public fixed byte buffer[size];
|
|
}
|
|
|
|
public class BigCls
|
|
{
|
|
public BigST[] data;
|
|
public BigCls(int size)
|
|
{
|
|
data = new BigST[size];
|
|
}
|
|
}
|
|
|
|
class App
|
|
{
|
|
//public string name;
|
|
|
|
public BigST st2;
|
|
//public static BigCls st = new BigCls(100);
|
|
}
|
|
|
|
class Program
|
|
{
|
|
static void Main(string[] args)
|
|
{
|
|
//BigST st;
|
|
App app = new App();
|
|
//ref var tmp = ref App.st.data[0];
|
|
|
|
//string src = $"110@100@123@5435@5656@235@756@125";
|
|
//Regex r = new Regex(@"\d+");
|
|
//Match m = r.Match(src);
|
|
//while (m.Success)
|
|
//{
|
|
// Console.WriteLine("{0}", m.Value);
|
|
// m = m.NextMatch();
|
|
//}
|
|
|
|
Console.WriteLine("hello world");
|
|
}
|
|
}
|
|
}
|
|
|