text stringlengths 40 299k | repo_name stringlengths 7 71 | path stringlengths 4 235 | source_url stringlengths 45 289 | commit_or_blob_id stringlengths 25 25 | license stringclasses 7
values | source_dataset stringclasses 1
value | content_sha256 stringlengths 64 64 | quality_score float64 0.2 0.95 | category_slice stringclasses 1
value | token_count int64 11 109k | is_synthetic bool 1
class | collected_at stringdate 2026-07-17 00:00:00 2026-07-17 00:00:00 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
/*
* Copyright 2011 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ag... | TraceRouter/bitcoinsharp | tags/0.2/Core/VersionedChecksummedBytes.cs | https://github.com/TraceRouter/bitcoinsharp/blob/HEAD/tags/0.2/Core/VersionedChecksummedBytes.cs | ghcode:00010:eabcee49bc1f | apache-2.0 | codeparrot/github-code | eabcee49bc1ffe3ebe0177d45aee4bb9505abf7ab2f435190ff90aa60df48b78 | 0.7 | testing_debugging_repair_refactoring | 695 | false | 2026-07-17 |
//-----------------------------------------------------------------------
// <copyright file="LoggerMailboxSpec.cs" company="Akka.NET Project">
// Copyright (C) 2009-2016 Lightbend Inc. <http://www.lightbend.com>
// Copyright (C) 2013-2016 Akka.NET project <https://github.com/akkadotnet/akka.net>
// </copyrigh... | willieferguson/akka.net | src/core/Akka.Tests/Event/LoggerMailboxSpec.cs | https://github.com/willieferguson/akka.net/blob/HEAD/src/core/Akka.Tests/Event/LoggerMailboxSpec.cs | ghcode:00010:28176618bcc2 | apache-2.0 | codeparrot/github-code | 28176618bcc25044baf127ff0a2e058707d64af3572479d4a8d61b935d543121 | 0.85 | testing_debugging_repair_refactoring | 258 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections;
using System.Collections.Generic;
using Xunit;
namespace System.Linq.Tests
... | iamjasonp/corefx | src/System.Linq/tests/SelectManyTests.cs | https://github.com/iamjasonp/corefx/blob/HEAD/src/System.Linq/tests/SelectManyTests.cs | ghcode:00010:3bb4cddb09d2 | mit | codeparrot/github-code | 3bb4cddb09d244769a94e3718daba5dc45a50404a811b17c7a595409b00d56c1 | 0.95 | testing_debugging_repair_refactoring | 3,360 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
using System.Linq;
using Microsoft.CodeAnalysis... | zmaruo/roslyn | src/Compilers/CSharp/Portable/Lowering/AsyncRewriter/AwaitExpressionSpiller.cs | https://github.com/zmaruo/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/Lowering/AsyncRewriter/AwaitExpressionSpiller.cs | ghcode:00010:07b9b9e8cae0 | apache-2.0 | codeparrot/github-code | 07b9b9e8cae088f199c19c6f077ef5371bea6c51b76d0f8e234ad1864003c943 | 0.85 | testing_debugging_repair_refactoring | 8,169 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using System.Net.Test.Common;
using System.Threading;
using System.Threading.Tasks... | Ermiar/corefx | src/System.Net.WebSockets.Client/tests/ClientWebSocketTestBase.cs | https://github.com/Ermiar/corefx/blob/HEAD/src/System.Net.WebSockets.Client/tests/ClientWebSocketTestBase.cs | ghcode:00010:afd4dd4d0a6c | mit | codeparrot/github-code | afd4dd4d0a6c74eddea38ca48a909cef8bf375b5c5b5aa4492a059cd1a01ce70 | 0.95 | testing_debugging_repair_refactoring | 708 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Xunit;
namespace System.SpanTests
{
public static partial class ReadOnlySpanTests
{
[Fact]
... | nbarbettini/corefx | src/System.Memory/tests/ReadOnlySpan/IndexOfSequence.char.cs | https://github.com/nbarbettini/corefx/blob/HEAD/src/System.Memory/tests/ReadOnlySpan/IndexOfSequence.char.cs | ghcode:00010:83f54ebc1018 | mit | codeparrot/github-code | 83f54ebc10180efbe3a26db3e5604dfed781c6514113370fc44f041d83ef268d | 0.95 | testing_debugging_repair_refactoring | 1,481 | false | 2026-07-17 |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Xunit;
using System;
using System.Xml;
namespace XMLTests.ReaderWriter.ReadContentTests
{
public class ArrayTests
{
[Fact]
public static ... | vs-team/corefx | src/System.Xml.ReaderWriter/tests/XmlReader/ReadContentAs/ReadAsArrayTests.cs | https://github.com/vs-team/corefx/blob/HEAD/src/System.Xml.ReaderWriter/tests/XmlReader/ReadContentAs/ReadAsArrayTests.cs | ghcode:00010:ada307339309 | mit | codeparrot/github-code | ada307339309ad93cf3a83374cc42acc4b481490a7de5613afe3ab99db2b84ad | 0.85 | testing_debugging_repair_refactoring | 865 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Numerics;
using System.Securi... | krytarowski/corefx | src/System.Security.Cryptography.X509Certificates/src/Internal/Cryptography/Pal.Unix/ManagedCertificateFinder.cs | https://github.com/krytarowski/corefx/blob/HEAD/src/System.Security.Cryptography.X509Certificates/src/Internal/Cryptography/Pal.Unix/ManagedCertificateFinder.cs | ghcode:00010:8d5cdb4d5e19 | mit | codeparrot/github-code | 8d5cdb4d5e192071adeecfe91fdbe90208c0542123051ab134bf98f4c6228e79 | 0.95 | testing_debugging_repair_refactoring | 2,254 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using System.IO;
using System.Text;
using Test.Cryptography;
using Xunit;
namespa... | nbarbettini/corefx | src/System.Security.Cryptography.Algorithms/tests/TripleDesTests.cs | https://github.com/nbarbettini/corefx/blob/HEAD/src/System.Security.Cryptography.Algorithms/tests/TripleDesTests.cs | ghcode:00010:be4b36450bf6 | mit | codeparrot/github-code | be4b36450bf66f08ac3d8f751b91314878fbe2fd29cf76e8212a406fbf63cabf | 0.95 | testing_debugging_repair_refactoring | 1,462 | false | 2026-07-17 |
// 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.Collections.Immutable.Tests
{
public class GenericParameterHelper
{
public GenericP... | shahid-pk/corefx | src/System.Collections.Immutable/tests/GenericParameterHelper.cs | https://github.com/shahid-pk/corefx/blob/HEAD/src/System.Collections.Immutable/tests/GenericParameterHelper.cs | ghcode:00010:ad5405161c7c | mit | codeparrot/github-code | ad5405161c7c6a5214c1585f68e7061e361498f8b00909b2a8febcd3f7f0b39f | 0.95 | testing_debugging_repair_refactoring | 167 | false | 2026-07-17 |
using System.Linq;
using BenchmarkDotNet.Attributes;
using ExistForAll.SimpleSettings;
namespace ExistsForAll.SimpleSettings.Benchmark
{
public class SimpleSettingsBenchmark
{
[Benchmark]
public void Run()
{
var settingsBuilder = SettingsBuilder.CreateBuilder();
var se... | existall/SimpleConfig | src/performance/ExistsForAll.SimpleSettings.Benchmark/SimpleSettingsBenchmark.cs | https://github.com/existall/SimpleConfig/blob/HEAD/src/performance/ExistsForAll.SimpleSettings.Benchmark/SimpleSettingsBenchmark.cs | ghcode:00010:22b62a23b9a9 | mit | codeparrot/github-code | 22b62a23b9a90f3031d8b4d1de1b20fb03689b43bf2f3832422241de6e7cd4cf | 0.6 | testing_debugging_repair_refactoring | 86 | false | 2026-07-17 |
// <copyright file="FtpServerTestsBase.cs" company="Fubar Development Junker">
// Copyright (c) Fubar Development Junker. All rights reserved.
// </copyright>
using System;
using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using Xunit;
using Xunit.Abst... | FubarDevelopment/FtpServer | test/FubarDev.FtpServer.Tests/FtpServerTestsBase.cs | https://github.com/FubarDevelopment/FtpServer/blob/HEAD/test/FubarDev.FtpServer.Tests/FtpServerTestsBase.cs | ghcode:00010:2ee4ed525f25 | mit | codeparrot/github-code | 2ee4ed525f25769919e457a2cddb6789f0b481cedd4dde43379db7f8f225a0bd | 0.7 | testing_debugging_repair_refactoring | 672 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Waf.Applications;
using System.Waf.UnitTesting;
using Waf.InformationManager.Infrastructure.Interfaces.Applications;
namespace Test.InformationManager.Infrastructure.Modules.Applications.Services;
[TestClass]
public class ToolBarCommandTest
{
... | jbe2277/waf | src/System.Waf/Samples/InformationManager/Infrastructure.Modules.Applications.Test/Services/ToolBarCommandTest.cs | https://github.com/jbe2277/waf/blob/HEAD/src/System.Waf/Samples/InformationManager/Infrastructure.Modules.Applications.Test/Services/ToolBarCommandTest.cs | ghcode:00010:fad3baa72dee | mit | codeparrot/github-code | fad3baa72deec1cd14666db0055dd4618faaf4fd3a16f7bb11ff9a910e33d23b | 0.6 | testing_debugging_repair_refactoring | 209 | false | 2026-07-17 |
using NUnit.Framework;
using Standard.Abstractions.IO;
using System.Collections;
using System.IO;
using System.Linq;
using static NUnit.Framework.Assert;
namespace Standard.Abstractions.Tests
{
[TestFixture]
public class DirectoryProxyTests
{
private static readonly ISystemIO ConcreteIO = new Conc... | DavidArno/Standard.Abstractions | Standard.Abstractions.Tests/DirectoryProxyTests.cs | https://github.com/DavidArno/Standard.Abstractions/blob/HEAD/Standard.Abstractions.Tests/DirectoryProxyTests.cs | ghcode:00010:40d733978527 | mit | codeparrot/github-code | 40d733978527c1840a480003dcc7e9191d65b8fec67fc293c5db4127f94a4d4d | 0.75 | testing_debugging_repair_refactoring | 741 | false | 2026-07-17 |
#region Licence
/* The MIT License (MIT)
Copyright © 2014 Francesco Pighi <francesco.pighi@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the “Software”), to deal
in the Software without restriction, including without limita... | BrighterCommand/Paramore.Brighter | tests/Paramore.Brighter.Sqlite.Tests/Outbox/When_There_Are_Multiple_Messages_In_The_Outbox_And_A_Range_Is_Fetched_Async.cs | https://github.com/BrighterCommand/Paramore.Brighter/blob/HEAD/tests/Paramore.Brighter.Sqlite.Tests/Outbox/When_There_Are_Multiple_Messages_In_The_Outbox_And_A_Range_Is_Fetched_Async.cs | ghcode:00010:7de2271ceeee | mit | codeparrot/github-code | 7de2271ceeeebff238209e002c1ff5362db3f49f6417ed556b160e94c8c27b30 | 0.7 | testing_debugging_repair_refactoring | 734 | false | 2026-07-17 |
using System.Xml.Linq;
namespace NUnitReportMerge
{
public class TestResultsCulture
{
readonly XElement _cultureElement;
public TestResultsCulture(XElement cultureElement)
{
_cultureElement = cultureElement;
}
public string CurrentCulture()
{
return _cultureElement.Attribute("... | grzesiek-galezowski/nunit-split-runner | Solution/NUnitReportMerge/TestResultsCulture.cs | https://github.com/grzesiek-galezowski/nunit-split-runner/blob/HEAD/Solution/NUnitReportMerge/TestResultsCulture.cs | ghcode:00010:13a7cd4f2af1 | mit | codeparrot/github-code | 13a7cd4f2af10be710209317e0ee61bcf6323a11c8bb968723ea10cc0396f955 | 0.75 | testing_debugging_repair_refactoring | 99 | false | 2026-07-17 |
namespace Cosmetics.Tests
{
using System.Text;
using NUnit.Framework;
using Cosmetics.Common;
using Cosmetics.Products;
[TestFixture]
public class ShampooTests
{
[Test]
public void Print_ShouldReturnCorrectShampooDetails_WhenInvoked()
{
var shampoo = ne... | IvayloP/TelerikAcademy2016-2017 | HQC/01.UnitTestingWithCSharp/Cosmetics/Solution/Cosmetics.Tests/ShampooTests.cs | https://github.com/IvayloP/TelerikAcademy2016-2017/blob/HEAD/HQC/01.UnitTestingWithCSharp/Cosmetics/Solution/Cosmetics.Tests/ShampooTests.cs | ghcode:00010:27b8c7eb7e12 | mit | codeparrot/github-code | 27b8c7eb7e129dab614c5b438a081f8fa2b2f4894184af1bb3f88453ebeea09c | 0.75 | testing_debugging_repair_refactoring | 191 | false | 2026-07-17 |
using Xunit;
namespace GraduatedCylinder
{
public class SpeedConversionsFixture
{
[Theory]
[InlineData(100, SpeedUnit.MeterPerSecond, 360, SpeedUnit.KilometersPerHour)]
[InlineData(100, SpeedUnit.MeterPerSecond, 223.69363, SpeedUnit.MilesPerHour)]
[InlineData(100, SpeedUnit.Mete... | EddieGarmon/GraduatedCylinder | Tests/GraduatedCylinder.Tests/[Conversions]/SpeedConversionsFixture.cs | https://github.com/EddieGarmon/GraduatedCylinder/blob/HEAD/Tests/GraduatedCylinder.Tests/[Conversions]/SpeedConversionsFixture.cs | ghcode:00010:8506bac09190 | mit | codeparrot/github-code | 8506bac09190585f9a948f5a792a031e90ee44057bd8cd4f63c1205915f2b945 | 0.6 | testing_debugging_repair_refactoring | 557 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using hw.DebugFormatter;
using hw.Helper;
using JetBrains.Annotations;
// ReSharper disable CheckNamespace
namespace hw.UnitTest
{
[PublicAPI]
public sealed class TestRunner : Dumpable
{
[PublicAPI]
... | hahoyer/HWClassLibrary.cs | src/hw.nuget/hw.UnitTest/UnitTest/TestRunner.cs | https://github.com/hahoyer/HWClassLibrary.cs/blob/HEAD/src/hw.nuget/hw.UnitTest/UnitTest/TestRunner.cs | ghcode:00010:ab15fb1ba0e5 | mit | codeparrot/github-code | ab15fb1ba0e58e3d7a4cfdcbd936d8cb13751251c4cd49b79e94f1846e78942a | 0.85 | testing_debugging_repair_refactoring | 1,662 | false | 2026-07-17 |
using LinkupSharp;
using LinkupSharp.Modules;
using System;
namespace LinkupSharpTestModel
{
public class TestClientModule : ClientModule
{
public TestClientModule()
{
RegisterHandler<Id[]>(HandleContacts);
RegisterHandler<Message>(HandleMessage);
}
pri... | pferraris/LinkupSharp | LinkupSharpTestModel/TestClientModule.cs | https://github.com/pferraris/LinkupSharp/blob/HEAD/LinkupSharpTestModel/TestClientModule.cs | ghcode:00010:a5ab002bcd12 | mit | codeparrot/github-code | a5ab002bcd128f2991fbfefd7bd487a542579b81efc711990146bdf5ff7b98cd | 0.75 | testing_debugging_repair_refactoring | 150 | false | 2026-07-17 |
/*******************************************************************************
The MIT License (MIT)
Copyright (c) 2015-2017 Daiki Sakamoto
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Softwa... | buildlet/Utilities | Projects/Utilities/BUILDLet.UtilitiesTests/SimpleHtmlParserTests.cs | https://github.com/buildlet/Utilities/blob/HEAD/Projects/Utilities/BUILDLet.UtilitiesTests/SimpleHtmlParserTests.cs | ghcode:00010:d2621febcf75 | mit | codeparrot/github-code | d2621febcf75f450ce8c876e7beeae0d259e16f1349de50fd1f89409bfa82832 | 0.85 | testing_debugging_repair_refactoring | 2,844 | false | 2026-07-17 |
// 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 osu.Framework.Graphics;
using osu.Framework.Graphics.Shapes;
using osu.Framework.Graphics.UserInterface;
using osu.Framework.MathUtils;
using osu.Fra... | Tom94/osu-framework | osu.Framework.Tests/Visual/TestCaseUserInterface/TestCaseRigidBody.cs | https://github.com/Tom94/osu-framework/blob/HEAD/osu.Framework.Tests/Visual/TestCaseUserInterface/TestCaseRigidBody.cs | ghcode:00010:3e85035da54a | mit | codeparrot/github-code | 3e85035da54a5d02759bdbaf932554e8cef8bb78353fe23745fbee24d95d1f48 | 0.85 | testing_debugging_repair_refactoring | 1,347 | false | 2026-07-17 |
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
#nullable disable
namespace StyleCop.Analyzers.Test.CSharp8.NamingRules
{
using StyleCop.Analyzers.Test.CSharp7.NamingRules;
public class SA1301C... | DotNetAnalyzers/StyleCopAnalyzers | StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1301CSharp8UnitTests.cs | https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/HEAD/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1301CSharp8UnitTests.cs | ghcode:00010:23ac55cc204c | mit | codeparrot/github-code | 23ac55cc204c900f74e81cdbab7821b33cb0412b388e5856c35fc1cc14e25a03 | 0.75 | testing_debugging_repair_refactoring | 96 | false | 2026-07-17 |
// ==========================================================================
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex UG (haftungsbeschraenkt)
// All rights reserved. Licensed under the MIT license.
// ===========================... | Squidex/squidex | backend/tests/Squidex.Domain.Apps.Entities.Tests/Assets/FileTagAssetMetadataSourceTests.cs | https://github.com/Squidex/squidex/blob/HEAD/backend/tests/Squidex.Domain.Apps.Entities.Tests/Assets/FileTagAssetMetadataSourceTests.cs | ghcode:00010:e27b719fad8f | mit | codeparrot/github-code | e27b719fad8f59d4f68175396a94ffdfd08681a19c40e3242629e81a074a2d71 | 0.95 | testing_debugging_repair_refactoring | 963 | false | 2026-07-17 |
namespace PokerTell.UnitTests.Tools
{
using System;
using System.IO;
using System.Text;
using System.Xml.Serialization;
public static class TestXmlSerialization
{
public static TType XmlDeserializedInMemory<TType>(this TType originalObject, bool writeXmlStringToConsole) where T... | thlorenz/pokertell | Src/Tests/UnitTests/PokerTell.UnitTests/Tools/TestXmlSerialization.cs | https://github.com/thlorenz/pokertell/blob/HEAD/Src/Tests/UnitTests/PokerTell.UnitTests/Tools/TestXmlSerialization.cs | ghcode:00010:f1d0108ad30a | mit | codeparrot/github-code | f1d0108ad30a55ea86a60b3ddb7f731334b0a1257c607d8df6c221d4a47c9e2b | 0.85 | testing_debugging_repair_refactoring | 339 | false | 2026-07-17 |
namespace NRepository.Core.Query.Tests
{
using System;
using System.Collections.Generic;
using System.Linq;
using NUnit.Framework;
using Query;
using TestKit;
[TestFixture()]
public class MultipleTextSearchSpecificationStrategyTests
{
private class Item
{
... | j-kelly/NRepository.Core | src/NRepository.Core.Tests/Query/QueryStrategies/MultipleTextSearchSpecificationStrategyTests.cs | https://github.com/j-kelly/NRepository.Core/blob/HEAD/src/NRepository.Core.Tests/Query/QueryStrategies/MultipleTextSearchSpecificationStrategyTests.cs | ghcode:00010:715c6454739d | mit | codeparrot/github-code | 715c6454739d662775e86077e45aa71c53fafe2b9254b211d356b6d249d44fe9 | 0.75 | testing_debugging_repair_refactoring | 203 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections;
using System.Diagnostics;
namespace System.Text.Json.Serialization.Converters
{
inte... | ViktorHofer/corefx | src/System.Text.Json/src/System/Text/Json/Serialization/Converters/DefaultImmutableDictionaryConverter.cs | https://github.com/ViktorHofer/corefx/blob/HEAD/src/System.Text.Json/src/System/Text/Json/Serialization/Converters/DefaultImmutableDictionaryConverter.cs | ghcode:00010:d756045c7247 | mit | codeparrot/github-code | d756045c72475edbf55d2db0b19619fc1e3ba27c2c3e250462a5fb0aee21b0ed | 0.95 | testing_debugging_repair_refactoring | 575 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Moq;
using StructureMap.AutoMocking;
namespace Chutzpah.Facts
{
public class Testable<TClassUnderTest> where TClassUnderTest : class
{
protected MoqAutoMocker<TClassUnderTest> autoMocker = new MoqAutoMocker<TCl... | mukulikadey/SOEN341-Group1 | chutzpah/Facts/Testable.cs | https://github.com/mukulikadey/SOEN341-Group1/blob/HEAD/chutzpah/Facts/Testable.cs | ghcode:00010:16f6a4c37e04 | mit | codeparrot/github-code | 16f6a4c37e04193a96a918cef06a0594ddfb612c22cf606b8abbfd9da75e8b3a | 0.75 | testing_debugging_repair_refactoring | 246 | false | 2026-07-17 |
// Copyright © 2013, 2015 Oracle and/or its affiliates. All rights reserved.
//
// MySQL Connector/NET is licensed under the terms of the GPLv2
// <http://www.gnu.org/licenses/old-licenses/gpl-2.0.html>, like most
// MySQL Connectors. There are special exceptions to the terms and
// conditions of the GPLv2 as it is ... | chenlianwd/MES | Reference_Projects/MySql/Tests/MySql.Data.Tests/BlobTestsPipe.cs | https://github.com/chenlianwd/MES/blob/HEAD/Reference_Projects/MySql/Tests/MySql.Data.Tests/BlobTestsPipe.cs | ghcode:00010:8b5be89d3049 | mit | codeparrot/github-code | 8b5be89d3049cd8888e975efa28d4f156d74b66acbb5433b9859de3f6d750cc1 | 0.95 | testing_debugging_repair_refactoring | 391 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Tests
{
[TestClass]
public partial class TupleAverageTests
{
}
} | nicenemo/Noaber | Test.NoaberCS/TupleAverageTests.cs | https://github.com/nicenemo/Noaber/blob/HEAD/Test.NoaberCS/TupleAverageTests.cs | ghcode:00010:769afb6ea880 | mit | codeparrot/github-code | 769afb6ea8802fc0f0b2bbdfea8bf3244069883432e5bd578e309a1d2c12f286 | 0.35 | testing_debugging_repair_refactoring | 27 | false | 2026-07-17 |
using BenchmarkDotNet.Attributes;
using Prometheus;
using System.IO;
using System.Threading.Tasks;
namespace Benchmark.NetCore
{
[MemoryDiagnoser]
public class SerializationBenchmarks
{
// Metric -> Variant -> Label values
private static readonly string[][][] _labelValueRows;
priv... | andrasm/prometheus-net | Benchmark.NetCore/SerializationBenchmarks.cs | https://github.com/andrasm/prometheus-net/blob/HEAD/Benchmark.NetCore/SerializationBenchmarks.cs | ghcode:00010:5128fb5da543 | mit | codeparrot/github-code | 5128fb5da543324e1e1c02580317f42f89a4908852ddee7b2a793cf14da23071 | 0.6 | testing_debugging_repair_refactoring | 781 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Linq;
using NBitcoin;
using Stratis.Bitcoin.Features.Wallet;
using Stratis.Bitcoin.Features.Wallet.Interfaces;
using Stratis.Bitcoin.IntegrationTests.Common;
using Stratis.Bitcoin.IntegrationTests.Common.EnvironmentMockUpHelpers;
using Stratis.Bitcoin.Utilities;
using Str... | mikedennis/StratisBitcoinFullNode | src/Stratis.SmartContracts.IntegrationTests/PoW/SmartContractWalletOnPosNetworkTests.cs | https://github.com/mikedennis/StratisBitcoinFullNode/blob/HEAD/src/Stratis.SmartContracts.IntegrationTests/PoW/SmartContractWalletOnPosNetworkTests.cs | ghcode:00010:922b62ecad0a | mit | codeparrot/github-code | 922b62ecad0a0c13c07f81f3cdc82ee90de4fa7a59bcdf57f1f28785f42a0676 | 0.85 | testing_debugging_repair_refactoring | 1,754 | false | 2026-07-17 |
using System;
using Xunit.Abstractions;
using YesSql.Provider.SqlServer;
namespace YesSql.Tests
{
public class SqlServer2017Tests : SqlServerTests
{
public override string ConnectionString
=> Environment.GetEnvironmentVariable("SQLSERVER_2017_CONNECTION_STRING")
?? @"Data... | sebastienros/yessql | test/YesSql.Tests/SqlServer2017Tests.cs | https://github.com/sebastienros/yessql/blob/HEAD/test/YesSql.Tests/SqlServer2017Tests.cs | ghcode:00010:a38711a0922c | mit | codeparrot/github-code | a38711a0922c27b3877091e02a96518ce4945c299a0d123099c8f6114e962812 | 0.75 | testing_debugging_repair_refactoring | 147 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Hapil.Testing.NUnit;
using Hapil;
using Hapil.Operands;
using Hapil.Expressions;
using Hapil.Statements;
using Hapil.Members;
using Hapil.Writers;
using NUnit.Framework;
namespace Hapil.UnitTests.Operands
{
[TestFixture]
pub... | felix-b/Hapil | Source/Hapil.UnitTests/Operands/AssignmentTests.cs | https://github.com/felix-b/Hapil/blob/HEAD/Source/Hapil.UnitTests/Operands/AssignmentTests.cs | ghcode:00010:a7faa80e5af1 | mit | codeparrot/github-code | a7faa80e5af1c50b9a0dde61d1928a5120296da6b717c4bb68cb25c7732d031d | 0.85 | testing_debugging_repair_refactoring | 1,860 | false | 2026-07-17 |
using TinyIoC;
namespace SpecEasy.Specs.TinyIoC
{
internal class TinyIoCSinglePrivateCtorSpec : Spec<SinglePrivateCtor>
{
public void ConstructorSelection()
{
When("constructing the SUT instance", () => EnsureSUT());
Given("the type being constructed has a single privat... | dpbackes/speceasy | SpecEasy.Specs/TinyIoC/TinyIoCSinglePrivateCtorSpec.cs | https://github.com/dpbackes/speceasy/blob/HEAD/SpecEasy.Specs/TinyIoC/TinyIoCSinglePrivateCtorSpec.cs | ghcode:00010:7a5143af3130 | mit | codeparrot/github-code | 7a5143af3130f26ebcff9b2bb52cd93603affaf53443c49cfb9e25b1398e7528 | 0.75 | testing_debugging_repair_refactoring | 118 | false | 2026-07-17 |
// ==========================================================================
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex UG (haftungsbeschraenkt)
// All rights reserved. Licensed under the MIT license.
// ===========================... | Squidex/squidex | backend/tests/Squidex.Infrastructure.Tests/NamedIdTests.cs | https://github.com/Squidex/squidex/blob/HEAD/backend/tests/Squidex.Infrastructure.Tests/NamedIdTests.cs | ghcode:00010:b5d0c2547ceb | mit | codeparrot/github-code | b5d0c2547ceb9db46d15879f374a58471e78694bceeeeb098f4d21cffca094ce | 0.95 | testing_debugging_repair_refactoring | 702 | false | 2026-07-17 |
using System;
using NUnit.Framework;
using Omu.ValueInjecter;
using Omu.ValueInjecter.Injections;
using Tests.Injections;
using Tests.Misc;
using Tests.SampleTypes;
namespace Tests
{
[TestFixture]
public class LoopInjectionTests
{
[Test]
public void ShouldIgnoreProperties()
{
... | omuleanu/ValueInjecter | Tests/LoopInjectionTests.cs | https://github.com/omuleanu/ValueInjecter/blob/HEAD/Tests/LoopInjectionTests.cs | ghcode:00010:fe28aef48fef | mit | codeparrot/github-code | fe28aef48fefd737e9761784437a1d194a8f33a99d45accfa27bdf6ae3156408 | 0.75 | testing_debugging_repair_refactoring | 163 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using NetworkedPlanet.Quince.Git;
using Xunit;
namespace NetworkedPlanet.Quince.Tests.GitWrapper
{
[Collection("Basic Repository Collection")]
[Trait("Category", "GitWrapper")]
public class GitWrapperSpec : IDisposable
... | NetworkedPlanet/quince | NetworkedPlanet.Quince.Tests/GitWrapper/GitWrapperSpec.cs | https://github.com/NetworkedPlanet/quince/blob/HEAD/NetworkedPlanet.Quince.Tests/GitWrapper/GitWrapperSpec.cs | ghcode:00010:7d085d360ab7 | mit | codeparrot/github-code | 7d085d360ab75d73a576599fc36c593522dc3a84019ef6454e8b52e779645284 | 0.85 | testing_debugging_repair_refactoring | 3,280 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using MjServer;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
using MjNetworkProtocolLibrary;
using MjNetworkProtocol;
using System.IO;
using MjModelLibrary;
using System.Dia... | rick0000/MjModel | MjServerTests/GameRoomTests.cs | https://github.com/rick0000/MjModel/blob/HEAD/MjServerTests/GameRoomTests.cs | ghcode:00010:fdac874e280d | mit | codeparrot/github-code | fdac874e280d79383277bfd513cb928c59d30f587f81bb8ed01a67178ef978c9 | 0.85 | testing_debugging_repair_refactoring | 3,950 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using OpenProtocolInterpreter;
using OpenProtocolInterpreter.Communication;
namespace MIDTesters.Core
{
[TestClass]
public class TestMidExtensions
{
public TestMidExtensions()
{
}
[TestMethod]
public ... | Rickedb/OpenProtocolInterpreter | src/MIDTesters.Core/TestMidExtensions.cs | https://github.com/Rickedb/OpenProtocolInterpreter/blob/HEAD/src/MIDTesters.Core/TestMidExtensions.cs | ghcode:00010:fc60468814f9 | mit | codeparrot/github-code | fc60468814f90e5e8948da77d78a624c819bb9f9161afa05bba9ec66eb89adda | 0.75 | testing_debugging_repair_refactoring | 163 | false | 2026-07-17 |
using FluentAssertions;
using System;
using Xunit;
using System.Threading.Tasks;
namespace Lski.Fn.Tests
{
public class MaybeTests
{
[Fact]
public void MaybeSetValueTests()
{
var stringValue = Maybe.Create("aString");
var intValue = Maybe.Create(1);
v... | lski/Lski.Fn | src/Lski.Fn.Tests/MaybeTests.cs | https://github.com/lski/Lski.Fn/blob/HEAD/src/Lski.Fn.Tests/MaybeTests.cs | ghcode:00010:d8295148413f | mit | codeparrot/github-code | d8295148413ffa5cc8c0e6769e7161410129273be90ccb6f20eb1e7b6c993736 | 0.75 | testing_debugging_repair_refactoring | 362 | false | 2026-07-17 |
using Ed.PartyCards.Common.Logic;
using Ed.PartyCards.Common.Models;
using Ed.PartyCards.Common.Repositories;
using Ed.PartyCards.Mocks.Repositories;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Linq;
namespace Ed.PartyCards.Test
{
[TestClass]
public class PartyLogicTest
{
// T... | edgarssults/PartyCards | Ed.PartyCards.Test/PartyLogicTest.cs | https://github.com/edgarssults/PartyCards/blob/HEAD/Ed.PartyCards.Test/PartyLogicTest.cs | ghcode:00010:5b737ce58257 | mit | codeparrot/github-code | 5b737ce58257011c1257ae9990bfb6e385ea0eadc20791bad746e4febba7a85b | 0.7 | testing_debugging_repair_refactoring | 748 | false | 2026-07-17 |
using System;
using BTDB.Buffer;
using NUnit.Framework;
using BTDB.SnappyCompression;
namespace BTDBTest
{
[TestFixture]
public class SnappyTest
{
[Test]
public void Basic()
{
var s = new byte[] { 1, 2, 3, 1, 2, 3, 1, 2, 3 };
var t = new byte[10];
... | yonglehou/BTDB | BTDBTest/SnappyTest.cs | https://github.com/yonglehou/BTDB/blob/HEAD/BTDBTest/SnappyTest.cs | ghcode:00010:45ec2f378980 | mit | codeparrot/github-code | 45ec2f378980a1451acaa7d16a672b27522610430fe1ef5b14978eeb76e5a17c | 0.6 | testing_debugging_repair_refactoring | 695 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using nts.Models;
namespace nts.Tests.Controllers
{
[TestClass]
public class QuadrilateralTest
{
[TestMethod]
public void GetShapeType()
{
var square = new Models.Quadrilateral(new LineSegment[]
... | dot-dot/name-the-shape | name-the-shape.Tests/Controllers/QuadrilateralTest.cs | https://github.com/dot-dot/name-the-shape/blob/HEAD/name-the-shape.Tests/Controllers/QuadrilateralTest.cs | ghcode:00010:3c8dc52f7512 | mit | codeparrot/github-code | 3c8dc52f75122143995d963ca8d45d5c325a59d580799593f7b5b18bf7d82ea1 | 0.6 | testing_debugging_repair_refactoring | 288 | false | 2026-07-17 |
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
#nullable disable
namespace StyleCop.Analyzers.Test.Lightup
{
using System;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;... | DotNetAnalyzers/StyleCopAnalyzers | StyleCop.Analyzers/StyleCop.Analyzers.Test/Lightup/WhenClauseSyntaxWrapperTests.cs | https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/HEAD/StyleCop.Analyzers/StyleCop.Analyzers.Test/Lightup/WhenClauseSyntaxWrapperTests.cs | ghcode:00010:a02232a28d73 | mit | codeparrot/github-code | a02232a28d7391e3792cad63bc17d1a6bfc0b2e77337b6d6189d1705ba4809bb | 0.75 | testing_debugging_repair_refactoring | 352 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
using TcpConnectionsViewer.Models;
namespace Tests.Converters
{
[TestClass]
public class ... | webmooch/TcpConnectionsViewer | Tests/Models/VersionDataTests.cs | https://github.com/webmooch/TcpConnectionsViewer/blob/HEAD/Tests/Models/VersionDataTests.cs | ghcode:00010:61a93d81018f | mit | codeparrot/github-code | 61a93d81018fb8791c79e33c878580f74eb66b88adea6b1c2ecd6bd945ad8eb4 | 0.75 | testing_debugging_repair_refactoring | 317 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using StatTag.Core.Generator;
using StatTag.Core.Models;
namespace Core.Tests.Generator
{
[TestClass]
public class StataTests
{
[TestMethod]
public void CommentCharacter()
{
Assert.AreEqual(Constants.Code... | StatTag/StatTag | Core.Tests/Generator/StataTests.cs | https://github.com/StatTag/StatTag/blob/HEAD/Core.Tests/Generator/StataTests.cs | ghcode:00010:41d97efe1ebc | mit | codeparrot/github-code | 41d97efe1ebca462ac92e226adf7006daca81eef9cf0838e50eafe93e0ee9b0c | 0.75 | testing_debugging_repair_refactoring | 76 | false | 2026-07-17 |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
//一个场景只有一个进度条
public class UIProgressBar : UiSingleton<UIProgressBar>
{
void Awake()
{
CreateInstance(this);
}
// Use this for initialization
void Start ()
{
}
// Update is called once per frame
void Update ()
{
if (m_pAsse... | 724789975/FxLib | Client_Unity/Test/Assets/Scripts/UI/UIProgressBar.cs | https://github.com/724789975/FxLib/blob/HEAD/Client_Unity/Test/Assets/Scripts/UI/UIProgressBar.cs | ghcode:00010:660e735a55e7 | mit | codeparrot/github-code | 660e735a55e7c2d0e976e3bf801e6336f133a629aaa894ddb3106a3d529731ee | 0.95 | testing_debugging_repair_refactoring | 229 | false | 2026-07-17 |
using System;
using System.Threading;
using System.Threading.Tasks;
using Edward.Wilde.CSharp.Features.Utilities;
using log4net;
using NUnit.Framework;
namespace Edward.Wilde.CSharp.Features.Threading
{
public class InterlockExamples
{
private static readonly ILog Log = LogManager.GetLogger(typeof(Int... | ewilde/dotnet-playground | programming/csharp-language-features/Threading/InterlockExamples.cs | https://github.com/ewilde/dotnet-playground/blob/HEAD/programming/csharp-language-features/Threading/InterlockExamples.cs | ghcode:00011:95a3aa7a6cbc | unlicense | codeparrot/github-code | 95a3aa7a6cbc5b119d1713fd0703030963a05dc5e7e06a65968cc3a59c980a51 | 0.53 | testing_debugging_repair_refactoring | 355 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Immutable;
using System.Diagnostics;
using System.Linq;
using Microsoft.CodeAnalysis.CSharp.Symbols;
using Microsoft.CodeAnalysis.CS... | mono/roslyn | src/Compilers/CSharp/Portable/Lowering/LocalRewriter/LocalRewriter_StringConcat.cs | https://github.com/mono/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/Lowering/LocalRewriter/LocalRewriter_StringConcat.cs | ghcode:00011:3da1bc135e47 | apache-2.0 | codeparrot/github-code | 3da1bc135e47ec153941e337d2e62225e8a893558d67582cb077fb9255c53d74 | 0.85 | testing_debugging_repair_refactoring | 3,740 | false | 2026-07-17 |
// Copyright 2015, Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicabl... | stevemanderson/googleads-dotnet-lib | tests/Dfp/v201502/LineItemServiceTests.cs | https://github.com/stevemanderson/googleads-dotnet-lib/blob/HEAD/tests/Dfp/v201502/LineItemServiceTests.cs | ghcode:00011:8b9ec4c6000a | apache-2.0 | codeparrot/github-code | 8b9ec4c6000adc5d834028b1b01620f9b52659cb4a2fad26e1ba0da95796ed56 | 0.85 | testing_debugging_repair_refactoring | 2,615 | false | 2026-07-17 |
using Nest;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tests.Framework;
using Tests.Framework.MockData;
using static Tests.Framework.UrlTester;
using static Nest.Static;
namespace Tests.Document.Multiple.MultiGet
{
public class MultiGetUr... | jonyadamit/elasticsearch-net | src/Tests/Document/Multiple/MultiGet/MultiGetUrlTests.cs | https://github.com/jonyadamit/elasticsearch-net/blob/HEAD/src/Tests/Document/Multiple/MultiGet/MultiGetUrlTests.cs | ghcode:00011:8ecef92f40ac | apache-2.0 | codeparrot/github-code | 8ecef92f40ac0871addd51b1d97e94a64b5eb85cf114fcb70d1495fde871143e | 0.85 | testing_debugging_repair_refactoring | 317 | false | 2026-07-17 |
#region Copyright & License
// Copyright © 2012 - 2016 François Chabot, Yves Dierick
//
// 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/LICEN... | icraftsoftware/BizTalk.Factory | src/BizTalk.Dsl.Tests/Dsl/Binding/Adapter/SftpAdapterFixture.cs | https://github.com/icraftsoftware/BizTalk.Factory/blob/HEAD/src/BizTalk.Dsl.Tests/Dsl/Binding/Adapter/SftpAdapterFixture.cs | ghcode:00011:c5af6fa20126 | apache-2.0 | codeparrot/github-code | c5af6fa20126c57e12a8ec2a49d0d38bda57380c2155102e4484057adc276050 | 0.7 | testing_debugging_repair_refactoring | 328 | false | 2026-07-17 |
using System;
namespace Salient.ReliableHttpClient.Tests
{
public class TestRequestInfo
{
public string Url;
public DateTimeOffset Issued;
}
} | bitpusher/Salient.ReliableHttpClient | src/Salient.ReliableHttpClient.Tests/Mocks/TestRequestInfo.cs | https://github.com/bitpusher/Salient.ReliableHttpClient/blob/HEAD/src/Salient.ReliableHttpClient.Tests/Mocks/TestRequestInfo.cs | ghcode:00011:bd4e1fc73410 | apache-2.0 | codeparrot/github-code | bd4e1fc7341006b6dd1b9ddf41ae452f2c2999c7429e1fc57e1d45dae8f15b04 | 0.5 | testing_debugging_repair_refactoring | 35 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Razor.TagHelpers;
using Moq;
using Xunit;... | aspnet/AspNetCore | src/Mvc/Mvc.TagHelpers/test/EnvironmentTagHelperTest.cs | https://github.com/aspnet/AspNetCore/blob/HEAD/src/Mvc/Mvc.TagHelpers/test/EnvironmentTagHelperTest.cs | ghcode:00011:860388d536c6 | apache-2.0 | codeparrot/github-code | 860388d536c64b9b7817cf1c98a4d2020e95a5983b748aec67d87220988332c4 | 0.95 | testing_debugging_repair_refactoring | 1,855 | false | 2026-07-17 |
using Xunit;
using Structurizr.Encryption;
using System.Security.Cryptography;
using Structurizr.Api.Tests;
namespace Structurizr.Api.Encryption.Tests
{
public class AesEncryptionStrategyTests
{
private AesEncryptionStrategy strategy;
[Fact]
public void Test_Encrypt_EncryptsPlai... | structurizr/dotnet | Structurizr.Client.Tests/Encryption/AesEncryptionStrategyTests.cs | https://github.com/structurizr/dotnet/blob/HEAD/Structurizr.Client.Tests/Encryption/AesEncryptionStrategyTests.cs | ghcode:00011:00694d3c36d3 | apache-2.0 | codeparrot/github-code | 00694d3c36d37e8d1ea09fb2cf8cdbb26daf3f455eec47ee4e656b1788eaf25c | 0.85 | testing_debugging_repair_refactoring | 1,085 | false | 2026-07-17 |
using BepuPhysics.Constraints;
using BepuUtilities;
using BepuUtilities.Collections;
using BepuUtilities.Memory;
using System;
using System.Diagnostics;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Threading;
namespace BepuPhysics
{
/// <summary>
/// Handles the movement of constrain... | bepu/bepuphysics2 | BepuPhysics/BatchCompressor.cs | https://github.com/bepu/bepuphysics2/blob/HEAD/BepuPhysics/BatchCompressor.cs | ghcode:00011:8c3081f713a8 | apache-2.0 | codeparrot/github-code | 8c3081f713a8e5445c008d37afeb8fa09f0644b64f63514c1806ec7dc0c88780 | 0.7 | testing_debugging_repair_refactoring | 4,698 | false | 2026-07-17 |
/*
* Copyright 2012-2016 The Pkcs11Interop Project
*
* 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 app... | thearkhelist/Pkcs11Interop | src/Pkcs11Interop/Pkcs11InteropTests/LowLevelAPI80/_07_OperationStateTest.cs | https://github.com/thearkhelist/Pkcs11Interop/blob/HEAD/src/Pkcs11Interop/Pkcs11InteropTests/LowLevelAPI80/_07_OperationStateTest.cs | ghcode:00011:075f75a06d46 | apache-2.0 | codeparrot/github-code | 075f75a06d4636a799d6c4e3eed9da234e57ad88138b1b33af9c4e30fa76222e | 0.85 | testing_debugging_repair_refactoring | 789 | false | 2026-07-17 |
//-----------------------------------------------------------------------
// <copyright file="RedisEventsByPersistenceIdSpec.cs" company="Akka.NET Project">
// Copyright (C) 2017 Akka.NET Contrib <https://github.com/AkkaNetContrib/Akka.Persistence.Redis>
// </copyright>
//------------------------------------------... | AkkaNetContrib/Akka.Persistence.Redis | src/Akka.Persistence.Redis.Cluster.Tests/Query/RedisEventsByPersistenceIdSpec.cs | https://github.com/AkkaNetContrib/Akka.Persistence.Redis/blob/HEAD/src/Akka.Persistence.Redis.Cluster.Tests/Query/RedisEventsByPersistenceIdSpec.cs | ghcode:00011:d3462e2acb7c | apache-2.0 | codeparrot/github-code | d3462e2acb7c65cda1222deaff70d65f4d5a01256b47783bc71b18f11f94487c | 0.85 | testing_debugging_repair_refactoring | 339 | false | 2026-07-17 |
using NUnit.Framework;
namespace BlogEngine.Tests.Account
{
[TestFixture]
public class Login : BeTest
{
readonly string LoginFailedMsg = "Login failed";
[SetUp]
public void Init()
{
Logout();
}
[Test]
public void Invalid... | infanprodigy/blog-iz | BlogEngine.Tests/Account/Login.cs | https://github.com/infanprodigy/blog-iz/blob/HEAD/BlogEngine.Tests/Account/Login.cs | ghcode:00011:c23a83c4d579 | apache-2.0 | codeparrot/github-code | c23a83c4d5792f0c7a6b7ea3830ae19cd9ae65a11eadd311b74b51d6fb7959dc | 0.6 | testing_debugging_repair_refactoring | 123 | false | 2026-07-17 |
using System.Collections.Generic;
using NUnit.Framework;
using System.Collections.ObjectModel;
using System.Threading.Tasks;
using Zu.AsyncWebDriver;
using Zu.WebBrowser.BasicTypes;
namespace Zu.AsyncChromeDriver.Tests
{
[TestFixture]
public class GetLogsTest : DriverTestFixture
{
private IWebDrive... | ToCSharp/AsyncChromeDriver | AsyncChromeDriver.Tests/GetLogsTest.cs | https://github.com/ToCSharp/AsyncChromeDriver/blob/HEAD/AsyncChromeDriver.Tests/GetLogsTest.cs | ghcode:00011:a22d90ae167d | apache-2.0 | codeparrot/github-code | a22d90ae167d45435e14e934b6544bca9e7c128b91bc35339cc507592efda292 | 0.7 | testing_debugging_repair_refactoring | 797 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.IO;
using Rhino.Mocks;
using Sep.Git.Tfs.Commands;
using Sep.Git.Tfs.Core;
using Sep.Git.Tfs.Core.TfsInterop;
using Xunit;
namespace Sep.Git.Tfs.Test.Core
{
public class TfsWorkspaceTests
{
[Fact]
public void Nothing_to_checkin()
... | spraints/git-tfs | GitTfsTest/Core/TfsWorkspaceTests.cs | https://github.com/spraints/git-tfs/blob/HEAD/GitTfsTest/Core/TfsWorkspaceTests.cs | ghcode:00011:0f2bceb13d88 | apache-2.0 | codeparrot/github-code | 0f2bceb13d88d0f3d073fd69693c789f800c76c8c77fe0f5f0a84415853b7caf | 0.75 | testing_debugging_repair_refactoring | 2,180 | false | 2026-07-17 |
using Augment.Caching;
using AutoMoq;
using FluentValidation;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using ShortFuze.Core;
namespace ShortFuze.Tests.Core.Services
{
[TestClass]
public class BaseServiceTests<TModel, TRepo, TService>
where TModel : class
where TRepo :... | ellerbus/Dynamo | ShortFuze/ShortFuze.Tests/Core/Services/BaseServiceTests.cs | https://github.com/ellerbus/Dynamo/blob/HEAD/ShortFuze/ShortFuze.Tests/Core/Services/BaseServiceTests.cs | ghcode:00011:23f4d5e87b48 | apache-2.0 | codeparrot/github-code | 23f4d5e87b487a4727e024da0c9a7d5f11073f624e3aa80aee36117a79700dfe | 0.75 | testing_debugging_repair_refactoring | 342 | false | 2026-07-17 |
// Copyright 2020 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | googlestadia/vsi-lldb | YetiVSI.Tests/DebugEngine/SymbolSettingsProviderTests.cs | https://github.com/googlestadia/vsi-lldb/blob/HEAD/YetiVSI.Tests/DebugEngine/SymbolSettingsProviderTests.cs | ghcode:00011:9c1e1b136003 | apache-2.0 | codeparrot/github-code | 9c1e1b136003848df0e09074da81703c4d07fcd5576fe364a4fdd1acb8f0c469 | 0.85 | testing_debugging_repair_refactoring | 1,022 | false | 2026-07-17 |
/* Copyright 2010-2014 MongoDB Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writin... | antonnik/code-classifier | naive_bayes/resources/c#/WithIndexTests.cs | https://github.com/antonnik/code-classifier/blob/HEAD/naive_bayes/resources/c#/WithIndexTests.cs | ghcode:00011:1144799595d5 | apache-2.0 | codeparrot/github-code | 1144799595d510dae45ffab0c77744f2f48eac712b83dae50969825e2f8a5c50 | 0.85 | testing_debugging_repair_refactoring | 1,942 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using HealthNet.Owin;
using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Owin.Builder;
using Owin;
using Env = System.Collections.Generic.IDictionary<string, object>;
namespace HealthNet.Integ... | bronumski/HealthNet | src/Tests/HealthNet.Tests/Integrations/Runners/OwinFixturesRunner.cs | https://github.com/bronumski/HealthNet/blob/HEAD/src/Tests/HealthNet.Tests/Integrations/Runners/OwinFixturesRunner.cs | ghcode:00011:946ad7684cdc | apache-2.0 | codeparrot/github-code | 946ad7684cdc5c50fde6cfb891e74375f99650a98d706638a5373a881b18d0aa | 0.85 | testing_debugging_repair_refactoring | 259 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.CodeAnalysis.CodeFixes;
using Microsoft.CodeAnalysis.Diagnostics;
using Microsoft.CodeAnalysis.Test.Utilities;
using Microsoft.CodeAnalysis.Un... | mattwar/roslyn-analyzers | src/Desktop.Analyzers/UnitTests/UseXmlReaderForDataTableReadXmlTests.Fixer.cs | https://github.com/mattwar/roslyn-analyzers/blob/HEAD/src/Desktop.Analyzers/UnitTests/UseXmlReaderForDataTableReadXmlTests.Fixer.cs | ghcode:00011:3c3c6b40419a | apache-2.0 | codeparrot/github-code | 3c3c6b40419a8c4ee3657c5c85fbb544936e458aee9917dbf28720288ef6ff75 | 0.75 | testing_debugging_repair_refactoring | 215 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
namespace System... | erdomke/HttpClientPolyfill | HttpClientPolyfill/Headers/HttpContentHeaders.cs | https://github.com/erdomke/HttpClientPolyfill/blob/HEAD/HttpClientPolyfill/Headers/HttpContentHeaders.cs | ghcode:00011:91bc6e934fce | bsd-3-clause | codeparrot/github-code | 91bc6e934fceddf597de77f95e7322871133326616275cbc7e4a610bf17a09e1 | 0.7 | testing_debugging_repair_refactoring | 1,533 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Diagnostics;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Azure.Messaging.EventHubs.Consumer;
using Azure.Messaging.EventHubs.Processor;
using Azure.Storage.Blob... | Azure/azure-sdk-for-net | sdk/eventhub/Azure.Messaging.EventHubs.Processor/tests/Snippets/Sample03_EventProcessorHandlersLiveTests.cs | https://github.com/Azure/azure-sdk-for-net/blob/HEAD/sdk/eventhub/Azure.Messaging.EventHubs.Processor/tests/Snippets/Sample03_EventProcessorHandlersLiveTests.cs | ghcode:00011:78066851b425 | mit | codeparrot/github-code | 78066851b42590a4432fa062c6c17d4cec803931bf58f3d64efc40ae15f48efa | 0.95 | testing_debugging_repair_refactoring | 3,834 | false | 2026-07-17 |
using NUnit.Framework;
using RazorMailMessage.TemplateCache;
using RazorMailMessage.Tests.Utils;
namespace RazorMailMessage.Tests
{
public class InMemoryTemplateCacheTests : BaseTestFixture
{
[Test]
public void CanCacheTemplate()
{
var cache = new InMemoryTemplateCache();
... | robinvanderknaap/RazorMailMessage | src/RazorMailMessage.Tests/InMemoryTemplateCacheTests.cs | https://github.com/robinvanderknaap/RazorMailMessage/blob/HEAD/src/RazorMailMessage.Tests/InMemoryTemplateCacheTests.cs | ghcode:00011:a0811c917d55 | mit | codeparrot/github-code | a0811c917d55902e6ddc4c12162bcdf332e01c5727eac02a539c2d57ba1e8137 | 0.75 | testing_debugging_repair_refactoring | 111 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.CSharp.Formatting;
usi... | abock/roslyn | src/Workspaces/CSharpTest/Formatting/FormattingTests.cs | https://github.com/abock/roslyn/blob/HEAD/src/Workspaces/CSharpTest/Formatting/FormattingTests.cs | ghcode:00011:febfb787072c | mit | codeparrot/github-code | febfb787072c7cf9de610ad6ec0d413ac3471f8477828e8e42cef2d9adf3196d | 0.65 | testing_debugging_repair_refactoring | 51,942 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Tynamix.ObjectFiller;
// ReSharper disable RedundantCast
namespace ObjectFiller.Test
{
[TestClass]
public class SequenceGeneratorTest
{
[TestMethod]
public void SequenceGeneratorSByte__Should_work()
{
var generator = new SequenceGener... | HerrLoesch/ObjectFiller.NET | ObjectFiller.Test/SequenceGeneratorTest.cs | https://github.com/HerrLoesch/ObjectFiller.NET/blob/HEAD/ObjectFiller.Test/SequenceGeneratorTest.cs | ghcode:00011:945e43bf8507 | mit | codeparrot/github-code | 945e43bf85073aaaa0395ee26888c9630ce65948a33e4bd2215ae56576d879c8 | 0.6 | testing_debugging_repair_refactoring | 3,423 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using Microsoft.WindowsAzure.Storage;
using Microsoft.WindowsAzure.Storage.Table;
namespace AzureDistributedServiceTests
{
/// <summary>
/// Records test results
/// TODO: only try to create tables once per instantiation of the inst... | brentrossen/AzureDistributedService | AzureDistributedServiceTests/TestRecorder.cs | https://github.com/brentrossen/AzureDistributedService/blob/HEAD/AzureDistributedServiceTests/TestRecorder.cs | ghcode:00011:890dee724e07 | mit | codeparrot/github-code | 890dee724e075ac233e25bdbf73b6d329d72b694038c129244a4bd0f43efb5a4 | 0.85 | testing_debugging_repair_refactoring | 483 | false | 2026-07-17 |
using System.Linq;
using Cradiator.Config;
using NUnit.Framework;
using Rhino.Mocks;
namespace Cradiator.Tests.Config
{
[TestFixture]
public class UsernameMappingReader_Tests
{
UserNameMappingReader _reader;
IConfigLocation _configLocation;
[SetUp]
public void SetUp()
{
_configLocation = MockRepositor... | manuviswam/Cradiator-Go_CD | src/Cradiator.Tests/Config/UsernameMappingReader_Tests.cs | https://github.com/manuviswam/Cradiator-Go_CD/blob/HEAD/src/Cradiator.Tests/Config/UsernameMappingReader_Tests.cs | ghcode:00011:cdbc00ad7601 | mit | codeparrot/github-code | cdbc00ad7601aa31aff13584c5d25b6537d5cc715aab397204289ea0a352af70 | 0.75 | testing_debugging_repair_refactoring | 206 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Common;
using System.Collections;
using LinqToDB.SqlQuery;
using LinqToDB.Data;
using LinqToDB.DataProvider;
using LinqToDB.Extensions;
using LinqToDB.Mapping;
using LinqToDB.SchemaProvider;
using LinqToDB.SqlProvider;
namespace Tes... | ronnyek/linq2db | Tests/Linq/TestProviders/TestNoopProvider.cs | https://github.com/ronnyek/linq2db/blob/HEAD/Tests/Linq/TestProviders/TestNoopProvider.cs | ghcode:00011:97d0175788c0 | mit | codeparrot/github-code | 97d0175788c000247f9cf6243149c9f7588ff9f8e1de4ec47de21c618b45cf3e | 0.75 | testing_debugging_repair_refactoring | 3,587 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
using System.Global... | abock/roslyn | src/Compilers/CSharp/Portable/Symbols/Source/SourceOrdinaryMethodSymbol.cs | https://github.com/abock/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/Symbols/Source/SourceOrdinaryMethodSymbol.cs | ghcode:00011:b3459d6205f6 | mit | codeparrot/github-code | b3459d6205f60bf904c43ac42ebd8500ccdb0abe87ebb97a68b0a67ac2d56ae5 | 0.85 | testing_debugging_repair_refactoring | 10,001 | false | 2026-07-17 |
namespace BankAccounts
{
using System;
// Problem 2. Bank accounts
// A bank holds different types of accounts for its customers: deposit accounts, loan accounts and mortgage accounts.
// Customers could be individuals or companies.
// All accounts have customer, balance and interest rate (mont... | tddold/Telerik-Academy-Homeworks | OOP/OOPPrinciplesPartTwoHomework/BankAccounts/Test.cs | https://github.com/tddold/Telerik-Academy-Homeworks/blob/HEAD/OOP/OOPPrinciplesPartTwoHomework/BankAccounts/Test.cs | ghcode:00011:4db1f78fb7c9 | mit | codeparrot/github-code | 4db1f78fb7c931539e942aadd22ed8cf68db722fa1d05968c1d06f222cd145f6 | 0.85 | testing_debugging_repair_refactoring | 698 | false | 2026-07-17 |
using System;
using System.Net;
using System.Linq;
using System.Text;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Renci.SshNet.Common;
using Renci.SshNet.Tests.Common;
namespace Renci.SshNet.Tests.Classes
{
public partial class SessionTest
{
[TestMethod]
public void ... | GenericHero/SSH.NET | src/Renci.SshNet.Tests/Classes/SessionTest.HttpProxy.cs | https://github.com/GenericHero/SSH.NET/blob/HEAD/src/Renci.SshNet.Tests/Classes/SessionTest.HttpProxy.cs | ghcode:00011:37a1b7550893 | mit | codeparrot/github-code | 37a1b75508931b955feebfd33eeb6a2e64a7db493640e79a831a5037b4787593 | 0.6 | testing_debugging_repair_refactoring | 1,897 | false | 2026-07-17 |
//
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license.
//
// Microsoft Bot Framework: http://botframework.com
//
// Bot Builder SDK Github:
// https://github.com/Microsoft/BotBuilder
//
// Copyright (c) Microsoft Corporation
// All rights reserved.
//
// MIT License:
/... | digibaraka/BotBuilder | CSharp/Tests/Microsoft.Bot.Builder.Tests/ChainTests.cs | https://github.com/digibaraka/BotBuilder/blob/HEAD/CSharp/Tests/Microsoft.Bot.Builder.Tests/ChainTests.cs | ghcode:00011:1612c41d7884 | mit | codeparrot/github-code | 1612c41d7884d65a80a229f23f36fc81efe418b1c152ffd8a216e8072ef22d8a | 0.95 | testing_debugging_repair_refactoring | 2,795 | false | 2026-07-17 |
// Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Collections.Generic;
using System.IO;
using FluentAssertions;
using Microsoft.DotNet.Cli.CommandLine;
using Microsoft.DotNet.Cli.Uti... | livarcocc/cli-1 | test/dotnet.Tests/CommandTests/ToolListLocalCommandTests.cs | https://github.com/livarcocc/cli-1/blob/HEAD/test/dotnet.Tests/CommandTests/ToolListLocalCommandTests.cs | ghcode:00011:e0513d7cbd9b | mit | codeparrot/github-code | e0513d7cbd9bf924cec7f106e45adcc31408bf07f8f650fcef89c5d67a98005c | 0.75 | testing_debugging_repair_refactoring | 769 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Test.Utilities;
using Roslyn.Test.Utilities;
using Xunit;
namespace Microsoft.CodeA... | paulvanbrenk/roslyn | src/Compilers/CSharp/Test/Semantic/IOperation/IOperationTests_IDynamicInvocationExpression.cs | https://github.com/paulvanbrenk/roslyn/blob/HEAD/src/Compilers/CSharp/Test/Semantic/IOperation/IOperationTests_IDynamicInvocationExpression.cs | ghcode:00011:9f7a04775a7a | apache-2.0 | codeparrot/github-code | 9f7a04775a7a88cfa05894d0a20e934a453d072a3dfac076495b1192e5c8318a | 0.95 | testing_debugging_repair_refactoring | 11,793 | false | 2026-07-17 |
/*
Copyright 2012 Michael Edwards
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 ag... | RvanDalen/Glass.Mapper | Tests/Unit Tests/Glass.Mapper.Sc.FakeDb/DataMappers/SitecoreIgnoreMapperFixture.cs | https://github.com/RvanDalen/Glass.Mapper/blob/HEAD/Tests/Unit Tests/Glass.Mapper.Sc.FakeDb/DataMappers/SitecoreIgnoreMapperFixture.cs | ghcode:00011:580f46d934a0 | apache-2.0 | codeparrot/github-code | 580f46d934a0e94bcbc4610b02dd38e74ce257cc54b167c6958f055a648bd9f1 | 0.7 | testing_debugging_repair_refactoring | 1,228 | false | 2026-07-17 |
/*
Copyright 2016 TUGraz, http://www.tugraz.at/
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
This project has received funding from the European Union’s Horizon
2020 research and innovation programme under grant agreement ... | RAGE-TUGraz/PlayerProfilingAsset | UnitTestPlayerProfiler/TestCasePP.cs | https://github.com/RAGE-TUGraz/PlayerProfilingAsset/blob/HEAD/UnitTestPlayerProfiler/TestCasePP.cs | ghcode:00011:2d3a433023e3 | apache-2.0 | codeparrot/github-code | 2d3a433023e399fb0ab6dcef9850a38228f7bac39005246f27c5593105bf1eb3 | 0.85 | testing_debugging_repair_refactoring | 2,664 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Diagnostics;
namespace g3
{
/// <summary>
/// Arbitrary-Topology 3D Graph. This is similar to DMesh3 but without faces.
/// Each vertex can be connected to an arbitrary number of edges.
/// Each... | larsbrubaker/agg-sharp | geometry3Sharp/curve/DGraph3.cs | https://github.com/larsbrubaker/agg-sharp/blob/HEAD/geometry3Sharp/curve/DGraph3.cs | ghcode:00011:723e36b28b1e | bsd-2-clause | codeparrot/github-code | 723e36b28b1e26b247d0ac78c97af927d2058e24f1c8d381f8bd0990cc31e857 | 0.63 | testing_debugging_repair_refactoring | 2,157 | false | 2026-07-17 |
using Xunit.Abstractions;
using Xunit.Sdk;
namespace Xunit.ScenarioReporting
{
class ScenarioFactAttributeDiscoverer : FactDiscoverer {
private readonly IMessageSink _diagnosticMessageSink;
public ScenarioFactAttributeDiscoverer(IMessageSink diagnosticMessageSink) : base(diagnosticMessageSink)
... | critr/Xunit.ScenarioReporting | Xunit.ScenarioReporting/ScenarioFactAttributeDiscoverer.cs | https://github.com/critr/Xunit.ScenarioReporting/blob/HEAD/Xunit.ScenarioReporting/ScenarioFactAttributeDiscoverer.cs | ghcode:00011:914e9627f07d | mit | codeparrot/github-code | 914e9627f07dd1e487ddfcf9fb11fb3b3aaf35d0637524a386c40c7ccda0741b | 0.6 | testing_debugging_repair_refactoring | 132 | false | 2026-07-17 |
namespace Sequin.Integration.Features
{
using System;
using System.Reflection;
using CommandBus;
using Discovery;
using Extensions;
using Fakes;
using FluentAssertions;
using Infrastructure;
using Pipeline;
using Xbehave;
public class CommandPipelineFeature : FeatureBase
... | jasonmitchell/sequin | src/Sequin.Integration/Features/CommandPipelineFeature.cs | https://github.com/jasonmitchell/sequin/blob/HEAD/src/Sequin.Integration/Features/CommandPipelineFeature.cs | ghcode:00011:6e99ce49068b | mit | codeparrot/github-code | 6e99ce49068b86088df0b3b0bfe702f933861ac80c663669ad5197eaef551619 | 0.6 | testing_debugging_repair_refactoring | 1,146 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Diagnostics;
namespace System.Globalization
{
public partial class TextInfo
{
////////... | sandreenko/corert | src/System.Private.CoreLib/src/System/Globalization/TextInfo.Windows.cs | https://github.com/sandreenko/corert/blob/HEAD/src/System.Private.CoreLib/src/System/Globalization/TextInfo.Windows.cs | ghcode:00011:ccd085a87f46 | mit | codeparrot/github-code | ccd085a87f469e8bd11c885e7ee1333b7d5c4d9960f71ce2fe85625b83f5d24e | 0.8 | testing_debugging_repair_refactoring | 818 | false | 2026-07-17 |
using System;
using System.Diagnostics;
using System.Text;
using i16 = System.Int16;
using u8 = System.Byte;
using u16 = System.UInt16;
namespace Community.CsharpSqlite
{
using sqlite3_value = Sqlite3.Mem;
public partial class Sqlite3
{
/*
** 2005 May 23
**
** The author disclaims copyright to ... | RH-Code/GAPP | GAPPSF/Community.CsharpSqlite/callback_c.cs | https://github.com/RH-Code/GAPP/blob/HEAD/GAPPSF/Community.CsharpSqlite/callback_c.cs | ghcode:00011:321a57925a33 | mit | codeparrot/github-code | 321a57925a33bef1738a4d68336c6c5c7f0a5772856219f57ba43015e1efa073 | 0.7 | testing_debugging_repair_refactoring | 5,183 | false | 2026-07-17 |
// Copyright 2005-2010 Gallio Project - http://www.gallio.org/
// Portions Copyright 2000-2004 Jonathan de Halleux
//
// 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:... | xJom/mbunit-v3 | src/MbUnit/MbUnit.Tests/Framework/StructuralEqualityComparerTest.cs | https://github.com/xJom/mbunit-v3/blob/HEAD/src/MbUnit/MbUnit.Tests/Framework/StructuralEqualityComparerTest.cs | ghcode:00011:ffb51dbe9a11 | apache-2.0 | codeparrot/github-code | ffb51dbe9a116a71f8a061fcb9cee499fb0d98c3772726045cf905f8b88d2ef9 | 0.85 | testing_debugging_repair_refactoring | 3,622 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.IO;
using System.Diagnostics;
using System.Data.Common;
using Res = System.SR;
namespace System.Dat... | janhenke/corefx | src/System.Data.SqlClient/src/System/Data/SqlTypes/SQLChars.cs | https://github.com/janhenke/corefx/blob/HEAD/src/System.Data.SqlClient/src/System/Data/SqlTypes/SQLChars.cs | ghcode:00011:b48297c2b85c | mit | codeparrot/github-code | b48297c2b85cb700bb01fcc9500de80fdad929d59e8d164ab86dbec19fa56a56 | 0.95 | testing_debugging_repair_refactoring | 4,442 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
using System.Linq;
... | CyrusNajmabadi/roslyn | src/Features/Core/Portable/CodeRefactorings/AddMissingImports/AbstractAddMissingImportsFeatureService.cs | https://github.com/CyrusNajmabadi/roslyn/blob/HEAD/src/Features/Core/Portable/CodeRefactorings/AddMissingImports/AbstractAddMissingImportsFeatureService.cs | ghcode:00011:ac845b3d6028 | mit | codeparrot/github-code | ac845b3d6028ce4bae24afea7d7af50a08a7a670add7e231c40bb4a37e0759cf | 0.85 | testing_debugging_repair_refactoring | 2,479 | false | 2026-07-17 |
//------------------------------------------------------------------------------
// <copyright file="SecureStringHasher.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
// <owner current="true" primary="true">[....]</owner>
//------------------------------------... | esdrubal/referencesource | System.Xml/System/Xml/Core/SecureStringHasher.cs | https://github.com/esdrubal/referencesource/blob/HEAD/System.Xml/System/Xml/Core/SecureStringHasher.cs | ghcode:00011:379ca3cd36aa | mit | codeparrot/github-code | 379ca3cd36aa3128945f46c83a883f4d7ebb828d1b253b58c7e75016c03196bd | 0.7 | testing_debugging_repair_refactoring | 715 | false | 2026-07-17 |
using System;
namespace Lucene.Net.Util
{
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache ... | mdissel/lucene.net | src/Lucene.Net.TestFramework/Util/TestRuleFieldCacheSanity.cs | https://github.com/mdissel/lucene.net/blob/HEAD/src/Lucene.Net.TestFramework/Util/TestRuleFieldCacheSanity.cs | ghcode:00011:4677ac6ce7a7 | apache-2.0 | codeparrot/github-code | 4677ac6ce7a7517efadd8fea6ad82839f9ce2986bbaf3f949d13841b1ea20714 | 0.85 | testing_debugging_repair_refactoring | 646 | false | 2026-07-17 |
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Copyright (c) Microsoft Corporation. All rights reserved.
/////////////////////////////////////////////////////////... | smaillet-ms/llilum | Zelig/Zelig/Test/RunTime/NETMF/mscorlib/structs/StructsTests.cs | https://github.com/smaillet-ms/llilum/blob/HEAD/Zelig/Zelig/Test/RunTime/NETMF/mscorlib/structs/StructsTests.cs | ghcode:00011:68df02539794 | mit | codeparrot/github-code | 68df02539794e68bcf909115d36446bffa385c4a07b77fababe59f469d35522a | 0.95 | testing_debugging_repair_refactoring | 7,347 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using System.Reflection;
using Xunit;
namespace System.Linq.Expressions.Tests
{
... | ellismg/corefx | src/System.Linq.Expressions/tests/Lambda/LambdaTests.cs | https://github.com/ellismg/corefx/blob/HEAD/src/System.Linq.Expressions/tests/Lambda/LambdaTests.cs | ghcode:00011:0f010bafa181 | mit | codeparrot/github-code | 0f010bafa181de6687a55382249d74e0338e90108b3f36c1f346d1c4cc2e19a5 | 0.95 | testing_debugging_repair_refactoring | 4,708 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.CodeFixes;
using Microsoft.CodeA... | amcasey/roslyn | src/EditorFeatures/CSharpTest/Diagnostics/SimplifyTypeNames/SimplifyTypeNamesTests.cs | https://github.com/amcasey/roslyn/blob/HEAD/src/EditorFeatures/CSharpTest/Diagnostics/SimplifyTypeNames/SimplifyTypeNamesTests.cs | ghcode:00011:2f242560beaa | apache-2.0 | codeparrot/github-code | 2f242560beaa0e78cbb5bbe1edd69238134267cfc114684e8380e0bfd66233c3 | 0.72 | testing_debugging_repair_refactoring | 22,970 | false | 2026-07-17 |
#region License
/*
* Copyright © 2002-2011 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0... | yonglehou/spring-net | test/Spring/Spring.Web.Tests/Globalization/Resolvers/DefaultWebCultureResolverTests.cs | https://github.com/yonglehou/spring-net/blob/HEAD/test/Spring/Spring.Web.Tests/Globalization/Resolvers/DefaultWebCultureResolverTests.cs | ghcode:00011:76fba4e6dc68 | apache-2.0 | codeparrot/github-code | 76fba4e6dc6885e96ae41251cdd2a5e5f6284093c478f6a1d8b882504a229323 | 0.85 | testing_debugging_repair_refactoring | 737 | false | 2026-07-17 |
// ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apa... | AzureAutomationTeam/azure-powershell | src/ResourceManager/Compute/Commands.Compute.Test/ScenarioTests/AEMExtensionTests.cs | https://github.com/AzureAutomationTeam/azure-powershell/blob/HEAD/src/ResourceManager/Compute/Commands.Compute.Test/ScenarioTests/AEMExtensionTests.cs | ghcode:00011:a0909d6ea76d | apache-2.0 | codeparrot/github-code | a0909d6ea76dee9062d053b4fe6250a0fb9576e1711ead5b9fc12048be237003 | 0.85 | testing_debugging_repair_refactoring | 1,170 | false | 2026-07-17 |
// 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.
#nullable disable
using System.Linq;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.CodeFixes;
using M... | AlekseyTs/roslyn | src/Analyzers/CSharp/Tests/SimplifyInterpolation/SimplifyInterpolationTests.cs | https://github.com/AlekseyTs/roslyn/blob/HEAD/src/Analyzers/CSharp/Tests/SimplifyInterpolation/SimplifyInterpolationTests.cs | ghcode:00011:41419f3d8d99 | mit | codeparrot/github-code | 41419f3d8d99975e12f26c8eaf3f55cfa892e487328ee4ef998f207ffeda91b3 | 0.95 | testing_debugging_repair_refactoring | 6,707 | false | 2026-07-17 |
using System.Net;
using System.Net.Http;
using WebStack.QA.Test.OData.Common.Controllers;
using WebStack.QA.Test.OData.Formatter.JsonLight.Metadata.Extensions;
using WebStack.QA.Test.OData.Formatter.JsonLight.Metadata.Model;
namespace WebStack.QA.Test.OData.Formatter.JsonLight.Metadata.Controllers
{
public class ... | lewischeng-ms/WebApi | OData/test/E2ETest/WebStack.QA.Test.OData/Formatter/JsonLight/Metadata/Controllers/EntityWithSimplePropertiesController.cs | https://github.com/lewischeng-ms/WebApi/blob/HEAD/OData/test/E2ETest/WebStack.QA.Test.OData/Formatter/JsonLight/Metadata/Controllers/EntityWithSimplePropertiesController.cs | ghcode:00011:6418e5dd1a09 | mit | codeparrot/github-code | 6418e5dd1a09c4cc1fa884b8481c6974b748b6566a7088bbbbe744a8cbe5b974 | 0.85 | testing_debugging_repair_refactoring | 223 | false | 2026-07-17 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.