context
stringlengths
2.52k
185k
gt
stringclasses
1 value
// 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 System.Diagnostics.Contracts; using System.Runtime.InteropServices; using System.Security; using ZErrorCode = System.IO.Compression.ZLi...
#pragma warning disable IDE1006 using System.Net; using System.Net.Http.Headers; using Anemonis.RandomOrg.Data; using Anemonis.RandomOrg.UnitTests.Internal; using Anemonis.RandomOrg.UnitTests.TestStubs; using Anemonis.Resources; using Microsoft.VisualStudio.TestTools.UnitTesting; using Newtonsoft.Json.Linq; namespace...
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== /*============================================================ ** ** Class: BinaryWriter ** ** <OWNER>gpaperin</OWNER> ** ** Purpose: Provides a way to write primitives types in ** binary from a Stream, while also supporting ...
using System; using System.Globalization; using System.IO; using System.Text; using Orleans.Serialization; namespace Orleans.Runtime { [Serializable] internal class UniqueKey : IComparable<UniqueKey>, IEquatable<UniqueKey> { private const ulong TYPE_CODE_DATA_MASK = 0xFFFFFFFF; // Lowest 4 bytes ...
/* * REST API Documentation for Schoolbus * * API Sample * * OpenAPI spec version: v1 * * */ using System; using Xunit; using Microsoft.Extensions.Configuration; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using System.Xml.XPath; using Microsoft.AspNetC...
/* * Copyright 2010-2014 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 ClosedXML.Excel; using System; namespace ClosedXML_Examples.Misc { public class Sorting : IXLExample { public void Create(String filePath) { using (var wb = new XLWorkbook()) { #region Sort Table var wsTable = wb.Worksheets.Add("Ta...
// *********************************************************************** // Copyright (c) 2007 Charlie Poole, Rob Prouse // // 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 restri...
using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Linq; using System.Net; using System.Web.Hosting; using System.Web.Mvc; using System.Xml.Linq; using NuGet; using Orchard.Environment; using Orchard.Environment.Configuration; using Orchard.Environment.Extensions.M...
/* * XPathNavigator.cs - Implementation of the * "System.Xml.XPath.XPathNavigator" class. * * Copyright (C) 2002 Southern Storm Software, Pty Ltd. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software ...
using System; using System.Linq.Expressions; namespace AutoMapper { using System.ComponentModel; /// <summary> /// Mapping configuration options for non-generic maps /// </summary> public interface IMappingExpression { /// <summary> /// Skip normal member mapping and convert us...
using System; using System.Text; using System.Data; using System.Data.SqlClient; using System.Data.Common; using System.Collections; using System.Collections.Generic; using System.ComponentModel; using System.Configuration; using System.Xml; using System.Xml.Serialization; using SubSonic; using SubSonic.Utilities;...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. // using System; using System.Diagnostics.Contracts; using System.Runtime.CompilerServices; using System.Security; ...
using System; using System.Linq; using SoftFX.Extended; using SoftFX.Extended.Storage; using log4net; namespace RHost { public static class FdkBars { static readonly ILog Log = LogManager.GetLogger(typeof(FdkBars)); #region Bars public static string ComputeBarsRangeTime(string symbol, string priceTypeS...
using System; using System.Collections.Generic; using System.Text; using System.Data; public enum DataParameterType : int { StringParameter = 1, LongParameter = 2, DateParameter = 3, IntParameter = 4, BoolParameter = 5, DoubleParameter = 6, CLOBParameter = 7, BLOBParameter = 8, }; name...
using UnityEngine; using System.Collections; using System.Collections.Generic; namespace tk2dRuntime.TileMap { [System.Serializable] public class LayerSprites { public int[] spriteIds; public LayerSprites() { spriteIds = new int[0]; } } [System.Serializable] public class SpriteChunk { bool dirty;...
using System; using System.Data; using FluentNHibernate.Mapping; using NHibernate.SqlTypes; using NHibernate.UserTypes; using NUnit.Framework; namespace FluentNHibernate.Testing.DomainModel.Mapping { [TestFixture] public class ComponentPropertyMapTester { [Test] public void Map_WithoutColum...
// StrangeCRC.cs - computes a crc used in the bziplib // // 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 under 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. //************************************************************************/ //*Test: LeakWheel //*Purpose: simula...
#region License /* * Copyright 2002-2010 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unle...
//---------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. //------------------------------------------------------------ namespace System.ServiceModel.Security { using System.Collections.Generic; using System.Collections.ObjectModel; using Sy...
/* Copyright (c) 2013, Keripo 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 conditions and the foll...
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 Order : Resource { #region Me...
// **************************************************************** // Copyright 2007, Charlie Poole // This is free software licensed under the NUnit license. You may // obtain a copy of the license at http://nunit.org // **************************************************************** using System.Collections; name...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.ComponentModel; using System.Globalization; using System.Threading; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Media; using MahApps.Me...
// ============================================================================ // FileName: SIPDomain.cs // // Description: // Maintains a list of domains and domain aliases that can be used by various // SIP Server agents. For example allows a SIP Registrar or Proxy to check the // domain on an incoming request to s...
using System; using System.Collections.Generic; using System.Threading.Tasks; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; using Orleans.AzureUtils.Utilities; using Orleans.Configuration; using Orleans.Reminders.AzureStorage; namespace Orleans.Runtime.ReminderService { public class Azure...
/* **************************************************************************** * * Copyright (c) Microsoft Corporation. * * This source code is subject to terms and conditions of the Apache License, Version 2.0. A * copy of the license can be found in the License.html file at the root of this distribution. If ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging; ...
//********************************************************* // // 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...
using GraphQL.Types; namespace GraphQL.Tests.Validation { public class Being : InterfaceGraphType { public Being() { Field<StringGraphType>( "name", arguments: new QueryArguments( new QueryArgument<BooleanGraphType> { Name = "surna...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. namespac...
// 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 // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Collections; using System.Diagnostics; using System.IO; using System.Net.NetworkInformation; using Syst...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Diagnostics; using System.Runtime.CompilerServices; namespace System { /// <summary> /// Exten...
using System; using System.Collections; using System.Collections.Generic; using System.Globalization; using System.Runtime.InteropServices; using System.Runtime.Serialization; using System.Numerics; using System.Linq; using GlmSharp.Swizzle; // ReSharper disable InconsistentNaming namespace GlmSharp { /// <s...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Mvc.Formatters; using Microsoft.AspNetCore.Mvc.ModelBinding.Metadata; using Microsoft.Extensions.Options; using Xunit; namespace Microsoft.A...
using System; using Amazon.ElasticTranscoder.Model; using Amazon.RDS; using Amazon.RDS.Model; using NUnit.Framework; using CommonTests.Framework; namespace AWSSDK_DotNet.IntegrationTests.Tests.RDS { [TestFixture] public class BasicDescribes : TestBase<AmazonRDSClient> { [Test] [Category("RD...
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging.proto // Original file comments: // Copyright 2017 Google 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 co...
// // InfoBox.cs // // Author: // Ruben Vermeersch <ruben@savanne.be> // Stephane Delcroix <sdelcroix@novell.com> // Mike Gemuende <mike@gemuende.de> // // Copyright (C) 2008-2010 Novell, Inc. // Copyright (C) 2008, 2010 Ruben Vermeersch // Copyright (C) 2008 Stephane Delcroix // Copyright (C) 2010 Mike Gemuende ...
// 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.ObjectModel; using System.Diagnostics; using System.Linq; namespace Microsoft.CodeAn...
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;...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+ // // IntRangePartitionerTests.cs - Tests for range partitioner for integer ra...
// 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.Diagnostics.Contracts; namespace System.Globalization { //////////////////////////////////////////////////////////////////////////// ...
// 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.Generic; using System.Linq; using System.Threading; using osu.Framework; using osu.Framework.Caching; using osu.Framework.Extension...
// Copyright (c) 2002-2019 "Neo4j," // Neo4j Sweden AB [http://neo4j.com] // // This file is part of Neo4j. // // 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....
using System; using System.Collections.Generic; using System.IO; using System.Xml; using Lucene.Net.Documents; using Umbraco.Core; using Umbraco.Core.Composing; using Umbraco.Core.IO; using Umbraco.Core.Models; using Umbraco.Core.Services; using File = System.IO.File; namespace umbraco.cms.businesslogic.packager { ...
// 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.ComponentModel; using System.Diagnostics; using System.IO; using System.Linq; using System.Runtim...
#region License // Copyright (c) 2007 James Newton-King // // Permission is hereby granted, free of charge, to any person // obtaining a copy of this software and associated documentation // files (the "Software"), to deal in the Software without // restriction, including without limitation the rights to use, // copy, ...
namespace Tmds.DBus.Protocol; public ref partial struct MessageWriter { public void WriteMethodCallHeader( string? destination = null, string? path = null, string? @interface = null, string? member = null, string? signature = null, MessageFlags flags = MessageFlags.N...
#region Using declarations using System; using System.Collections.Generic; using System.ComponentModel; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Input; using System.Windows.Media; using System.Xml.Serializ...
// The MIT License (MIT) // // Copyright (c) 2014-2017, Institute for Software & Systems Engineering // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including wit...
using System.Collections; using System.Collections.Generic; namespace Pb.Collections { /// <summary> /// A relational map class that supports Unity serialization /// </summary> /// <typeparam name="TKey">The type of object to use as a key</typeparam> /// <typeparam name="TValue">The type of object to use as a val...
using Lucene.Net.Support; using NUnit.Framework; using System.Collections.Generic; using System.Text; using System.Text.RegularExpressions; namespace Lucene.Net.Analysis.TokenAttributes { /* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTI...
// 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.Dynamic.Utils; namespace System.Linq.Expressions.Interpreter { internal abstract class NumericConv...
// // This file was generated by the BinaryNotes compiler. // See http://bnotes.sourceforge.net // Any modifications to this file will be lost upon recompilation of the source ASN.1. // using System.Collections.Generic; using GSF.ASN1; using GSF.ASN1.Attributes; using GSF.ASN1.Coders; using GSF.ASN1.Types; namespac...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Drawing.Imaging; using System.IO; using System.Windows.Forms; using Tao.OpenGl; using Tao.Platform.Windows; using ICSharpCode.SharpZipLib.Zip; using OpenMetaverse; using OpenMetaverse.StructuredData; using Op...
// Copyright (C) 2011 - 2018 Luca Piccioni // Copyright (c) 2006 - 2008 The Open Toolkit library. // // 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 withou...
// Copyright 2007-2011 Chris Patterson, Dru Sellers, Travis Smith, et. al. // // Licensed under the Apache License, Version 2.0 (the "License"); you may not use // this file except in compliance with the License. You may obtain a copy of the // License at // // http://www.apache.org/licenses/LICENSE-2.0 // ...
/* * DocuSign REST API * * The DocuSign REST API provides you with a powerful, convenient, and simple Web services API for interacting with DocuSign. * * OpenAPI spec version: v2.1 * Contact: devcenter@docusign.com * Generated by: https://github.com/swagger-api/swagger-codegen.git */ using System; using Syste...
using RootSystem = System; using System.Linq; using System.Collections.Generic; namespace Windows.Kinect { // // Windows.Kinect.AudioBeamFrameReader // public sealed partial class AudioBeamFrameReader : RootSystem.IDisposable, Helper.INativeWrapper { internal RootSystem.IntPtr _pNative; ...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. namespac...
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 Cysharp.Threading.Tasks; using UnityEngine; namespace Cytoid.Storyboard { public abstract class StoryboardComponentRenderer { public Object Component { get; protected set; } public List<StoryboardComponentRenderer> Children = new Li...
/* * * (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...
using System; using System.Collections.Generic; using Aspectize.Core; using System.Text.RegularExpressions; using FacebookConnect; namespace Aspectize.OAuth { class MyGuid { static Regex rxGuid = new Regex ("^[0-9A-F]{32}$"); static internal bool TryParse (string s, out Guid g) { ...
/* * Copyright (c) Contributors, http://opensimulator.org/ * See CONTRIBUTORS.TXT for a full list of copyright holders. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must r...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Collections.Generic; using System.Diagnostics; using System.Reflection; namespace System.Dynamic.Utils...
using System.IO; using System.Linq; using Microsoft.CodeAnalysis; using Stratis.SmartContracts.CLR.Compilation; using Stratis.SmartContracts.CLR.Validation.Validators; using Stratis.SmartContracts.CLR.Validation.Validators.Module; using Stratis.SmartContracts.CLR.Validation.Validators.Type; using Xunit; namespace Stra...
// 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: Implements a generic, dynam...
// 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.Immutable; using System.Linq; using System.Threading; using System.Threading.Tasks; using Microsoft.CodeAnalysis.CodeFi...
#if FAIRYGUI_TMPRO using System; using System.Collections.Generic; using UnityEngine; using UnityEngine.TextCore; using TMPro; namespace FairyGUI { /// <summary> /// TextMeshPro text adapter for FairyGUI. Most of codes were taken from TextMeshPro! /// Note that not all of TextMeshPro features are support...
// Copyright (C) AS Sertifitseerimiskeskus // This software is released under the BSD License (see LICENSE.BSD) using System; namespace NDigiDoc.Ionic.Zlib { internal sealed class Tree { private static readonly int HEAP_SIZE = (2 * InternalConstants.L_CODES + 1); // extra bits ...
using UnityEngine; using UnityEditor; using System.IO; using System.Collections.Generic; // Support anim uvs here as well [CanEditMultipleObjects, CustomEditor(typeof(MegaPointCache))] public class MegaPointCacheEditor : MegaModifierEditor { static string lastpath = " "; public delegate bool ParseBinCallbackType(B...
/*************************************************************************** * ActiveUserEvent.cs * * Copyright (C) 2005-2006 Novell, Inc. * Written by Aaron Bockover <aaron@abock.org> ****************************************************************************/ /* THIS FILE IS LICENSED UNDER THE MIT LICENSE ...
#region PDFsharp - A .NET library for processing PDF // // Authors: // Stefan Lange (mailto:Stefan.Lange@pdfsharp.com) // // Copyright (c) 2005-2009 empira Software GmbH, Cologne (Germany) // // http://www.pdfsharp.com // http://sourceforge.net/projects/pdfsharp // // Permission is hereby granted, free of charge, to ...
/* * Copyright 2008 ZXing authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wri...
using System; using System.Buffers.Text; using System.Collections.Generic; using System.Linq; using Orleans.Utilities; namespace Orleans.Runtime { /// <summary> /// Formats and parses <see cref="Type"/> instances using configured rules. /// </summary> public class TypeConverter { private re...
// 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.Generic; using System.Linq; using JetBrains.Annotations; using osu.Framework.Allocation; using osu.Framework.Audio; using osu.Frame...
#region License // // Copyright (c) 2007-2009, Sean Chambers <schambers80@gmail.com> // // 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 /...
// 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.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; using Microsoft.CodeAnalysis.Com...
using System; using System.Collections.Generic; using System.Text; using System.Reflection; using System.Data; using System.Data.SqlClient; namespace ORM.Framework { public class Database { static List<Mapping> mappings = new List<Mapping>(); public static void Init(Assembly assembly, string c...
// Copyright (c) 2010-2014 SharpDX - Alexandre Mutel // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modif...
// 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.Xml; using System.Globalization; namespace System.Runtime.Serialization { #if USE_REFEMIT || NET_NATI...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. namespace System { using System; using System.Reflection; using System.Runtime; using System.Threadi...
using System; using System.Net; using EventStore.Common.Utils; using EventStore.Core.Data; using EventStore.Core.Messaging; using EventStore.Core.Services.Transport.Tcp; using EventStore.Core.TransactionLog.Chunks; using EventStore.Core.TransactionLog.LogRecords; namespace EventStore.Core.Messages { public static ...
// 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: This class represen...
/*- * See the file LICENSE for redistribution information. * * Copyright (c) 2009, 2013 Oracle and/or its affiliates. All rights reserved. * */ using BerkeleyDB.Internal; namespace BerkeleyDB { /// <summary> /// The policy for how to handle database creation. /// </summary> public enum CreatePoli...
// 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.Linq; using System.Runtime.InteropServices; using System.Threading; u...
// 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 Xunit; namespace System.IO.MemoryMappedFiles.Tests { public class Memor...
#region license // Copyright (C) 2017 Mikael Egevig (mikael@egevig.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 copyrigh...
using OpenCNCPilot.GCode; using OpenCNCPilot.GCode.GCodeCommands; using OpenCNCPilot.Util; using System; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; using System.IO; using System.IO.Ports; using System.Net.Sockets; using System.Text.RegularExpressions; using System....
// 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; using System.Collections.Generic; using System.Linq; using System.Runtime.CompilerServices; us...
/* ==================================================================== 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; using System.Collections.Generic; #if HasITuple using System.Runtime.CompilerServices; #endif namespace Prometheus.Client { public interface IMetricFactory { /// <summary> /// Create Counter. /// </summary> /// <param name="name">Metric name.</param> ...
// Copyright (C) 2014 dot42 // // Original filename: Dalvik.Bytecode.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 // // Unless...
#if UNITY_EDITOR using UnityEditor; using UnityEngine; using System.Text.RegularExpressions; using System.Collections.Generic; using System.Linq; using UnityEditor.Callbacks; using System; #if UNITY_WEBPLAYER /* Cut down version that compiles under restricted WebPlayer .NET runtime and gives useful(hopefully) erro...
// 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 Xunit; namespace System.IO.Tests.Enumeration { public class TrimmedPaths : FileSystemT...
// (c) Copyright 2012 Hewlett-Packard Development Company, L.P. // 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...
// Copyright (c) .NET Foundation and contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.IO; using System.Linq; using System.Runtime.InteropServices; using FluentAssertions; using Microsoft.Extensions.Depend...