quiz10.cs

// quiz10.cs // this program is offered as is with no warranty implied and confers no rights.using System; using System.Collections.Generic; using System.Text; using System.Threading; namespace Quiz10 { class Program { [ThreadStatic] private static Dictionary myItems = new Dictionary(); private static LocalDataStoreSlot slotStatic; [ThreadStatic] private static Data myData = new Data(); class Data { public int i =…

2

parser_jitting.cs

// parser_jitting.cs // this program is offered as is with no warranty implied and confers no rights. using System;using System.Collections.Generic;using System.Text;using System.Reflection;using System.Reflection.Emit; namespace ParserJitting{    public class Program    {        // a few sample predicates, we will use these in a loop to simulate more of them        private static string[] predicates = {                “fact1”,                “fact2”,                “fact3”,                “fact2 &…

0

parser_compiling.cs

// parser_compiling.cs // this program is offered as is with no warranty implied and confers no rights. using System;using System.Collections.Generic;using System.Text; namespace ParserCompiling{    class Program    {        // a few sample predicates, we will use these in a loop to simulate more of them        private static string[] predicates = {                “fact1”,                “fact2”,                “fact3”,                “fact2 & fact1”,                “fact3 &…

0

parser_original.cs

// parser_original.cs // this program is offered as is with no warranty implied and confers no rights. namespace ParserOriginal{    class Program    {        // a few sample predicates, we will use these in a loop to simulate more of them        static string[] predicates = {                “fact1”,                “fact2”,                “fact3”,                “fact2 & fact1”,                “fact3 & fact2”,                “fact4 | fact5”,                “!fact4…

0

logdump.cs

// logdump.cs — a little utility program that dumps summary statistics for CLR profiler logs// © 2005 Microsoft Corporation // csc /o+ logdump.cs is all you need to do to build it.// this program is offered as is with no warranty implied and confers no rights. using System;using System.Text;using System.IO;using System.Collections;using System.Collections.Generic;using System.Globalization; class LogDumper{    // this tells us…

3