context
stringlengths
2.52k
185k
gt
stringclasses
1 value
/********************************************************************++ Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.Generic; using System.Collections.ObjectModel; using System.Text; using System.ComponentMod...
#region license // Copyright (c) 2009 Rodrigo B. de Oliveira (rbo@acm.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 co...
using System; using SharpVectors.Dom; using SharpVectors.Dom.Css; using SharpVectors.Dom.Events; using SharpVectors.Dom.Stylesheets; using SharpVectors.Dom.Svg; using SharpVectors.Dom.Views; using System.Xml; namespace SharpVectors.Scripting { /// <summary> /// Implementation wrapper for IScriptableCssRuleList ...
/******************************************************************** The Multiverse Platform is made available under the MIT License. Copyright (c) 2012 The Multiverse Foundation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "...
using System; using System.Collections.Generic; using Microsoft.Data.Entity.Migrations; namespace AllReady.Migrations { public partial class UserTimeZone : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.DropForeignKey(name: "FK_Activity_...
/* * Location Intelligence APIs * * Incorporate our extensive geodata into everyday applications, business processes and workflows. * * OpenAPI spec version: 8.5.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git * * Licensed under the Apache License, Version 2.0 (the "License"); * you m...
// 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. // ------------------------------------------------------------------------------ // Changes to this file must follow...
/* ** SGI FREE SOFTWARE LICENSE B (Version 2.0, Sept. 18, 2008) ** Copyright (C) 2011 Silicon Graphics, Inc. ** All Rights Reserved. ** ** 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 wit...
using System; using System.Security; using System.Windows; using System.Windows.Input; using System.Windows.Interop; using System.Windows.Media; using System.Collections.Generic; using System.Windows.Automation; using System.Windows.Automation.Provider; using MS.Internal.Automation; using MS.Internal; using SR=MS.Inte...
using UnityEngine; using Stratus; using System; using Stratus.AI; namespace Stratus.Gameplay { /// <summary> /// An action taken in combat. /// </summary> public abstract class StratusCombatAction { //----------------------------------------------------------------------/ // Declarations //-----------------...
namespace android.view.animation { [global::MonoJavaBridge.JavaClass(typeof(global::android.view.animation.Animation_))] public abstract partial class Animation : java.lang.Object, java.lang.Cloneable { internal new static global::MonoJavaBridge.JniGlobalHandle staticClass; static Animation() { InitJNI(); ...
using Signum.Utilities.Reflection; using Signum.Engine.Maps; namespace Signum.Engine.Linq; internal static class SmartEqualizer { public static ConstantExpression True = Expression.Constant(true); public static ConstantExpression False = Expression.Constant(false); static ConstantExpression NewId = Expr...
#region WatiN Copyright (C) 2006-2011 Jeroen van Menen //Copyright 2006-2011 Jeroen van Menen // // 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/lice...
// 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 CultureInfo = System.Globalization.CultureInfo; us...
/* * Muhimbi PDF * * Convert, Merge, Watermark, Secure and OCR files. * * OpenAPI spec version: 9.15 * * Generated by: https://github.com/swagger-api/swagger-codegen.git */ using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using RestSharp; using Muhimbi....
// Copyright (c) 2010-2013 SharpDX - Alexandre Mutel // // 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, modif...
// 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.Reflection; using System.Diagnostics; using System.Globalization; using System.Colle...
//--------------------------------------------------------------------------- // // <copyright file="XmlElementCollection.cs" company="Microsoft"> // Copyright (C) 2003 by Microsoft Corporation. All rights reserved. // </copyright> // // // Description: Subclass of ObservableCollection<T> which also registers for ...
// The MIT License (MIT) // // Copyright (c) 2014-2017, Institute for Software & Systems Engineering // // 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...
/* Copyright 2012 Michael Edwards 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 i...
namespace BB.Caching.Redis { using System; using System.Collections.Generic; using StackExchange.Redis; /// <summary> /// A group of connections for Redis. /// <remarks> /// Used to group a master-slave setup so that we can treat the master as the single write connection /// (/ read co...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Web.UI; using System.Web.UI.WebControls; using Codentia.Common.WebControls.HtmlElements; namespace Codentia.Common.WebControls { /// <summary> /// SelectionList control /// </summary> public class SelectionList : ...
// SPDX-License-Identifier: MIT // Copyright wtfsckgh@gmail.com // Copyright iced contributors #if ENCODER using System.Diagnostics; namespace Iced.Intel.EncoderInternal { abstract class Op { public abstract void Encode(Encoder encoder, in Instruction instruction, int operand); /// <summary> /// If this is an...
/* * SubSonic - http://subsonicproject.com * * The contents of this file are subject to the Mozilla Public * License Version 1.1 (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.mozilla.org/MPL/ * * Software distributed un...
//----------------------------------------------------------------------- // <copyright file="ActorGraphInterpreter.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> // </copyr...
// // Copyright (c) 2008-2011, Kenneth Bell // // 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, modify, merge, ...
#define USE_TRACING using System; using Google.GData.Extensions; namespace Google.GData.Documents { public class ArchiveEntry : DocumentEntry { /// <summary> /// ArchiveConversion collection /// </summary> private ExtensionCollection<ArchiveConversion> archiveConversions; ...
// 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...
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="Interchange.cs" company="Solidsoft Reply Ltd."> // Copyright (c) 2015 Solidsoft Reply Limited. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "...
using System; using System.Collections.Generic; using System.Linq; using Avalonia.Data.Core; using Avalonia.Utilities; #nullable enable // Don't need to override GetHashCode as the ISyntax objects will not be stored in a hash; the // only reason they have overridden Equals methods is for unit testing. #pragma warnin...
// 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.Security; using System.Diagnostics; using System.Diagnostics.Contracts; using Syst...
// 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.Diagnostics; using System.Runtime.InteropServices; using System.Security.Cryptography; us...
using System; using System.Collections; using System.Collections.Generic; using gView.Framework.Geometry; using gView.Framework.FDB; namespace gView.Framework.Data { public class RowData : IRowData { protected List<FieldValue> _fields; private bool _caseSensitivFieldnameMatching; publi...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Globalization; using System.IO; using System.Text; using System.Threading; using Assets.Sources.Scripts.UI.Common; using Memoria.Prime; using Memoria.Prime.Text; using Memoria.Prime.Threading; using ExtensionMethodsIEnumerable = Memo...
/* 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 writing, ...
// // 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, modify, merge, publish, // distribute, sublicense, and/or ...
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Diagnostics.CodeAnalysis; using System.Globalization; using System.Management.Automation; using System.Management.Automation.Internal; using Mic...
/* * Copyright (c) 2007-2008, the libsecondlife development team * 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 not...
// 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.Globalization; using Xunit; namespace System.Globalization.CalendarsTests { public class KoreanCalendarToDateTime { #region ...
/* Copyright (C) 2014 Newcastle University * * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file for details. */ using System; using Android.Content; using System.Threading.Tasks; using System.Net; using System.Threading; using Bootleg.API.Exceptions; using An...
// 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.Tracing; using System.Reflection; using System.Runtime.Com...
/* Copyright (c) Citrix Systems Inc. * 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 lis...
// 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.Collections; using System.Text; using Xunit; namespace System.Global...
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // Copyright (c) Microsoft Corporation. All rights reserved. /////////////////////////////////////////////////////////...
// 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.Collections.Generic; using System.Runtime.CompilerServices; using Microsoft.AspNetCore.Internal; using Microsoft.AspNetCore.WebUtilities; using Microsoft.E...
using System; using System.Collections.Generic; using System.IO; using NUnit.Framework; namespace Cottle.Test { public class FunctionTester { private static readonly Value Return = 42; private const string Output = "abc"; private const string State = "test"; [Test] publ...
// // TreeStore.cs // // Author: // Lluis Sanchez <lluis@xamarin.com> // // Copyright (c) 2011 Xamarin 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...
// <copyright file="CubicSplineTest.cs" company="Math.NET"> // Math.NET Numerics, part of the Math.NET Project // http://numerics.mathdotnet.com // http://github.com/mathnet/mathnet-numerics // // Copyright (c) 2009-2016 Math.NET // // Permission is hereby granted, free of charge, to any person // obtaining a copy of t...
// // 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.Collections.Generic; using System.Security.Cryptography; using System.Text; using DeOps.Implementation.Protocol; namespace DeOps.Services.Mail { public class MailPacket { public const byte MailHeader = 0x10; public const byte MailInfo = 0x20; public const by...
using System; using System.Collections; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Globalization; using System.Linq; using System.Reflection; namespace Property4U.Areas.HelpPage { /// <summary> /// This class will create an object of a given type and populate it with ...
namespace QRCodeSample { partial class MainForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <par...
/* * Copyright (c) 2007-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 * li...
using System; using System.Collections.Generic; /// <summary> /// System.Collections.Generic.List.LastIndexOf(T item, Int32,Int32) /// </summary> public class ListLastIndexOf3 { #region Public Methods public bool RunTests() { bool retVal = true; TestLibrary.TestFramework.LogInformation("[P...
using System; using System.Collections; using System.Collections.Generic; using System.Collections.Specialized; using System.ComponentModel.DataAnnotations; using System.Globalization; using System.Reflection; using System.Runtime.Serialization; using System.Web.Http; using System.Web.Http.Description; using System.Xml...
namespace Ocelot.AcceptanceTests { using System; using System.Collections.Generic; using System.Net; using Microsoft.AspNetCore.Http; using Ocelot.Configuration.File; using TestStack.BDDfy; using Xunit; public class RoutingWithQueryStringTests : IDisposable { private readonl...
// 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 MS.Internal.Xml.XPath { using System; using Microsoft.Xml; using Microsoft.Xml.XPath; usin...
// Copyright (c) 2008-2018, Hazelcast, 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 ...
using System; using System.Net; using System.Threading; using Orleans.Messaging; using Orleans.Runtime.Configuration; namespace Orleans.Runtime.Messaging { internal class MessageCenter : ISiloMessageCenter, IDisposable { private Gateway Gateway { get; set; } private IncomingMessageAcceptor ima;...
using System; /* * $Id: Tree.cs,v 1.2 2008-05-10 09:35:40 bouncy Exp $ * Copyright (c) 2000,2001,2002,2003 ymnk, JCraft,Inc. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of sou...
// 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.Linq; using System.Threading; using System.Threading.Tasks; u...
/* * * 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"); y...
// ------------------------------------------------------------------------------------------------ // KingTomato Script // ------------------------------------------------------------------------------------------------ $King::Version = "2.4"; $KT::Debug = false; // dont worry bout this // Presto Resolutions M...
using System; using FM; using FM.IceLink; using FM.IceLink.WebRTC; namespace Xamarin.Forms.Conference.WebRTC.Droid.Opus { public class OpusCodec : AudioCodec { private BasicAudioPadep _Padep; private Encoder _Encoder; private Decoder _Decoder; public OpusEchoCanceller EchoCance...
/* * REST API Documentation for the MOTI Hired Equipment Tracking System (HETS) Application * * The Hired Equipment Program is for owners/operators who have a dump truck, bulldozer, backhoe or other piece of equipment they want to hire out to the transportation ministry for day labour and emergency projects. The ...
using AllReady.Areas.Admin.Controllers; using Xunit; using Moq; using MediatR; using AllReady.Areas.Admin.Features.Skills; using Microsoft.AspNetCore.Mvc; using System.Threading.Tasks; using System.Collections.Generic; using Microsoft.AspNetCore.Http; using System.Security.Claims; using AllReady.Models; using AllReady....
// This file was created automatically, do not modify the contents of this file. // ReSharper disable InvalidXmlDocComment // ReSharper disable InconsistentNaming // ReSharper disable CheckNamespace // ReSharper disable MemberCanBePrivate.Global using System; using System.Runtime.InteropServices; // Source file C:\P...
#region Copyright //======================================================================================= // [PLEASE DO NOT MODIFY THIS HEADER INFORMATION]--------------------- // Title: Grouper // Description: A rounded groupbox with special painting features. // Date Created: December 17, 2005 // Author: Adam Smit...
using System; using System.Diagnostics; using System.Text; using System.Threading; using Xunit; using LessIO; using System.Linq; namespace LessMsi.Tests { public class TestBase { [DebuggerHidden] protected void ExtractAndCompareToMaster(string msiFileName) { var actualFileEn...
using Microsoft.Practices.ServiceLocation; using Prism.Common; using Prism.Events; using Prism.Properties; using Prism.Regions.Behaviors; using System; using System.Collections; using System.Collections.Generic; using System.Collections.Specialized; using System.ComponentModel; using System.Globalization; using System....
namespace PulsarTales.Data.Migrations { using System; using System.Data.Entity.Migrations; public partial class Init : DbMigration { public override void Up() { CreateTable( "dbo.Announsments", c => new { ...
// 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.Linq; using System.Threading; using System.Threading.Tasks; u...
using System; using UnityEngine; using UnityEngine.Assertions; /// TODO handle lives / Game over /// TODO handle character alignment /// TODO handle Damage direction here or in the HitBox but must be done :) namespace UnityPlatformer { /// <summary> /// Tracks character health and lives. /// /// Triggers char...
// 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 System.Globalization; using System.Linq; using System.Threading.Tasks; using Xunit; public static unsafe class Da...
/* * Copyright 2013 ZXing 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 required by applicable law or agreed ...
using System; using System.Text; using BloomFilter; using System.Collections; using System.Collections.Generic; namespace BloomFilterApp { class MainClass { private static Dictionary<string, string> Arguments; private static string FastaPath; private static double ErrorRate; pri...
using System; using System.CodeDom.Compiler; using System.Collections.Generic; namespace EduHub.Data.Entities { /// <summary> /// Courses /// </summary> [GeneratedCode("EduHub Data", "0.9")] public sealed partial class SC : EduHubEntity { #region Navigation Property Cache priv...
namespace BooCompiler.Tests { using NUnit.Framework; [TestFixture] public class CompilerErrorsTestFixture : AbstractCompilerErrorsTestFixture { [Test] public void BCE0000_1() { RunCompilerTestCase(@"BCE0000-1.boo"); } [Test] public void BCE0004_1() { RunCompilerTestCase(@"BCE0004-1.boo");...
/* * 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 ...
#region License /* Copyright (c) 2003-2015 Llewellyn Pritchard * All rights reserved. * This source code is subject to terms and conditions of the BSD License. * See license.txt. */ #endregion using System; using System.Collections.Generic; using System.Diagnostics; namespace IronScheme.Editor.Collections { pub...
using Lucene.Net.Diagnostics; using Lucene.Net.Support; using System; using System.Collections.Generic; using System.Globalization; namespace Lucene.Net.Util { /* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with ...
/* * sysglobl.cs - Implementation of the "sysglobl.dll" assembly. * * Copyright (C) 2004 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; either versio...
#region MIT License /* * Copyright (c) 2005-2008 Jonathan Mark Porter. http://physics2d.googlepages.com/ * * 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, includi...
// 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 ...
/******************************************************************************* * Copyright (c) 2013, Daniel Murphy * 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 ...
/* Copyright (c) 2009-11, ReactionGrid Inc. http://reactiongrid.com * See License.txt for full licence information. * * PlayerSpawnController.cs Revision 1.4.1106.11 * Controls the creation of avatar models and associated components */ using UnityEngine; using System.Collections; using System.Collections.Generic...
//TODO - make sure msvc builds with 32bit enums and get rid of the extra marshalling fluff here using System; using System.Runtime.InteropServices; using BizHawk.Emulation.Common; namespace BizHawk.Emulation.Cores.Sony.PSX { public unsafe static class OctoshockDll { const CallingConvention cc = CallingConvention...
// <copyright file="BuilderTest.cs" company="Fubar Development Junker"> // Copyright (c) 2016 Fubar Development Junker. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // </copyright> using System; using System.Collections.Generic; using System...
using System; using System.Collections.Generic; using System.Text; using TestLibrary; public class StringConcat8 { private int c_MAX_STRING_LENGTH = 256; private int c_MINI_STRING_LENGTH = 8; public static int Main() { StringConcat8 sc8 = new StringConcat8(); TestLibrary.TestFramewor...
/* * 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 .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.Globalization; using System.Diagnostics.Con...
using System; using System.Collections; using System.Collections.Generic; using System.Text; namespace Microsoft.Msagl.Core.DataStructures { // TODO: Move and expand the commented tests below into PriorityQueueTests unit tests for all 3 PQ classes. // TODO: Reduce duplication with GenericBinaryHeapPriorityQue...
// 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 ...
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.ComponentModel; using System.Diagnostics.CodeAnalysis; using System.Globalization; using System.IO; using System.Linq; using System.Net.Http; using System.Net.Http.Formatting; using System.Net.Http.Headers; using System.W...
// Copyright (c) .NET Foundation and contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Collections.Generic; using System.Linq; using Microsoft.DotNet.ProjectModel.Graph; using Microsoft.DotNet.ProjectModel.Utilities; us...
using System; using System.Globalization; #if !BUILDTASK using Avalonia.Animation.Animators; #endif namespace Avalonia.Media { /// <summary> /// An ARGB color. /// </summary> #if !BUILDTASK public #endif readonly struct Color : IEquatable<Color> { static Color() { #if !BUILDTASK...
// <copyright file="Proxy.cs" company="WebDriver Committers"> // Licensed to the Software Freedom Conservancy (SFC) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The SFC licenses this file // to you und...
using System; using System.Globalization; using System.Text; using NBitcoin.BouncyCastle.Utilities; namespace NBitcoin.BouncyCastle.Asn1 { /** * Generalized time object. */ public class DerGeneralizedTime : Asn1Object { private readonly string time; /** * return...
using System; using System.Drawing; using System.Windows.Forms; using System.Windows.Forms.VisualStyles; namespace SIL.Windows.Forms.Widgets.BetterGrid { #region SilButtonCell class /// ---------------------------------------------------------------------------------------- /// <summary> /// Extends the DataGridVi...
// 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.Collections.ObjectModel; using System.Diagnostics; using System.Dynam...