context
stringlengths
2.52k
185k
gt
stringclasses
1 value
// // MassStorageSource.cs // // Author: // Gabriel Burt <gburt@novell.com> // // Copyright (C) 2008 Novell, Inc. // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, ...
/* * * (c) Copyright Ascensio System Limited 2010-2021 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 * Unless required by applicable la...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Runtime.InteropServices; using System.Security; #if ES_BUILD_STANDALONE using Environmen...
using System; using System.Data; using System.Data.OleDb; using System.Collections; using System.Configuration; using PCSComUtils.DataAccess; using PCSComUtils.PCSExc; using PCSComUtils.Common; namespace PCSComProduction.DCP.DS { public class PRO_CheckPointDS { public PRO_CheckPointDS() { } private const st...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System; using System.Diagnostics.CodeAnalysis; using System.Globalization; using static Microsoft.AspNetCore.Components.BindConverter; namespace Microsoft.AspNetCore.Component...
/* * Queue.cs - Implementation of the "System.Collections.Queue" class. * * Copyright (C) 2001, 2003 Southern Storm Software, Pty Ltd. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; e...
using System; using System.Diagnostics; using System.IO; using System.Collections; using System.Xml; using System.Xml.Serialization; namespace Microsoft.SPOT.Debugger { public class Pdbx { public class TokenMap { uint StringToUInt32(string s) { s.Trim(); ...
using System; using System.Net; using System.Net.Sockets; using System.IO; using System.Text; using System.Collections.Generic; namespace Hydna.Net { internal class SocketAdapter : IConnectionAdapter { internal class HandshakeState { internal byte[] data = new byte[1024]; ...
#nullable enable using NBitcoin.Crypto; using NBitcoin.DataEncoders; #if !NO_BC using NBitcoin.BouncyCastle.Math; using NBitcoin.BouncyCastle.Math.EC; #endif #if HAS_SPAN using NBitcoin.Secp256k1; #endif using System; using System.Collections.Generic; using System.Linq; using System.Reflection.Emit; using System.Text; ...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; namespace AlgorithmDemo { public partial class FlowControlerForm : Form { delegate void dSelectConfiguratoinObject(object o); boo...
namespace GImpactTestDemo { static class BunnyMesh { public static float[] Vertices = { -0.334392f, 0.133007f, 0.062259f, -0.350189f, 0.150354f, -0.147769f, -0.234201f, 0.343811f, -0.174307f, -0.200259f, 0.285207f, 0.093749f, 0.003520f, 0.475208f, -0.15936...
/* * Copyright (c) 2008, openmetaverse.org * All rights reserved. * * - Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * - Redistributions of source code must retain the above copyright notice, this * list of...
using System; using System.CodeDom.Compiler; using System.Collections.Generic; using System.Data; using System.Data.SqlClient; using System.Globalization; using System.Linq; using System.Text; namespace EduHub.Data.Entities { /// <summary> /// Last Years GL Financial Trans Data Set /// </summary> [Gene...
//css_dbg /t:winexe; //css_ref FileDialogs.dll; //css_reference csscriptlibrary.dll; using System; using System.Collections; using System.ComponentModel; using System.Data; using System.IO; using System.Xml; using System.Drawing; using System.Drawing.Imaging; using System.Drawing.Drawing2D; using Microsoft.Win32; using...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Globalization; using System.Runtime.CompilerServices; using Xunit; namespace System.Text.Primitives.Tests { public class IntegerTests { co...
//------------------------------------------------------------------------------ // <copyright file="MSG.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> //------------------------------------------------------------------------------ using System; using System...
using System; using System.ComponentModel; using System.Windows.Forms; using Microsoft.Win32; using UltraSFV.Core; namespace UltraSFV { public partial class WorkingDialog : Form { private UltraSFV _parent; private DateTime StartDate; private TimeSpan ts; private string _Status = "working"; #region Constru...
//---------------------------------------------------------------------------- // Anti-Grain Geometry - Version 2.4 // Copyright (C) 2002-2005 Maxim Shemanarev (http://www.antigrain.com) // // Permission to copy, use, modify, sell and distribute this software // is granted provided this copyright notice appears in all ...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Collections.Generic; using System.Diagnostics; using System.Globalization; using System.Reflection; usi...
/* * Copyright (c) Contributors, http://opensimulator.org/ * See CONTRIBUTORS.TXT for a full list of copyright holders. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must r...
using System; using numl.Utils; using numl.Model; using System.Linq; using System.Dynamic; using numl.Tests.Data; using Xunit; using System.Collections.Generic; namespace numl.Tests.DataTests { [Trait("Category", "Data")] public class SimpleConversionTests { public static IEnumerable<string> ShortS...
using System; using System.Collections; using System.Collections.Generic; using System.ComponentModel; using System.Globalization; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using Umbraco.Core; using Umbraco.Core.IO; using Umbraco.Core.Models; using umbraco.BasePages; usi...
using System; using System.Collections.Generic; using Box2D; using Box2D.Collision; using Box2D.Common; using Box2D.Collision.Shapes; using Box2D.Dynamics; using Box2D.Dynamics.Contacts; using Microsoft.Xna.Framework; using CocosSharp; using Random = CocosSharp.CCRandom; namespace tests { internal class CCPhysicsS...
using System.Net; using FluentAssertions; using FluentAssertions.Extensions; using JsonApiDotNetCore.Serialization.Objects; using TestBuildingBlocks; using Xunit; namespace JsonApiDotNetCoreTests.IntegrationTests.QueryStrings.Sorting; public sealed class SortTests : IClassFixture<IntegrationTestContext<TestableStartu...
//////////////////////////////////////////////////////////////////////////////// // ________ _____ __ // / _____/_______ _____ ____ ____ _/ ____\__ __ | | // / \ ___\_ __ \\__ \ _/ ___\_/ __ \\ __\| | \| | // \ \_\ \| |...
/* * Copyright 2012-2014 Jeremy Feinstein * Copyright 2013-2014 Tomasz Cielecki * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 ...
/* Copyright (C) 2005 Dominic Thuillier This file is part of QuantLib, a free-software/open-source library for financial quantitative analysts and developers - http://quantlib.org/ QuantLib is free software: you can redistribute it and/or modify it under the terms of the QuantLib license. You should have receiv...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. /****************************************************************************** * This file is auto-generated from ...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using ServiceStack.Common; using ServiceStack.Text; using ServiceStack.WebHost.Endpoints; using ServiceStack.WebHost.Endpoints.Extensions; namespace ServiceStack.ServiceHost { public class ServiceMetadata { publ...
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Generic; using System.Collections.Immutable; using System.Diagnostics; using System.Text; using Microsoft.CodeAnalysis; using Microso...
using System; using NUnit.Framework; using strange.framework.api; using strange.extensions.injector.impl; using strange.extensions.mediation.impl; using strange.extensions.mediation.api; using System.Collections.Generic; using strange.framework.impl; namespace strange.unittests { [TestFixture()] public class TestAb...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. namespace System.Security.Claims { public partial class Claim { public Claim(System.IO.BinaryReader...
// // Copyright (c) Microsoft and contributors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requi...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // // Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 // Changes may cause incorrect behavior and will be lost if the code is // regenerated. ...
// **************************************************************** // This is free software licensed under the NUnit license. You // may obtain a copy of the license as well as information regarding // copyright ownership at http://nunit.org. // **************************************************************** namespa...
using System; using System.Globalization; /// <summary> /// Int64.System.IConvertible.ToSByte(IFormatProvider) /// </summary> public class Int64IConvertibleToSByte { public static int Main() { Int64IConvertibleToSByte ui64IContSByte = new Int64IConvertibleToSByte(); TestLibrary.TestFramework.Beg...
using UnityEngine; using UnityEditor; using System; using System.Linq; using System.Collections.Generic; using Model=UnityEngine.AssetGraph.DataModel.Version2; namespace UnityEngine.AssetGraph { [Serializable] public class NodeGUI : ScriptableObject { [SerializeField] private int m_nodeWindowId; [Serializ...
// Copyright 2005-2010 Gallio Project - http://www.gallio.org/ // Portions Copyright 2000-2004 Jonathan de Halleux // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.a...
using System; using System.Collections.Generic; using System.Data.Entity; using System.Data.Entity.Core; using System.Data.Entity.Core.Metadata.Edm; using System.Data.Entity.Core.Objects; using System.Data.Entity.Infrastructure; using System.Linq; using System.Reflection; using System.Threading.Tasks; using System.Tran...
// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
using System; using System.Collections; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Data; using System.Text; using System.Windows.Forms; namespace Banshee.Base.Winforms.Controls { public partial class SearchEntry : UserControl { private ArrayList se...
using System; using System.Diagnostics; using System.Linq; using NUnit.Framework; using StructureMap.Testing.Configuration.DSL; using StructureMap.Testing.GenericWidgets; using StructureMap.Testing.Graph; using StructureMap.Testing.Widget; using StructureMap.Testing.Widget2; namespace StructureMap.Testing.Query { ...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using Xunit; namespace ManagedTests.DynamicCSharp.Conformance.dynamic.dynamicType.classes.abstract001.abstract001 {...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Text; using System; using System.IO; using System.Reflection; namespace System.Diagnostics { // T...
using System; using i64 = System.Int64; using u32 = System.UInt32; using u8 = System.Byte; namespace Community.CsharpSqlite { public partial class Sqlite3 { /* ** 2001 September 15 ** ** The author disclaims copyright to this source code. In place of ** a legal notice, here is a blessing: ** ** May...
namespace KabMan.Client { partial class frmServerListe { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.IO; using System.Linq; using System.Collections.Generic; using Xunit; namespace System.Reflection.Tes...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using Xunit; namespace System.Linq.Expressions.Tests { public static class ArrayArrayLengthTests { ...
using System; using System.Data; using ByteFX.Data.MySqlClient; namespace ByteFX.Data.MySqlClient { /// <summary> /// Helper class that makes it easier to work with the provider. /// </summary> public sealed class MySqlHelper { // this class provides only static methods private MySqlHelper() { } #regio...
using System; using System.Collections.Generic; using System.Text; using Microsoft.Win32; using System; using System.Diagnostics; using System.IO; using System.Management; // Reference C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Management.dll using System.Security.AccessControl; using System.Security.Princip...
// // Copyright (c) Microsoft and contributors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requi...
// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Collections; using System.Collections.Generic; using System.Collections.Immutable; using System.Text.En...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Collections; using System.Collections.Concurrent; using System.Collections.Generic; using Xunit; names...
#region LGPL License /* Axiom Game Engine Library Copyright (C) 2003 Axiom Project Team The overall design, and a majority of the core engine and rendering code contained within this library is a derivative of the open source Object Oriented Graphics Engine OGRE, which can be found at http://ogre.sourceforge.net. ...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. //--------------------------------------------------------------------------- // // Description: // Helper class t...
// Copyright (c) Duende Software. All rights reserved. // See LICENSE in the project root for license information. using IdentityModel; using Microsoft.AspNetCore.Authentication; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Loggi...
using System; using System.Collections; using Server; using Server.Items; using Server.Multis; using Server.Targeting; namespace Knives.TownHouses { public class TownHouse : VersionHouse { private static ArrayList s_TownHouses = new ArrayList(); public static ArrayList AllTownHouses{ get{ return s_TownHouses; } ...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; namespace Factotum { public partial class ReportValidator : Form, IEntityEditForm { private EInspectedComponent curReport; // Allow the calling for...
/* * Copyright (c) Contributors, http://opensimulator.org/ * See CONTRIBUTORS.TXT for a full list of copyright holders. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must r...
/* * Swaggy Jenkins * * Jenkins API clients generated from Swagger / Open API specification * * The version of the OpenAPI document: 1.1.2-pre.0 * Contact: blah@cliffano.com * Generated by: https://github.com/openapitools/openapi-generator.git */ using System; using System.Linq; using System.IO; using System.T...
using UnityEngine; namespace UnityStandardAssets.Characters.ThirdPerson { [RequireComponent(typeof(Rigidbody))] [RequireComponent(typeof(CapsuleCollider))] [RequireComponent(typeof(Animator))] public class ThirdPersonCharacter : MonoBehaviour { [SerializeField] float m_MovingTurnSpeed = 660; [SerializeField] ...
/* * This file is part of UniERM ReportDesigner, based on reportFU by Josh Wilson, * the work of Kim Sheffield and the fyiReporting project. * * Prior Copyrights: * _________________________________________________________ * |Copyright (C) 2010 devFU Pty Ltd, Josh Wilson and Others| * | (http://reportfu.org) ...
using System; using System.Collections.Generic; using System.Drawing; using System.IO; using Common; using Fairweather.Service; namespace DTA { public class Printing_Helper : Ini_Helper { public Printing_Helper(Ini_File ini, Company_Number number, Printing_Scenario scenario) : base(...
// // Copyright (c) Microsoft and contributors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requi...
using System; using System.Runtime; using System.Collections.Generic; using System.Threading; namespace System.ServiceModel.Channels { internal class SynchronizedPool<T> where T : class { private struct Entry { public int threadID; public T value; } private struct Pending...
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR) using System; using System.Diagnostics; using Org.BouncyCastle.Math.Raw; namespace Org.BouncyCastle.Math.EC.Custom.Sec { internal class SecP192R1Field { // 2^192 - 2^64 - 1 internal static readonly uint[] P = new uint[]{ 0x...
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Runtime.Serialization; using TrackableEntities; using TrackableEntities.Client; using System.ComponentModel.DataAnnotations; namespace AIM.Web.Admin.Models.EntityModels { [JsonObject(IsReference = true)] [DataContract(IsReferen...
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. extern alias Scripting; using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Diagnostics; using System.Globalizati...
/* * Copyright (c) Contributors, http://opensimulator.org/ * See CONTRIBUTORS.TXT for a full list of copyright holders. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must r...
//----------------------------------------------------------------------- // <copyright file="Iis6Website.cs">(c) http://www.codeplex.com/MSBuildExtensionPack. This source is subject to the Microsoft Permissive License. See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. All o...
using System.Collections.Generic; using System.Linq; using System.Text; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; namespace OmniSharp { public class SnippetGenerator { private int _counter = 1; private StringBuilder _sb = new StringBuilder(); private SymbolDispl...
using System; using System.CodeDom.Compiler; using System.Collections.Generic; using System.Data; using System.Data.SqlClient; using System.Globalization; using System.Linq; using System.Text; namespace EduHub.Data.Entities { /// <summary> /// Subject Book List Data Set /// </summary> [GeneratedCode("E...
using System; using System.Threading; using MonoBrick; using System.Diagnostics; using System.Collections.Generic; namespace MonoBrick.NXT { #region Base Sensor /// <summary> /// Sensor ports /// </summary> public enum SensorPort { #pragma warning disable In1 = 0, In2 = 1, In3 = 2, In4 = 3 ...
/**************************************************************************** Tilde Copyright (c) 2008 Tantalus Media Pty Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, in...
namespace SocialNetwork.Core.Migrations { using System; using System.Data.Entity.Migrations; public partial class db_migration : DbMigration { public override void Up() { CreateTable( "dbo.FriendShips", c => new { ...
using Lucene.Net.Support; using System; using System.Diagnostics; namespace Lucene.Net.Util { /* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright own...
//----------------------------------------------------------------------------- // Copyright (c) 2012 GarageGames, LLC // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to // deal in the Software without restrictio...
using System.Collections; using System.Collections.Generic; using UnityEngine; public enum EAxisState { GreaterThan, LessThan } [System.Serializable] public struct InputMapping { [Tooltip("Name of the button when referred to in the script. The action.")] public string name; [Tooltip("Default key f...
/* **************************************************************************** * * Copyright (c) Microsoft Corporation. * * This source code is subject to terms and conditions of the Apache License, Version 2.0. A * copy of the license can be found in the License.html file at the root of this distribution. If ...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Diagnostics; using Microsoft.CSharp.RuntimeBinder.Syntax; namespace Microsoft.CSharp.RuntimeBinder.Sem...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using Microsoft.Win32.SafeHandles; using System.Diagnostics; using System.Security; namespace System.IO.MemoryMappedFiles { public partial class MemoryMappedFile :...
//------------------------------------------------------------------------------ // <copyright file="ServicePointManager.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> //------------------------------------------------------------------------------ namespace ...
// Copyright 2008 Adrian Akison // Distributed under license terms of CPOL http://www.codeproject.com/info/cpol10.aspx using System; using System.Collections; using System.Collections.Generic; namespace MCEBuddy.Util.Combinatorics { /// <summary> /// Permutations defines a meta-collection, typically a list of ...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. // /*============================================================================= ** ** ** ** Purpose: synchronizat...
using UnityEngine; using System.Collections; using System.Collections.Generic; using TDTK; namespace TDTK { public enum _GameState { Play, Pause, Over } [RequireComponent(typeof(ResourceManager))] public class GameControl : MonoBehaviour { public delegate void GameMessageHandler(string msg...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Data.SqlClient; namespace Kintai { public partial class WorkTimeDao { public const string TABLE_NAME = "WorkTime"; public static class COLUMN_LIST { #region Columns ...
using System; using System.Drawing; using System.Linq; using System.Threading; using System.Windows.Forms; using Ai2dShooter.Common; using Ai2dShooter.Controller; using Ai2dShooter.Map; using Ai2dShooter.View; namespace Ai2dShooter.Model { /// <summary> /// An AI player controlled by a finite state machine (FS...
using System; using System.IO; using System.Collections.Generic; using System.Reflection; using System.Drawing; using SDL2Idiomatic; using SDL2Idiomatic.Input; using GoblinPlugin; namespace Goblin { class Goblin { private static List<IGamePlugin> plugins = new List<IGamePlugin>(); private static List<IGameUpdate...
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/table/v1/bigtable_table_data.proto #pragma warning disable 1591, 0612, 3021 #region Designer generated code using pb = global::Google.Protobuf; using pbc = global::Google.Protobuf.Collections; using pbr = global::Google.Protob...
// Copyright 2005-2010 Gallio Project - http://www.gallio.org/ // Portions Copyright 2000-2004 Jonathan de Halleux // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.a...
using System; using System.Runtime; using System.Runtime.InteropServices; using System.Security; namespace System.Management { public class ConnectionOptions : ManagementOptions { private string locale; private string username; private SecureString securePassword; private string authority; private Impe...
using System; using System.Collections.Generic; using System.Text; using System.Drawing; using CustomDevice; using System.Drawing.Drawing2D; namespace Snake { class SnakePit { private const int cellSize = 8; private const int scoreBoardHeight = 48; private Graphics screen; private int cellOfsX, cellOfsY; ...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. namespac...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. /*============================================================ ** ** ** ** Purpose: Convenient wrapper for an array,...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. namespace Test.Azure.Management.Logic { using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.N...
using UnityEngine; using System; using System.Linq; using System.Collections.Generic; public enum AnimationMode { Loop, OneShot } public abstract class AnimationSystemBase<T> : MonoBehaviour { #region Variables / Properties public bool DebugMode = false; public float AnimationRate = 0.1f; public AnimationM...
// CodeContracts // // Copyright (c) Microsoft Corporation // // All rights reserved. // // MIT License // // Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including wit...