context
stringlengths
2.52k
185k
gt
stringclasses
1 value
/* * * Tiger Tree Hash Optimized - by Gil Schmidt. * * - this code was writtin based on: * "Tree Hash EXchange format (THEX)" * http://www.open-content.net/specs/draft-jchapweske-thex-02.html * * - the tiger hash class was converted from visual basic code called TigerNet: * http://www.hotpixel.n...
/* * Deed API * * Land Registry Deed API * * OpenAPI spec version: 2.3.1 * * Generated by: https://github.com/swagger-api/swagger-codegen.git */ using System; using System.Linq; using System.IO; using System.Text; using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generi...
using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Linq; using System.Linq.Expressions; using System.Reflection; using System.Reflection.Emit; using System.Runtime.InteropServices; using Avalonia.Markup.Xaml.XamlIl.CompilerExtensions; using Avalonia.Markup.Xaml.Xam...
/* * Copyright (c) 2006-2016, openmetaverse.co * 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...
using Shouldly; namespace Tests.Caliburn.RoutedUIMessaging.Triggers { using System.Windows; using System.Windows.Input; using Fakes; using Fakes.UI; using global::Caliburn.Core; using global::Caliburn.PresentationFramework.RoutedMessaging; using global::Caliburn.PresentationFramework.Routed...
// 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.Globalization; using System.Collection...
// *********************************************************************** // Copyright (c) 2014 Charlie Poole // // 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...
// 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.Linq; using System.Threading.Tasks; using NUnit.Framework; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Fra...
namespace FakeItEasy.Specs { using System; using System.Diagnostics.CodeAnalysis; using FakeItEasy.Configuration; using FakeItEasy.Tests.TestHelpers; using FluentAssertions; using Xbehave; using Xunit; public static class ConfigurationSpecs { public interface IFoo { ...
// // (C) Copyright 2003-2010 by Autodesk, Inc. // // Permission to use, copy, modify, and distribute this software in // object code form for any purpose and without fee is hereby granted, // provided that the above copyright notice appears in all copies and // that both that copyright notice and the limited warranty ...
// 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.Diagnostics; using System.Linq; using System.Reflection; usin...
// 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.Reflection.Metadata.Tests; using Xunit; namespace System.Reflection.Metadata.Ecma335.Tests { publi...
namespace android.widget { [global::MonoJavaBridge.JavaClass()] public partial class SlidingDrawer : android.view.ViewGroup { internal new static global::MonoJavaBridge.JniGlobalHandle staticClass; static SlidingDrawer() { InitJNI(); } protected SlidingDrawer(global::MonoJavaBridge.JNIEnv @__env) : base...
//------------------------------------------------------------------------------ // <copyright file="DataColumnMapping.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> // <owner current="true" primary="true">[....]</owner> // <owner current="true" primary="fals...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Diagnostics.CodeAnalysis; using System.Globalization; using System.IO; using System.Linq; using System.Reflection; using System.Runtime.Versioning; using EnvDTE; using Microsoft.VisualStudio.Shell; using NuGet.VisualStudio.Resources;...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.IO; using System.Security.Authentication; using System.Security.Authentication.ExtendedProtection; usin...
using System; using System.Collections.Generic; using System.Collections.Specialized; using System.Configuration; using System.Data; using System.Data.Common; using System.Dynamic; using System.Linq; using System.Text; namespace Massive.SQLite { public static class ObjectExtensions { /// <summary> ...
#pragma warning disable 1587 #region Header /// /// JsonMapper.cs /// JSON to .Net object and object to JSON conversions. /// /// The authors disclaim copyright to this source code. For more details, see /// the COPYING file included with this distribution. /// #endregion using System; using System.Collections; usi...
//----------------------------------------------------------------------- // <copyright file="OutputStreamSourceStage.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> // </cop...
using System; using System.Collections.Generic; using System.Linq; using Foundation; using GameplayKit; namespace FourInARow { public class Board : NSObject, IGKGameModel { public const int Width = 7; public const int Height = 6; public Chip[] Cells { get; private set; } public Player CurrentPlayer { get;...
// Copyright 2017 Google Inc. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicabl...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using Xunit; namespace System.IO.Tests { public class Directory_Move : FileSystemTest { #region Uti...
// 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.Globalization; using System.Linq; using Xunit; namespace System.Refl...
// ---------------------------------------------------------------------------------- // // Copyright Microsoft 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 the License at // http://www.apac...
// Copyright (C) 2014 dot42 // // Original filename: Java.Nio.Channels.Spi.cs // // 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 // // ...
// // MergeDb.cs // // Author: // Ruben Vermeersch <ruben@savanne.be> // Stephane Delcroix <stephane@delcroix.org> // // Copyright (C) 2008-2010 Novell, Inc. // Copyright (C) 2010 Ruben Vermeersch // Copyright (C) 2008-2009 Stephane Delcroix // // Permission is hereby granted, free of charge, to any person obtainin...
/* * 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...
// 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.Symbols; using Roslyn.Utilities; using System.Collections.Immutable; using System.Diagnostics; namespace Microsoft.CodeAn...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Data; using System.Text; using System.Windows.Forms; using System.IO; using DeadCode.WME.Global; using DeadCode.WME.ScriptParser; using DeadCode.WME.DocMaker; namespace Integrator { public partial class Mod...
/* Copyright (c) 2007 Stefanos Apostolopoulos * See license.txt for license info */ using System; using System.Collections.Generic; using System.Diagnostics; using OpenTK.Graphics; namespace OpenTK.Platform.X11 { /// \internal /// <summary> /// Provides methods to create and control an opengl context o...
/* * Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "l...
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...
using System; using QRCodeDecoder = MessagingToolkit.QRCode.Codec.QRCodeDecoder; using InvalidDataBlockException = MessagingToolkit.QRCode.ExceptionHandler.InvalidDataBlockException; using DebugCanvas = MessagingToolkit.QRCode.Codec.Util.DebugCanvas; using SystemUtils = MessagingToolkit.QRCode.Codec.Util.SystemUtils; n...
// // 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, ...
using i64 = System.Int64; using u8 = System.Byte; namespace Community.CsharpSqlite { public partial class Sqlite3 { /* ** 2001 September 15 ** ** The author disclaims copyright to this source code. In place of ** a legal notice, here is a blessing: ** ** May you do good and not evil. ** May yo...
// Copyright 2014 The Rector & Visitors of the University of Virginia // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless req...
using Starcounter; using System; using System.Collections.Generic; using System.Linq; using Products.Helpers; using System.Globalization; namespace Products { partial class ProductSalesPage : Json, IBound<Product> { public DateTime FilterDateFrom { get { ...
using System; namespace Cosmos.System { /// <summary> /// ConsoleKeyEx extensions class. /// </summary> public static class ConsoleKeyExExtensions { /// <summary> /// Convert ConsoleKeyEx to ConsoleKey. /// </summary> /// <param name="keyEx">KeyEx to convert.</param>...
// 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.Reflection.Metadata.Ecma335; namespace System.Reflection.Metadata { publ...
//----------------------------------------------------------------------------- // Copyright (c) 2013 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 (c) 2004-2021 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; using System.Collections.Generic; using System.Text; namespace Hydra.Framework.ImageProcessing.Analysis.Maths { // //********************************************************************** /// <summary> /// Gaussian function /// </summary> //****************************************...
/* * 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: * * 1) Redistributions of source code must retain the above copyright * notice, this lis...
//----------------------------------------------------------------------- // <copyright file="OutputStreamSinkSpec.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> // </copyri...
using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; using BenchmarkDotNet.Attributes; using BenchmarkDotNet.Configs; using BenchmarkDotNet.Order; using BenchmarkDotNet.Reports; using BenchmarkDotNet.Running; using GraphQL.Execution; using GraphQL.Language; using GraphQ...
//Copyright ?2014 Sony Computer Entertainment America LLC. See License.txt. using System; using System.Collections.Generic; using System.ComponentModel.Composition; using System.Diagnostics; using System.Drawing; using System.Linq; using System.Windows.Forms; using System.Windows.Threading; using Sce.Atf.Applications....
#region License /*---------------------------------------------------------------------------------*\ Distributed under the terms of an MIT-style license: The MIT License Copyright (c) 2006-2010 Stephen M. McKamey Permission is hereby granted, free of charge, to any person obtaining a copy of this software and...
using Org.BouncyCastle.Math; using Org.BouncyCastle.Security; using Org.BouncyCastle.Utilities; namespace Org.BouncyCastle.Crypto.Generators { internal class DHParametersHelper { // The primes b/w 2 and ~2^10 /* 3 5 7 11 13 17 19 23 29 31 37 41 43 47 ...
// 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 Microsoft.Test.ModuleCore; using System; using System.IO; using System.Text; using System.Xml; using XmlCoreTe...
// 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="WindowTests.cs" company="Steven Kirk"> // Copyright 2015 MIT Licence. See licence.md for more information. // </copyright> // ----------------------------------------------------------------------- using System; using System...
// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by a...
// // Copyright (c) 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 Xunit; using Xunit.Sdk; namespace Jint.Tests.Ecma { public class Test_12_2_1 : EcmaTest { [Fact] [Trait("Category", "12.2.1")] public void EvalAFunctionDeclaringAVarNamedEvalThrowsSyntaxerrorInStrictMode() { RunTest(@"TestCases/ch12/12.2/12.2.1/12.2.1-1-s.js", false); ...
// 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. //////////////////////////////////////////////////////////////////////////// // // Class: RegionInfo // // Pur...
// 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 class encapsulates security decisions about an application. // namespace System.Security.Policy ...
using Orleans; using Orleans.Runtime; using Orleans.Runtime.Configuration; using Orleans.LogConsistency; using Orleans.TestingHost; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Xunit; using Xunit.Abstractions; using TestExtensions; using Orleans.EventSourcing.Co...
//============================================================================== // TorqueLab -> // Copyright (c) 2015 All Right Reserved, http://nordiklab.com/ //------------------------------------------------------------------------------ //============================================================================...
/* M2Mqtt Project - MQTT Client Library for .Net and GnatMQ MQTT Broker for .NET Copyright (c) 2014, Paolo Patierno, All rights reserved. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either...
using System; using Stetic.Wrapper; using Mono.Unix; namespace Stetic.Editor { class ActionToolItem: ActionItem { ActionToolbar parentToolbar; bool motionDrag; bool showingText; Gtk.Widget dropButton; public event EventHandler EditingDone; internal ActionToolItem (Widget wrapper, ActionToolbar ...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Globalization; using System.Xml; namespace Microsoft.Web.XmlTransform.Extended { internal interface IXmlFormattableAttributes { void FormatAttributes(XmlFormatter formatter); string AttributeIndent { get; } ...
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. using IdentityBase.EntityFramework.Entities; using IdentityBase.EntityFramework.Configuration; using Microsoft.EntityFrameworkCore; using Micro...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. namespace Microsoft.Azure.KeyVault.Tests { using System; using System.Globalization; using System.IO; using System.Net; using System.Net.Ht...
#region S# License /****************************************************************************************** NOTICE!!! This program and source code is owned and licensed by StockSharp, LLC, www.stocksharp.com Viewing or use of this code requires your acceptance of the license agreement found at https://github.com/St...
/* * * (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) 2021 Alachisoft // // 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...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // // Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 // Changes may cause incorrect behavior and will be lost if the code is // regenerated. ...
// 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.Design; using System.Diagnos...
/* Copyright(c) Microsoft Open Technologies, Inc. All rights reserved. The MIT License(MIT) 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 witho...
// // Copyright (c) Microsoft Corporation. All rights reserved. // #define LLVM namespace Microsoft.Zelig.Runtime { using System; using TS = Microsoft.Zelig.Runtime.TypeSystem; [ExtendClass(typeof(System.Buffer), NoConstructors=true, ProcessAfter=typeof(ArrayImpl))] public static class BufferImp...
using System.Collections.Generic; using Docu.Documentation; using Docu.Output; using Docu.IO; using Example; using NUnit.Framework; using Rhino.Mocks; namespace Docu.Tests.Output { [TestFixture] public class TemplateTransformerTests : BaseFixture { [Test] public void GeneratesOutputFromTemp...
#if UNITY_EDITOR || UNITY_STANDALONE || UNITY_ANDROID using System; using System.Runtime.InteropServices; namespace Cloo.Bindings { [System.Security.SuppressUnmanagedCodeSecurity] public class CL10 : ICL10 { #if UNITY_EDITOR_WIN || UNITY_STANDALONE_WIN protected const string libName = "Open...
// 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 System.Xml.Linq; using CoreXml.Test.XLinq; ...
/* * 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.Buffers; using System.Collections.Concurrent; using System.Linq; using System.Text; using EasyNetQ.Logging; using EasyNetQ.SystemMessages; using RabbitMQ.Client; using RabbitMQ.Client.Exceptions; using System.Threading; using System.Threading.Tasks; namespace EasyNetQ.Consumer; /// <summary...
// // 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, ...
/* * Copyright (c) 2009, openmetaverse.org * All rights reserved. * * - Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * - Redistributions of source code must retain the above copyright notice, this * list o...
#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 IronScheme.Editor.Controls; using System.IO; using System.Threading; using System.Windows.Forms; usin...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.IO; using System.Threading; namespace System.Net.Security { // // This is a wrapping stream that does data encryption/decryption based on a succes...
/* * Velcro Physics: * Copyright (c) 2017 Ian Qvist * * Original source Box2D: * Copyright (c) 2006-2011 Erin Catto http://www.box2d.org * * 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 soft...
/* * 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 (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; namespace Microsoft.PowerShell.Commands.Internal.Format { /// <summary> /// Class providing an algorithm for automatic resizing /// of table columns. /// </summary> internal sealed class C...
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Text; using System.Threading; using System.Threading.Tasks; using Amazon.SQS; using Amazon.SQS.Model; using JustSaying.Messaging; using JustSaying.Messaging.Interrogation; using JustSaying.Messaging.MessageHandling; using...
//********************************************************* // // 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 WARRANTIES OF FITNESS FOR A P...
// // Notebook.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,...
// 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.Runtime; using System.Threading.Tasks; namespace System.ServiceModel.Channels { // Helper class u...
using System; using System.Collections; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using DotVVM.Framework.Binding; using DotVVM.Framework.Utils; namespace DotVVM.Framework.Controls { [StructLayout(Layou...
using System; using System.IO; using System.Collections.Generic; namespace AutoTest.Messages { public class TestResult : ICustomBinarySerializable { private TestRunner _runner; private TestRunStatus _status; private string _name = ""; private string _displayName = null; private stri...
//--------------------------------------------------------------------------- // // Copyright (C) Microsoft Corporation. All rights reserved. // // Description: Figure element. // //--------------------------------------------------------------------------- using System.ComponentModel; // TypeConverter using ...
using System; using System.Globalization; using System.IO; using System.Text; using System.Threading; using LibCSV; using LibCSV.Dialects; using LibCSV.Exceptions; using NUnit.Framework; using static NUnit.Framework.Assert; namespace LibCSV.Tests { [TestFixture] public class WriterTests { [Test] public void Wr...
using System; using System.Collections.Generic; using System.Linq; using Box.AST; namespace Box.Parsing { public static class LangParser { // NOTE: Referencing a field in the definition of a field will yield null. // For recursive definitions use properties. Also make sure fields that ...
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Generic; using System.Composition; using System.Linq; using System.Threading; using System.Threading.Tasks; using Microsoft.CodeAnaly...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
using System; using System.Net; using Bloom; using Moq; using NUnit.Framework; using TableLookupResult = Bloom.UpdateVersionTable.UpdateTableLookupResult; // shorthand namespace BloomTests { [TestFixture] public class UpdateVersionTableTests { [Test] public void ThisVersionTooLarge_ReturnsEmptyString() { v...
// Copyright 2005, 2006 - Morten Nielsen (www.iter.dk) // // This file is part of SharpMap. // SharpMap is free software; you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation; either version 2 of the License, or // (at your ...
using System; using System.Globalization; namespace Division42.Framework.Formatters { /// <summary> /// Class to hold information about a specific data size. /// </summary> /// <threadsafety static="true" instance="false"/> public abstract class DataSizeFormatterBase : IDataSizeFormatter { ...
using System; using System.IO; namespace FezEngine.Mod { public class LimitedStream : MemoryStream { public Stream LimitStream; public long LimitOffset; public long LimitLength; public bool LimitStreamShared = false; private long pos = 0; p...
/* * * (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) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Diagnostics; using Tools; using Xunit; namespace System.Numerics.Tests { public class op_multiplyTest { private static int s_samples = 10;...
using System; using System.Linq; using System.IO; using System.Text; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Runtime.Serialization; using Newtonsoft.Json; using Newtonsoft.Json.Converters; namespace Infoplus.Model { /// <summary> /// /...