context
stringlengths
2.52k
185k
gt
stringclasses
1 value
// Copyright 2020 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 // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
// 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 1.0.0.0 // Changes may cause incorrect behavior and will be lost if the code is // regenerated. n...
// Copyright (c) DotSpatial Team. All rights reserved. // Licensed under the MIT license. See License.txt file in the project root for full license information. using System; using System.Drawing; using System.Drawing.Imaging; using System.IO; using System.Runtime.InteropServices; namespace DotSpatial.Data { /// ...
// 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.Linq; using Microsoft.CodeAnalysis.CSharp.Symbols; using Microsoft.CodeAnalysis.CSharp.Syntax; using Microsoft....
// Copyright 2019 Esri // 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 law or agreed to in wr...
// -- FILE ------------------------------------------------------------------ // name : QuartersTest.cs // project : Itenso Time Period // created : Jani Giannoudis - 2011.02.18 // language : C# 4.0 // environment: .NET 2.0 // copyright : (c) 2011-2012 by Itenso GmbH, Switzerland // ---------------------...
// Copyright 2017 Google Inc. 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 required by applicable...
//----------------------------------------------------------------------- // <copyright file="FlowDelaySpec.cs" company="Akka.NET Project"> // Copyright (C) 2015-2016 Lightbend Inc. <http://www.lightbend.com> // Copyright (C) 2013-2016 Akka.NET project <https://github.com/akkadotnet/akka.net> // </copyright> //...
// // AddinTile.cs // // Author: // Aaron Bockover <abockover@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, 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.ComponentModel; using System.Data.Common; using System.Diagnostics; using System.Globalization; namesp...
//----------------------------------------------------------------------- // <copyright file="FormatterLocator.cs" company="Sirenix IVS"> // Copyright (c) 2018 Sirenix IVS // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may...
// Amplify Shader Editor - Visual Shader Editing Tool // Copyright (c) Amplify Creations, Lda <info@amplify.pt> using UnityEngine; using UnityEditor; using System; using System.Linq; using System.Collections.Generic; using System.Reflection; namespace AmplifyShaderEditor { public class ShortcutKeyData { public bo...
using System.ComponentModel; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using NJsonSchema.Generation; using Xunit; namespace NJsonSchema.Tests.Generation { public class EnumGenerationTests { publ...
// <copyright file="ResidualStopCriterionTest.cs" company="Math.NET"> // Math.NET Numerics, part of the Math.NET Project // http://numerics.mathdotnet.com // http://github.com/mathnet/mathnet-numerics // http://mathnetnumerics.codeplex.com // // Copyright (c) 2009-2014 Math.NET // // Permission is hereby granted, free ...
using System; using System.Collections.Generic; using Microsoft.Data.Entity.Migrations; namespace WebApp.Migrations { public partial class AddedCallTables3 : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.DropForeignKey(name: "FK_Identit...
using System; using System.ComponentModel; using System.Windows.Forms; using Palaso.Email; using Palaso.Reporting; // TODO: Ideally we wouldn't need this here in the UI. namespace Palaso.UI.WindowsForms.Miscellaneous { /// <summary> /// Summary description for UsageEmailDialog. /// </summary> public class UsageEm...
// // System.Data.ProviderBase.DbDataReaderBase // // Author: // Tim Coleman (tim@timcoleman.com) // Boris Kirzner (borisk@mainsoft.com) // // Copyright (C) Tim Coleman, 2003 // // // Copyright (C) 2004 Novell, Inc (http://www.novell.com) // (C) 2005 Mainsoft Corporation (http://www.mainsoft.com) // // Permission i...
#region License /* ********************************************************************************** * Copyright (c) Roman Ivantsov * This source code is subject to terms and conditions of the MIT License * for Irony. A copy of the license can be found in the License.txt file * at the root of this distribution. ...
namespace dotless.Test.Config { using System; using Core; using Core.Abstractions; using Core.Cache; using Core.configuration; using Core.Input; using Core.Loggers; using Core.Parser; using Core.Response; using NUnit.Framework; public class ConfigurationFixture { ...
/* * * (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 Xunit; namespace ManagedTests.DynamicCSharp.Conformance.dynamic.declarations.localVariable.blockVariable.anon...
using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using log4net; using RestSharp.Extensions.MonoHttp; using Xpressive.Home.Contracts.Gateway; using Xpressive.Home.Contracts.Messaging; using Action = Xpressive.Home.Contracts.Gateway.Action; namespac...
/* * Copyright (c) Contributors, http://aurora-sim.org/, 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: * * Redistributio...
namespace SandcastleBuilder.Utils.Design { partial class ApiFilterEditorDlg { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. ///...
// 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.Linq; using System.Threading; using System.Windows.Threading; using Microsoft.CodeAnalysis.Internal.Log; 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; using System.Collections.Generic; using Xunit; namespace System.Linq.Tests.LegacyTests { public class LastOrDefaultTests { public class L...
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Linq.Expressions; using System.Reflection; using System.Runtime.CompilerServices; using System.Text; using System.Collections.ObjectModel; namespace Moq { /// <summary> /// The intention of <see cref="Expressi...
using System; using System.Collections.Generic; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; namespace Zunix.Gameplay { /// <summary> /// A code container for collision-related mathematical functions. /// </summary> static public class CollisionMath { /// <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.Collections.Generic; using System.Diagnostics.Contracts; using System.IO; namespace System.Security.Cl...
// 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; using System.Collections.ObjectModel; using System.Diagnostics; using System.Text; using Microsoft.CodeAnalysis.Collections; using Microsoft.Cod...
using System; using Glass.Mapper.Pipelines.DataMapperResolver; using Glass.Mapper.Sc.Configuration; using Glass.Mapper.Sc.DataMappers; using Glass.Mapper.Sc.FakeDb.Infrastructure; using Glass.Mapper.Sc.IoC; using NSubstitute; using NUnit.Framework; using Sitecore.Data; using Sitecore.FakeDb; using Sitecore.Resources...
// 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.Net.Security; using System.Net.Test.Common; using System.Runtime.Inte...
// 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; using System; using System.IO; using System.Text; namespace System.IO.Tests { public class BinaryW...
//----------------------------------------------------------------------- // <copyright file="BindableBase.cs" company="Marimer LLC"> // Copyright (c) Marimer LLC. All rights reserved. // Website: http://www.lhotka.net/cslanet/ // </copyright> // <summary>This class implements INotifyPropertyChanged</summary> /...
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System; using System.Collections; using System.Collections.Generic; using System.Management.Automation; using System.Management.Automation.Internal; using System.Management.Automation.Runspaces; using Microsoft.PowerShell.Commands.Intern...
#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...
#region License // Copyright (c) 2007 James Newton-King // // 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 without limitation the rights to use, // copy, ...
using System; using System.Collections.Generic; using Android.Content; using Android.Util; using Android.Views; using Android.Widget; namespace MonoDroid.Dialog { public static class DroidResources { public enum ElementLayout: int { dialog_boolfieldleft, dialog_boolfield...
using System.Collections.Generic; using System.Dynamic; using System.Linq; using System.Linq.Expressions; namespace OrchardCore.DisplayManagement.Shapes { public class Composite : DynamicObject { protected readonly Dictionary<object, object> _props = new Dictionary<object, object>(); public ov...
#if !UseMapBoxAsMapImage // Copyright 2005, 2006 - Morten Nielsen (www.iter.dk) // // This file is part of SharpMap. // SharpMap is free software; you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation; either version 2 of the...
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== // // Remoting Infrastructure Sink for making calls across context // boundaries. // namespace System.Runtime.Remoting.Channels { using System; using System.Collections; using System.IO; using System.Runtime.Int...
// 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; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Diagnostics; using System.Linq; using System.Threading.Task...
// 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; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading; using System.Threading.Tasks; using Microsoft.Code...
//------------------------------------------------------------------------------ // <copyright file="CategoryAttribute.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> //----------------------------...
using System; using System.Collections.Generic; using System.IO; namespace ServiceStack.Text { public static class StreamExtensions { public static void WriteTo(this Stream inStream, Stream outStream) { var memoryStream = inStream as MemoryStream; if (memoryStream != null) { memoryStream.WriteTo(out...
using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Linq; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using Pathoschild.Stardew.Common; using Pathoschild.Stardew.Common.DataParsers; using Pathoschild.Stardew.Common.Items.ItemData; using Pathosch...
// 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.Threading; namespace System.Data.SqlClient...
// // TokenizerTests.cs // // Author: // Aaron Bockover <abockover@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 restrictio...
// 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 ...
/* * Copyright 2010-2014 Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "l...
/* * 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 BForms.Editor; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Web.Mvc; using BForms.Models; using BForms.Utilities; using DocumentFormat.OpenXml.Drawing; using DocumentFormat.OpenXml.EMMA; namespace BForms.Renderers { public cl...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Content; using Microsoft.Xna.Framework.Graphics; namespace SuperPolarity { public class Actor { protected SuperPolarity game; public List<Actor> Ch...
// // 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. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Collections; using System.Collections.Concurrent; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; usi...
using System; using System.Collections; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Globalization; using System.Linq; using System.Reflection; namespace SimpleInjectorWithWebAPI.Areas.HelpPage { /// <summary> /// This class will create an object of a given type and pop...
// --------------------------------------------------------------------------- // <copyright file="Rule.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> // --------------------------------------------------------------------------- //---------------------------...
#region Copyright notice and license // Copyright 2015 gRPC authors. // // 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 req...
// 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; using Xunit.Abstractions; using System; using System.IO; using System.Xml; using System.Xml.XPath; usin...
using System; using System.Drawing; using System.Collections; using System.ComponentModel; using System.Windows.Forms; using QED.Business; using JCSLA; namespace QED.UI { /// <summary> /// Summary description for EffortData. /// </summary> public class EffortData : System.Windows.Forms.Form { private System.Windo...
using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Runtime.CompilerServices; using Microsoft.AspNetCore.Mvc.Rendering; using Microsoft.AspNetCore.Mvc.ViewFeatures; namespace OrchardCore.ResourceManagement { public class ResourceDefinition { private...
using System; using System.Text; using zipkin4net.Utils; namespace zipkin4net.Propagation { /// /// This format corresponds to the propagation key "b3" (or "B3"), which delimits fields in the /// following manner. /// /// <pre><code> /// b3: {x-b3-traceid}-{x-b3-spanid}-{if x-b3-flags 'd' els...
// 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.Net.Test.Common; using System.Threading; using Xunit; using Xunit.Abstractions; name...
using System; using System.Linq; using System.Text; using System.Collections.Generic; using System.Runtime.InteropServices; namespace MacMemoryManipulator { public partial class MemoryManipulator { protected uint _self; private int _id; /// <summary> /// Gets or sets the proces...
using SageCS.Core; using System.Collections.Generic; namespace SageCS.INI { class INIManager { private static GameData gameData; private static Dictionary<string, Object> objects = new Dictionary<string, Object>(); private static Dictionary<string, Weapon> weapons = new Dictionary<stri...
/* * 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 (c) InWorldz Halcyon Developers * Copyright (c) Contributors, http://opensimulator.org/ * * 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 c...
/* * 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 ...
//--------------------------------------------------------------------------- // // <copyright file="EasingKeyFrames.cs" company="Microsoft"> // Copyright (C) Microsoft Corporation. All rights reserved. // </copyright> // // This file was generated, please do not edit it directly. // // Please see http://wiki/defau...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Windows.Threading; using MS.Utility; using MS.Internal.WindowsBase; #pragma warning disable 1634, 1691 // suppressing PreSharp warnings namespace System.Windows { /// <summary> /// Type cache for all DependencyObject d...
// 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.Data.SqlTypes; using System.Diagnostics; using System.Globalization; using System.IO; using System.Runt...
// 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 files defines the following types: * - _IOCompletionCallback * - OverlappedData * - Overlapped */ ...
using CrystalDecisions.CrystalReports.Engine; using CrystalDecisions.Windows.Forms; using DpSdkEngLib; using DPSDKOPSLib; using Microsoft.VisualBasic; using System; using System.Collections; using System.Collections.Generic; using System.Drawing; using System.Diagnostics; using System.Windows.Forms; using System.Linq; ...
// Copyright (c) Microsoft Corporation. All Rights Reserved. See License.txt in the project root for license information. using FSLib = Microsoft.FSharp.Compiler.AbstractIL.Internal.Library; using System; using System.Runtime.InteropServices; using System.Collections.Generic; using System.IO; using System.Windows.Fo...
/* * 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 Shouldly; using System; using Xunit; namespace StructureMap.Testing.Pipeline { public class Address { } public class AddressDTO { } public class Continuation { } public class AddressFlattener : IFlattener<Address> { public object ToDto(object input) ...
// --------------------------------------------------------------------------- // <copyright file="ExtendedPropertyCollection.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> // --------------------------------------------------------------------------- //-----...
// 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 ...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using System.Collections.Generic; using System.Linq; using NUnit.Framework; using osu.Framework.Bindables; using osu.Framework.Graphics; using osu.Framework...
// 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.Text; using Debug = System.Diagnostics.Debug; namespace Internal.TypeSystem { /// <...
using System; using System.Diagnostics; using System.Globalization; using System.Windows.Input; using Xamarin.Forms.Internals; using Xamarin.Forms.Platform; namespace Xamarin.Forms { [RenderWith(typeof(_ButtonRenderer))] public class Button : View, IFontElement, IButtonController { public static readonly Bindable...
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using PSDocs.Configuration; using PSDocs.Pipeline.Output; using PSDocs.Processor; using PSDocs.Resources; using System; using System.IO; using System.Management.Automation; using System.Text; namespace PSDocs.Pipeline { internal delegate b...
// 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 required by a...
/* * 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 Xwt.Drawing; namespace Xwt.GoogleMaterialDesignIcons { public class ActionIcons { static Image GetIcon (string id) { string resourceId = typeof(ActionIcons).Assembly.FullName.Split (',') [0] + ".Resources.Action." + id + "32px.png"; return Image.FromResource (typeof(ActionIcons), resour...
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for details. using System; using System.Collections; using System.Text.RegularExpressions; using Microsoft.Win32; namespace Project31.CoreServices { /// <summary> /// A referrer chain hol...
/// Copyright (C) 2012-2014 Soomla Inc. /// /// 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 l...
/* Copyright notice and license Copyright 2007-2010 WebDriver committers Copyright 2007-2010 Google Inc. Portions copyright 2007 ThoughtWorks, Inc 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 ...
// 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.Linq; using Xunit; namespace System.Reflection.Emit.Tests { publ...
using System; using Cosmos.IL2CPU.X86; using CPU = Cosmos.Assembler.x86; using Cosmos.Assembler.x86; using Label = Cosmos.Assembler.Label; namespace Cosmos.IL2CPU.X86.IL { [Cosmos.IL2CPU.OpCode(ILOpCode.Code.Beq)] [Cosmos.IL2CPU.OpCode(ILOpCode.Code.Bge)] [Cosmos.IL2CPU.OpCode(ILOpCode.Code.Bgt)] [Cosm...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.IO; using System.IO.MemoryMappedFiles; using Xunit; [Collection("CreateFromFile")] public class CreateFromFile : MMFTestBase { [Fact] ...
using System; using System.Security; using System.Runtime.InteropServices; namespace Nvidia.TextureTools { #region Enums #region public enum Format /// <summary> /// Compression format. /// </summary> public enum Format { // No compression. RGB, RGBA = RGB, // DX9 formats. DXT1, DXT1a, DXT3, D...
// 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.Reflection; using System.Diagnostics.Contracts; using System.IO; using System.Runtime.Ve...
//! \file ImageS25.cs //! \date Sat Apr 18 17:00:54 2015 //! \brief ShiinaRio S25 multi-image format. // // Copyright (C) 2015 by morkt // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to // deal ...
// 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...
// ******************************************************************************************************** // Product Name: DotSpatial.Symbology.dll // Description: Contains the business logic for symbology layers and symbol categories. // ******************************************************************************...
#region License // // Primitive.cs July 2006 // // Copyright (C) 2006, Niall Gallagher <niallg@users.sf.net> // // 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.or...
/* * 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 UnityEngine; using System.Collections; using System.Collections.Generic; public class FScreen { public float width; //in points, not pixels public float height; //in points, not pixels public float halfWidth; //for convenience, in points public float halfHeight; //for convenience, in points ...
/* Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information. */ using System; using System.Collections.Generic; using System.Linq; using System.Security; using System.Text.RegularExpressions; using System.Web; using System...