context
stringlengths
2.52k
185k
gt
stringclasses
1 value
// 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.Threading.Tasks; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.Testing; using Xunit; using VerifyCS = Test.Utilities.CSharpCodeFixVe...
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...
namespace System { // This file defines an internal class used to throw exceptions in BCL code. // The main purpose is to reduce code size. // // The old way to throw an exception generates quite a lot IL code and assembly code. // Following is an example: // C# source // thro...
using System.Collections.Generic; using System.Text; using RabbitMQ.Client; namespace EasyNetQ.Tests; public sealed class BasicProperties : IBasicProperties { private string _contentType; private string _contentEncoding; private IDictionary<string, object> _headers; private byte _deliveryMode; pri...
// // LuaString.cs // // Author: // Chris Howie <me@chrishowie.com> // // Copyright (c) 2013 Chris Howie // // 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, inclu...
#region License and Terms // MoreLINQ - Extensions to LINQ to Objects // Copyright (c) 2016 Atif Aziz. 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:...
using UnityEngine; using System.Collections; [AddComponentMenu("2D Toolkit/Sprite/tk2dAnimatedSprite (Obsolete)")] public class tk2dAnimatedSprite : tk2dSprite { #region SpriteAnimatorRouting [SerializeField] tk2dSpriteAnimator _animator = null; public tk2dSpriteAnimator Animator { get { CheckAddAnimatorInterna...
// 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.Text; using System.Xml; namespace System.Runtime.Serialization.Xml.Canonicalization.T...
//------------------------------------------------------------------------------ // <copyright file="HtmlRawTextWriterGenerator.cxx" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> // <owner current="true" primary="true">[....]</owner> //--------------------------...
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using Baseline; using Marten.Exceptions; using Marten.Internal; using Marten.Linq.Fields; using Marten.Linq.Filters; using Marten.Linq.SqlGeneration; using Remotion.Linq.Clauses; using Remotion.Linq.Clauses.Expressions; us...
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; namespace tk2dRuntime { static class SpriteCollectionGenerator { public static tk2dSpriteCollectionData CreateFromTexture(Texture texture, tk2dSpriteCollectionSize size, Rect region, Vector2 anchor) { return CreateFr...
namespace BrickBreakerLevelEditor { partial class EditorForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
// 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.Linq; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp.Extensions; using Microso...
// Copyright (c) The Avalonia Project. All rights reserved. // Licensed under the MIT license. See licence.md file in the project root for full license information. using Avalonia.Input.Platform; using System; using System.Collections.Generic; using System.Linq; using System.Reactive.Linq; using Avalonia.Controls.Pres...
using System; using System.Xml.Schema; namespace XsdDocumentation.Model { internal abstract class XmlSchemaSetVisitor { #region Traversing public void Traverse(XmlSchemaSet schemaSet) { Visit(schemaSet); } public void Traverse(XmlSchemaObject obj) {...
// Copyright Bastian Eicher // Licensed under the MIT License using System.Runtime.InteropServices; using System.Runtime.Versioning; using System.Security.Principal; using System.Text; namespace NanoByte.Common.Native; /// <summary> /// Provides helper methods and API calls specific to the Windows platform. /// </su...
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System.IO; using Dbg = System.Management.Automation.Diagnostics; namespace System.Management.Automation.Remoting { ///<summary> /// This is the object used by Runspace,pipeline,host to send data /// to remote end. Transport ...
namespace iControl { using System.Xml.Serialization; using System.Web.Services; using System.ComponentModel; using System.Web.Services.Protocols; using System; using System.Diagnostics; /// <remarks/> [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")] [System.Diagnostics.DebuggerStepTh...
#region License // Copyright (c) 2010-2019, Mark Final // 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 // ...
// 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.Threading; using System.Diagnostics; using System.Collections.Generic; using System.Diagn...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Xml.Linq; using Microsoft.CodeAnalysis; namespace IxMilia.Dxf.Generator { [Generator] public class TableGenerator : GeneratorBase, ISourceGenerator { private XElement _xml; private string _xmlns...
using System; #if ! V1 using System.Collections.Generic; using IList_ServiceElement = System.Collections.Generic.IList<InTheHand.Net.Bluetooth.ServiceElement>; using List_ServiceElement = System.Collections.Generic.List<InTheHand.Net.Bluetooth.ServiceElement>; using IEnumerator_ServiceElement = System.Collections.Gener...
// 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.ObjectModel; using System.Reflection; using System.Runtime.CompilerServices; namespace System.Linq.Expressions { public part...
using System; using System.Collections; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Globalization; using System.Linq; using System.Reflection; namespace ColourList.Areas.HelpPage { /// <summary> /// This class will create an object of a given type and populate it with ...
// (c) Copyright Esri, 2010 - 2013 // This source is subject to the Apache 2.0 License. // Please see http://www.apache.org/licenses/LICENSE-2.0.html for details. // All other rights reserved. using System; using System.Collections.Generic; using System.Text; using System.Linq; using System.Runtime.InteropServices; us...
#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 // (...
#region ExecutionTests.cs file // // Tests for StaMa state machine controller library // // Copyright (c) 2005-2015, Roland Schneider. All rights reserved. // #endregion using System; using StaMa; #if !MF_FRAMEWORK using NUnit.Framework; #else using MFUnitTest.Framework; using Microsoft.SPOT; #endif namespace StaMa...
/* Copyright (c) 2004-2006 Tomas Matousek, Vaclav Novak, and Martin Maly. The use and distribution terms for this software are contained in the file named License.txt, which can be found in the root of the Phalanger distribution. By using this software in any fashion, you are agreeing to be bound by the terms o...
// 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.Threading.Tasks; using Xunit; using VerifyCS = Test.Utilities.CSharpSecurityCodeFixVerifier< Microsoft.NetFramework.CSharp.Analyzers.CSharpDo...
using System; /// <summary> /// Char.IsSurrogate(Char) /// Indicates whether the character at the specified position in a specified string is categorized /// as a surrogate. /// </summary> public class CharIsSurrogate { private const int c_MIN_STR_LEN = 2; private const int c_MAX_STR_LEN = 256; private...
// 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.Numerics; using System.Text; using Xunit; namespace System.SpanTests { public static partial class...
// // RoundedFrame.cs // // Authors: // Aaron Bockover <abockover@novell.com> // Gabriel Burt <gburt@novell.com> // // Copyright (C) 2008 Novell, Inc. // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to dea...
/* * QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals. * Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation. * * 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 ...
/* * 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; 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...
using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Diagnostics; using System.IO; using System.Linq; using System.Threading.Tasks; using Model = Discord.API.Channel; namespace Discord.Rest { /// <summary> /// Represents a REST-based direct-message channel. /...
// Copyright 2018 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, software ...
// 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.IdentityModel.Selectors; using System.IdentityModel.Tokens; using System.Net.Http; using System.Net.Se...
using Lucene.Net.Diagnostics; using System; using System.Collections.Generic; using System.IO; using System.Text; namespace Lucene.Net.Search { /* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work ...
// Copyright (c) 2007, Clarius Consulting, Manas Technology Solutions, InSTEDD, and Contributors. // All rights reserved. Licensed under the BSD 3-Clause License; see License.txt. using System; using System.Collections; using System.Collections.Generic; using System.Linq; namespace Moq { internal sealed class SetupC...
// 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. #if USE_MDT_EVENTSOURCE using Microsoft.Diagnostics.Tracing; #else using System.Diagnostics.Tracing; #endif using Xu...
using System; using System.Collections; using System.Windows.Forms; using System.Text; using System.Threading; using NationalInstruments.UI; using NationalInstruments.UI.WindowsForms; using Data; using DAQ.FakeData; using System.Collections.Generic; namespace ScanMaster.GUI { /// <summary> /// </summary> public...
// // Reaktion - An audio reactive animation toolkit for Unity. // // Copyright (C) 2013, 2014 Keijiro Takahashi // // 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, inc...
using System; using System.Collections; using System.Data; using PCSComUtils.PCSExc; using PCSComUtils.Common; using PCSComUtils.Framework.TableFrame.DS; namespace PCSComUtils.Framework.TableFrame.BO { public class TableManagementBO { private const string THIS = "PCSComUtils.Framework.TableFrame.BO.ITableManagemen...
#if DEBUG #define STATS_ENABLED #endif using System; using System.Collections.Generic; using System.Text; using System.Threading; using LiteNetLib.Utils; namespace LiteNetLib { public sealed class NetManager { internal delegate void OnMessageReceived(byte[] data, int length, int errorCode, NetEndPoint...
// CRC32.cs - Computes CRC32 data checksum of a data stream // Copyright (C) 2001 Mike Krueger // // This file was translated from java, it was part of the GNU Classpath // Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc. // // This program is free software; you can redistribute it and/or // modify it unde...
using System; using System.Collections.Generic; using System.Text; using System.Threading; using System.IO; //using System.Diagnostics; namespace T5CANLib.CAN { /// <summary> /// CANUSBDevice is an implementation of ICANDevice for the Lawicel CANUSB device /// (www.canusb.com). /// /// All incomm...
using System; using System.Collections.Generic; using System.Linq; using StructureMap.Configuration; using StructureMap.Graph; using StructureMap.Pipeline; using StructureMap.Query; using StructureMap.TypeRules; namespace StructureMap { public class PipelineGraph : IPipelineGraph { public static IPipel...
using System; using Microsoft.SPOT; using Microsoft.SPOT.Presentation.Media; namespace Skewworks.NETMF.Controls { [Serializable] public class ListboxItem : MarshalByRefObject { #region Variables private string _text; private Bitmap _image; private bool _checked; private Listbo...
/* * CharacterSetElement.cs */ using System; using System.Collections; using System.IO; using System.Text; using Core.Library; namespace Core.Library.RE { /** * A regular expression character set element. This element * matches a single character inside (or outside) a character set. * The chara...
using System; using System.IO; namespace Eto.Forms { /// <summary> /// Event arguments when the <see cref="WebView"/> has finished loaded a uri /// </summary> public class WebViewLoadedEventArgs : EventArgs { /// <summary> /// Gets the URI of the page that was loaded. /// </summary> /// <value>The URI.</v...
// // BaseTiffFile.cs: // // Author: // Mike Gemuende (mike@gemuende.de) // // Copyright (C) 2010 Mike Gemuende // // This library is free software; you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License version // 2.1 as published by the Free Software Foundation. // // ...
using System; using System.IO; using System.ComponentModel; using System.Collections.Generic; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using ChargeBee.Internal; using ChargeBee.Api; using ChargeBee.Models.Enums; namespace ChargeBee.Models { public class Address : Resource { #region ...
//********************************************************* // // Copyright (c) Microsoft. All rights reserved. // This code is licensed under the MIT License (MIT). // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY // IMPLIED WARRANTIES OF FITNESS FOR A PARTICUL...
//#define PROFILE using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; using UnityEditor; using UnityEngine; using Vexe.Editor.Types; using Vexe.Editor.Windows; using Vexe.Runtime.Extensions; using Vexe.Runtime.Helpers; using Vexe.Runtime.Types; using UnityObject = U...
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; namespace Eto.Parse { /// <summary> /// Base parser class to define a parsing rule /// </summary> /// <remarks> /// All parsers should derive from this class to define the various ways to parse text. /// There are other b...
/* * Copyright 2013 ThirdMotion, 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 app...
// 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.Specialized; using Humanizer; using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. /*============================================================ ** ** ** ** ** ** Purpose: For writing text to strea...
// 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.Security; using System.Security.Permissions; using System.Diagnostics; namespace System.Threading.Tasks { ...
using System; using System.Data; using System.IO; using System.Text.RegularExpressions; using System.Web; using System.Xml; namespace DotNetNuke.Modules.UserDefinedTable.Components { public class XslTemplatingUtilities { public const string SpacePlaceholder = "{5A255853-D9A0-4f46-9E9D-F661DC4874CD}"; ...
using UnityEngine; using UnityEditor; using System; using System.Linq; using System.Collections.Generic; using System.IO; using V1=AssetBundleGraph; using Model=UnityEngine.AssetBundles.GraphTool.DataModel.Version2; namespace UnityEngine.AssetBundles.GraphTool { [CustomNode("Modify Assets/Modify Assets Directly", ...
// 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.Sockets; using System.Runtime.ExceptionServices; namespace System.Net { /// <...
namespace PokerTell.PokerHand.Services { using System; using System.Reflection; using log4net; using PokerTell.Infrastructure.Enumerations.PokerHand; using PokerTell.Infrastructure.Interfaces; using PokerTell.Infrastructure.Interfaces.PokerHand; using PokerTell.PokerHand.Interfaces; p...
using System; using System.IO; using System.Net; using System.Net.Http; using System.Threading.Tasks; using MockServerClientNet.Model; using MockServerClientNet.Model.Body; using Xunit; using static MockServerClientNet.Model.Body.Matchers; using static MockServerClientNet.Model.HttpResponse; using static MockServerClie...
using System; using System.Threading.Tasks; using IxMilia.BCad.Entities; using IxMilia.BCad.Extensions; using IxMilia.BCad.Primitives; using IxMilia.BCad.Utilities; using IxMilia.BCad.Helpers; namespace IxMilia.BCad.Commands { public class DrawCircleCommand : ICadCommand { private static readonly doubl...
// 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.Linq; using Test.Cryptography; using Xunit; namespace System.Security.Cryptography.X509Certificates.Te...
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;...
// Public domain by Christopher Diggins // See: http://research.microsoft.com/Users/luca/Papers/BasicTypechecking.pdf using System; using System.Collections.Generic; using System.Text; using System.Diagnostics; namespace Cat { public class ConstraintSolver { public class TypeException : Exception ...
/* * 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 RootSystem = System; using System.Linq; using System.Collections.Generic; namespace Windows.Kinect { // // Windows.Kinect.BodyIndexFrameReader // public sealed partial class BodyIndexFrameReader : RootSystem.IDisposable, Helper.INativeWrapper { internal RootSystem.IntPtr _pNative; ...
// 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. // Note: Exception messages call ToString instead of Name to avoid MissingMetadataException when just outputting bas...
#region Namespaces using System; using System.Collections; using System.ComponentModel; using System.Drawing; using System.Text; using System.Text.RegularExpressions; using System.Data; using System.Windows.Forms; using Epi; using Epi.Data.Services; using Epi.Windows.Controls; #endregion //Namespaces namespace Epi....
//------------------------------------------------------------------------------ // Microsoft Avalon // Copyright (c) Microsoft Corporation, 2001, 2002 // // File: Rect.cs //------------------------------------------------------------------------------ using System; using System.Diagnostics; using System.ComponentMo...
/****************************************************************************** * Spine Runtimes Software License * Version 2.1 * * Copyright (c) 2013, Esoteric Software * All rights reserved. * * You are granted a perpetual, non-exclusive, non-sublicensable and * non-transferable license to install, execute ...
#region Copyright notice and license // Protocol Buffers - Google's data interchange format // Copyright 2008 Google Inc. All rights reserved. // http://github.com/jskeet/dotnet-protobufs/ // Original C++/Java/Python code: // http://code.google.com/p/protobuf/ // // Redistribution and use in source and binary forms, w...
/* * 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="MobileErrorInfo.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> //------------------------------...
/* * Copyright (C) 2009 JavaRosa ,Copyright (C) 2014 Simbacode * * 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...
using System; using System.Linq; using ColossalFramework; using ColossalFramework.UI; using TrafficManager.Traffic; using TrafficManager.TrafficLight; using UnityEngine; namespace TrafficManager.UI { public class UITrafficManager : UIPanel { private static UIState _uiState = UIState.None; priv...
using System; using System.Collections; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Globalization; using System.Linq; using System.Reflection; namespace AngularWebApi.Areas.HelpPage { /// <summary> /// This class will create an object of a given type and populate it wi...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. //----------------------------------------------------------------------- // </copyright> // <summary>Tests for the ProjectProjectExtensions class.</summary> //---------...
// // Copyright (c) Microsoft Corporation. All rights reserved. // namespace Microsoft.NohauLPC3180 { using System; using RT = Microsoft.Zelig.Runtime; using TS = Microsoft.Zelig.Runtime.TypeSystem; public sealed class Storage : RT.Storage { const uint DRAMSize = 1 * 8 * 1024...
using System; using System.Collections; using System.IO; using Org.BouncyCastle.Asn1; using Org.BouncyCastle.Asn1.Cms; using Org.BouncyCastle.Asn1.X509; using Org.BouncyCastle.Security.Certificates; using Org.BouncyCastle.Utilities; using Org.BouncyCastle.X509; using Org.BouncyCastle.X509.Store; namespace Org.BouncyC...
//#define ASTARDEBUG using UnityEngine; using System.Collections; using System.Collections.Generic; using Pathfinding; /** AI for following paths. * This AI is the default movement script which comes with the A* Pathfinding Project. * It is in no way required by the rest of the system, so feel free to write your own...
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== namespace System.Globalization { using System; using System.Runtime.InteropServices; using System.Runtime.CompilerServices; using System.Runtime.Versioning; using System.Diagnostics.Contracts; // /...
// ******************************************************************************************************** // Product Name: DotSpatial.Projection // Description: The basic module for MapWindow version 6.0 // ******************************************************************************************************** // //...
// // Copyright (c) 2004-2017 Jaroslaw Kowalski <jaak@jkowalski.net>, Kim Christensen, Julian Verdurmen // // 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 s...
using System; /// <summary> /// Convert.ToUInt64(String,Int32) /// </summary> public class ConvertToUInt6418 { public static int Main() { ConvertToUInt6418 convertToUInt6418 = new ConvertToUInt6418(); TestLibrary.TestFramework.BeginTestCase("ConvertToUInt6418"); if (convertToUInt6418.Run...
/* * 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) 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.IO; using NAudio.Wave.SampleProviders; using NAudio.Utils; // ReSharper disable once CheckNamespace namespace NAudio.Wave { /// <summary> /// This class writes WAV data to a .wav file on disk /// </summary> public class WaveFileWriter : Stream { private Stream out...
/* ==================================================================== 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 Y...
using System; namespace Es.ToolsCommon { public static class XxHashEx { private static readonly bool IsLittle = BitConverter.IsLittleEndian; private static unsafe ulong LoadULong(byte* source) { if (IsLittle) { return ((ulong) source[0] << 56) ...
// Generated by SharpKit.QooxDoo.Generator using System; using System.Collections.Generic; using SharpKit.Html; using SharpKit.JavaScript; namespace qx.ui.virtualx.cell { /// <summary> /// <para>EXPERIMENTAL!</para> /// <para>Themeable Cell renderer.</para> /// <para>This cell renderer can be styled by an appea...
// PlantUML Studio // Copyright 2016 Matthew Hamilton - matthamilton@live.com // Copyright 2010 Omar Al Zabir - http://omaralzabir.com/ (original author) // // 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 c...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Runtime.InteropServices; using Avalonia.Controls; using Avalonia.Controls.Platform; using Avalonia.Input; using Avalonia.Input.Raw; using Avalonia.OpenGL; using Avalonia.OpenGL.Angle; using Avalonia.OpenGL.Egl; using Avalonia.Open...
/* * * (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 (c) 2009, Stefan Simek * * 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, publi...
using System; using System.IO; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Reflection; using RestSharp; using NUnit.Framework; using HostMe.Sdk.Client; using HostMe.Sdk.Api; using HostMe.Sdk.Model; namespace HostMe.Sdk.Test { /// <summary> /// Class...