context
stringlengths
2.52k
185k
gt
stringclasses
1 value
// 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 System; using System.Linq; using SharpDX; using SharpDX.Direct2D1; using SharpDX.Mathematics.Interop; using DWrite = SharpDX.DirectWrite; namespace...
/* * Copyright (c) 2018 Algolia * http://www.algolia.com/ * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify...
using GitVersion.Core.Tests.Helpers; using GitVersion.Helpers; using GitVersion.MsBuild.Tests.Mocks; using Microsoft.Build.Framework; using NUnit.Framework; using Shouldly; namespace GitVersion.MsBuild.Tests; [TestFixture] public class InvalidFileCheckerTests : TestBase { private string projectDirectory; priv...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.Extensions.Logging; using Orleans.Concurrency; using Orleans.Providers.Streams.Common; using Orleans.Runtime; using Orleans.Configuration; using RunState = Orleans.Configuration.StreamLifecycleOptions.RunSta...
using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using Bolt.Client; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Http.Features; using Microsoft.AspNetCore.Session; using Microsoft.Extensions.Caching.Distributed;...
// // 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 Microsoft.IdentityModel.S2S.Protocols.OAuth2; using Microsoft.IdentityModel.Tokens; using Microsoft.SharePoint.Client; using System; using System.Net; using System.Security.Principal; using System.Web; using System.Web.Configuration; namespace ProviderHostedAppPartsWeb { /// <summary> /// Encapsulates al...
// Copyright (C) by Housemarque, Inc. namespace Hopac.Core { using System; using System.Diagnostics; using System.Runtime.CompilerServices; using System.Threading; internal class WorkerEvent : ManualResetEventSlim { internal int Next; internal int Me; internal WorkerEvent(int me) { this.N...
using System; using System.Linq; using System.Threading.Tasks; using Orleans; using Orleans.TestingHost; using Tester; using TestExtensions; using UnitTests.GrainInterfaces; using Xunit; namespace UnitTests.CancellationTests { public class GrainCancellationTokenTests : OrleansTestingBase, IClassFixture<GrainCancel...
// Copyright 2011, Google Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicabl...
//------------------------------------------------------------------------------ // <copyright file="Component.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> //------------------------------------...
// Copyright 2021 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 ...
/* ==================================================================== 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...
// ============================================================ // Name: UMABonePoseMixerWindow // Author: Eli Curtz // Copyright: (c) 2013 Eli Curtz // ============================================================ #if UNITY_EDITOR using UnityEngine; using UnityEditor; using System.Text; using System.Collections.Gene...
/******************************************************************************* INTEL CORPORATION PROPRIETARY INFORMATION This software is supplied under the terms of a license agreement or nondisclosure agreement with Intel Corporation and may not be copied or disclosed except in accordance with the terms of that ag...
// // 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, ...
// 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.Buffers.Native; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using Syste...
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Copyright (c) 2003-2012 by AG-Software * * All Rights Reserved. * * Contact information for AG-Software is available at http://www.ag-software.de * * * * Licence: ...
// Copyright (c) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information. using System; using System.Collections.Generic; namespace Prism.Common { /// <summary> /// A dictionary of lists. /// </summary> /// <typeparam name="TKey">The key to use for lists...
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/clouderrorreporting/v1beta1/report_errors_service.proto #pragma warning disable 1591, 0612, 3021 #region Designer generated code using pb = global::Google.Protobuf; using pbc = global::Google.Protobuf.Collections; using pbr = global...
// 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; using System.Collections.Generic; using System.Globalization; using System.IO...
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Text; using Codex.ObjectModel; using Codex.Utilities; using Microsoft.CodeAnalysis.Text; namespace Codex.Analysis { public class BoundSourceFileBuilder { private static readonly SourceHashAlgorithm[]...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Xml.Linq; using NUnit.Framework; namespace Palaso.Lift.Tests { [TestFixture] public class LiftSorterTests { [Test] public void NullPathnameThrows() { Assert.Throws<ArgumentNullException>(() => LiftSorter.SortL...
using UnityEngine; using System.Collections; using UMA; /// <summary> /// Human female DNA converter behaviour. /// </summary> /// <remarks> /// Although intended for Humans this DNA converter includes ranges /// far outside Human norms and can also be used for other Humanoid charatcers /// such as Elves, Giants, Half...
// 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.InteropServices; using Gdip = System.Drawing.SafeNativeMethods.Gdip; namespace System.Drawing....
using System; using System.Collections.Generic; using System.Linq; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Audio; using Microsoft.Xna.Framework.Content; using Microsoft.Xna.Framework.GamerServices; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework.Input; using Microsoft.Xna.Fram...
/* | Version 10.1.84 | Copyright 2013 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...
/*=================================\ * CWA.DTP\SecurityForm.Designer.cs * * The Coestaris licenses this file to you under the MIT license. * See the LICENSE file in the project root for more information. * * Created: 08.10.2017 19:30 * Last Edited: 08.10.2017 20:51:01 *=================================*/ namespace CWA...
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...
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. // This source file is machine generated. Please do not change the code manually. using System; using System.Collections.Generic; using...
// (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.Runtime.InteropServices; using System.Resourc...
using System; using System.Collections.Generic; using System.Data.Common; using System.Globalization; using System.Linq; using System.Linq.Expressions; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; using Umbraco.Cms.Core.Configuration.Models; using Umbraco.Cms.Core.Events; using Umbraco.Cms.Co...
using System; using swc = Windows.UI.Xaml.Controls; using sw = Windows.UI.Xaml; using wf = Windows.Foundation; using Eto.Forms; using Eto.Drawing; namespace Eto.WinRT.Forms.Controls { /// <summary> /// Text area handler. /// </summary> /// <copyright>(c) 2014 by Vivek Jhaveri</copyright> /// <copyright>(c) 2012-2...
//------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //------------------------------------------------------------ namespace System.ServiceModel.Activities.Activation { using System.Activities; using System.Activities.XamlIntegration; ...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using System.Xml.Linq; using IxMilia.BCad.Display; using IxMilia.BCad.EventArguments; using IxMilia.BCad.Helpers; using IxMilia.BCad.Plotting.Svg; using IxMilia.BCad.Primitives; using IxMilia.BCad.Settings;...
/* * 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 ...
#if NOBIGINT // ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== /*========================================================================= ** ** Class: Complex ** ** ** Purpose: ** This feature is intended to create Complex Number as a type ** that can be a part of the .NET f...
/* * 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 ...
/* Generated SBE (Simple Binary Encoding) message codec */ using System; using System.Text; using System.Collections.Generic; using Adaptive.Agrona; namespace Adaptive.Cluster.Codecs { public class ChallengeEncoder { public const ushort BLOCK_LENGTH = 16; public const ushort TEMPLATE_ID = 7; public const...
using System; using Eto.Forms; using Eto.Drawing; using Eto.Mac.Drawing; using System.Text.RegularExpressions; using System.Linq; #if XAMMAC2 using AppKit; using Foundation; using CoreGraphics; using ObjCRuntime; using CoreAnimation; using CoreImage; #else using MonoMac.AppKit; using MonoMac.Foundation; using MonoMac....
// // HttpResponseMessage.cs // // Authors: // Marek Safar <marek.safar@gmail.com> // // Copyright (C) 2011 Xamarin Inc (http://www.xamarin.com) // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the ...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using Mercurial.Attributes; namespace Mercurial.Gui { /// <summary> /// Implements the TortoiseHg "clone" command (<see href="http://tortoisehg.bitbucket.org/manual/2.0/clone.html#from-command-line"/>): /// Clon...
//#define DEBUG //#define DEBUG2 using System; using System.Collections.Generic; namespace ICSimulator { public class Controller_Global_round_robin : Controller_ClassicBLESS { public bool[] m_isThrottled = new bool[Config.N]; //This represent the round-robin turns public int[] throttle...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Microsoft.Extensions.Logging; namespace Orleans.Runtime.ConsistentRing { /// <summary> /// We use the 'backward/clockwise' definition to assign responsibilities on the ring. /// E.g. in a ring of nodes {5, 10, 15}...
namespace AppStudio.Menu.BackEnd.Migrations { using System; using System.Collections.Generic; using System.Data.Entity.Infrastructure.Annotations; using System.Data.Entity.Migrations; public partial class V_0 : DbMigration { public override void Up() { CreateTabl...
#region "Copyright" /* FOR FURTHER DETAILS ABOUT LICENSING, PLEASE VISIT "LICENSE.txt" INSIDE THE SAGEFRAME FOLDER */ #endregion #region "References" using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.Configuration...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.Collections.Generic; using System.IO; using System.Reflection; using System.Text; using System.Text.Json; using System.Threading.Tasks; using Azure.Core; using Azure.Core.TestFramework; using Azur...
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Diagnostics.CodeAnalysis; using System.Globalization; using System.Linq; using System.Net.Http.Headers; using System.Web.Http; using System.Web.Http.Description; using WebAPI2AuthenticationExample.Web.Areas.HelpPage.Model...
// 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.Linq; using System.Text; using Microsoft.Protocols.TestTools.StackSdk; using Microsoft.Protocols.TestSuites;...
// 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.Collections.Specialized; using System.Compo...
/* * Copyright (c) 2008, openmetaverse.org * All rights reserved. * * - Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * - Redistributions of source code must retain the above copyright notice, this * list of...
// 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.Text; using Microsoft.Cci.MetadataReader.PEFileFlags; using Microsoft.Cci.UtilityDataStructures; using Syst...
// DecimalTest.cs - NUnit Test Cases for the System.Decimal struct // // Authors: // Martin Weindel (martin.weindel@t-online.de) // Sebastien Pouliot <sebastien@ximian.com> // // (C) Martin Weindel, 2001 // Copyright (C) 2004 Novell (http://www.novell.com) // using NUnit.Framework; using System; using System.Global...
// 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.Diagnostics; using Syste...
// 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 Internal.TypeSystem; using Debug = System.Diagnostics.Debug; namespace Internal.IL.Stubs { ...
#region License /* Copyright (c) 2003-2015 Llewellyn Pritchard * All rights reserved. * This source code is subject to terms and conditions of the BSD License. * See license.txt. */ #endregion using System; using System.ComponentModel; using System.Collections; using System.Reflection; using System.Diagnostics; ...
using System; using System.Collections.Generic; using System.Reactive.Linq; using System.Reactive.Threading.Tasks; using MS.Core; namespace System.Diagnostics.SymbolStore { public static class __ISymbolWriter { public static IObservable<System.Reactive.Unit> Initialize( this IObservable<Sys...
// 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 Microsoft.Azure.Graph.RBAC { using Microsoft.Azure; using Microsoft.Azure.Graph; using Microsoft.Rest; using Microsoft.Rest.Azure; usi...
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;...
// // Encog(tm) Core v3.2 - .Net Version // http://www.heatonresearch.com/encog/ // // Copyright 2008-2014 Heaton Research, 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 // // htt...
// 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.Diagnostics; using Microsoft.CodeAnalysis.Host; using Microsoft.VisualStudio.LanguageServices.Imp...
// 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 not ...
using System; using System.ComponentModel; using System.Runtime.CompilerServices; using System.Security; using Csla; using Csla.Validation; namespace ProjectTracker.Library { /// <summary> /// Represents the original CSLA <see cref="Resource"/> class code. /// </summary> /// <remarks> /// This class changed to a ...
/* * Authors: Benton Stark * * Copyright (c) 2007-2009 Starksoft, LLC (http://www.starksoft.com) * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including w...
#region File Description //----------------------------------------------------------------------------- // SpellbookScreen.cs // // Microsoft XNA Community Game Platform // Copyright (C) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- #endregi...
// Copyright 2018 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) The Avalonia Project. All rights reserved. // Licensed under the MIT license. See licence.md file in the project root for full license information. using System; using System.Collections.Specialized; using System.Linq; using Moq; using Avalonia.Controls.Presenters; using Avalonia.Controls.Primitives; ...
// <copyright file="UserGramSchmidtTests.cs" company="Math.NET"> // Math.NET Numerics, part of the Math.NET Project // http://numerics.mathdotnet.com // http://github.com/mathnet/mathnet-numerics // // Copyright (c) 2009-2016 Math.NET // // Permission is hereby granted, free of charge, to any person // obtaining a copy...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Collections.Generic; using System.Collections; using System.ComponentModel; using System.Diagnostics; u...
// 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) 2015 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 agreed t...
// // ConnectToServerDialog.cs // // Author: // Ventsislav Mladenov <vmladenov.mladenov@gmail.com> // // Copyright (c) 2013 Ventsislav Mladenov // // 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 ...
namespace PowerShellTools.DebugEngine.Definitions { // These are managed definitions of the well-known AD7 HRESULTS. Defined in msdbg.idl. static public class HRESULT { public const int S_ATTACH_DEFERRED=unchecked((int)0x40004); public const int S_ATTACH_IGNORED=unchecked((int)0x40005); ...
//Copyright 2010 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.apache.org/licenses/LICENSE-2.0 // //Unless required by applicable law or agreed to in...
using System; using System.Collections; using System.IO; using NBitcoin.BouncyCastle.Utilities; namespace NBitcoin.BouncyCastle.Asn1.X509 { /** * Generator for Version 2 TbsCertList structures. * <pre> * TbsCertList ::= Sequence { * version Version OPTIONAL, * ...
/// This code was generated by /// \ / _ _ _| _ _ /// | (_)\/(_)(_|\/| |(/_ v1.0.0 /// / / /// <summary> /// RecordingResource /// </summary> using Newtonsoft.Json; using System; using System.Collections.Generic; using Twilio.Base; using Twilio.Clients; using Twilio.Converters; using Twilio.Except...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using ModestTree; namespace Zenject { public class InjectContext { public InjectContext() { SourceType = InjectSources.Any; MemberName = ""; } public InjectContext(DiCo...
/* * * (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) 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...
// // SingleView.cs // // Author: // Ruben Vermeersch <ruben@savanne.be> // Stephane Delcroix <stephane@delcroix.org> // Larry Ewing <lewing@src.gnome.org> // // Copyright (C) 2005-2010 Novell, Inc. // Copyright (C) 2008, 2010 Ruben Vermeersch // Copyright (C) 2006-2010 Stephane Delcroix // Copyright (C) 2005-200...
// Copyright 2021 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 ...
using System; using System.Diagnostics; using System.Text; using Bitmask = System.UInt64; using u8 = System.Byte; using u16 = System.UInt16; using u32 = System.UInt32; namespace Community.CsharpSqlite { public partial class Sqlite3 { /* ** 2009 November 25 ** ** The author disclaims copyright to t...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Security.Cryptography.As...
/* Copyright 2009-2012 Matvei Stefarov <me@matvei.org> * * Based, in part, on SmartIrc4net code. Original license is reproduced below. * * * * SmartIrc4net - the IRC library for .NET/C# <http://smartirc4net.sf.net> * * Copyright (c) 2003-2005 Mirco Bauer <meebey@meebey.net> <http://www.meebey.net> * * Full ...
using System; using System.Net; using System.Threading.Tasks; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; using Orleans; using Orleans.Configuration; using Orleans.Configuration.Internal; using Orleans.Configuration.Validators; using Orleans.Hosting; using Orleans.Runtime; using ...
using System; using NBitcoin.BouncyCastle.Crypto.Parameters; namespace NBitcoin.BouncyCastle.Crypto.Engines { /** * Camellia - based on RFC 3713. */ public class CamelliaEngine : IBlockCipher { private bool initialised = false; private bool _keyIs128; private const int BLOCK_SIZE = 16; private uint[]...
using System.Threading.Tasks; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Mvc; using ReactBoilerplate.Controllers.Account.Models; using ReactBoilerplate.Models; using ReactBoilerplate.Services; namespace ReactBoilerplate.Controllers.Account { [Route("api/account")] public class ApiControlle...
// Copyright (c) 2015, Outercurve Foundation. // 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...
namespace java.nio.channels { [global::MonoJavaBridge.JavaClass(typeof(global::java.nio.channels.Pipe_))] public abstract partial class Pipe : java.lang.Object { internal new static global::MonoJavaBridge.JniGlobalHandle staticClass; static Pipe() { InitJNI(); } protected Pipe(global::MonoJavaBridge.JNI...
// 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.Build.Framework; using Microsoft.Build.Utilities; using Newtonsoft.Json; using Newtonsoft.Json.Linq;...
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Diagnostics.CodeAnalysis; using System.Globalization; using System.Linq; using System.Net.Http.Headers; using System.Web.Http; using System.Web.Http.Description; using DriverAssistent_WebService.Areas.HelpPage.Models; na...
// Stephen Toub // stoub@microsoft.com // // XmlComments.cs // Retrieve the xml comments stored in the assembly's comments file // for specific types or members of types. // ========================================================================== // <mailto:vjacquet@club-internet.fr> // * Added more paths in to look ...
/* * Farseer Physics Engine based on Box2D.XNA port: * Copyright (c) 2010 Ian Qvist * * Box2D.XNA port of Box2D: * Copyright (c) 2009 Brandon Furtwangler, Nathan Furtwangler * * Original source Box2D: * Copyright (c) 2006-2009 Erin Catto http://www.gphysics.com * * This software is provided 'as-is', without any expr...
using System; using System.Collections.Generic; /// <summary> /// System.Collections.Generic.IEnumerator<T>.Current /// </summary> public class IEnumeratorCurrent { private int c_MINI_STRING_LENGTH = 8; private int c_MAX_STRING_LENGTH = 20; public static int Main() { IEnumeratorCurrent testOb...
// // Copyright 2017 The E2C Authors. 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 ap...
// 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.17.0.0 // Changes may cause incorrect behavior and will be lost if the code is // regenerated. ...
//--------------------------------------------------------------------------- // // File: XmlnsCache.cs // // Description: // Handles local caching operations on the XmlnsCache file used for parsing // // // History: // 5/10/05: peterost Created // // Copyright (C) 2005 by Microsoft Corporation. All right...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using Xunit; namespace System.Numerics.Tests { public class logTest { private static int s_samples = 10; private static Random s_random = new R...
namespace InputForm { partial class Form1 { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <param nam...
/* * Copyright (c) 2017 Richard Vallett * * 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, pu...