commit stringlengths 40 40 | subject stringlengths 4 1.73k | repos stringlengths 5 127k | old_file stringlengths 2 751 | new_file stringlengths 2 751 | new_contents stringlengths 1 8.98k | old_contents stringlengths 0 6.59k | license stringclasses 13
values | lang stringclasses 23
values |
|---|---|---|---|---|---|---|---|---|
497a12c78f98a3cc360099748bfc64736fc0a056 | Comment fix. | dlemstra/Magick.NET,dlemstra/Magick.NET | Source/Magick.NET/Shared/Defines/ReadDefinesCreator.cs | Source/Magick.NET/Shared/Defines/ReadDefinesCreator.cs | // Copyright 2013-2019 Dirk Lemstra <https://github.com/dlemstra/Magick.NET/>
//
// Licensed under the ImageMagick License (the "License"); you may not use this file except in
// compliance with the License. You may obtain a copy of the License at
//
// https://www.imagemagick.org/script/license.php
//
// Unless req... | // Copyright 2013-2019 Dirk Lemstra <https://github.com/dlemstra/Magick.NET/>
//
// Licensed under the ImageMagick License (the "License"); you may not use this file except in
// compliance with the License. You may obtain a copy of the License at
//
// https://www.imagemagick.org/script/license.php
//
// Unless req... | apache-2.0 | C# |
cbce9c97a4fb237899556aa2fa152a5f446afce4 | Add humanise to encType | GiscardBiamby/NancyContrib.Chameleon,VegasoftTI/ChameleonForms,VegasoftTI/ChameleonForms,GiscardBiamby/NancyContrib.Chameleon,VegasoftTI/ChameleonForms | ChameleonForms/Templates/HtmlHelperExtensions.cs | ChameleonForms/Templates/HtmlHelperExtensions.cs | using System.Collections.Generic;
using System.Net.Http;
using System.Web;
using System.Web.Mvc;
using ChameleonForms.Enums;
using Humanizer;
namespace ChameleonForms.Templates
{
public static class Html
{
public static IHtmlString Attribute(string name, string value)
{
... | using System.Collections.Generic;
using System.Net.Http;
using System.Web;
using System.Web.Mvc;
namespace ChameleonForms.Templates
{
public static class Html
{
public static IHtmlString Attribute(string name, string value)
{
if (value == null)
return ne... | mit | C# |
77e258d0734ee728191a9ee1aaf228f4350ef7c1 | Use of 'var'. | philjones/nquant,drewnoakes/nquant | nQuant.Core/WuQuantizer.cs | nQuant.Core/WuQuantizer.cs | using System.Collections.Generic;
using System.Drawing;
using System.Drawing.Imaging;
namespace nQuant
{
public class WuQuantizer : WuQuantizerBase, IWuQuantizer
{
private static IEnumerable<byte[]> IndexedPixels(ImageBuffer image, Pixel[] lookups, int alphaThreshold, PaletteColorHistory[] pal... | using System.Collections.Generic;
using System.Drawing;
using System.Drawing.Imaging;
namespace nQuant
{
public class WuQuantizer : WuQuantizerBase, IWuQuantizer
{
private static IEnumerable<byte[]> IndexedPixels(ImageBuffer image, Pixel[] lookups, int alphaThreshold, PaletteColorHistory[] pal... | apache-2.0 | C# |
e94bc03e86b2c50af6519de9134610a54e7ea706 | make MessageAndError members public so that we can build consumers that are not event-driven | MrGlenThomas/confluent-kafka-dotnet,bjornicus/confluent-kafka-dotnet,treziac/confluent-kafka-dotnet,ah-/rdkafka-dotnet,MrGlenThomas/confluent-kafka-dotnet,treziac/confluent-kafka-dotnet,bjornicus/confluent-kafka-dotnet,MaximGurschi/rdkafka-dotnet | src/RdKafka/Message.cs | src/RdKafka/Message.cs | namespace RdKafka
{
public struct Message
{
public string Topic { get; set; }
public int Partition { get; set; }
public long Offset { get; set; }
public byte[] Payload { get; set; }
public byte[] Key { get; set; }
public TopicPartitionOffset TopicPartitionOffset ... | namespace RdKafka
{
public struct Message
{
public string Topic { get; set; }
public int Partition { get; set; }
public long Offset { get; set; }
public byte[] Payload { get; set; }
public byte[] Key { get; set; }
public TopicPartitionOffset TopicPartitionOffset ... | apache-2.0 | C# |
512edcd02ebfad7e37e49f805325df1687077aff | Sort properties vs. methods; whitespace. | brendanjbaker/StraightSQL | src/StraightSql/IReader.cs | src/StraightSql/IReader.cs | namespace StraightSql
{
using System;
using System.Data.Common;
public interface IReader
{
Type Type { get; }
Object Read(DbDataReader reader);
}
}
| namespace StraightSql
{
using System;
using System.Data.Common;
public interface IReader
{
Object Read(DbDataReader reader);
Type Type { get; }
}
}
| mit | C# |
bf651c68ade0a5aedd742cf63e4f81a662147e0c | Fix font scaling when two monitors are scaled differently (BL-10981) | gmartin7/myBloomFork,BloomBooks/BloomDesktop,BloomBooks/BloomDesktop,BloomBooks/BloomDesktop,StephenMcConnel/BloomDesktop,StephenMcConnel/BloomDesktop,gmartin7/myBloomFork,BloomBooks/BloomDesktop,BloomBooks/BloomDesktop,gmartin7/myBloomFork,StephenMcConnel/BloomDesktop,StephenMcConnel/BloomDesktop,gmartin7/myBloomFork,... | src/BloomExe/Properties/AssemblyInfo.cs | src/BloomExe/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Blo... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Blo... | mit | C# |
7fee8315479244700e46374b28bad668561e2379 | Add NotImplemented.ActiveIssue() method. (#3752) | krytarowski/corert,krytarowski/corert,gregkalapos/corert,yizhang82/corert,yizhang82/corert,shrah/corert,krytarowski/corert,yizhang82/corert,shrah/corert,shrah/corert,shrah/corert,yizhang82/corert,krytarowski/corert,gregkalapos/corert,gregkalapos/corert,gregkalapos/corert | src/Common/src/System/NotImplemented.cs | src/Common/src/System/NotImplemented.cs | // 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
{
//
// Support for tooling-friendly NotImplementedExceptions.
//
internal static c... | // 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
{
//
// This simple class enables one to throw a NotImplementedException using the followin... | mit | C# |
99bb4548db7755c4f3982948147b8f9b66d133c3 | Add using lines and namespaces | planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell | src/Firehose.Web/Authors/ShaneONeill.cs | src/Firehose.Web/Authors/ShaneONeill.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel.Syndication;
using System.Web;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class ShaneONeill : IAmACommunityMember, IFilterMyBlogPosts
{
public string FirstName => "Shane";
... | public class ShaneONeill : IAmACommunityMember, IFilterMyBlogPosts
{
public string FirstName => "Shane";
public string LastName => "O'Neill";
public string ShortBioOrTagLine => "DBA. Food, Coffee, Whiskey (not necessarily in that order)... ";
public string StateOrRegion => "Irela... | mit | C# |
3ca0d5a660b483a8e503b42d7becebc69afb25e2 | Fix bugs in Map | jdno/AIChallengeFramework | Map/Map.cs | Map/Map.cs | //
// Copyright 2014 jdno
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or... | //
// Copyright 2014 jdno
//
// 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... | apache-2.0 | C# |
cd2ee30be00d7c5c998bc99616c1208c6a90d56a | Update version to 4.3.14 | MarimerLLC/cslacontrib,tfreitasleal/cslacontrib,tfreitasleal/cslacontrib,MarimerLLC/cslacontrib,MarimerLLC/cslacontrib,tfreitasleal/cslacontrib,MarimerLLC/cslacontrib | trunk/Source/GlobalAssemblyInfo.cs | trunk/Source/GlobalAssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("CslaContrib project")]
[assembly: AssemblyCopyright("Copyright CslaContrib 2009-2013")]
[assembly: AssemblyTrademark("")]
[assembly: ComVisible(false)]
[assembly: AssemblyVersion("4.3.14.0")]
[assembly: AssemblyFileVers... | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("CslaContrib project")]
[assembly: AssemblyCopyright("Copyright CslaContrib 2009-2012")]
[assembly: AssemblyTrademark("")]
[assembly: ComVisible(false)]
[assembly: AssemblyVersion("4.3.13.0")]
[assembly: AssemblyFileVers... | mit | C# |
7cb10ca3fd2f02f7db837844692eaeeca71ca9f9 | Add new file userAuth.cpl/Droid/MainActivity.cs | ArcanaMagus/userAuth.cpl,ArcanaMagus/userAuth.cpl,ArcanaMagus/userAuth.cpl,ArcanaMagus/userAuth.cpl | userAuth.cpl/Droid/MainActivity.cs | userAuth.cpl/Droid/MainActivity.cs | �
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Android.App;
using Android.Content;
using Android.OS;
using Android.Runtime;
using Android.Views;
using Android.Widget;
namespace userAuth.cpl.Droid
{
[Activity (Label = "userAuth.cpl.Droid", Icon = "@drawable/... |