commit stringlengths 40 40 | subject stringlengths 0 1.12k | message stringlengths 11 14.5k | repos stringlengths 8 11.5k | file_path stringlengths 6 191 | license stringclasses 12
values | unix_time int64 805M 1.66B | new_contents stringlengths 14 20M | old_contents stringlengths 1 20M |
|---|---|---|---|---|---|---|---|---|
ccd814fb7721a4af315cacd898b41a7efece992f | fixes path to published web api | fixes path to published web api
| flubu-core/flubu.core,flubu-core/flubu.core,flubu-core/flubu.core,flubu-core/flubu.core | src/BuildScript/BuildScript.cs | bsd-2-clause | 1,586,571,098 | using System;
using System.IO;
using FlubuCore.Commanding;
using FlubuCore.Context;
using FlubuCore.Scripting;
using FlubuCore.Context.FluentInterface.Interfaces;
using FlubuCore.IO;
using FlubuCore.Context.Attributes.BuildProperties;
using FlubuCore.Tasks.NetCore;
public class BuildScript : DefaultBuildScript
{
... | using System;
using System.IO;
using FlubuCore.Commanding;
using FlubuCore.Context;
using FlubuCore.Scripting;
using FlubuCore.Context.FluentInterface.Interfaces;
using FlubuCore.IO;
using FlubuCore.Context.Attributes.BuildProperties;
using FlubuCore.Tasks.NetCore;
public class BuildScript : DefaultBuildScript
{
... |
96417086eaf7898923790d6a3b41cdc1a64b9a94 | Adds runtime | Adds runtime
| flubu-core/flubu.core,flubu-core/flubu.core,flubu-core/flubu.core,flubu-core/flubu.core | src/BuildScript/BuildScript.cs | bsd-2-clause | 1,586,570,668 | using System;
using System.IO;
using FlubuCore.Commanding;
using FlubuCore.Context;
using FlubuCore.Scripting;
using FlubuCore.Context.FluentInterface.Interfaces;
using FlubuCore.IO;
using FlubuCore.Context.Attributes.BuildProperties;
using FlubuCore.Tasks.NetCore;
public class BuildScript : DefaultBuildScript
{
... | using System;
using System.IO;
using FlubuCore.Commanding;
using FlubuCore.Context;
using FlubuCore.Scripting;
using FlubuCore.Context.FluentInterface.Interfaces;
using FlubuCore.IO;
using FlubuCore.Context.Attributes.BuildProperties;
public class BuildScript : DefaultBuildScript
{
[FromArg("nugetKey", "Nuget ap... |
c9788fe88dc59716b1e1f3df24a19c776d688f25 | Added a fact to cover testing when a plugin has settings. | Added a fact to cover testing when a plugin has settings.
| dcjulian29/HealthCheck,dcjulian29/HealthCheck,dcjulian29/HealthCheck | UnitTests/Framework/PluginManagerTests.cs | apache-2.0 | 1,586,569,774 | using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Xml.Linq;
using HealthCheck;
using HealthCheck.Framework;
using Moq;
using Quartz;
using Xunit;
namespace UnitTests.Framework
{
[SuppressMessage(
"StyleCop.CSharp.DocumentationRules",
"SA1600:ElementsMustBeDocumented",
J... | using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Xml.Linq;
using HealthCheck;
using HealthCheck.Framework;
using Moq;
using Quartz;
using Xunit;
namespace UnitTests.Framework
{
[SuppressMessage(
"StyleCop.CSharp.DocumentationRules",
"SA1600:ElementsMustBeDocumented",
J... |
9e079046bd4e61c2436410ae3615be129f2f02f7 | only one web api deployment package is prepared for net.462 | only one web api deployment package is prepared for net.462
| flubu-core/flubu.core,flubu-core/flubu.core,flubu-core/flubu.core,flubu-core/flubu.core | src/BuildScript/BuildScript.cs | bsd-2-clause | 1,586,569,174 | using System;
using System.IO;
using FlubuCore.Commanding;
using FlubuCore.Context;
using FlubuCore.Scripting;
using FlubuCore.Context.FluentInterface.Interfaces;
using FlubuCore.IO;
using FlubuCore.Context.Attributes.BuildProperties;
public class BuildScript : DefaultBuildScript
{
[FromArg("nugetKey", "Nuget ap... | using System;
using System.IO;
using FlubuCore.Commanding;
using FlubuCore.Context;
using FlubuCore.Scripting;
using FlubuCore.Context.FluentInterface.Interfaces;
using FlubuCore.IO;
using FlubuCore.Context.Attributes.BuildProperties;
public class BuildScript : DefaultBuildScript
{
[FromArg("nugetKey", "Nuget ap... |
b647508eac170216c112955f38088dae784f3cf9 | Fixed MoveFileUndoCommand. | Fixed MoveFileUndoCommand.
| quartz-software/kephas,quartz-software/kephas,quartz-software/kephas | src/Kephas.Plugins/Plugins/Transactions/MoveFileUndoCommand.cs | mit | 1,586,568,939 | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="MoveFileUndoCommand.cs" company="Kephas Software SRL">
// Copyright (c) Kephas Software SRL. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the pr... | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="MoveFileUndoCommand.cs" company="Kephas Software SRL">
// Copyright (c) Kephas Software SRL. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the pr... |
24459e40a5131b02c6708c63879f1d96535ffb58 | finish speed debuff component | finish speed debuff component
| fomalsd/unitystation,krille90/unitystation,fomalsd/unitystation,krille90/unitystation,krille90/unitystation,krille90/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation | UnityProject/Assets/Scripts/Clothing/WearableSpeedDebuff.cs | agpl-3.0 | 1,586,567,373 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Clothing
{
/// <summary>
/// when wore, this item will apply a debuff on player speed
/// </summary>
public class WearableSpeedDebuff : MonoBehaviour, IServerInventoryMove
{
[SerializeField]
[Tooltip("This will be the sp... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/// <summary>
/// when wore, this item will apply a debuff on player speed
/// </summary>
public class WearableSpeedDebuff : MonoBehaviour, IServerInventoryMove
{
private PlayerScript player;
const float InitialRunSpeed = 6;
... |
5198a329f2f4dafe0e9889e5dd2c9c77437ea85e | New clientlib ver | New clientlib ver
| kaltura/KalturaGeneratedAPIClientsCsharp | KalturaClient/Client.cs | agpl-3.0 | 1,586,564,199 | // ===================================================================================================
// _ __ _ _
// | |/ /__ _| | |_ _ _ _ _ __ _
// | ' </ _` | | _| || | '_/ _` |
// |_|\_\__,_|_|\__|\_,_|_| \_... | // ===================================================================================================
// _ __ _ _
// | |/ /__ _| | |_ _ _ _ _ __ _
// | ' </ _` | | _| || | '_/ _` |
// |_|\_\__,_|_|\__|\_,_|_| \_... |
28a62ff63cdb48fd5b4e335ea8933db51fa788f8 | Fixed unit tests | Fixed unit tests
| quartz-software/kephas,quartz-software/kephas,quartz-software/kephas | src/Tests/Kephas.Application.Console.Tests/MessagingCommandProcessorTest.cs | mit | 1,586,564,177 | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="MessagingCommandProcessorTest.cs" company="Kephas Software SRL">
// Copyright (c) Kephas Software SRL. All rights reserved.
// Licensed under the MIT license. See LICENSE file... | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="MessagingCommandProcessorTest.cs" company="Kephas Software SRL">
// Copyright (c) Kephas Software SRL. All rights reserved.
// Licensed under the MIT license. See LICENSE file... |
372cc8028cbc964e9be800e89ab5b771e6083a0c | Fix bug#945642 by removing NETSTANDARD1_3 complication condition. We can do the fix now since NetStandard1.3 had been removed from support TFM list in our project files. | Fix bug#945642 by removing NETSTANDARD1_3 complication condition. We can do the fix now since NetStandard1.3 had been removed from support TFM list in our project files.
| Microsoft/dotnet-apiport,Microsoft/dotnet-apiport,mjrousos/dotnet-apiport,mjrousos/dotnet-apiport,Microsoft/dotnet-apiport,mjrousos/dotnet-apiport | src/lib/Microsoft.Fx.Portability/TargetMapper.cs | mit | 1,586,564,052 | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Microsoft.Fx.Portability.Resources;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Globalization;
using Syste... | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Microsoft.Fx.Portability.Resources;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Globalization;
using Syste... |
54ef4c84c13d3990e42318910b9390f5474f1e2a | Add todo to free memory allocated by proxy server list and bypass list | Add todo to free memory allocated by proxy server list and bypass list
| couchbase/couchbase-lite-net,couchbase/couchbase-lite-net,couchbase/couchbase-lite-net,couchbase/couchbase-lite-net | src/Couchbase.Lite.Shared/Support/netdesktop/WindowsProxy.cs | apache-2.0 | 1,586,563,435 | //
// WindowsProxy.cs
//
// Copyright (c) 2018 Couchbase, 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-... | //
// WindowsProxy.cs
//
// Copyright (c) 2018 Couchbase, 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-... |
cd3ec54408435c50f296702ff27136949703db82 | Use using-blocks to make CI work again | Use using-blocks to make CI work again
| nikeee/HolzShots,nikeee/HolzShots | src/HolzShots.Core/Composition/PluginManager.cs | agpl-3.0 | 1,586,563,198 | using System;
using System.Collections.Generic;
using System.Composition.Hosting;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using System.Windows.Forms;
using HolzShots.IO;
namespace HolzShots.Composition
{
public abstract class PluginManage... | using System;
using System.Collections.Generic;
using System.Composition.Hosting;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using System.Windows.Forms;
using HolzShots.IO;
namespace HolzShots.Composition
{
public abstract class PluginManage... |
8dfdf9ef4e3a2e55c3ec13c19debfc4b3db99403 | tests helper tweaks | tests helper tweaks
| maxtoroq/XCST,maxtoroq/XCST | tests/Xcst.Tests/TestsHelper.cs | apache-2.0 | 1,586,562,931 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Xml;
using System.Xml.Linq;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.Emit;
using Microsoft.CodeAnalysis.VisualBasic;
using ... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Xml;
using System.Xml.Linq;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.Emit;
using Microsoft.CodeAnalysis.VisualBasic;
using ... |
82e76bbacec53f6dd95c1e7764ed0bb094fc02bf | Gossip that the silo is dead before the outbound queue gets closed (#6480) | Gossip that the silo is dead before the outbound queue gets closed (#6480)
| amccool/orleans,ibondy/orleans,yevhen/orleans,ElanHasson/orleans,veikkoeeva/orleans,dotnet/orleans,benjaminpetit/orleans,veikkoeeva/orleans,ReubenBond/orleans,hoopsomuah/orleans,hoopsomuah/orleans,ibondy/orleans,benjaminpetit/orleans,ibondy/orleans,jason-bragg/orleans,waynemunro/orleans,waynemunro/orleans,jthelin/orlea... | src/Orleans.Runtime/MembershipService/MembershipAgent.cs | mit | 1,586,562,334 | using System;
using System.Collections.Generic;
using Microsoft.Extensions.Logging;
using Orleans.Configuration;
using System.Threading.Tasks;
using System.Threading;
using Microsoft.Extensions.Options;
using System.Linq;
using Orleans.Internal;
namespace Orleans.Runtime.MembershipService
{
/// <summary>
/// R... | using System;
using System.Collections.Generic;
using Microsoft.Extensions.Logging;
using Orleans.Configuration;
using System.Threading.Tasks;
using System.Threading;
using Microsoft.Extensions.Options;
using System.Linq;
using Orleans.Internal;
namespace Orleans.Runtime.MembershipService
{
/// <summary>
/// R... |
ac4cbd8ffbf7c92e77f0fd3d7ce28a2afae9236c | Fixed the MessagingCommandProcessor | Fixed the MessagingCommandProcessor
| quartz-software/kephas,quartz-software/kephas,quartz-software/kephas | src/Kephas.Application.Console/MessagingCommandProcessor.cs | mit | 1,586,561,591 | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="MessagingCommandProcessor.cs" company="Kephas Software SRL">
// Copyright (c) Kephas Software SRL. All rights reserved.
// Licensed under the MIT license. See LICENSE file in ... | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="MessagingCommandProcessor.cs" company="Kephas Software SRL">
// Copyright (c) Kephas Software SRL. All rights reserved.
// Licensed under the MIT license. See LICENSE file in ... |
40aa35c62910159bcd4017d2511baec3e083c1b6 | FountainStressTestDemo now includes ApplyDescription for bodies and statics. | FountainStressTestDemo now includes ApplyDescription for bodies and statics.
| bepu/bepuphysics2,bepu/bepuphysics2 | Demos/Demos/FountainStressTestDemo.cs | apache-2.0 | 1,586,560,571 | using BepuUtilities;
using DemoRenderer;
using DemoUtilities;
using BepuPhysics;
using BepuPhysics.Collidables;
using System;
using System.Numerics;
using BepuUtilities.Memory;
using BepuUtilities.Collections;
using System.Diagnostics;
using DemoContentLoader;
namespace Demos.Demos
{
public class FountainStressTe... | using BepuUtilities;
using DemoRenderer;
using DemoUtilities;
using BepuPhysics;
using BepuPhysics.Collidables;
using System;
using System.Numerics;
using BepuUtilities.Memory;
using BepuUtilities.Collections;
using System.Diagnostics;
using DemoContentLoader;
namespace Demos.Demos
{
public class FountainStressTe... |
65a43b10322bea8fb7e0fdc505b0120c34521716 | Fixed ASP.NET Core application hang upon shutdown. | Fixed ASP.NET Core application hang upon shutdown.
| quartz-software/kephas,quartz-software/kephas,quartz-software/kephas | src/Kephas.Application/AppBase.cs | mit | 1,586,559,988 | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="AppBase.cs" company="Kephas Software SRL">
// Copyright (c) Kephas Software SRL. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root f... | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="AppBase.cs" company="Kephas Software SRL">
// Copyright (c) Kephas Software SRL. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root f... |
34fbfbc5d95ff854f41d652a0911d78a06faa7e6 | Implement missing test | Implement missing test
| mattfrear/Swashbuckle.AspNetCore.Examples | test/Swashbuckle.AspNetCore.Filters.Test/Examples/ExamplesOperationFilterTests.cs | mit | 1,586,559,901 | using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Options;
using Microsoft.OpenApi.Models;
using Newtonsoft.Json;
using NSubstitute;
using Shouldly;
using Swashbuckle.AspNetCore.Filters.Test.Extensions;
using Swashbuckle.AspNetCore.Filters.Test.TestFixtures.Fakes;
using Swashbuckle.AspNetCore.Filters.Test.Tes... | using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Options;
using Microsoft.OpenApi.Models;
using Newtonsoft.Json;
using NSubstitute;
using Shouldly;
using Swashbuckle.AspNetCore.Filters.Test.Extensions;
using Swashbuckle.AspNetCore.Filters.Test.TestFixtures.Fakes;
using Swashbuckle.AspNetCore.Filters.Test.Tes... |
66f8d2610707220401f592da02e29b415a06de1d | Show message box on plugin load failure | Show message box on plugin load failure
| nikeee/HolzShots,nikeee/HolzShots | src/HolzShots.Core/Composition/PluginManager.cs | agpl-3.0 | 1,586,559,049 | using System;
using System.Collections.Generic;
using System.Composition.Hosting;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using System.Windows.Forms;
using HolzShots.IO;
namespace HolzShots.Composition
{
public abstract class PluginManage... | using System;
using System.Collections.Generic;
using System.Composition.Hosting;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using HolzShots.IO;
namespace HolzShots.Composition
{
public abstract class PluginManager<T>
{
private c... |
ae3b6ec40f2b323c1261ddfebf5969d1937981e9 | Update ApiRestController.cs | Update ApiRestController.cs
When the request comes in if the Input stream is not reset to position 0 the postedString always comes out as empty, even when there is content in the stream.
Fixes issue 243 | HotcakesCommerce/core,HotcakesCommerce/core | Website/DesktopModules/Hotcakes/Core/Controllers/ApiRestController.cs | mit | 1,586,558,650 | #region License
// Distributed under the MIT License
// ============================================================
// Copyright (c) 2019 Hotcakes Commerce, LLC
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software
// and associated documentation files (the "Software")... | #region License
// Distributed under the MIT License
// ============================================================
// Copyright (c) 2019 Hotcakes Commerce, LLC
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software
// and associated documentation files (the "Software")... |
648031cf6448178d1c0e7a59e729b856be5d47d8 | Add unit test | Add unit test
| fredatgithub/UsefulFunctions | UnitTestUsefullFunctions/UnitTestFunctionsPrimes.cs | mit | 1,586,557,608 | using FonctionsUtiles.Fred.Csharp;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Numerics;
namespace UnitTestUsefullFunctions
{
[TestClass]
public class UnitTestFunctionsPrimes
{
[TestMethod]
public void TestMethod_BigInteger_substring()... | using FonctionsUtiles.Fred.Csharp;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Numerics;
namespace UnitTestUsefullFunctions
{
[TestClass]
public class UnitTestFunctionsPrimes
{
[TestMethod]
public void TestMethod_BigInteger_substring()... |
efd96fab4379f36528336e93171a363d874b2adb | Cache type data per `CompilationStart` call | Cache type data per `CompilationStart` call
| tg-msft/azure-sdk-tools,tg-msft/azure-sdk-tools,tg-msft/azure-sdk-tools,tg-msft/azure-sdk-tools,tg-msft/azure-sdk-tools,tg-msft/azure-sdk-tools,tg-msft/azure-sdk-tools,tg-msft/azure-sdk-tools | src/dotnet/Azure.ClientSdk.Analyzers/Azure.ClientSdk.Analyzers/TaskCompletionSourceAnalyzer.cs | mit | 1,586,556,566 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System.Collections.Immutable;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Diagnostics;
using Microsoft.CodeAnalysis.Operations;
using Microsoft.CodeAnal... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System.Collections.Immutable;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Diagnostics;
using Microsoft.CodeAnalysis.Operations;
using Microsoft.CodeAnal... |
2a536cb979c612f16a10b80db6b9f9f649b9aaf6 | DYN-2601 (#37) | DYN-2601 (#37)
* Changes to avoid IOException with File Already exists message when compressing a file
* Missing comments added for the methods that were changed
* Changes to resolve the comments of the PR DYN-2601
* Remove of the while loop to check the existence of a file | DynamoDS/GRegClientNET | src/GregClient/Utility/FileUtilities.cs | mit | 1,586,555,594 | using System;
using System.Collections.Generic;
using System.IO;
using System.Security.Cryptography;
using System.IO.Compression;
namespace Greg.Utility
{
public class FileUtilities
{
/// <summary>
/// Signs a hash with the RSA algorithm
/// </summary>
/// <param name="input"... | using System;
using System.Collections.Generic;
using System.IO;
using System.Security.Cryptography;
using System.IO.Compression;
namespace Greg.Utility
{
public class FileUtilities
{
/// <summary>
/// Signs a hash with the RSA algorithm
/// </summary>
/// <param name="input"... |
9dfbbd6e6519b7370a0f8d495956c5e6e80ce04c | Remove unneeded IDisposable | Remove unneeded IDisposable
| arnovb-github/CmcLibNet | CmcLibNet.Database/CommenceConversation.cs | mit | 1,586,555,170 | using System;
using System.Runtime.InteropServices;
/*
* The FormOA.ICommenceConversation object is a COM wrapper around the DDE calls that can be made to Commence.
* The DDE specification for Commence specifies the following topics:
* -System
* -GetData (deprecated)
* -ViewData (deprecated)
* -<database name>
... | using System;
using System.Runtime.InteropServices;
using Vovin.CmcLibNet;
/*
* The FormOA.ICommenceConversation object is a COM wrapper around the DDE calls that can be made to Commence.
* The DDE specification for Commence specifies the following topics:
* -System
* -GetData (deprecated)
* -ViewData (deprecate... |
a7d15332b62b323b427d3fc4f873dabb723ad204 | Ensure that hostname comparisons are not case sensitive. | Ensure that hostname comparisons are not case sensitive.
By definition, hostnames should not be case sensitive:
https://tools.ietf.org/html/rfc4343
This fixes issue #4167.
| duplicati/duplicati,mnaiman/duplicati,mnaiman/duplicati,duplicati/duplicati,mnaiman/duplicati,duplicati/duplicati,duplicati/duplicati,mnaiman/duplicati,duplicati/duplicati,mnaiman/duplicati | Duplicati/Server/WebServer/Server.cs | lgpl-2.1 | 1,586,554,707 | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using HttpServer.HttpModules;
using System.Security.Cryptography.X509Certificates;
using Duplicati.Library.Common.IO;
namespace Duplicati.Server.WebServer
{
public class Server
{
/// <summary>
... | using System;
using System.Collections.Generic;
using System.Linq;
using HttpServer.HttpModules;
using System.Security.Cryptography.X509Certificates;
using Duplicati.Library.Common.IO;
namespace Duplicati.Server.WebServer
{
public class Server
{
/// <summary>
/// The tag used for l... |
8e0401ab64a073b685b4ca19a01a5ca7bcc77358 | Refactored SaveChangesAsync method | Refactored SaveChangesAsync method
| davidsonsousa/CMSEngine,davidsonsousa/CMSEngine,davidsonsousa/CMSEngine,davidsonsousa/CMSEngine | CmsEngine.Data/CmsEngineContext.cs | mit | 1,586,554,509 | using System;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using CmsEngine.Data.Entities;
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
namespace CmsEngine.Data
{
public class CmsEngineContext : IdentityDbContext<ApplicationUser>
{
... | using System;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using CmsEngine.Data.Entities;
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
namespace CmsEngine.Data
{
public class CmsEngineContext : IdentityDbContext<ApplicationUser>
{
... |
ac7346e3c00330047760d6c62844b0c79d6a64d6 | Added skeleton to vmdl export | Added skeleton to vmdl export
| SteamDatabase/ValveResourceFormat | GUI/Types/Exporter/GltfModelExporter.cs | mit | 1,586,553,995 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Numerics;
using GUI.Forms;
using GUI.Types.Renderer;
using GUI.Utils;
using SharpGLTF.IO;
using SharpGLTF.Schema2;
using SkiaSharp;
using ValveResourceFormat.Blocks;
using ValveResourceFormat.ResourceTypes.ModelAnimation;
u... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Numerics;
using GUI.Forms;
using GUI.Types.Renderer;
using GUI.Utils;
using SharpGLTF.IO;
using SharpGLTF.Schema2;
using SkiaSharp;
using ValveResourceFormat.Blocks;
using ValveResourceFormat.Serialization;
namespace GUI.T... |
bf51906219a8c3123403dbe6781fec6abe988c61 | (GH-756) Load all other icons with SkiaSharp SKBitmap | (GH-756) Load all other icons with SkiaSharp SKBitmap
| chocolatey/ChocolateyGUI,gep13/ChocolateyGUI,gep13/ChocolateyGUI,gep13/ChocolateyGUI,gep13/ChocolateyGUI,chocolatey/ChocolateyGUI,gep13/ChocolateyGUI,chocolatey/ChocolateyGUI,chocolatey/ChocolateyGUI,chocolatey/ChocolateyGUI,gep13/ChocolateyGUI,chocolatey/ChocolateyGUI | Source/ChocolateyGui.Common.Windows/Controls/InternetImage.xaml.cs | apache-2.0 | 1,586,553,473 | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="InternetImage.xaml.cs" company="Chocolatey">
// Copyright 2017 - Present Chocolatey Software, LLC
// Copyright 2014 - 2017 Rob Reynolds, the maintainers of Chocolatey, and R... | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="InternetImage.xaml.cs" company="Chocolatey">
// Copyright 2017 - Present Chocolatey Software, LLC
// Copyright 2014 - 2017 Rob Reynolds, the maintainers of Chocolatey, and R... |
c9e34637ce8887e451e5b444a3174dadb66388b3 | Replaced plurals with aliases. | Replaced plurals with aliases.
| googleprojectzero/sandbox-attacksurface-analysis-tools,googleprojectzero/sandbox-attacksurface-analysis-tools | NtObjectManager/Cmdlets/Object/NtWaitCmdlets.cs | apache-2.0 | 1,586,553,367 | // Copyright 2016 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 applica... | // Copyright 2016 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 applica... |
35adcf0478751b1dd0574d8cafe74fe7dab8d276 | Remove Concat() usage | Remove Concat() usage
Insert zero at the start of the list, rather than allocate an array and use Concat().
| martincostello/project-euler,martincostello/project-euler | src/ProjectEuler/Puzzles/Puzzle050.cs | apache-2.0 | 1,586,552,713 | // Copyright (c) Martin Costello, 2015. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
namespace MartinCostello.ProjectEuler.Puzzles
{
using System;
using System.Linq;
/// <summary>
/// A class representing the sol... | // Copyright (c) Martin Costello, 2015. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
namespace MartinCostello.ProjectEuler.Puzzles
{
using System;
using System.Linq;
/// <summary>
/// A class representing the sol... |
240db41dde9452d167985812bb497162be6b6b49 | Use loop | Use loop
Use a loop instead of LINQ to compute primes.
| martincostello/project-euler,martincostello/project-euler | src/ProjectEuler/Puzzles/Puzzle049.cs | apache-2.0 | 1,586,552,629 | // Copyright (c) Martin Costello, 2015. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
namespace MartinCostello.ProjectEuler.Puzzles
{
using System.Collections.Generic;
using System.Linq;
/// <summary>
/// A class ... | // Copyright (c) Martin Costello, 2015. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
namespace MartinCostello.ProjectEuler.Puzzles
{
using System.Collections.Generic;
using System.Linq;
/// <summary>
/// A class ... |
1fdae32e5aa68eadd09274e7195ac05d36ac8d8d | Stop loop early | Stop loop early
Stop enumerating if the count exceeds the target.
| martincostello/project-euler,martincostello/project-euler | src/ProjectEuler/Puzzles/Puzzle047.cs | apache-2.0 | 1,586,552,594 | // Copyright (c) Martin Costello, 2015. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
namespace MartinCostello.ProjectEuler.Puzzles
{
using System;
using System.Linq;
/// <summary>
/// A class representing the sol... | // Copyright (c) Martin Costello, 2015. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
namespace MartinCostello.ProjectEuler.Puzzles
{
using System;
using System.Linq;
/// <summary>
/// A class representing the sol... |
4796f062d2eeb8007384c4d289df3cb0f25caaac | fix(YoutubeField): blank value get's saved (#5909) | fix(YoutubeField): blank value get's saved (#5909)
| petedavis/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,OrchardCMS/Brochard,petedavis/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,petedavis/Orchard2,stevetayloruk/Orchard2,OrchardCMS/Brochard,xkproject/Orchard2,OrchardCMS/Brochard,xkproject/Orchard2,OrchardCMS/Broch... | src/OrchardCore.Modules/OrchardCore.ContentFields/Drivers/YoutubeFieldDisplayDriver.cs | bsd-3-clause | 1,586,552,408 | using System;
using System.Threading.Tasks;
using Microsoft.AspNetCore.WebUtilities;
using Microsoft.Extensions.Localization;
using OrchardCore.ContentFields.Settings;
using OrchardCore.ContentFields.ViewModels;
using OrchardCore.ContentManagement.Display.ContentDisplay;
using OrchardCore.ContentManagement.Display.Mode... | using System;
using System.Threading.Tasks;
using Microsoft.AspNetCore.WebUtilities;
using Microsoft.Extensions.Localization;
using OrchardCore.ContentFields.Settings;
using OrchardCore.ContentFields.ViewModels;
using OrchardCore.ContentManagement.Display.ContentDisplay;
using OrchardCore.ContentManagement.Display.Mode... |
8838f874b2ab936a0a0fa3f038f51ad532819ef4 | Fix null byte in closed captions | Fix null byte in closed captions
| SteamDatabase/ValveResourceFormat | ValveResourceFormat/ClosedCaptions/ClosedCaptions.cs | mit | 1,586,552,192 | using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Text;
namespace ValveResourceFormat.ClosedCaptions
{
public class ClosedCaptions : IEnumerable<ClosedCaption>
{
public const int MAGIC = 0x44434356; // "VCCD"
public List<ClosedCaption> Capt... | using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
namespace ValveResourceFormat.ClosedCaptions
{
public class ClosedCaptions : IEnumerable<ClosedCaption>
{
public const int MAGIC = 0x44434356; // "VCCD"
public List<... |
49d10f082bafad68ca5d0489281eff6cd6a3ea28 | Remove LINQ | Remove LINQ
Use a manual loop instead of Sum().
Divide by 2 rather than * 0.5 and a cast.
Use improved overload to not allocate array.
Set capacity on List.
| martincostello/project-euler,martincostello/project-euler | src/ProjectEuler/Puzzles/Puzzle042.cs | apache-2.0 | 1,586,551,474 | // Copyright (c) Martin Costello, 2015. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
namespace MartinCostello.ProjectEuler.Puzzles
{
using System.Collections.Generic;
using System.IO;
using System.Linq;
/// <summ... | // Copyright (c) Martin Costello, 2015. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
namespace MartinCostello.ProjectEuler.Puzzles
{
using System.Collections.Generic;
using System.IO;
using System.Linq;
/// <summ... |
3712069a68c85a35e3aa77307a359fa57c0d7fc0 | removed exstant totalnumcolliders references | removed exstant totalnumcolliders references
| DDReaper/MixedRealityToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity | Assets/MRTK/Services/InputSystem/FocusProvider.cs | mit | 1,586,551,024 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using Microsoft.MixedReality.Toolkit.Physics;
using Microsoft.MixedReality.Toolkit.Utilities;
using System;
using System.Collections.Generic;
using Unity.Profiling;
... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using Microsoft.MixedReality.Toolkit.Physics;
using Microsoft.MixedReality.Toolkit.Utilities;
using System;
using System.Collections.Generic;
using Unity.Profiling;
... |
b1954192273edcf5f306af469283f946d7c1eff0 | code cleanup removing extrneous totalNumColliders variable | code cleanup removing extrneous totalNumColliders variable
| DDReaper/MixedRealityToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity | Assets/MRTK/Services/InputSystem/FocusProvider.cs | mit | 1,586,550,091 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using Microsoft.MixedReality.Toolkit.Physics;
using Microsoft.MixedReality.Toolkit.Utilities;
using System;
using System.Collections.Generic;
using Unity.Profiling;
... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using Microsoft.MixedReality.Toolkit.Physics;
using Microsoft.MixedReality.Toolkit.Utilities;
using System;
using System.Collections.Generic;
using Unity.Profiling;
... |
337258027960f4b21abb11cbb6366ce77221cc88 | (GH-756) Fix codacy error | (GH-756) Fix codacy error
| gep13/ChocolateyGUI,gep13/ChocolateyGUI,gep13/ChocolateyGUI,chocolatey/ChocolateyGUI,gep13/ChocolateyGUI,chocolatey/ChocolateyGUI,gep13/ChocolateyGUI,chocolatey/ChocolateyGUI,chocolatey/ChocolateyGUI,chocolatey/ChocolateyGUI,gep13/ChocolateyGUI,chocolatey/ChocolateyGUI | Source/ChocolateyGui.Common.Windows/Controls/InternetImage.xaml.cs | apache-2.0 | 1,586,549,471 | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="InternetImage.xaml.cs" company="Chocolatey">
// Copyright 2017 - Present Chocolatey Software, LLC
// Copyright 2014 - 2017 Rob Reynolds, the maintainers of Chocolatey, and R... | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="InternetImage.xaml.cs" company="Chocolatey">
// Copyright 2017 - Present Chocolatey Software, LLC
// Copyright 2014 - 2017 Rob Reynolds, the maintainers of Chocolatey, and R... |
945512e7bdeed8230c89a64b8231042aedf6120a | Filter out inactive users from sympa | Filter out inactive users from sympa
| ucdavis/Purchasing,ucdavis/Purchasing | Purchasing.Mvc/Controllers/ListSyncController.cs | mit | 1,586,549,389 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Mvc;
using Purchasing.Core;
using Purchasing.Mvc.Attributes;
using UCDArch.Web.Controller;
namespace Purchasing.Mvc.Controllers
{
[AuthenticateListView]
public class ListSyncController : SuperController
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Mvc;
using Purchasing.Core;
using Purchasing.Mvc.Attributes;
using UCDArch.Web.Controller;
namespace Purchasing.Mvc.Controllers
{
[AuthenticateListView]
public class ListSyncController : SuperController
... |
327755982547c11ad962edd6b9d399c04f09605c | Update ManualCameraControl.cs | Update ManualCameraControl.cs
| DDReaper/MixedRealityToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity | Assets/MRTK/Services/InputSimulation/ManualCameraControl.cs | mit | 1,586,546,883 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using UnityEngine;
namespace Microsoft.MixedReality.Toolkit.Input
{
/// <summary>
/// Class for manually controlling the camera in the Unity editor. Used by ... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using UnityEngine;
namespace Microsoft.MixedReality.Toolkit.Input
{
/// <summary>
/// Class for manually controlling the camera in the Unity editor. Attach t... |
a81e4e5798b94e11c7f5b43498aee7d0333ab96e | Use SortedSet | Use SortedSet
Use a SortedSet instead of a List.
Simplify solution creation.
| martincostello/project-euler,martincostello/project-euler | src/ProjectEuler/Puzzles/Puzzle039.cs | apache-2.0 | 1,586,546,244 | // Copyright (c) Martin Costello, 2015. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
namespace MartinCostello.ProjectEuler.Puzzles
{
using System;
using System.Collections.Generic;
using System.Globalization;
usin... | // Copyright (c) Martin Costello, 2015. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
namespace MartinCostello.ProjectEuler.Puzzles
{
using System;
using System.Collections.Generic;
using System.Globalization;
usin... |
e4e5860e40675ae74798eabdf63a2165cf1595ae | Use Append(int) | Use Append(int)
Use the Append() overload for an integer, rather than string formatting.
Use index operator.
Set capacity of List.
| martincostello/project-euler,martincostello/project-euler | src/ProjectEuler/Puzzles/Puzzle038.cs | apache-2.0 | 1,586,546,144 | // Copyright (c) Martin Costello, 2015. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
namespace MartinCostello.ProjectEuler.Puzzles
{
using System.Collections.Generic;
using System.Globalization;
using System.Text;
... | // Copyright (c) Martin Costello, 2015. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
namespace MartinCostello.ProjectEuler.Puzzles
{
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
... |
0b18304748796fa69fd63aa4f5ec5986f5952249 | Set List size | Set List size
Set the upper bound as the capacity of the List.
| martincostello/project-euler,martincostello/project-euler | src/ProjectEuler/Puzzles/Puzzle037.cs | apache-2.0 | 1,586,546,101 | // Copyright (c) Martin Costello, 2015. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
namespace MartinCostello.ProjectEuler.Puzzles
{
using System.Collections.Generic;
using System.Linq;
/// <summary>
/// A class ... | // Copyright (c) Martin Costello, 2015. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
namespace MartinCostello.ProjectEuler.Puzzles
{
using System.Collections.Generic;
using System.Linq;
/// <summary>
/// A class ... |
fc5a85b261ff0cc85b4bb10822b0fb7cb79cac35 | Use separator | Use separator
Use separator to make upper bound more readable.
| martincostello/project-euler,martincostello/project-euler | src/ProjectEuler/Puzzles/Puzzle036.cs | apache-2.0 | 1,586,546,083 | // Copyright (c) Martin Costello, 2015. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
namespace MartinCostello.ProjectEuler.Puzzles
{
using System;
/// <summary>
/// A class representing the solution to <c>https://pro... | // Copyright (c) Martin Costello, 2015. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
namespace MartinCostello.ProjectEuler.Puzzles
{
using System;
/// <summary>
/// A class representing the solution to <c>https://pro... |
8e767b7370450fb5273f9e4c04a79dbfdeadf007 | Enable Radical application to be externally managed | Enable Radical application to be externally managed
| RadicalFx/Radical.Windows | src/Radical.Windows/RadicalApplication.cs | mit | 1,586,544,993 | using Microsoft.Extensions.DependencyInjection;
using Radical.ComponentModel.Messaging;
using Radical.Linq;
using Radical.Validation;
using Radical.Windows.Bootstrap;
using Radical.Windows.ComponentModel;
using Radical.Windows.Messaging;
using Radical.Windows.Regions;
using System;
using System.Diagnostics;
using Syst... | using Microsoft.Extensions.DependencyInjection;
using Radical.ComponentModel.Messaging;
using Radical.Linq;
using Radical.Validation;
using Radical.Windows.Bootstrap;
using Radical.Windows.ComponentModel;
using Radical.Windows.Messaging;
using Radical.Windows.Regions;
using System;
using System.Diagnostics;
using Syst... |
56ceefd9a334af1b2bbbe2b5cfa93585d179dfff | Set capacity | Set capacity
Set the capacity of the list in advance to reduce resizes.
| martincostello/project-euler,martincostello/project-euler | src/ProjectEuler/Puzzles/Puzzle035.cs | apache-2.0 | 1,586,544,943 | // Copyright (c) Martin Costello, 2015. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
namespace MartinCostello.ProjectEuler.Puzzles
{
using System;
using System.Collections.Generic;
using System.Linq;
/// <summary... | // Copyright (c) Martin Costello, 2015. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
namespace MartinCostello.ProjectEuler.Puzzles
{
using System;
using System.Collections.Generic;
using System.Linq;
/// <summary... |
253fb3bc715cd3b521b4c2a1d292716d90df0fa8 | Removes unused fields | Removes unused fields
| Elders/Cronus,Elders/Cronus | src/Elders.Cronus/MessageProcessing/SubscriberCollection.cs | apache-2.0 | 1,586,544,715 | using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
namespace Elders.Cronus.MessageProcessing
{
/// <summary>
/// The responsibility of this collection is to collect and work with all the message subscribers in the Cronus infrastructure.
/// It also allo... | using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
namespace Elders.Cronus.MessageProcessing
{
/// <summary>
/// The responsibility of this collection is to collect and work with all the message subscribers in the Cronus infrastructure.
/// It also allo... |
8f228674e1fecad9bc2f723674563f20f9901993 | Revert SceneQueryType rewrite | Revert SceneQueryType rewrite
| DDReaper/MixedRealityToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity | Assets/MRTK/SDK/Features/UX/Scripts/Pointers/SpherePointer.cs | mit | 1,586,544,515 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using Microsoft.MixedReality.Toolkit.Physics;
using Microsoft.MixedReality.Toolkit.Utilities;
using Unity.Profiling;
using UnityEngine;
namespace Microsoft.MixedRea... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using Microsoft.MixedReality.Toolkit.Physics;
using Microsoft.MixedReality.Toolkit.Utilities;
using Unity.Profiling;
using UnityEngine;
namespace Microsoft.MixedRea... |
9853c5283af901cb87c5c80f9004c3292f89172e | Stop iterating early | Stop iterating early
Stop iterating if the target value is exceeded.
| martincostello/project-euler,martincostello/project-euler | src/ProjectEuler/Puzzles/Puzzle034.cs | apache-2.0 | 1,586,543,911 | // Copyright (c) Martin Costello, 2015. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
namespace MartinCostello.ProjectEuler.Puzzles
{
using System.Collections.Generic;
using System.Linq;
/// <summary>
/// A class ... | // Copyright (c) Martin Costello, 2015. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
namespace MartinCostello.ProjectEuler.Puzzles
{
using System.Collections.Generic;
using System.Linq;
/// <summary>
/// A class ... |
9aaa4ac580a0c0a585a0f203d39ae206e04cd94d | Use named tuples | Use named tuples
Use named tuples to make the code more readable.
| martincostello/project-euler,martincostello/project-euler | src/ProjectEuler/Puzzles/Puzzle033.cs | apache-2.0 | 1,586,543,630 | // Copyright (c) Martin Costello, 2015. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
namespace MartinCostello.ProjectEuler.Puzzles
{
using System;
using System.Collections.Generic;
/// <summary>
/// A class repre... | // Copyright (c) Martin Costello, 2015. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
namespace MartinCostello.ProjectEuler.Puzzles
{
using System;
using System.Collections.Generic;
/// <summary>
/// A class repre... |
cb60f4e948698dad985255aee1892d748e858427 | Remove copy | Remove copy
Remove copy of the coins and just stop iterating when the value is too much.
| martincostello/project-euler,martincostello/project-euler | src/ProjectEuler/Puzzles/Puzzle031.cs | apache-2.0 | 1,586,543,220 | // Copyright (c) Martin Costello, 2015. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
namespace MartinCostello.ProjectEuler.Puzzles
{
using System;
/// <summary>
/// A class representing the solution to <c>https://pro... | // Copyright (c) Martin Costello, 2015. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
namespace MartinCostello.ProjectEuler.Puzzles
{
using System;
using System.Linq;
/// <summary>
/// A class representing the sol... |
8c86da24de2deff523649ce179f0d92cccf7e983 | Making internals visible to test project | Making internals visible to test project
| punker76/Fluent.Ribbon,fluentribbon/Fluent.Ribbon,fluentribbon/Fluent.Ribbon,punker76/Fluent.Ribbon,fluentribbon/Fluent.Ribbon | Fluent.Ribbon/Properties/AssemblyInfo.cs | mit | 1,586,542,161 | using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows.Markup;
[assembly: Guid("d849f751-e8f4-480d-acc0-6148eafcaafc")]
[assembly: XmlnsPrefix("urn:fluent-ribbon", "fluent")]
[assembly: XmlnsDefinition("urn:fluent-ribbon", "Fluent")]
[assembly: XmlnsDefinition("urn:fluent-ri... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows.Markup;
[assembly: Guid("d849f751-e8f4-480d-acc0-6148eafcaafc")]
[assembly: XmlnsPrefix("urn:fluent-ribbon", "fluent")]
[assembly: XmlnsDefinition("urn:fluent-ribbon", "Fluent")]
[assembly: Xmlns... |
4f46f81863c05ac8dbcedf59e5b8635cdb506eb1 | Add unit test | Add unit test
| fredatgithub/UsefulFunctions | UnitTestUsefullFunctions/UnitTestFunctionsPrimes.cs | mit | 1,586,541,601 | using FonctionsUtiles.Fred.Csharp;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Numerics;
namespace UnitTestUsefullFunctions
{
[TestClass]
public class UnitTestFunctionsPrimes
{
[TestMethod]
public void TestMethod_BigInteger_substring()... | using FonctionsUtiles.Fred.Csharp;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Numerics;
namespace UnitTestUsefullFunctions
{
[TestClass]
public class UnitTestFunctionsPrimes
{
[TestMethod]
public void TestMethod_BigInteger_substring()... |
c49f4b7ce45f499a416372f46f8d13462394ba17 | Gate behind Controller null check | Gate behind Controller null check
| killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,DDReaper/MixedRealityToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity | Assets/MRTK/SDK/Features/UX/Scripts/Pointers/SpherePointer.cs | mit | 1,586,541,423 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using Microsoft.MixedReality.Toolkit.Physics;
using Microsoft.MixedReality.Toolkit.Utilities;
using Unity.Profiling;
using UnityEngine;
namespace Microsoft.MixedRea... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using Microsoft.MixedReality.Toolkit.Physics;
using Microsoft.MixedReality.Toolkit.Utilities;
using Unity.Profiling;
using UnityEngine;
namespace Microsoft.MixedRea... |
145dcabba66afc9d108bb479e206c16e82257871 | [Soft Delete] bulk import fails if DeletedDate null | [Soft Delete] bulk import fails if DeletedDate null
| bitwarden/core,bitwarden/core,bitwarden/core,bitwarden/core | src/Core/Repositories/SqlServer/CipherRepository.cs | agpl-3.0 | 1,586,540,631 | using System;
using System.Linq;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Threading.Tasks;
using Bit.Core.Models.Table;
using System.Data;
using Dapper;
using Core.Models.Data;
using Bit.Core.Utilities;
using Newtonsoft.Json;
using Bit.Core.Models.Data;
namespace Bit.Core.Repositori... | using System;
using System.Linq;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Threading.Tasks;
using Bit.Core.Models.Table;
using System.Data;
using Dapper;
using Core.Models.Data;
using Bit.Core.Utilities;
using Newtonsoft.Json;
using Bit.Core.Models.Data;
namespace Bit.Core.Repositori... |
7fdd08320b26e47662b726bf028587c40fbe261c | Use same offset for all badges | Use same offset for all badges
| alexguirre/RAGENativeUI,alexguirre/RAGENativeUI,alexguirre/RAGENativeUI | Source/Elements/UIMenuItem.cs | mit | 1,586,540,614 | using System;
using System.Drawing;
using System.ComponentModel;
namespace RAGENativeUI.Elements
{
/// <summary>
/// Simple item with a label.
/// </summary>
public class UIMenuItem
{
public static readonly Color DefaultBackColor = Color.Empty,
DefaultHi... | using System;
using System.Drawing;
using System.ComponentModel;
namespace RAGENativeUI.Elements
{
/// <summary>
/// Simple item with a label.
/// </summary>
public class UIMenuItem
{
public static readonly Color DefaultBackColor = Color.Empty,
DefaultHi... |
e69d584db1c80177b1fb558f4517d71e1889df61 | Remove atomic invalidation counter | Remove atomic invalidation counter
| EVAST9919/osu-framework,ppy/osu-framework,peppy/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,peppy/osu-framework,ZLima12/osu-framework,peppy/osu-framework,peppy/osu-framework,ZLima12/osu-framework,ppy/osu-framework,EV... | osu.Framework/Graphics/Drawable.cs | mit | 1,586,540,301 | // 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 osuTK;
using osuTK.Graphics;
using osu.Framework.Allocation;
using osu.Framework.Extensions.TypeExtensions;
using osu.Framework.Graphics.Colour;
using osu.Framework... | // 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 osuTK;
using osuTK.Graphics;
using osu.Framework.Allocation;
using osu.Framework.Extensions.TypeExtensions;
using osu.Framework.Graphics.Colour;
using osu.Framework... |
549f8b906fa885a6b8fa179bd01b53e301d97fe4 | Bring back some old behaviour | Bring back some old behaviour
- Set CounterPretext to first `~` token is subtitle text starts with `~`.
- Don't draw subtitle background if subtitle is null.
- Don't add Y offset when drawing banner if no banner is set.
| alexguirre/RAGENativeUI,alexguirre/RAGENativeUI,alexguirre/RAGENativeUI | Source/UIMenu.cs | mit | 1,586,539,273 | /*
*
*
* Created by: Guad, CamxxCore, jedijosh920
*
*
* Ported by: alexguirre, Stealth22, LtFlash
*
*/
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Linq;
using System.Windows.Forms;
using Rage;
using Rage.Native;
using RAGENativeUI.Elements;
namesp... | /*
*
*
* Created by: Guad, CamxxCore, jedijosh920
*
*
* Ported by: alexguirre, Stealth22, LtFlash
*
*/
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Linq;
using System.Windows.Forms;
using Rage;
using Rage.Native;
using RAGENativeUI.Elements;
namesp... |
d0304622ed1c6afbdc0dac50c1da7d695bc945ce | Fixing tests in tagging. | Fixing tests in tagging.
| kaby76/AntlrVSIX,kaby76/AntlrVSIX,kaby76/AntlrVSIX,kaby76/AntlrVSIX,kaby76/AntlrVSIX | LanguageServer/Module.cs | mit | 1,586,539,253 | namespace LanguageServer
{
using Antlr4.Runtime.Tree;
using Algorithms;
using Symtab;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Workspaces;
public class Module
{
public static int GetIndex(int line, int column, Documen... | namespace LanguageServer
{
using Antlr4.Runtime.Tree;
using Algorithms;
using Symtab;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Workspaces;
public class Module
{
public static int GetIndex(int line, int column, Documen... |
473ac6b7c9d7963041dd609e114652fa234a7da3 | Add missing access modifier | Add missing access modifier
| DDReaper/MixedRealityToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity | Assets/MRTK/Tests/PlayModeTests/BaseCursorTests.cs | mit | 1,586,538,590 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
#if !WINDOWS_UWP
// When the .NET scripting backend is enabled and C# projects are built
// The assembly that this file is part of is still built for the player,
// ... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
#if !WINDOWS_UWP
// When the .NET scripting backend is enabled and C# projects are built
// The assembly that this file is part of is still built for the player,
// ... |
f3c82bb8ad752a08a0f21a8481fc516c1ca63107 | fix for python 3.8 from microsoft store failing to add new venv (#6086) | fix for python 3.8 from microsoft store failing to add new venv (#6086)
* fix for python 3.8 from microsoft store failing to add new venv
new versions of python >= 3.8 from the windows store have a different executable name (ie. python3.8.exe) in the registry InstallPath, compared to what is in the venv folder (pyt... | huguesv/PTVS,huguesv/PTVS,huguesv/PTVS,huguesv/PTVS,int19h/PTVS,zooba/PTVS,zooba/PTVS,zooba/PTVS,int19h/PTVS,zooba/PTVS,int19h/PTVS,int19h/PTVS,zooba/PTVS,int19h/PTVS,huguesv/PTVS,int19h/PTVS,huguesv/PTVS,zooba/PTVS | Python/Product/PythonTools/PythonTools/Environments/VirtualEnv.cs | apache-2.0 | 1,586,538,388 | // Python Tools for Visual Studio
// 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
//... | // Python Tools for Visual Studio
// 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
//... |
8f4e688eb8ec2493a2c35ea205ec63397e83af89 | Adjust now incorrect tests | Adjust now incorrect tests
| EVAST9919/osu-framework,ZLima12/osu-framework,ppy/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,peppy/osu-framework,ppy/osu-framework,EVAST9919/osu-fr... | osu.Framework.Tests/Layout/TestSceneContainerLayout.cs | mit | 1,586,537,885 | // 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 NUnit.Framework;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Shapes;
using osu.Framework.Layou... | // 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 NUnit.Framework;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Shapes;
using osu.Framework.Layou... |
6606e203091b3451f64c76a60815fa922d2c0109 | Actually call SanitizeDatabase | Actually call SanitizeDatabase
| tgstation/tgstation-server,tgstation/tgstation-server-tools,tgstation/tgstation-server-tools,tgstation/tgstation-server | src/Tgstation.Server.Host/Database/DatabaseContext.cs | agpl-3.0 | 1,586,537,636 | using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using System;
using System.Globalization;
using System.Linq;
u... | using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using System;
using System.Globalization;
using System.Linq;
u... |
e47fd30ff0bac893f97785d262af7de7501fd1df | Unit test for CronusJob TypeContainer being registered | Unit test for CronusJob TypeContainer being registered
| Elders/Cronus,Elders/Cronus | src/Elders.Cronus.Tests/Discoveries/When_discoving_jobs_from_discoveryContext.cs | apache-2.0 | 1,586,537,455 | using Elders.Cronus.Cluster.Job;
using Elders.Cronus.Cluster.Job.InMemory;
using Machine.Specifications;
using Microsoft.Extensions.Configuration;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading;
using System.Threading.Tasks;
namespace Elders.Cronus.D... | using Elders.Cronus.Cluster.Job;
using Elders.Cronus.Cluster.Job.InMemory;
using Machine.Specifications;
using Microsoft.Extensions.Configuration;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading;
using System.Threading.Tasks;
namespace Elders.Cronus.D... |
ec4d7ff34afddd7023138d57d44b14818854da21 | Improved the StartupBase for use with WindowsService. | Improved the StartupBase for use with WindowsService.
| quartz-software/kephas,quartz-software/kephas,quartz-software/kephas | src/Kephas.Application.AspNetCore/StartupBase.cs | mit | 1,586,536,862 | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="StartupBase.cs" company="Kephas Software SRL">
// Copyright (c) Kephas Software SRL. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project ro... | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="StartupBase.cs" company="Kephas Software SRL">
// Copyright (c) Kephas Software SRL. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project ro... |
1bc6f5e6303cf059e9447981db5bfcd4f71389ea | Fixed symbols argument skipping proceeding argument if present Added unified argument check | Fixed symbols argument skipping proceeding argument if present
Added unified argument check
| Killeroo/PowerPing,Killeroo/PowerPing,Killeroo/PowerPing | src/PowerPing/CommandLine.cs | mit | 1,586,536,128 | using System;
using System.Linq;
namespace PowerPing
{
/// <summary>
/// Responsible parsing all commandline arguments and working out ping operation and attributes
/// </summary>
class CommandLine
{
/// <summary>
/// Pases command line arguments and store properties in attribute... | using System;
using System.Linq;
namespace PowerPing
{
/// <summary>
/// Responsible parsing all commandline arguments and working out ping operation and attributes
/// </summary>
class CommandLine
{
/// <summary>
/// Pases command line arguments and store properties in attribute... |
ed603cdf7471cf8bae97c1f0a63b6733ee102e1f | Fixes bug: q.IncludeMany(a => a.Cities).ThenIncludeMany(a => a.Persons).ThenInclude(a => a.Ex).ToList(); | Fixes bug: q.IncludeMany(a => a.Cities).ThenIncludeMany(a => a.Persons).ThenInclude(a => a.Ex).ToList();
| shuxinqin/Chloe | src/Chloe/Query/QueryExpressions/IncludeExpression.cs | mit | 1,586,535,569 | using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Reflection;
namespace Chloe.Query.QueryExpressions
{
class IncludeExpression : QueryExpression
{
public IncludeExpression(Type elementType, QueryExpression prevExpression, NavigationNode navigationNode)
... | using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Reflection;
namespace Chloe.Query.QueryExpressions
{
class IncludeExpression : QueryExpression
{
public IncludeExpression(Type elementType, QueryExpression prevExpression, NavigationNode navigationNode)
... |
39b7ef180b11ade4db067d3f4e41e7c74ec80bad | Fixes build dir | Fixes build dir
| flubu-core/flubu.core,flubu-core/flubu.core,flubu-core/flubu.core,flubu-core/flubu.core | src/BuildScript/BuildScript.cs | bsd-2-clause | 1,586,535,259 | using System;
using System.IO;
using FlubuCore.Commanding;
using FlubuCore.Context;
using FlubuCore.Scripting;
using FlubuCore.Context.FluentInterface.Interfaces;
using FlubuCore.IO;
using FlubuCore.Context.Attributes.BuildProperties;
public class BuildScript : DefaultBuildScript
{
[FromArg("nugetKey", "Nuget ap... | using System;
using System.IO;
using FlubuCore.Commanding;
using FlubuCore.Context;
using FlubuCore.Scripting;
using FlubuCore.Context.FluentInterface.Interfaces;
using FlubuCore.IO;
using FlubuCore.Context.Attributes.BuildProperties;
public class BuildScript : DefaultBuildScript
{
[FromArg("nugetKey", "Nuget ap... |
69eb597bc929cc4194fedce532b973e7a748d53b | Use BigInteger.One | Use BigInteger.One
Use BigInteger.One instead of an implicit conversion.
| martincostello/project-euler,martincostello/project-euler | src/ProjectEuler/Puzzles/Puzzle025.cs | apache-2.0 | 1,586,535,212 | // Copyright (c) Martin Costello, 2015. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
namespace MartinCostello.ProjectEuler.Puzzles
{
using System.Collections.Generic;
using System.Globalization;
using System.Numerics;... | // Copyright (c) Martin Costello, 2015. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
namespace MartinCostello.ProjectEuler.Puzzles
{
using System.Collections.Generic;
using System.Globalization;
using System.Numerics;... |
376b4d0b561e51bb508e2083c6a535162c504005 | Fixes issue(s) relating to update stream & position versions on the streams table. | Fixes issue(s) relating to update stream & position versions on the streams table.
| damianh/Cedar.EventStore,SQLStreamStore/SQLStreamStore,SQLStreamStore/SQLStreamStore,SQLStreamStore/SQLStreamStore,damianh/Cedar.EventStore | src/SqlStreamStore.Sqlite/SqliteStreamStore.Append.cs | mit | 1,586,535,030 | namespace SqlStreamStore
{
using System;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Data.Sqlite;
using SqlStreamStore.Infrastructure;
using SqlStreamStore.Streams;
public partial class SqliteStreamStore
{
protected override async Task<AppendResult> App... | namespace SqlStreamStore
{
using System;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Data.Sqlite;
using SqlStreamStore.Infrastructure;
using SqlStreamStore.Streams;
public partial class SqliteStreamStore
{
protected override async Task<AppendResult> App... |
7e8b1185841888af62dd731d2b48dbc16055b017 | Remove Sum() usage | Remove Sum() usage
Manually compute the score without using Sum().
Remove redundant ToUpper() call.
| martincostello/project-euler,martincostello/project-euler | src/ProjectEuler/Puzzles/Puzzle022.cs | apache-2.0 | 1,586,534,512 | // Copyright (c) Martin Costello, 2015. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
namespace MartinCostello.ProjectEuler.Puzzles
{
using System;
using System.Collections.Generic;
using System.IO;
using System.Li... | // Copyright (c) Martin Costello, 2015. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
namespace MartinCostello.ProjectEuler.Puzzles
{
using System;
using System.Collections.Generic;
using System.IO;
using System.Li... |
c71e7ac49acee373a5ba502f952737cabd8eb19b | Use index operator | Use index operator
Use the index operator to simplify the code.
| martincostello/project-euler,martincostello/project-euler | src/ProjectEuler/Puzzles/MaximumPathPuzzle.cs | apache-2.0 | 1,586,533,841 | // Copyright (c) Martin Costello, 2015. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
namespace MartinCostello.ProjectEuler.Puzzles
{
using System;
using System.Collections.Generic;
using System.Globalization;
usin... | // Copyright (c) Martin Costello, 2015. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
namespace MartinCostello.ProjectEuler.Puzzles
{
using System;
using System.Collections.Generic;
using System.Globalization;
usin... |
401ab3d1db72aac7b7592fad9861a3ba2d9c0b41 | Aggiunto messaggio nel catch della Login | Aggiunto messaggio nel catch della Login
| vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf | src/backend/SO115App.API/Controllers/AuthController.cs | agpl-3.0 | 1,586,533,602 | //-----------------------------------------------------------------------
// <copyright file="AuthController.cs" company="CNVVF">
// Copyright (C) 2017 - CNVVF
//
// This file is part of SOVVF.
// SOVVF is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public Licens... | //-----------------------------------------------------------------------
// <copyright file="AuthController.cs" company="CNVVF">
// Copyright (C) 2017 - CNVVF
//
// This file is part of SOVVF.
// SOVVF is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public Licens... |
91d1b70d887a809512f1da8e1fd56d3318e7a90c | 修改 SetDictionary方法 | 修改 SetDictionary方法
| toolgood/ToolGood.Words,toolgood/ToolGood.Words,toolgood/ToolGood.Words,toolgood/ToolGood.Words,toolgood/ToolGood.Words | csharp/ToolGood.Words/internals/MyDictionary.cs | apache-2.0 | 1,586,533,216 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ToolGood.Words.internals
{
public class MyDictionary
{
private int[] _keys;
private int[] _values;
private int last;
public MyDictionary()
{
last = -1;
}
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ToolGood.Words.internals
{
public class MyDictionary
{
private int[] _keys;
private int[] _values;
private int last;
public MyDictionary()
{
last = -1;
}
... |
5e1732e4d42a75e5991f6be6756800fbe2d584b4 | Added NewProjectCreator file selection. | Added NewProjectCreator file selection.
| vchelaru/FlatRedBall,vchelaru/FlatRedBall,vchelaru/FlatRedBall,vchelaru/FlatRedBall,vchelaru/FlatRedBall | FRBDK/Glue/Glue/Projects/NewProjectHelper.cs | mit | 1,586,532,650 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Diagnostics;
using FlatRedBall.Glue.VSHelpers.Projects;
using FlatRedBall.IO;
using System.Windows.Forms;
using System.IO;
using System.Threading;
using Glue;
using FlatRedBall.Glue.VSHelpers;
using FlatRedBall.Glue.Pars... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Diagnostics;
using FlatRedBall.Glue.VSHelpers.Projects;
using FlatRedBall.IO;
using System.Windows.Forms;
using System.IO;
using System.Threading;
using Glue;
using FlatRedBall.Glue.VSHelpers;
using FlatRedBall.Glue.Pars... |
68be436954acdd216201b871f727af3734fbf51e | Remove use of Aggregate() | Remove use of Aggregate()
Manually sum with a loop, rather than use Aggregate().
| martincostello/project-euler,martincostello/project-euler | src/ProjectEuler/Puzzles/Puzzle013.cs | apache-2.0 | 1,586,532,628 | // Copyright (c) Martin Costello, 2015. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
namespace MartinCostello.ProjectEuler.Puzzles
{
using System;
using System.Globalization;
using System.Numerics;
/// <summary>
... | // Copyright (c) Martin Costello, 2015. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
namespace MartinCostello.ProjectEuler.Puzzles
{
using System;
using System.Globalization;
using System.Linq;
using System.Numeri... |
a3e4b92e480c79c5990e0e6d0b10d233730069ef | Formatting fix | Formatting fix
| fairmat/DotNet.Highcharts,fairmat/DotNet.Highcharts,fairmat/DotNet.Highcharts | DotNet.Highcharts/DotNet.Highcharts/Options/Series/Series.cs | mit | 1,586,532,610 | using System;
using System.Drawing;
using DotNet.Highcharts.Attributes;
using DotNet.Highcharts.Enums;
using DotNet.Highcharts.Helpers;
using DotNet.Highcharts.Options.PlotOptions;
namespace DotNet.Highcharts.Options.Series
{
/// <summary>
/// The actual series to append to the chart. In addition to the members list... | using System;
using System.Drawing;
using DotNet.Highcharts.Attributes;
using DotNet.Highcharts.Enums;
using DotNet.Highcharts.Helpers;
using DotNet.Highcharts.Options.PlotOptions;
namespace DotNet.Highcharts.Options.Series
{
/// <summary>
/// The actual series to append to the chart. In addition to the members list... |
4a2c3212506966711da123504fedfb4392ac0ac5 | Added Keys option in the Series available options (see https://api.highcharts.com/highcharts/series.bubble.keys) | Added Keys option in the Series available options (see https://api.highcharts.com/highcharts/series.bubble.keys)
| fairmat/DotNet.Highcharts,fairmat/DotNet.Highcharts,fairmat/DotNet.Highcharts | DotNet.Highcharts/DotNet.Highcharts/Options/Series/Series.cs | mit | 1,586,532,317 | using System;
using System.Drawing;
using DotNet.Highcharts.Attributes;
using DotNet.Highcharts.Enums;
using DotNet.Highcharts.Helpers;
using DotNet.Highcharts.Options.PlotOptions;
namespace DotNet.Highcharts.Options.Series
{
/// <summary>
/// The actual series to append to the chart. In addition to the members list... | using System;
using System.Drawing;
using DotNet.Highcharts.Attributes;
using DotNet.Highcharts.Enums;
using DotNet.Highcharts.Helpers;
using DotNet.Highcharts.Options.PlotOptions;
namespace DotNet.Highcharts.Options.Series
{
/// <summary>
/// The actual series to append to the chart. In addition to the members list... |
517906529caf351ccd158cca1547fa566d8eabc5 | Improve throughput | Improve throughput
Improve throughput by only enumerating the count until the target is reached, rather than using the full count.
| martincostello/project-euler,martincostello/project-euler | src/ProjectEuler/Puzzles/Puzzle012.cs | apache-2.0 | 1,586,532,096 | // Copyright (c) Martin Costello, 2015. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
namespace MartinCostello.ProjectEuler.Puzzles
{
using System;
/// <summary>
/// A class representing the solution to <c>https://pro... | // Copyright (c) Martin Costello, 2015. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
namespace MartinCostello.ProjectEuler.Puzzles
{
using System;
using System.Linq;
/// <summary>
/// A class representing the sol... |
c41eb3ba10ca08d7266a2cbf83cc3977c663af28 | Remove unused visibility flags | Remove unused visibility flags
| space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14-content,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14-content,space-wizards/space-station-14-content | Content.Server/GameObjects/VisibilityFlags.cs | mit | 1,586,531,635 | using System;
namespace Content.Server.GameObjects
{
[Flags]
public enum VisibilityFlags
{
Ghost = 2,
}
}
| using System;
namespace Content.Server.GameObjects
{
[Flags]
public enum VisibilityFlags
{
None = 0,
Normal = 1,
Ghost = 2,
}
}
|
b25eb453d9b83ac80a16d351aef0dee338b861f8 | Remove use of All() | Remove use of All()
Remove usage of All() to reduce allocations and improve throughput by ~6x.
| martincostello/project-euler,martincostello/project-euler | src/ProjectEuler/Puzzles/Puzzle005.cs | apache-2.0 | 1,586,531,511 | // Copyright (c) Martin Costello, 2015. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
namespace MartinCostello.ProjectEuler.Puzzles
{
using System;
using System.Linq;
/// <summary>
/// A class representing the sol... | // Copyright (c) Martin Costello, 2015. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
namespace MartinCostello.ProjectEuler.Puzzles
{
using System;
using System.Linq;
/// <summary>
/// A class representing the sol... |
ec2b801bbbd72cd801e8a09cb376355aa5734699 | Simplify sums | Simplify sums
Simplify the sums being doing them at the same time with the value computed, rather than using Range().
| martincostello/project-euler,martincostello/project-euler | src/ProjectEuler/Puzzles/Puzzle006.cs | apache-2.0 | 1,586,531,049 | // Copyright (c) Martin Costello, 2015. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
namespace MartinCostello.ProjectEuler.Puzzles
{
using System;
/// <summary>
/// A class representing the solution to <c>https://pro... | // Copyright (c) Martin Costello, 2015. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
namespace MartinCostello.ProjectEuler.Puzzles
{
using System;
using System.Linq;
/// <summary>
/// A class representing the sol... |
08995b30f637fea52907ecf8cb135e7afbbedf6f | Use array instead of a list | Use array instead of a list
Use an array instead of a list to speed up the adds and sorting.
Use index operator.
| martincostello/project-euler,martincostello/project-euler | src/ProjectEuler/Puzzles/Puzzle008.cs | apache-2.0 | 1,586,530,273 | // Copyright (c) Martin Costello, 2015. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
namespace MartinCostello.ProjectEuler.Puzzles
{
using System;
using System.Collections.Generic;
using System.Globalization;
usin... | // Copyright (c) Martin Costello, 2015. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
namespace MartinCostello.ProjectEuler.Puzzles
{
using System;
using System.Collections.Generic;
using System.Globalization;
usin... |
8375d876087e897d7c270841a469e8959e2416fd | Set upper bound on List | Set upper bound on List
Set an upper bound on the size of the list to minimise reallocations.
| martincostello/project-euler,martincostello/project-euler | src/ProjectEuler/Puzzles/Puzzle011.cs | apache-2.0 | 1,586,530,011 | // Copyright (c) Martin Costello, 2015. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
namespace MartinCostello.ProjectEuler.Puzzles
{
using System.Collections.Generic;
using System.Linq;
/// <summary>
/// A class ... | // Copyright (c) Martin Costello, 2015. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
namespace MartinCostello.ProjectEuler.Puzzles
{
using System.Collections.Generic;
using System.Linq;
/// <summary>
/// A class ... |
6c176a6d138b8c6e92845e83b29c52027debf037 | change how we serialize AuthenticationProperties #4268 | change how we serialize AuthenticationProperties #4268
| IdentityServer/IdentityServer4,IdentityServer/IdentityServer4,IdentityServer/IdentityServer4,MienDev/IdentityServer4,MienDev/IdentityServer4,IdentityServer/IdentityServer4,MienDev/IdentityServer4,MienDev/IdentityServer4 | src/IdentityServer4/src/Infrastructure/DistributedCacheStateDataFormatter.cs | apache-2.0 | 1,586,529,824 | // 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 System;
using System.Collections.Generic;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.DataProtection;
using Mi... | // 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 System;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.DataProtection;
using Microsoft.AspNetCore.Http;
using Mic... |
ea7d073c53c2f1c964a209c03e78b744fd551cfc | fix: fix sample importer | fix: fix sample importer
| mob-sakai/UIEffect,mob-sakai/UIEffect | Packages/UIEffect/Scripts/Editor/ImportSampleMenu.cs | mit | 1,586,529,750 | #if !UNITY_2019_1_OR_NEWER
using System.IO;
using System.Linq;
using System.Text.RegularExpressions;
using UnityEditor;
namespace Coffee.UIExtensions
{
public static class ImportSampleMenu_UIEffect
{
[MenuItem("Assets/Samples/Import UIEffect Sample")]
private static void ImportSample()
... | #if !UNITY_2019_1_OR_NEWER
using System.IO;
using System.Linq;
using System.Text.RegularExpressions;
using UnityEditor;
namespace Coffee.UIExtensions
{
public static class ImportSampleMenu_UIEffect
{
[MenuItem("Assets/Samples/Import UIEffect Sample")]
private static void ImportSample()
... |
0360a355f5bc9644fb285e913142d3a2337b6038 | Reapply profiler changes to ArticulatedHandDefinition | Reapply profiler changes to ArticulatedHandDefinition
| killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,DDReaper/MixedRealityToolkit-Unity | Assets/MRTK/Core/Providers/Hands/ArticulatedHandDefinition.cs | mit | 1,586,529,451 | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using Microsoft.MixedReality.Toolkit.Utilities;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Profiling;
namespace Microsoft.MixedReality.Toolkit.Input
{
/// <summary>
/// Defines the interactions and data tha... | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using Microsoft.MixedReality.Toolkit.Utilities;
using System.Collections.Generic;
using UnityEngine;
namespace Microsoft.MixedReality.Toolkit.Input
{
/// <summary>
/// Defines the interactions and data that an articulated hand can pro... |
b240e1d9b70756d6aa6bd23205d2e379d47e9dd7 | Fixed compilation of imported functions that have no parameters and return nothing. Improved handling of invalid type index import. | Fixed compilation of imported functions that have no parameters and return nothing. Improved handling of invalid type index import.
| RyanLamansky/dotnet-webassembly | WebAssembly/Runtime/Compile.cs | apache-2.0 | 1,586,529,279 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Reflection.Emit;
using System.Runtime.ExceptionServices;
using WebAssembly.Runtime.Compilation;
namespace WebAssembly.Runtime
{
/// <summary>
/// Creates a new instance of a compiled WebAs... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Reflection.Emit;
using System.Runtime.ExceptionServices;
using WebAssembly.Runtime.Compilation;
namespace WebAssembly.Runtime
{
/// <summary>
/// Creates a new instance of a compiled WebAs... |
15e43209999ba458e78dd99620fec4ce215a3dcb | Update form | Update form
| klightspeed/EDDiscovery,andreaspada/EDDiscovery,EDDiscovery/EDDiscovery,klightspeed/EDDiscovery,EDDiscovery/EDDiscovery | EDDiscovery/UserControls/EngineeringSynthesis/UserControlMaterialTrader.cs | apache-2.0 | 1,586,528,282 | /*
* Copyright © 2016 - 2019 EDDiscovery development team
*
* 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 applica... | /*
* Copyright © 2016 - 2019 EDDiscovery development team
*
* 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 applica... |
abd74e1dd83058131d3396a36818b7a579229dda | fixed unit tests | fixed unit tests
| jamie-dainton/MailKit,jstedfast/MailKit,jstedfast/MailKit | UnitTests/Net/Imap/ImapUtilsTests.cs | mit | 1,586,527,939 | //
// ImapBodyParsingTests.cs
//
// Author: Jeffrey Stedfast <jestedfa@microsoft.com>
//
// Copyright (c) 2013-2020 Xamarin Inc. (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 th... | //
// ImapBodyParsingTests.cs
//
// Author: Jeffrey Stedfast <jestedfa@microsoft.com>
//
// Copyright (c) 2013-2020 Xamarin Inc. (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 th... |
011fee0aca576d5fa771c1c49db5664200c1742a | Fix CurrentWorkerCount query | Fix CurrentWorkerCount query
This was yielding all threads (whether they counted against max or not - giving a bad count). This properly gets only those that matter. | GABeech/Opserver,manesiotise/Opserver,GABeech/Opserver,opserver/Opserver,manesiotise/Opserver,opserver/Opserver | Opserver.Core/Data/SQL/SQLInstance.Properties.cs | mit | 1,586,526,953 | using System;
using Dapper;
namespace StackExchange.Opserver.Data.SQL
{
public partial class SQLInstance
{
private Cache<SQLServerProperties> _serverProperties;
public Cache<SQLServerProperties> ServerProperties =>
_serverProperties ?? (_serverProperties = GetSqlCache(
... | using System;
using Dapper;
namespace StackExchange.Opserver.Data.SQL
{
public partial class SQLInstance
{
private Cache<SQLServerProperties> _serverProperties;
public Cache<SQLServerProperties> ServerProperties =>
_serverProperties ?? (_serverProperties = GetSqlCache(
... |
71fb0603b7646f6097584dc212c5d9e54313b3c8 | Monkey patch around odd compiler error | Monkey patch around odd compiler error
| Arkhist/Hacknet-Pathfinder,Arkhist/Hacknet-Pathfinder,Arkhist/Hacknet-Pathfinder,Arkhist/Hacknet-Pathfinder | Pathfinder/Event/ComputerEvents.cs | mit | 1,586,526,367 | using System;
using System.IO;
using System.Xml;
using Hacknet;
using Pathfinder.Internal;
namespace Pathfinder.Event
{
public class ComputerEvent : PathfinderEvent
{
public Hacknet.Computer Computer { get; set; }
public ComputerEvent(Hacknet.Computer com) { Computer = com; }
}... | using System;
using System.IO;
using System.Xml;
using Hacknet;
using Pathfinder.Internal;
namespace Pathfinder.Event
{
public class ComputerEvent : PathfinderEvent
{
public Hacknet.Computer Computer { get; set; }
public ComputerEvent(Hacknet.Computer com) { Computer = com; }
}... |
6089b1b39d19ccf448081ddf8aef6246bb274498 | Changed the calling of RteMacroRenderingValueConverter to get the existing one from the factory, thanks Callum! | Changed the calling of RteMacroRenderingValueConverter to get the existing one from the factory, thanks Callum!
| Jeavon/Slimsy,Jeavon/Slimsy,Jeavon/Slimsy | Slimsy/Slimsy.cs | mit | 1,586,526,216 | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="Slimsy.cs" company="Our.Umbraco">
// 2017
// </copyright>
// <summary>
// Defines the Slimsy type.
// </summary>
// -----------------------------------------------------------... | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="Slimsy.cs" company="Our.Umbraco">
// 2017
// </copyright>
// <summary>
// Defines the Slimsy type.
// </summary>
// -----------------------------------------------------------... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.