context
stringlengths
2.52k
185k
gt
stringclasses
1 value
// Copyright 2004-2011 Castle Project - http://www.castleproject.org/ // // 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 re...
using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Text.Json; using System.Threading.Tasks; using FluentAssertions; using JsonApiDotNetCore.Configuration; using JsonApiDotNetCore.Serialization.Objects; using Microsoft.Extensions.DependencyInjection; using TestBuil...
using Discord.Audio; using Discord.Rest; using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Diagnostics; using System.Linq; using System.Threading.Tasks; using UserModel = Discord.API.User; using MemberModel = Discord.API.GuildMember; using PresenceModel = Discord.API.Prese...
using Microsoft.Azure.ApplicationInsights.Query.Models; using Microsoft.Rest; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Threading; using System.Threading.Tasks; namespace Microsoft.Azure.ApplicationInsights.Query { public partial class Metrics : IServiceOperations<App...
// 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.Runtime.InteropServices.ComTypes; using OpenLiveWriter.Mshtml.Mshtml_Interop; using System.Runtime.InteropServices; namespace OpenLiveWriter.PostEditor...
// 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.Concurrent; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading; using System....
using RSG.Promises; using System; using System.Linq; using RSG.Exceptions; using Xunit; namespace RSG.Tests { public class Promise_NonGeneric_Tests { [Fact] public void can_resolve_simple_promise() { var promise = Promise.Resolved(); var completed = 0; ...
// Copyright (c) 2010-2014 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...
/* * * (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...
// 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...
#if NET_2_0 using System; using System.Collections.Specialized; using System.Configuration; using System.Security.Permissions; using System.Web; using System.Web.Profile; using Spring.Context.Support; namespace Spring.Web.Providers { /// <summary> /// Wrapper for <see cref="System.Web.Profile.ProfileProvider...
/* * * (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...
//================================================================================================= // // MSAA Filtering 2.0 Sample // by MJP // http://mynameismjp.wordpress.com/ // // All code licensed under the MIT license // //======================================================================================...
using System; using System.Collections.Generic; using Mono.Unix; using Gtk; using Hyena; using Banshee.Widgets; using Banshee.Sources; using Banshee.ServiceStack; using Banshee.Collection; using Banshee.Collection.Gui; using Banshee.Gui; using Banshee.Gui.Widgets; using Banshee.Sources.Gui; using Banshee.Web; usin...
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using UnityEditor; using UnityEngine; namespace UnityTest { [Serializable] public class IntegrationTestsRunnerWindow : EditorWindow { [SerializeField] private IntegrationTestRunnerRenderer renderer; #region runner ste...
namespace Microsoft.Protocols.TestSuites.MS_ASWBXML { using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Xml; using Microsoft.Protocols.TestTools; /// <summary> /// The implementation of MS-ASWBXML /// </summary> public clas...
// // 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...
// 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. //Simple arithmatic manipulation of one 2D array elements using System; public class string1 { public static R...
//----------------------------------------------------------------------------- // 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...
// Copyright 2007-2015 Chris Patterson, Dru Sellers, Travis Smith, et. al. // // 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 // /...
using System.Windows.Forms; namespace XLG.Pipeliner { partial class GloveMain { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. ...
// 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.Threading; using Xunit; namespace System.Linq.Parallel.Tests { p...
// 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.Collections.Generic; using System.Linq; using Internal.Metadata.NativeFormat.Writer; usi...
// 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 System.Runtime.CompilerServices; namespace System.Threading.Tasks { /// <summar...
// 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.ComponentModel; using System.Data.Common; u...
using System; using NSubstitute; using NUnit.Framework; using NUnit.Framework.SyntaxHelpers; using SineSignal.Ottoman.Specs.Framework; using SineSignal.Ottoman.Serialization; namespace SineSignal.Ottoman.Specs.Serialization.JsonReaderSpecs { public class ReadingArraySpecs { public class When_reading_a_json_strin...
using Moq; using NFluent; using System.IO; using System.Linq; using System.Net; using System.Net.Http; using System.Net.Http.Headers; using System.Text; using System.Threading.Tasks; using WireMock.Handlers; using WireMock.Server; using WireMock.Settings; using Xunit; namespace WireMock.Net.Tests { public class Wi...
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== // // RecipientInfo.cs // namespace System.Security.Cryptography.Pkcs { using System.Collections; using System.Runtime.InteropServices; using System.Security.Cryptography; using System.Security.Cryptography.X5...
// 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 Microsoft.CodeAnalysis.CSharp.Syntax; using Microsoft.CodeAnalysis.Test.Utilities; using Roslyn.Test.Utilities; using Xunit; namespace Microsoft.CodeAn...
// 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.Diagnostics; using System.Globalization; using System.Linq; using System.Net; using System.Text; usin...
// // ControlOverlay.cs // // Author: // Stephane Delcroix <stephane@delcroix.org> // Larry Ewing <lewing@src.gnome.org> // // Copyright (C) 2007-2009 Novell, Inc. // Copyright (C) 2008-2009 Stephane Delcroix // Copyright (C) 2007 Larry Ewing // // Permission is hereby granted, free of charge, to any person obtaini...
#region Copyright and license information // Copyright 2001-2009 Stephen Colebourne // Copyright 2009-2011 Jon Skeet // // 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...
using System; using System.Text; using System.Data; using System.Data.SqlClient; using System.Data.Common; using System.Collections; using System.Collections.Generic; using System.ComponentModel; using System.Configuration; using System.Xml; using System.Xml.Serialization; using SubSonic; using SubSonic.Utilities;...
// 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 ...
//--------------------------------------------------------------------------- // // File: TextEditorCopyPaste.cs // // Copyright (C) Microsoft Corporation. All rights reserved. // // Description: A Component of TextEditor supporting Cut/Copy/Paste commands // //---------------------------------------------------------...
// --------------------------------------------------------------------------- // <copyright file="Win32Api.cs" company="Tethys"> // Copyright (C) 1998-2021 T. Graf // </copyright> // // SPDX-License-Identifier: Apache-2.0 // // Licensed under the Apache License, Version 2.0. // Unless required by applicable law or a...
// 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...
//#define DATETIME_AS_TIMESTAMPS using System; using System.Collections; using System.Collections.Generic; using System.Globalization; namespace LunarLabs.Parser { public enum NodeKind { Unknown, Object, Array, String, Numeric, Boolean, Null } p...
/* * 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...
namespace Nancy.Routing.Trie.Nodes { using System; using System.Collections.Generic; using System.Linq; /// <summary> /// A base class representing a node in the route trie /// </summary> public abstract class TrieNode { private readonly ITrieNodeFactory nodeFactory; //...
// 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.Security; using System.Text; using System.Threading.Tasks; namespace Microsoft.Xml { ...
using System; using System.Collections.Generic; using System.Data; using System.Data.SqlClient; using Csla; using Csla.Data; using ParentLoad.DataAccess; using ParentLoad.DataAccess.ERCLevel; namespace ParentLoad.DataAccess.Sql.ERCLevel { /// <summary> /// DAL SQL Server implementation of <see cref="IB01_Conti...
//////////////////////////////////////////////////////////////////////////////// // // // MIT X11 license, Copyright (c) 2005-2006 by: // // ...
/******************************************************************** 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 "...
#region Apache License // // 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 // (...
using System; using System.Threading; using Microsoft.SPOT; using Microsoft.SPOT.Presentation.Media; using Microsoft.SPOT.Touch; using Skewworks.NETMF.Controls; // ReSharper disable StringIndexOfIsCultureSpecific.1 namespace Skewworks.NETMF { /// <summary> /// Class for managing all EWR settings /// </summa...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // NOTE: A vast majority of this code was copied from BCL in // Namespace: Microsoft.Win32 // /* * Notes to PInvoke users: Getting the syntax exactly correct is crucial, and * more than a little confusing. Here's some g...
// DeflaterHuffman.cs // // Copyright (C) 2001 Mike Krueger // Copyright (C) 2004 John Reilly // // This file was translated from java, it was part of the GNU Classpath // Copyright (C) 2001 Free Software Foundation, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms o...
using Microsoft.IdentityModel; using Microsoft.IdentityModel.S2S.Protocols.OAuth2; using Microsoft.IdentityModel.S2S.Tokens; using Microsoft.SharePoint.Client; using Microsoft.SharePoint.Client.EventReceivers; using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Globalizati...
// 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; using System.Collections.Concurrent; using System.R...
using System; using System.Collections; namespace JayPascal { public class Scanner : TokenStream { internal const int MAX_DIGITS = 64; internal const int MAX_IDENTIFIER = 128; internal const int MAX_STRING = 1024; internal CharStream cs; internal Hashtable idsAndKeywords; internal Token buffer; i...
/* * 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) .NET Foundation. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for details. using System; using System.Collections.Generic; using System.Diagnostics; using System.Globalization; using mshtml; using OpenLiveWriter.CoreServices; using OpenLiveWriter.HtmlEdi...
/* 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, ...
#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, ...
/* * 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...
// 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.Net.Http.HPack { internal class Huffman { // TODO: this can be constructed from _de...
// Copyright (c) 2009 Bohumir Zamecnik <bohumir@zamecnik.org> // License: The MIT License, see the LICENSE file using System; using System.Collections.Generic; using System.Linq; using System.IO; using System.Runtime.Serialization.Formatters.Binary; namespace HalftoneLab { /// <summary> /// Configuration mana...
// Copyright 2020 by PeopleWare n.v.. // 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 writi...
// // Copyright (c)1998-2011 Pearson Education, Inc. or its affiliate(s). // All rights reserved. // using System; using System.Collections; using System.Net; using log4net; using Org.Mentalis.Security.Ssl; namespace OpenADK.Web.Http { /// <summary> /// Summary description for HttpHost. /// </summary> ...
// 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.Diagnostics; using System.ComponentModel; using System.Drawing; using System.Globalization; using System.Windows.Forms; using OpenLiveWriter.Application...
#region License // Copyright (c) K2 Workflow (SourceCode Technology Holdings Inc.). All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for full license information. #endregion using System; using System.Collections.Generic; using System.IO; using System.Text; using Xunit; us...
/* Copyright (C) 2008-2015 Peter Palotas, Jeffrey Jangli, Alexandr Normuradov * * 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 t...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. /* * A Simple Framework to manage the life time of of objects * Objects are required to implement LifeTime Interface in order to keep track of their lifetime. * TOD...
// 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...
using System; using System.Data; using System.Drawing; using System.Globalization; using System.Linq; using System.Windows.Forms; using DevExpress.XtraGrid.Views.Base; using DevExpress.XtraTreeList.Nodes; using bv.common.Configuration; using bv.common.Diagnostics; using bv.common.Resources; using bv.model.Model.Core; u...
// 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.Runtime.CompilerServices; using System.IO; using System.Collections; using System.Globalization; using Xunit; public class File_Copy_str_str...
// Copyright (C) 2009-2017 Luca Piccioni // // 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, p...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the Apache 2.0 License. // See the LICENSE file in the project root for more information. using System; using System.Collections; using System.Collections.Generic; using System.Diagnostics; using Sys...
using System; using System.Collections.Generic; using System.Configuration; using System.Data; using System.Data.SqlClient; using System.Linq; using System.Net.Http; using System.Text; using System.Web.UI.WebControls; using DataAccess; using FCSAmerica.DifferenceMaker.Models; partial class review : System.Web.UI.UserC...
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System.Collections; using System.Collections.Generic; using System.ComponentModel; using System.Diagnostics; using System.Globalization; using System.Resources; using System.Text; using System.Threading; namespace System.Management.Autom...
/* **************************************************************************** * * 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 ...
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0 // Changes may cause incorrect behavior and will be lost if the code is // regenerated. namespace ApplicationGateway { using Microsoft.Rest; using Microsoft.Rest.Azure; using Models; using System.Collections; using System.Collection...
using System; using System.Collections.Generic; using System.IO; using System.Net; using System.Text; using System.Text.RegularExpressions; using System.Xml; using NUnit.Framework; using Braintree.Exceptions; namespace Braintree.Tests { //NOTE: good [TestFixture] public class CreditCardTest { p...
//--------------------------------------------------------------------------- // // Copyright (C) Microsoft Corporation. All rights reserved. // // File: MarginCollapsingState.cs // // Description: Provides paragraph level margin collapsing support. // // History: // 05/05/2003 : [....] - moving from Avalon branc...
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...
//----------------------------------------------------------------------------- // PageFlipTracker.cs // // Microsoft XNA Community Game Platform // Copyright (C) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- using System; using System.Colle...
// 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.Diagnostics; using System.Globalization; using System.Runtime.CompilerService...
// 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.Xml.Serialization { using System; using System.IO; using System.Reflection; using S...
using System; using System.Collections.Generic; using UnityEngine.Events; using UnityEngine.Serialization; #if UNITY_EDITOR using UnityEditor; #endif using UnityEngine.EventSystems; namespace UnityEngine.UI { // Simple selectable object - derived from to create a control. [AddComponentMenu("UI/Selectable", 70)...
using System; using System.Text; using System.Data; using System.Data.SqlClient; using System.Data.Common; using System.Collections; using System.Collections.Generic; using System.ComponentModel; using System.Configuration; using System.Xml; using System.Xml.Serialization; using SubSonic; using SubSonic.Utilities;...
// 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 ...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; internal class TestApp { private static unsafe long test_4() { AA loc_x = new AA(0, 100); return (&loc_x.m_b)->m_bval; } ...
/* * 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 System.Collections.Generic; using System.Collections.Specialized; using System.Text; using gov.va.medora.mdo.dao; using gov.va.medora.mdo.dao.sql.cdw; namespace gov.va.medora.mdo.api { public class EncounterApi { string DAO_NAME = "IEncounterDao"; public EncounterApi() { } ...
// 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.CompilerServices; using System.Runtime.InteropServices; using System.Text; // Ma...
// QuickGraph Library // // Copyright (c) 2004 Jonathan de Halleux // // This software is provided 'as-is', without any express or implied warranty. // // In no event will the authors be held liable for any damages arising from // the use of this software. // Permission is granted to anyone to use this software fo...
//---------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. //---------------------------------------------------------------- namespace System { using System.Collections.Generic; using System.Collections.Specialized; using System.Runtime...
#if NET45 || NET40 namespace AutoMapper.Execution { using System; using System.Collections.Generic; using System.ComponentModel; using System.Diagnostics; using System.Linq; using System.Reflection; using System.Reflection.Emit; using System.Text.RegularExpressions; public static cl...
// 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. namespa...
// 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.Collections.Generic; using System.IO; using System.Text; using Xunit; namespace System.I...
// 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.Linq; using NUnit.Framework; using osu.Framework.Allocation; using osu.Framework.Extensions; using osu.Framework.Graphics.Containers; using osu.Framework.Scr...
// // Copyright (c) Microsoft Corporation. All rights reserved. // namespace Microsoft.Zelig.Runtime { using System; using System.Threading; using System.Runtime.CompilerServices; public sealed class KernelCircularBuffer< T > { // // State // private readonly i...
// 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) Microsoft. All rights reserved. // This code is licensed under the Microsoft Public License. // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY // IMPLIED WARRANTI...
/* * 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 System.Data; using System.Linq; namespace NetGore.Db { public class DataReaderContainer : IDataReader { IDataReader _dataReader; /// <summary> /// Initializes a new instance of the <see cref="DataReaderContainer"/> class. /// </summary> /// <param na...
// SharpZipLibrary samples // // $Id$ // $URL$ // // Copyright (c) 2007, AlphaSierraPapa // 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 ...
//----------------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- namespace System.ServiceModel.Dispatcher { using System.Collections; using System.Collecti...
using System; using System.IO; namespace ICSharpCode.SharpZipLib.Tar { /// <summary> /// The TarOutputStream writes a UNIX tar archive as an OutputStream. /// Methods are provided to put entries, and then write their contents /// by writing to this stream using write(). /// </summary> /// public public class Ta...