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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | NSAmelchev/ignite | modules/platforms/dotnet/Apache.Ignite.Core.Tests/Client/Cluster/ClientClusterTests.cs | https://github.com/NSAmelchev/ignite/blob/HEAD/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Client/Cluster/ClientClusterTests.cs | ghcode:00010:8ca9d7afff3e | apache-2.0 | codeparrot/github-code | 8ca9d7afff3e7eb885f8221f24ac7191f9ec21505fd5c3e0f19b0e6bb60bf92b | 0.85 | testing_debugging_repair_refactoring | 1,403 | 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... | antonba/azure-sdk-tools | WindowsAzurePowershell/src/Management.Test.Utilities/Common/MockCommandRuntime.cs | https://github.com/antonba/azure-sdk-tools/blob/HEAD/WindowsAzurePowershell/src/Management.Test.Utilities/Common/MockCommandRuntime.cs | ghcode:00010:1db5277528b5 | apache-2.0 | codeparrot/github-code | 1db5277528b530d526a6075fecd8602aeeb687ba0f2775aa520e9e01f4c70bf7 | 0.95 | testing_debugging_repair_refactoring | 805 | false | 2026-07-17 |
#region MIT license
//
// MIT license
//
// Copyright (c) 2007-2008 Jiri Moudry, Pascal Craponne
//
// 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, includin... | vinodvar/dblinq | src/DbLinq/Test/Providers/VerticalPartitioningTest.cs | https://github.com/vinodvar/dblinq/blob/HEAD/src/DbLinq/Test/Providers/VerticalPartitioningTest.cs | ghcode:00010:e4b1ca1ffc29 | mit | codeparrot/github-code | e4b1ca1ffc29bd1fc0c444608b9c9c41bfbdc4bb2fbd72c75b9742137abebb86 | 0.95 | testing_debugging_repair_refactoring | 470 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Moq;
using NuGet.Common;
using NuGet.ServerExtensions;
using NuGet.Test.Mocks;
using Xunit;
namespace NuGet.Test.ServerExtensions
{
public class MirrorCommandTest
{
[Fact]
public void Mirro... | mrward/nuget | test/CommandLine.Test/MirrorCommandTest.cs | https://github.com/mrward/nuget/blob/HEAD/test/CommandLine.Test/MirrorCommandTest.cs | ghcode:00010:3ebe78c45c0e | apache-2.0 | codeparrot/github-code | 3ebe78c45c0e3f0ed4d70d75bca830f1a470c52e470c7325c2a2dc4f5422f8eb | 0.7 | testing_debugging_repair_refactoring | 5,782 | 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.
//-----------------------------------------------------------------------
// </copyright>
// <summary>Tests for the ElementLocation class</summary>
//------------------... | MetSystem/msbuild | src/XMakeBuildEngine/UnitTests/Construction/XmlReaderWithoutLocation_Tests.cs | https://github.com/MetSystem/msbuild/blob/HEAD/src/XMakeBuildEngine/UnitTests/Construction/XmlReaderWithoutLocation_Tests.cs | ghcode:00010:2fd200f74763 | mit | codeparrot/github-code | 2fd200f74763cf0a560e62b16b07e2774d4cd490336856ebac776e6a6ec1bb83 | 0.85 | testing_debugging_repair_refactoring | 875 | 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.Generic;
using System.Linq;
using System.Threading;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Editor.C... | zmaruo/roslyn | src/EditorFeatures/CSharpTest/Outlining/SimpleLambdaExpressionOutlinerTests.cs | https://github.com/zmaruo/roslyn/blob/HEAD/src/EditorFeatures/CSharpTest/Outlining/SimpleLambdaExpressionOutlinerTests.cs | ghcode:00010:6f2588dff57f | apache-2.0 | codeparrot/github-code | 6f2588dff57fe8c03886bb03ea24fdbadfdfdaf2e23dcb74889a63d2d200f4c9 | 0.75 | testing_debugging_repair_refactoring | 835 | 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.
#region Assembly Microsoft.VisualStudio.Debugger.Engine, Version=1.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
// References\Debugger\v2.0\Microsof... | MatthieuMEZIL/roslyn | src/ExpressionEvaluator/Core/Test/ResultProvider/Debugger/Engine/DkmClrValueFlags.cs | https://github.com/MatthieuMEZIL/roslyn/blob/HEAD/src/ExpressionEvaluator/Core/Test/ResultProvider/Debugger/Engine/DkmClrValueFlags.cs | ghcode:00010:f32cc0a2e71e | apache-2.0 | codeparrot/github-code | f32cc0a2e71e7331cc77135139efa0043521cc1a601b11132ca4c2e632deec58 | 0.85 | testing_debugging_repair_refactoring | 155 | 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.Linq;
using Microsoft.CodeAnalysis.CSharp.Symbols;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Text;
... | VSadov/roslyn | src/Compilers/CSharp/Test/Syntax/Parsing/VerbatimCrefParsingTests.cs | https://github.com/VSadov/roslyn/blob/HEAD/src/Compilers/CSharp/Test/Syntax/Parsing/VerbatimCrefParsingTests.cs | ghcode:00010:1034f83378b7 | apache-2.0 | codeparrot/github-code | 1034f83378b7228d083f25b45d2db317632991255eb7ec9de24a2a8665432d31 | 0.85 | testing_debugging_repair_refactoring | 659 | 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.
//
namespace LGen {
using System.Threading;
using System;
using System.IO;
public class LeakGenThrd
{
internal int myObj;
internal ... | xoofx/coreclr | tests/src/GC/Stress/Tests/LeakGenThrd.cs | https://github.com/xoofx/coreclr/blob/HEAD/tests/src/GC/Stress/Tests/LeakGenThrd.cs | ghcode:00010:8e054e2a284d | mit | codeparrot/github-code | 8e054e2a284d62a7a25c7c897d92b60327c2cc328ac2c3e7a1f5bd807ea9795a | 0.95 | testing_debugging_repair_refactoring | 678 | 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 System;
using System.Text;
using Xunit;
namespace System.Text.EncodingTests
{
// GetByteCount(System.String)
public class UTF8EncodingGetByteCount2
{... | fffej/corefx | src/System.Text.Encoding/tests/UTF8Encoding/UTF8EncodingGetByteCount2.cs | https://github.com/fffej/corefx/blob/HEAD/src/System.Text.Encoding/tests/UTF8Encoding/UTF8EncodingGetByteCount2.cs | ghcode:00010:34426c89e548 | mit | codeparrot/github-code | 34426c89e548fdb43c534861bc561207800d358727c2b67888d07e6c4daaa483 | 0.95 | testing_debugging_repair_refactoring | 312 | 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;
using System.Reflection.Metadata.Ecma335;
namespace System.Reflection.Metadata
{
/// ... | BrennanConroy/corefx | src/System.Reflection.Metadata/src/System/Reflection/Metadata/Handle.cs | https://github.com/BrennanConroy/corefx/blob/HEAD/src/System.Reflection.Metadata/src/System/Reflection/Metadata/Handle.cs | ghcode:00010:0e71ec7e4b8a | mit | codeparrot/github-code | 0e71ec7e4b8a826aef41e6bcd012267a03ad15889781f51656b5b3d228325069 | 0.95 | testing_debugging_repair_refactoring | 1,336 | false | 2026-07-17 |
using NinjaNye.SearchExtensions.Soundex.Helpers;
using Xunit;
namespace NinjaNye.SearchExtensions.Tests.Helpers
{
public class StringExtensionTests_GetLastCharacter
{
[Fact]
public void GetLastCharacter_EmptyString_ReturnsNull()
{
//Arrange
//Act
... | ninjanye/SearchExtensions | NinjaNye.SearchExtensions.Tests/Helpers/StringExtensionTests_GetLastCharacter.cs | https://github.com/ninjanye/SearchExtensions/blob/HEAD/NinjaNye.SearchExtensions.Tests/Helpers/StringExtensionTests_GetLastCharacter.cs | ghcode:00010:eb7646a04e67 | mit | codeparrot/github-code | eb7646a04e67b99abcc3f5132ffbc37862928455a05117de98608d968147523c | 0.85 | testing_debugging_repair_refactoring | 323 | false | 2026-07-17 |
/*
** SGI FREE SOFTWARE LICENSE B (Version 2.0, Sept. 18, 2008)
** Copyright (C) 2011 Silicon Graphics, Inc.
** All Rights Reserved.
**
** 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 wit... | Unity-Technologies/ScriptableRenderLoop | com.unity.render-pipelines.lightweight/Runtime/External/LibTessDotNet/Sweep.cs | https://github.com/Unity-Technologies/ScriptableRenderLoop/blob/HEAD/com.unity.render-pipelines.lightweight/Runtime/External/LibTessDotNet/Sweep.cs | ghcode:00010:ec6650785d26 | mit | codeparrot/github-code | ec6650785d26fb4aefe27db66bde50c92b9f8d661af97394de3dcf1337ad7a8f | 0.7 | testing_debugging_repair_refactoring | 11,545 | false | 2026-07-17 |
// -----------------------------------------------------------------------
// <copyright file="ImageTests.cs" company="Steven Kirk">
// Copyright 2014 MIT Licence. See licence.md for more information.
// </copyright>
// -----------------------------------------------------------------------
namespace Perspex.Direct2D... | sagamors/Perspex | Tests/Perspex.RenderTests/Controls/ImageTests.cs | https://github.com/sagamors/Perspex/blob/HEAD/Tests/Perspex.RenderTests/Controls/ImageTests.cs | ghcode:00010:67c6894cc1ac | mit | codeparrot/github-code | 67c6894cc1ac46913c97c9d849ab44c7e534e65d527a8f1b0d12395882bd43b9 | 0.85 | testing_debugging_repair_refactoring | 569 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Crevice4Tests
{
using Crevice.Config;
[TestClass()]
public class CLIOptionTests
{
[TestMethod()]
public voi... | rubyu/CreviceApp | CreviceAppTests/CLIOptionTests.cs | https://github.com/rubyu/CreviceApp/blob/HEAD/CreviceAppTests/CLIOptionTests.cs | ghcode:00010:bd5b700881f3 | mit | codeparrot/github-code | bd5b700881f3b453634fd484ff2446f2df69a8e5140c8fe262fdfec267811081 | 0.75 | testing_debugging_repair_refactoring | 1,793 | false | 2026-07-17 |
using System;
using System.Diagnostics.CodeAnalysis;
using System.Threading.Tasks;
using FluentAssertions;
using Moq;
using Xunit;
namespace OnionSeed.Data
{
[SuppressMessage("AsyncUsage.CSharp.Naming", "UseAsyncSuffix:Use Async suffix", Justification = "Test methods don't need to end in 'Async'.")]
public class As... | TaffarelJr/OnionSeed | test/OnionSeedTests/Data/AsyncUnitOfWorkAdapterTests.cs | https://github.com/TaffarelJr/OnionSeed/blob/HEAD/test/OnionSeedTests/Data/AsyncUnitOfWorkAdapterTests.cs | ghcode:00010:02da01f98061 | mit | codeparrot/github-code | 02da01f980613f38ef54ae43768dfb1de1a611a98d16f8654cf167a4fc5bc304 | 0.85 | testing_debugging_repair_refactoring | 230 | false | 2026-07-17 |
/*
* Copyright (c) .NET Foundation and Contributors
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
*
* https://github.com/piranhacms/piranha.core
*
*/
using System;
using System.Collections.Generic;
using System.Linq;
using Xunit;
usin... | PiranhaCMS/piranha.core | test/Piranha.Manager.Tests/ManagerScriptingTests.cs | https://github.com/PiranhaCMS/piranha.core/blob/HEAD/test/Piranha.Manager.Tests/ManagerScriptingTests.cs | ghcode:00010:6d282d7d713a | mit | codeparrot/github-code | 6d282d7d713a577578ad158d0b13ae50c34679cc73708eb93d3ed1b8f837bb51 | 0.85 | testing_debugging_repair_refactoring | 591 | false | 2026-07-17 |
//
// TestEnumExtensions.cs
//
// Author:
// Craig Fowler <craig@csf-dev.com>
//
// Copyright (c) 2015 CSF Software Limited
//
// 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... | csf-dev/CSF.Core | Test.CSF/TestEnumExtensions.cs | https://github.com/csf-dev/CSF.Core/blob/HEAD/Test.CSF/TestEnumExtensions.cs | ghcode:00010:a18985d0ae25 | mit | codeparrot/github-code | a18985d0ae255f2844139df9905445d1eb35b683ded00f52cb3d943dc137aec3 | 0.85 | testing_debugging_repair_refactoring | 1,108 | false | 2026-07-17 |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="TokenSetTests.cs" company="Reimers.dk">
// Copyright © Reimers.dk 2014
// This source is subject to the Microsoft Public License (Ms-PL).
// Please see http://go.microsoft.c... | daveh551/Highway.Data | Highway/test/Highway.Data.Tests/OData/Parser/TokenSetTests.cs | https://github.com/daveh551/Highway.Data/blob/HEAD/Highway/test/Highway.Data.Tests/OData/Parser/TokenSetTests.cs | ghcode:00010:97f84a00d23a | mit | codeparrot/github-code | 97f84a00d23a0ff4450d73284d04e3b1caaa196b4a926352116a7b3c6e945948 | 0.95 | testing_debugging_repair_refactoring | 251 | false | 2026-07-17 |
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using OmniSharp.Models.MembersTree;
using OmniSharp.Models.V2;
using OmniSharp.Models.V2.CodeStructure;
using OmniSharp.Roslyn.CSharp.Services.Structure;
using TestUtility;
using Xunit;
using Xunit.Abstractions;
namespace OmniSharp.DotNetTest.Tests
{
... | DustinCampbell/omnisharp-roslyn | tests/OmniSharp.DotNetTest.Tests/TestDiscoveryFacts.cs | https://github.com/DustinCampbell/omnisharp-roslyn/blob/HEAD/tests/OmniSharp.DotNetTest.Tests/TestDiscoveryFacts.cs | ghcode:00010:8db178d911b5 | mit | codeparrot/github-code | 8db178d911b52d03c45bfef7e7a3c6ca7ded0fad1c726f27ea8eb28f5110a028 | 0.75 | testing_debugging_repair_refactoring | 1,871 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using AM.Runtime;
using AM.Text;
namespace UnitTests.AM
{
[TestClass]
public class NumberTextTest
{
[TestMethod]
public void TestNumberText_Construction()
{
NumberText number = new NumberText();
... | amironov73/ManagedIrbis | Source/UnitTests/AM/NumberTextTest.cs | https://github.com/amironov73/ManagedIrbis/blob/HEAD/Source/UnitTests/AM/NumberTextTest.cs | ghcode:00010:0d6d8b546777 | mit | codeparrot/github-code | 0d6d8b54677766377f5723a9f43c6a4fcc65ef77c59fafc619f53ed91ef10181 | 0.75 | testing_debugging_repair_refactoring | 404 | false | 2026-07-17 |
using System.Text.Json;
namespace SqsEventFunction
{
/*
This class represents the message you push into SQS and that is forwarded to this Lambda
Add properties so that the message can be properly deserialized.
*/
public class TestMessage
{
[JsonPropertyName("message")]
p... | Kralizek/AWSLambdaSharpTemplate | templates/content/SqsEventFunction/TestMessage.cs | https://github.com/Kralizek/AWSLambdaSharpTemplate/blob/HEAD/templates/content/SqsEventFunction/TestMessage.cs | ghcode:00010:c61f2a5fdaa4 | mit | codeparrot/github-code | c61f2a5fdaa4482737dd5cec7d26314366d0c4cfa78005ec22dbd9f3874027c7 | 0.75 | testing_debugging_repair_refactoring | 76 | false | 2026-07-17 |
namespace TraktApiSharp.Tests.Objects.Get.Users.Json.Reader
{
using FluentAssertions;
using System.Threading.Tasks;
using Traits;
using TraktApiSharp.Objects.Get.Users.Json.Reader;
using Xunit;
[Category("Objects.Get.Users.JsonReader")]
public partial class UserHiddenItemObjectJsonReader_T... | henrikfroehling/TraktApiSharp | Source/Tests/TraktApiSharp.Tests/Objects/Get/Users/Json/Reader/UserHiddenItemObjectJsonReader/UserHiddenItemObjectJsonReader_Json_String_Tests.cs | https://github.com/henrikfroehling/TraktApiSharp/blob/HEAD/Source/Tests/TraktApiSharp.Tests/Objects/Get/Users/Json/Reader/UserHiddenItemObjectJsonReader/UserHiddenItemObjectJsonReader_Json_String_Tests.cs | ghcode:00010:75f84db9f089 | mit | codeparrot/github-code | 75f84db9f089b735ef328e5263d2c23f2ea236b65e94529699b67f000ab402e1 | 0.85 | testing_debugging_repair_refactoring | 207 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using Contentful.Core.Models;
using FluentAssertions;
using Moq;
using StockportContentApi.ContentfulFactories;
using StockportContentApi.ContentfulModels;
using StockportContentApi.Model;
using StockportContentApi.Repositories;
using StockportContentA... | smbc-digital/iag-contentapi | test/StockportContentApiTests/Unit/ContentfulFactories/SectionContentfulFactoryTest.cs | https://github.com/smbc-digital/iag-contentapi/blob/HEAD/test/StockportContentApiTests/Unit/ContentfulFactories/SectionContentfulFactoryTest.cs | ghcode:00010:c9ff7913852f | mit | codeparrot/github-code | c9ff7913852fc4cb94e6acb2cce6669f38ef15a71516ca98959f72f1f0532276 | 0.7 | testing_debugging_repair_refactoring | 1,010 | false | 2026-07-17 |
#region Usings
using System;
using FluentAssertions;
using Xunit;
#endregion
namespace Extend.Testing
{
public class ExecutionResultTest
{
[Fact]
public void CtorTest()
{
var target = new ExecutionResult<String>();
target.Exception.Should()
... | DaveSenn/Extend | .Src/Extend.Testing/Models/ExecutionResultTest.cs | https://github.com/DaveSenn/Extend/blob/HEAD/.Src/Extend.Testing/Models/ExecutionResultTest.cs | ghcode:00010:557a5e50f51a | mit | codeparrot/github-code | 557a5e50f51a1942e8e948ab454755fc56b40039f66f4ea159f01f367b16d853 | 0.75 | testing_debugging_repair_refactoring | 177 | false | 2026-07-17 |
#region [R# naming]
// ReSharper disable ArrangeTypeModifiers
// ReSharper disable UnusedMember.Local
// ReSharper disable FieldCanBeMadeReadOnly.Local
// ReSharper disable ArrangeTypeMemberModifiers
// ReSharper disable InconsistentNaming
#endregion
using NSpectator.Domain;
using NUnit.Framework;
using FluentAssertio... | nspectator/NSpectator | test/NSpectator.Specs/Running/Exceptions/Describe_unexpected_exception_in_after.cs | https://github.com/nspectator/NSpectator/blob/HEAD/test/NSpectator.Specs/Running/Exceptions/Describe_unexpected_exception_in_after.cs | ghcode:00010:6a1ee75bdcea | mit | codeparrot/github-code | 6a1ee75bdcea51e8d16c99054d6d4309f28404c4b50ba98df94e163cde4ee2b6 | 0.7 | testing_debugging_repair_refactoring | 380 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CommonTests
{
public class AddressTests
{
}
}
| rampantslug/pinball-framework | common/test/CommonTests/AddressTests.cs | https://github.com/rampantslug/pinball-framework/blob/HEAD/common/test/CommonTests/AddressTests.cs | ghcode:00010:4f77ecbd20fd | mit | codeparrot/github-code | 4f77ecbd20fde96d84c3bd11cbe317c5eef79a5c4d72ff06e6230fa284ee499d | 0.6 | testing_debugging_repair_refactoring | 37 | false | 2026-07-17 |
using CharacterGen.CharacterClasses;
using CharacterGen.Domain.Tables;
using NUnit.Framework;
using System;
using System.Linq;
namespace CharacterGen.Tests.Integration.Tables.Magics.Spells.PerDay.Rangers
{
[TestFixture]
public class Level3RangerSpellsPerDayTests : AdjustmentsTests
{
protected over... | DnDGen/CharacterGen | CharacterGen.Tests.Integration.Tables/Magics/Spells/PerDay/Rangers/Level3RangerSpellsPerDayTests.cs | https://github.com/DnDGen/CharacterGen/blob/HEAD/CharacterGen.Tests.Integration.Tables/Magics/Spells/PerDay/Rangers/Level3RangerSpellsPerDayTests.cs | ghcode:00010:3beceedb1774 | mit | codeparrot/github-code | 3beceedb177499677981eeb0102dea0063d07c5aa5844509ec644d7a937c88d8 | 0.75 | testing_debugging_repair_refactoring | 143 | false | 2026-07-17 |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
using System.Diagnostics;
namespace HtcSharp.HttpModule.Core.Internal.Http2.FlowControl {
// SourceTools-Start
... | jpdante/HTCSharp | Modules/HtcSharp.HttpModule/Core/Internal/Http2/FlowControl/OutputFlowControl.cs | https://github.com/jpdante/HTCSharp/blob/HEAD/Modules/HtcSharp.HttpModule/Core/Internal/Http2/FlowControl/OutputFlowControl.cs | ghcode:00010:f6fc6f04f79b | mit | codeparrot/github-code | f6fc6f04f79be9e9eac1126a357d27f3d1184890beec18207509512017148b76 | 0.7 | testing_debugging_repair_refactoring | 508 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Qaud.Test;
using Raven.Client.Document;
using Raven.Client.Embedded;
namespace Qaud.RavenDB.Test
{
[TestClass]
public class RavenDataStoreSimpleTest : DataStoreSimpleTest
{
public class TestRavenDataStore : RavenClientDataStor... | stimpy77/Qaud | Qaud.RavenDB.Test/RavenDataStoreSimpleTest.cs | https://github.com/stimpy77/Qaud/blob/HEAD/Qaud.RavenDB.Test/RavenDataStoreSimpleTest.cs | ghcode:00010:cc02bdd289f4 | mit | codeparrot/github-code | cc02bdd289f45651cf01ff8d8fc04994b3a83f69b1dcc509a00500a16164b501 | 0.6 | testing_debugging_repair_refactoring | 699 | false | 2026-07-17 |
// ***********************************************************************
// Copyright (c) 2008 Charlie Poole
//
// 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, inclu... | xplicit/BenchmarkSuite | src/BenchmarkSuite/Attributes/TestCaseSourceAttribute.cs | https://github.com/xplicit/BenchmarkSuite/blob/HEAD/src/BenchmarkSuite/Attributes/TestCaseSourceAttribute.cs | ghcode:00010:4e000bac6d11 | mit | codeparrot/github-code | 4e000bac6d113a3c6a37f0d389614c7633241fa8b037301b7c893e7c1d72060f | 0.85 | testing_debugging_repair_refactoring | 1,602 | false | 2026-07-17 |
// Copyright (c) 2013, Eberhard Beilharz
// This software is licensed under the MIT License (http://opensource.org/licenses/MIT)
using System;
using NUnit.Framework;
namespace TntMPDConverter
{
[TestFixture]
public class DonationManagerTests
{
private DonationManager m_Manager;
[SetUp]
public void SetUp()
{... | ermshiperete/TntMPDConverter | TntMPDConverterTests/DonationManagerTests.cs | https://github.com/ermshiperete/TntMPDConverter/blob/HEAD/TntMPDConverterTests/DonationManagerTests.cs | ghcode:00010:fe0558c63a27 | mit | codeparrot/github-code | fe0558c63a27c6c9279e96496d03011dfc1a66cabfee6a8140567309800e9774 | 0.85 | testing_debugging_repair_refactoring | 584 | false | 2026-07-17 |
using BootSharp.Data;
using System.Collections.Generic;
namespace BootSharp.Tests.DataImport.Models
{
public class Category : DataObjectBase
{
public virtual string Name { get; set; }
public virtual IList<Book> Books { get; set; }
}
}
| OgaFuuu/BootSharp | BootSharp.Tests.DataImport/Models/Category.cs | https://github.com/OgaFuuu/BootSharp/blob/HEAD/BootSharp.Tests.DataImport/Models/Category.cs | ghcode:00010:52d647d75a72 | mit | codeparrot/github-code | 52d647d75a722040f717c09aeeec693af5438a3f72376e9647b79d9ec74999f8 | 0.75 | testing_debugging_repair_refactoring | 57 | false | 2026-07-17 |
using Xunit;
public class BinaryTest
{
[Fact]
public void Binary_0_is_decimal_0()
{
Assert.Equal(0, Binary.ToDecimal("0"));
}
[Fact(Skip = "Remove this Skip property to run this test")]
public void Binary_1_is_decimal_1()
{
Assert.Equal(1, Binary.ToDecimal("1"));
}
... | exercism/xcsharp | exercises/practice/binary/BinaryTests.cs | https://github.com/exercism/xcsharp/blob/HEAD/exercises/practice/binary/BinaryTests.cs | ghcode:00010:b68e2a45a08c | mit | codeparrot/github-code | b68e2a45a08cd1725ecd2b091ccdcd7a07d8c5d121544d811e48d90aca080f2a | 0.75 | testing_debugging_repair_refactoring | 723 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Charlotte.Chocomint.Dialogs;
namespace Test02.Tests.Chocomint.Dialogs
{
public class MessageDlgTest
{
public void Test01()
{
using (MessageDlg f = new MessageDlg())
{
f.ShowDialog();
}
}
public void Tes... | stackprobe/CSharp | DLL/Chocomint/Test02/Tests/Chocomint/Dialogs/MessageDlgTest.cs | https://github.com/stackprobe/CSharp/blob/HEAD/DLL/Chocomint/Test02/Tests/Chocomint/Dialogs/MessageDlgTest.cs | ghcode:00010:712f1b767f1a | mit | codeparrot/github-code | 712f1b767f1a25b33c0e5056dc44c792a8c97fe9b82b19df6d2bbf296e212224 | 0.85 | testing_debugging_repair_refactoring | 883 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using Renci.SshNet.Connection;
namespace Renci.SshNet.Tests.Classes
{
[TestClass]
public class BaseClientTest_Disconnected_Connect : BaseClientTestBase
{
private Mock<ISocketFactory> _socketFactory2Mock;
private Mock<ISession> ... | sshnet/SSH.NET | src/Renci.SshNet.Tests/Classes/BaseClientTest_Disconnected_Connect.cs | https://github.com/sshnet/SSH.NET/blob/HEAD/src/Renci.SshNet.Tests/Classes/BaseClientTest_Disconnected_Connect.cs | ghcode:00010:ba7d13bfd136 | mit | codeparrot/github-code | ba7d13bfd13633adec1b12bb40c1e363d98cc42bd5cbc3a1b707c2dbab8555a5 | 0.6 | testing_debugging_repair_refactoring | 719 | false | 2026-07-17 |
namespace Tests
{
using System.Linq;
using Shouldly;
using System;
using System.Collections.Generic;
using Core;
using Headspring;
public class ReceiversTests
{
public void given_a_start_date_Receivers_should_know_Next()
{
using (SystemClock.Stu... | ChrisMissal/birthdayclub | Tests/ReceiversTests.cs | https://github.com/ChrisMissal/birthdayclub/blob/HEAD/Tests/ReceiversTests.cs | ghcode:00010:541ed1e55a40 | mit | codeparrot/github-code | 541ed1e55a40b5f14bbbfe6c2d22d8a1267bda9402e308bc8a96083d18f615bf | 0.75 | testing_debugging_repair_refactoring | 247 | false | 2026-07-17 |
using Xunit;
namespace WmcSoft.Text
{
public class RopeTests
{
[Fact]
public void CanCreateRope()
{
var rope = new Rope("Hello");
rope.Append("World");
rope.Insert(5, " ");
rope.Append("!");
var expected = "Hello World!";
... | vjacquet/WmcSoft | WmcSoft.Core.Tests/Text/RopeTests.cs | https://github.com/vjacquet/WmcSoft/blob/HEAD/WmcSoft.Core.Tests/Text/RopeTests.cs | ghcode:00010:e00615f64548 | mit | codeparrot/github-code | e00615f645480e07d1bc469f9a99feb58ac70671764af1d5e721b7ea760a9394 | 0.75 | testing_debugging_repair_refactoring | 149 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using geocoderNet.Models;
namespace geocoderNet.Tests.Models
{
[TestClass]
public class AddressTest
{
[TestMethod]
public void CleanTest()
{
Address ... | mb16/geocoderNet | mvc/geocoderNet.Tests/Models/AddressTest.cs | https://github.com/mb16/geocoderNet/blob/HEAD/mvc/geocoderNet.Tests/Models/AddressTest.cs | ghcode:00010:4f52bd665ffb | mit | codeparrot/github-code | 4f52bd665ffb80c2c0f9fcb0710a50090c6856869a7580499c87cd97aa147941 | 0.7 | testing_debugging_repair_refactoring | 3,135 | false | 2026-07-17 |
using System;
using System.IO;
using System.Linq;
using LibGit2Sharp.Tests.TestHelpers;
using Xunit;
using Xunit.Extensions;
namespace LibGit2Sharp.Tests
{
public class StashFixture : BaseFixture
{
[Fact]
public void CannotAddStashAgainstBareRepository()
{
string path = Clo... | jamill/libgit2sharp | LibGit2Sharp.Tests/StashFixture.cs | https://github.com/jamill/libgit2sharp/blob/HEAD/LibGit2Sharp.Tests/StashFixture.cs | ghcode:00010:79e6b04c278c | mit | codeparrot/github-code | 79e6b04c278ce05dd4a628bb11b605101f47c6afb827e6b201e734df802b9ae2 | 0.7 | testing_debugging_repair_refactoring | 2,219 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DataStructuresTests.Trees.BTrees
{
[TestClass]
public class BTreeTests
{
//[TestMethod]
//public void EmptyTree_... | NeuroXiq/DataStructures | DataStructuresTests/Trees/BTrees/BTreeTests.cs | https://github.com/NeuroXiq/DataStructures/blob/HEAD/DataStructuresTests/Trees/BTrees/BTreeTests.cs | ghcode:00010:3ead37a658b4 | mit | codeparrot/github-code | 3ead37a658b47cd021a612b5f31dbc08b16c3ef66d6b1be71385b966be12cf02 | 0.75 | testing_debugging_repair_refactoring | 71 | false | 2026-07-17 |
namespace TestingBgPersonGenerator
{
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Text;
using BgPersonGeneratorSpace;
public class TestingBgPersonGenerator
{
public static void Main()
{
// In this f... | TsvetanKT/BgPersonGenerator | TestingBgPersonGenerator/TestingBgPersonGenerator.cs | https://github.com/TsvetanKT/BgPersonGenerator/blob/HEAD/TestingBgPersonGenerator/TestingBgPersonGenerator.cs | ghcode:00010:c03bd1227072 | mit | codeparrot/github-code | c03bd1227072fe3baaf4e5b58645abb56e7ccf6572b60376267169ed7104a8d9 | 0.75 | testing_debugging_repair_refactoring | 368 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using Microsoft.CSharp.RuntimeBinder;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace vm.Aspects.Linq.Expressions.Serialization.Tests
{
[TestClass]
[DeploymentItem("..\\..\\..\\src\\schemas\\Expression.xsd")]
[De... | vmelamed/vm | Aspects/Linq/Expressions/Serialization/Tests/ExpressionSerializerTest.cs | https://github.com/vmelamed/vm/blob/HEAD/Aspects/Linq/Expressions/Serialization/Tests/ExpressionSerializerTest.cs | ghcode:00010:e0fde95bfd3f | mit | codeparrot/github-code | e0fde95bfd3fe085858e8b96f6d1c72a873ce43516300abb58734762e5acee9a | 0.95 | testing_debugging_repair_refactoring | 3,833 | false | 2026-07-17 |
namespace Sitecore.FakeDb.Tests.Pipelines.AddDbItem
{
using FluentAssertions;
using Sitecore.Data;
using Sitecore.FakeDb.Data.Engines;
using Sitecore.FakeDb.Pipelines.AddDbItem;
using Xunit;
public class AddVersionTest
{
[Fact]
public void ShouldAddFirstVersion()
{
// arrange
var... | hermanussen/Sitecore.FakeDb | src/Sitecore.FakeDb.Tests/Pipelines/AddDbItem/AddVersionTest.cs | https://github.com/hermanussen/Sitecore.FakeDb/blob/HEAD/src/Sitecore.FakeDb.Tests/Pipelines/AddDbItem/AddVersionTest.cs | ghcode:00010:aae6431af10e | mit | codeparrot/github-code | aae6431af10e0a3f68bdb45a4150dff2c62b8009da54b3ec7d9ac0517a072c1f | 0.7 | testing_debugging_repair_refactoring | 147 | false | 2026-07-17 |
using System;
using System.IO;
using System.Linq;
using LibGit2Sharp.Tests.TestHelpers;
using Xunit;
using Xunit.Extensions;
namespace LibGit2Sharp.Tests
{
public class StashFixture : BaseFixture
{
[Fact]
public void CannotAddStashAgainstBareRepository()
{
string path = Clo... | paulgmiller/libgit2sharp | LibGit2Sharp.Tests/StashFixture.cs | https://github.com/paulgmiller/libgit2sharp/blob/HEAD/LibGit2Sharp.Tests/StashFixture.cs | ghcode:00010:d0364ec7477f | mit | codeparrot/github-code | d0364ec7477f834d361f8a6de278baa354193793b8de186a90fc003492ffdea6 | 0.7 | testing_debugging_repair_refactoring | 2,225 | false | 2026-07-17 |
using System.ComponentModel;
using System.Diagnostics;
using System.Linq;
using NetGore.IO;
using SFML.Graphics;
namespace NetGore.Graphics.ParticleEngine
{
/// <summary>
/// Modifies the color of <see cref="Particle"/>s throughout their life.
/// </summary>
public class ParticleColorModifier : Partic... | LAGIdiot/NetGore | NetGore/Graphics/ParticleEngine/ParticleModifiers/ParticleColorModifier.cs | https://github.com/LAGIdiot/NetGore/blob/HEAD/NetGore/Graphics/ParticleEngine/ParticleModifiers/ParticleColorModifier.cs | ghcode:00010:e81d51a66e0a | unlicense | codeparrot/github-code | e81d51a66e0a28cd81f8e3e9c33946dad6cb0cbc8a699fe6eac56bacff5c05c7 | 0.78 | testing_debugging_repair_refactoring | 1,985 | false | 2026-07-17 |
using System.Collections.Generic;
namespace Lucene.Net.Facet
{
/*
* 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 licens... | laimis/lucenenet | src/Lucene.Net.Tests.Facet/AssertingSubDocsAtOnceCollector.cs | https://github.com/laimis/lucenenet/blob/HEAD/src/Lucene.Net.Tests.Facet/AssertingSubDocsAtOnceCollector.cs | ghcode:00010:56331c89c02e | apache-2.0 | codeparrot/github-code | 56331c89c02eeeefe0443b19327f11f1043e662deb6d11d38489ce6a7b20e2a8 | 0.85 | testing_debugging_repair_refactoring | 557 | 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.IO;
using System.IO.Pipelines;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Http.Featu... | aspnet/AspNetCore | src/Shared/ResultsTests/PhysicalFileResultTestBase.cs | https://github.com/aspnet/AspNetCore/blob/HEAD/src/Shared/ResultsTests/PhysicalFileResultTestBase.cs | ghcode:00010:7cee896c7e13 | apache-2.0 | codeparrot/github-code | 7cee896c7e135072ce84f7e277653d4afd14da4491b1fadc85c3d20fbfb3bd18 | 0.85 | testing_debugging_repair_refactoring | 4,014 | false | 2026-07-17 |
// Licensed to Elasticsearch B.V under one or more agreements.
// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Re... | elastic/elasticsearch-net | tests/Tests/ClientConcepts/HighLevel/Inference/FieldInference.doc.cs | https://github.com/elastic/elasticsearch-net/blob/HEAD/tests/Tests/ClientConcepts/HighLevel/Inference/FieldInference.doc.cs | ghcode:00010:3bc0d848a680 | apache-2.0 | codeparrot/github-code | 3bc0d848a680d4a4b651f64644f420e0b571b4c9b88476809b20e266e1af63da | 0.95 | testing_debugging_repair_refactoring | 6,205 | false | 2026-07-17 |
using System;
using System.Diagnostics;
using System.Net;
using System.IO;
using System.Net.Sockets;
using Xunit;
public class GeodeServer : IDisposable
{
#region Properties/Fields
public int LocatorPort { get; private set; }
#endregion
#region Public methods
public GeodeServer(string regionNa... | mmartell/geode-native | clicache/integration-test2/GeodeServer.cs | https://github.com/mmartell/geode-native/blob/HEAD/clicache/integration-test2/GeodeServer.cs | ghcode:00010:e76bfae5050b | apache-2.0 | codeparrot/github-code | e76bfae5050b7e588bedfb1827f2e5ebee81b8dfc621174f3b6c08e15518959a | 0.7 | testing_debugging_repair_refactoring | 869 | false | 2026-07-17 |
using System.Collections.Generic;
using Core.Enums;
using FluentAssertions;
using NUnit.Framework;
using Tests.RulesForTesting;
namespace Tests.PlayerTests {
[TestFixture]
public class WhenGetTeam {
[SetUp]
public void TestInit() {}
[Test]
public void WithOneTeamCurrentWorksPr... | VioletTape/Jackal | Tests/PlayerTests/WhenGetTeam.cs | https://github.com/VioletTape/Jackal/blob/HEAD/Tests/PlayerTests/WhenGetTeam.cs | ghcode:00010:43cfa12f3d4c | apache-2.0 | codeparrot/github-code | 43cfa12f3d4c5359b3e1dc9bbef7c271b3f82067cd66f6b6f14ba67a349b1d08 | 0.7 | testing_debugging_repair_refactoring | 462 | false | 2026-07-17 |
using System;
[Serializable]
public class MyData
{
{caret}
}
| JetBrains/resharper-unity | resharper/resharper-unity/test/data/Unity/CSharp/LiveTemplates/Scope/InSerializableClass.cs | https://github.com/JetBrains/resharper-unity/blob/HEAD/resharper/resharper-unity/test/data/Unity/CSharp/LiveTemplates/Scope/InSerializableClass.cs | ghcode:00010:f63852be7b43 | apache-2.0 | codeparrot/github-code | f63852be7b4339ea2000f14edf4a24f8ab0acf134990b86446bc11a2242ebfea | 0.45 | testing_debugging_repair_refactoring | 17 | false | 2026-07-17 |
using System;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Ductus.FluentDocker.Commands;
using Ductus.FluentDocker.Extensions;
using Ductus.FluentDocker.Model.Common;
using Ductus.FluentDocker.Model.Containers;
using Ductus.FluentDocker.Services;
using Ductus.Fluent... | mariotoffia/FluentDocker | Ductus.FluentDocker.Tests/ServiceTests/ContainerServiceBasicTests.cs | https://github.com/mariotoffia/FluentDocker/blob/HEAD/Ductus.FluentDocker.Tests/ServiceTests/ContainerServiceBasicTests.cs | ghcode:00010:cf790d2d56ab | apache-2.0 | codeparrot/github-code | cf790d2d56abeed1f2eda9afa6de0576aeb2b34653327dc647f83fd550768ef8 | 0.85 | testing_debugging_repair_refactoring | 2,769 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Data.SqlTypes;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Autofac;
using Autofac.Core;
using FluentAssertions;
using NSubstitute;
using Xunit;
namespace DotNetCqs.Autofac.Tests
{
public class ContainerQueryBusTests
{
... | jmptrader/dotnetcqs | src/DotNetCqs.Autofac.Tests/ContainerQueryBusTests.cs | https://github.com/jmptrader/dotnetcqs/blob/HEAD/src/DotNetCqs.Autofac.Tests/ContainerQueryBusTests.cs | ghcode:00010:20c20d238a11 | apache-2.0 | codeparrot/github-code | 20c20d238a112a77e23f6d25db95df8244e06d4bef2080188629cd5ac4d697bc | 0.75 | testing_debugging_repair_refactoring | 770 | false | 2026-07-17 |
using System;
namespace Test.NDatabase.Odb.Test.Tutorial
{
public class Player
{
private DateTime birthDate;
private Sport favoriteSport;
private string name;
public Player(string name, DateTime birthDate, Sport favoriteSport)
{
this.name = nam... | WaltChen/NDatabase | tests/NDatabase.Old.UnitTests/NDatabase/Odb/Test/Tutorial/Player.cs | https://github.com/WaltChen/NDatabase/blob/HEAD/tests/NDatabase.Old.UnitTests/NDatabase/Odb/Test/Tutorial/Player.cs | ghcode:00010:7226603e57aa | apache-2.0 | codeparrot/github-code | 7226603e57aa37d8c1d416024df32dafdc3432b0895f4eb1554fbe81f42ca1af | 0.85 | testing_debugging_repair_refactoring | 209 | false | 2026-07-17 |
using System;
using System.Linq;
using System.Collections.Generic;
using NUnit.Framework;
using System.Net.Http;
using Newtonsoft.Json;
using ChesterSharp.Exceptions;
using ChesterSharp.Documents;
namespace ChesterSharp.Tests
{
public class Thinger : CouchDocument {
}
public class Kase : CouchDocument {
... | orospakr/ChesterSharp | ChesterSharp/CouchTest.cs | https://github.com/orospakr/ChesterSharp/blob/HEAD/ChesterSharp/CouchTest.cs | ghcode:00010:9240c7ca810b | apache-2.0 | codeparrot/github-code | 9240c7ca810b8a1aaf73082f34510fffa67478ec6e917f41e7cc87ce559ba073 | 0.7 | testing_debugging_repair_refactoring | 2,198 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Epi.Cloud.Common.BusinessObjects;
using System.Linq;
namespace MetadataTests
{
[TestClass]
public class TestSurveyRequestBOProCount
{
private const int SurveyRequestBOPropertyCount = 8;
[TestMethod]
public void... | Epi-Info/Epi-Info-Cloud-Contact-Tracing | Cloud Enter/MetadataTests/TestSurveyRequestBOProCount.cs | https://github.com/Epi-Info/Epi-Info-Cloud-Contact-Tracing/blob/HEAD/Cloud Enter/MetadataTests/TestSurveyRequestBOProCount.cs | ghcode:00010:19576c35cb7c | apache-2.0 | codeparrot/github-code | 19576c35cb7c396287b36d10440e402be2a2fed4870bc22d9923a7ac4dda05f2 | 0.75 | testing_debugging_repair_refactoring | 137 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using NUnit.Framework;
using TSQL;
using TSQL.Statements;
using TSQL.Tokens;
using Tests.Tokens;
namespace Tests.Expressions
{
[TestFixture(Category = "Expression Parsing")]
public class CaseExpressionTests
{
[Test]
public void CaseExpression_Dont_Overrun()
... | bruce-dunwiddie/tsql-parser | TSQL_Parser/Tests/Expressions/CaseExpressionTests.cs | https://github.com/bruce-dunwiddie/tsql-parser/blob/HEAD/TSQL_Parser/Tests/Expressions/CaseExpressionTests.cs | ghcode:00010:b393619fc0e5 | apache-2.0 | codeparrot/github-code | b393619fc0e5226e721c18b6852f311aa945471f1660060dc3facabef2e647ad | 0.85 | testing_debugging_repair_refactoring | 655 | false | 2026-07-17 |
#region Apache License Notice
// Copyright © 2014, Silverlake Software 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
//
// ... | ProxyFoo/ProxyFoo | source/ProxyFoo.Tests/Mixins/StaticInstanceMixinTests.cs | https://github.com/ProxyFoo/ProxyFoo/blob/HEAD/source/ProxyFoo.Tests/Mixins/StaticInstanceMixinTests.cs | ghcode:00010:5c95c30f4c2c | apache-2.0 | codeparrot/github-code | 5c95c30f4c2c2233d337585e6f33950f5c8c74a91dd4bc16a3c0fa96e463d5b7 | 0.85 | testing_debugging_repair_refactoring | 237 | false | 2026-07-17 |
namespace ReportGenerator.Tests
{
using System.IO;
using System.Linq;
using Moq;
using NUnit.Framework;
using Palmmedia.ReportGenerator;
using Palmmedia.ReportGenerator.Reporting;
/// <summary>
/// This is a test class for ReportConfigurationBuilder and is intended
/// to contain ... | shoff/ReportGenerator | ReportGenerator.Tests/ReportConfigurationBuilderTest.cs | https://github.com/shoff/ReportGenerator/blob/HEAD/ReportGenerator.Tests/ReportConfigurationBuilderTest.cs | ghcode:00010:32c43accc7ac | apache-2.0 | codeparrot/github-code | 32c43accc7ac3b8df880ac1390c221c355a39a9faf8a369b1185a08f980cfa16 | 0.7 | testing_debugging_repair_refactoring | 772 | false | 2026-07-17 |
/***************************************************************************
Copyright (c) Microsoft Corporation. All rights reserved.
This code is licensed under the Visual Studio SDK license terms.
THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
IMPLIED WAR... | cege7480/tfsquicktasks | src/Tests/TfsQuickTasks_UnitTests/MyToolWindowTest/UIShellServiceMock.cs | https://github.com/cege7480/tfsquicktasks/blob/HEAD/src/Tests/TfsQuickTasks_UnitTests/MyToolWindowTest/UIShellServiceMock.cs | ghcode:00010:66e2efc4e180 | apache-2.0 | codeparrot/github-code | 66e2efc4e18044016b979d05fc0f6cf32269e974f36a4ad7d44946006457c8ce | 0.95 | testing_debugging_repair_refactoring | 604 | 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.Runtime.CompilerServices;
using Mi... | xasx/roslyn | src/Compilers/CSharp/Portable/Lowering/AsyncRewriter/AsyncMethodToStateMachineRewriter.cs | https://github.com/xasx/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/Lowering/AsyncRewriter/AsyncMethodToStateMachineRewriter.cs | ghcode:00010:730629f0d2d6 | apache-2.0 | codeparrot/github-code | 730629f0d2d6683e1b9cf2586f9f9f2ed15ce4b7759f8e9499a1851bad946ada | 0.85 | testing_debugging_repair_refactoring | 5,593 | false | 2026-07-17 |
#region License and Terms
// MoreLINQ - Extensions to LINQ to Objects
// Copyright (c) 2008 Jonathan Skeet. 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
//
// ... | fsateler/MoreLINQ | MoreLinq.Test/ToLookupTest.cs | https://github.com/fsateler/MoreLINQ/blob/HEAD/MoreLinq.Test/ToLookupTest.cs | ghcode:00010:1dd98985ecb7 | apache-2.0 | codeparrot/github-code | 1dd98985ecb793b85b2f739a57492aedd1689cd5871b472d8c68eb1253c73bc9 | 0.7 | testing_debugging_repair_refactoring | 795 | false | 2026-07-17 |
using System;
using System.Linq.Expressions;
using NUnit.Framework;
using StructureMap.Building;
using StructureMap.Building.Interception;
namespace StructureMap.Testing.Building.Interception
{
[TestFixture]
public class FuncInterceptorTester
{
private FuncInterceptor<ITarget> theInterc... | HenrikDK/structuremap | src/StructureMap.Testing/Building/Interception/FuncInterceptorTester.cs | https://github.com/HenrikDK/structuremap/blob/HEAD/src/StructureMap.Testing/Building/Interception/FuncInterceptorTester.cs | ghcode:00010:a3942ac1d545 | apache-2.0 | codeparrot/github-code | a3942ac1d5453fa84ec58e1f4051f4c05d2af8897a1118cfba236180446e90f5 | 0.6 | testing_debugging_repair_refactoring | 1,042 | 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.
namespace Microsoft.AspNetCore.Hosting.Fakes
{
public interface IFakeScopedService : IFakeService
{
}
}
| aspnet/AspNetCore | src/Hosting/Hosting/test/Fakes/IFakeScopedService.cs | https://github.com/aspnet/AspNetCore/blob/HEAD/src/Hosting/Hosting/test/Fakes/IFakeScopedService.cs | ghcode:00010:9fb7a02fd574 | apache-2.0 | codeparrot/github-code | 9fb7a02fd57410eceb33f8e66a8717dc1fb3f569a57165f9bfb848be6b8cc0ee | 0.85 | testing_debugging_repair_refactoring | 53 | false | 2026-07-17 |
// ***********************************************************************
// <copyright file="DefaultScripts.cs" company="ServiceStack, Inc.">
// Copyright (c) ServiceStack, Inc. All Rights Reserved.
// </copyright>
// <summary>Fork for YetAnotherForum.NET, Licensed under the Apache License, Version 2.0</summary>... | YAFNET/YAFNET | yafsrc/ServiceStack/ServiceStack/Common/Script/Methods/DefaultScripts.cs | https://github.com/YAFNET/YAFNET/blob/HEAD/yafsrc/ServiceStack/ServiceStack/Common/Script/Methods/DefaultScripts.cs | ghcode:00010:08a3979f84a5 | apache-2.0 | codeparrot/github-code | 08a3979f84a52338ac5b52b8f7f25b4e54d42148dabb83e3d2c541d9970d5d6f | 0.57 | testing_debugging_repair_refactoring | 31,937 | false | 2026-07-17 |
using Xunit;
namespace Take.Elephant.Tests.Sql.SqlServer
{
[Collection(nameof(SqlServer)), Trait("Category", nameof(SqlServer))]
public class SqlServerGuidItemExpirableKeyMapFacts : SqlGuidItemExpirableKeyMapFacts
{
public SqlServerGuidItemExpirableKeyMapFacts(SqlServerFixture serverFixture) : bas... | takenet/elephant | src/Take.Elephant.Tests/Sql/SqlServer/SqlServerGuidItemExpirableKeyMapFacts.cs | https://github.com/takenet/elephant/blob/HEAD/src/Take.Elephant.Tests/Sql/SqlServer/SqlServerGuidItemExpirableKeyMapFacts.cs | ghcode:00010:f467e666da78 | apache-2.0 | codeparrot/github-code | f467e666da780a7f922bbe6aaaeb7818d15b5420246430a490bc89061df4bcec | 0.6 | testing_debugging_repair_refactoring | 88 | 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.Diagnostics;
using Microsoft.CodeAnalysis.Test.Utilities;
using Microsoft.CodeAnalysis.UnitTests;
using Roslyn.Test.Utilities;
us... | mattwar/roslyn-analyzers | src/System.Runtime.Analyzers/UnitTests/RethrowToPreserveStackDetailsTests.cs | https://github.com/mattwar/roslyn-analyzers/blob/HEAD/src/System.Runtime.Analyzers/UnitTests/RethrowToPreserveStackDetailsTests.cs | ghcode:00010:50c3f2c8bfec | apache-2.0 | codeparrot/github-code | 50c3f2c8bfec2335b287350367e01f2dfa4f48155955f778d97751deb56b2769 | 0.75 | testing_debugging_repair_refactoring | 154 | false | 2026-07-17 |
//MIT, 2009-2015, Rene Schulte and WriteableBitmapEx Contributors, https://github.com/teichgraf/WriteableBitmapEx
using System;
using System.Collections.Generic;
using BitmapBufferEx;
namespace WinFormGdiPlus
{
static class Colors
{
public static ColorInt White = ColorInt.FromArgb(255, 255, 255, 255)... | LayoutFarm/PixelFarm | src/Tests/Test_BackEnd_DrawingBuffer/BlitDemo/ParticleEmitter.cs | https://github.com/LayoutFarm/PixelFarm/blob/HEAD/src/Tests/Test_BackEnd_DrawingBuffer/BlitDemo/ParticleEmitter.cs | ghcode:00010:c4749438595d | bsd-2-clause | codeparrot/github-code | c4749438595d7fc3bcf0a34ef3c098a667b21dfce509582d36bb6229a6266d8c | 0.78 | testing_debugging_repair_refactoring | 677 | false | 2026-07-17 |
#region license
// Copyright (c) 2005 - 2007 Ayende Rahien (ayende@ayende.com)
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification,
// are permitted provided that the following conditions are met:
//
// * Redistributions of source code must retain ... | brumschlag/rhino-tools | rhino-mocks/Rhino.Mocks.Tests/FieldsProblem/FieldProblem_James.cs | https://github.com/brumschlag/rhino-tools/blob/HEAD/rhino-mocks/Rhino.Mocks.Tests/FieldsProblem/FieldProblem_James.cs | ghcode:00010:431c8ae9cc7d | bsd-3-clause | codeparrot/github-code | 431c8ae9cc7d0a853c15c9a2e5386659c7ad9a4b8523c5cfea5c321020393c68 | 0.85 | testing_debugging_repair_refactoring | 968 | false | 2026-07-17 |
using NUnit.Framework;
// ReSharper disable PossibleNullReferenceException
namespace DiffLib.Tests
{
[TestFixture]
public class AlignmentKeyTests
{
[Test]
[TestCase(0)]
[TestCase(1)]
[TestCase(2)]
public void Constructor_Position1_RetainedInProperty(int value)
... | lassevk/DiffLib | DiffLib.Tests/AlignmentKeyTests.cs | https://github.com/lassevk/DiffLib/blob/HEAD/DiffLib.Tests/AlignmentKeyTests.cs | ghcode:00010:3966dbd57292 | bsd-3-clause | codeparrot/github-code | 3966dbd5729247990bfcee58280b2327c861b9da9cfcca4bda6ff239d25a7058 | 0.75 | testing_debugging_repair_refactoring | 907 | false | 2026-07-17 |
//
// Copyright (c) 2004-2011 Jaroslaw Kowalski <jaak@jkowalski.net>
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
// are met:
//
// * Redistributions of source code must retain the above c... | bryjamus/NLog | tests/NLog.UnitTests/Layouts/JsonLayoutTests.cs | https://github.com/bryjamus/NLog/blob/HEAD/tests/NLog.UnitTests/Layouts/JsonLayoutTests.cs | ghcode:00010:aa1f83d8da1f | bsd-3-clause | codeparrot/github-code | aa1f83d8da1f53b22a62dbc9f804cca506dccde99d544e0f73a636d952580796 | 0.85 | testing_debugging_repair_refactoring | 2,333 | false | 2026-07-17 |
namespace AngleSharp.Core.Tests
{
using AngleSharp.Core.Tests.External;
using AngleSharp.Core.Tests.Mocks;
using AngleSharp.Dom;
using AngleSharp.Dom.Css;
using AngleSharp.Network;
using AngleSharp.Parser.Css;
using AngleSharp.Parser.Html;
using AngleSharp.Parser.Xml;
using AngleSha... | FlorianRappl/AngleSharp | src/AngleSharp.Core.Tests/TestExtensions.cs | https://github.com/FlorianRappl/AngleSharp/blob/HEAD/src/AngleSharp.Core.Tests/TestExtensions.cs | ghcode:00010:4ba6e42a05e9 | mit | codeparrot/github-code | 4ba6e42a05e92c369a8df48ca7a620be2ac3de659d10407f44390a9f2551b07e | 0.75 | testing_debugging_repair_refactoring | 717 | false | 2026-07-17 |
namespace Microsoft.Protocols.TestSuites.MS_OXWSSYNC
{
using System;
using Microsoft.Protocols.TestSuites.Common;
/// <summary>
/// A class contains all helper methods used in test cases.
/// </summary>
public static class TestSuiteHelper
{
/// <summary>
/// Creat... | XinwLi/Interop-TestSuites-1 | ExchangeWebServices/Source/MS-OXWSSYNC/Adapter/Helper/TestSuiteHelper.cs | https://github.com/XinwLi/Interop-TestSuites-1/blob/HEAD/ExchangeWebServices/Source/MS-OXWSSYNC/Adapter/Helper/TestSuiteHelper.cs | ghcode:00010:da700af2e92d | mit | codeparrot/github-code | da700af2e92d22e1e4745fe7604bb54d00fc8be5815e9e30e77b8777cccbf0ad | 0.85 | testing_debugging_repair_refactoring | 1,129 | false | 2026-07-17 |
// --------------------------------------------------------------------------------------------
// <copyright file="FlagEnumFieldType.cs" company="Effort Team">
// Copyright (C) Effort Team
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated... | tamasflamich/effort | Main/Source/test/Effort.Test.Data/Features/FlagEnumFieldType.cs | https://github.com/tamasflamich/effort/blob/HEAD/Main/Source/test/Effort.Test.Data/Features/FlagEnumFieldType.cs | ghcode:00010:42d58cc1c2dc | mit | codeparrot/github-code | 42d58cc1c2dc969638f39b5a33b8e7a5e08424af129bf7a27033d6695b4dff2a | 0.95 | testing_debugging_repair_refactoring | 314 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Threading.Tasks;
using Azure.Analytics.Synapse.Artifacts;
using Azure.Analytics.Synapse.Artifacts.Models;
using Azure.Analytics.Synapse.Tests;
using Azure.Core.TestFramework;
using NUnit.Framework... | ayeletshpigelman/azure-sdk-for-net | sdk/synapse/Azure.Analytics.Synapse.Artifacts/tests/DataFlowClientLiveTests.cs | https://github.com/ayeletshpigelman/azure-sdk-for-net/blob/HEAD/sdk/synapse/Azure.Analytics.Synapse.Artifacts/tests/DataFlowClientLiveTests.cs | ghcode:00010:69387a844f4b | mit | codeparrot/github-code | 69387a844f4bc129bc262066be9ab8c530c3e2d2099b3c7632818d565191920f | 0.95 | testing_debugging_repair_refactoring | 626 | false | 2026-07-17 |
using System.Linq;
using System.Threading.Tasks;
using Octokit;
using Octokit.Tests.Integration;
using Xunit;
public class SearchClientTests
{
readonly IGitHubClient _gitHubClient;
public SearchClientTests()
{
_gitHubClient = Helper.GetAuthenticatedClient();
}
[Fact]
public async Tas... | darrelmiller/octokit.net | Octokit.Tests.Integration/Clients/SearchClientTests.cs | https://github.com/darrelmiller/octokit.net/blob/HEAD/Octokit.Tests.Integration/Clients/SearchClientTests.cs | ghcode:00010:7f22834b5924 | mit | codeparrot/github-code | 7f22834b592465cbc5de2f8c485efc777017af37bdbd1fccaead9147da9367f7 | 0.75 | testing_debugging_repair_refactoring | 476 | false | 2026-07-17 |
using Lucene.Net.Analysis.Core;
using NUnit.Framework;
using System.IO;
namespace Lucene.Net.Analysis.Tr
{
/*
* 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... | jeme/lucenenet | src/Lucene.Net.Tests.Analysis.Common/Analysis/Tr/TestTurkishLowerCaseFilter.cs | https://github.com/jeme/lucenenet/blob/HEAD/src/Lucene.Net.Tests.Analysis.Common/Analysis/Tr/TestTurkishLowerCaseFilter.cs | ghcode:00010:df8811b098a4 | apache-2.0 | codeparrot/github-code | df8811b098a4177375c0da2480217c9687669d6733d91c348049cc1ace05b257 | 0.85 | testing_debugging_repair_refactoring | 874 | false | 2026-07-17 |
// Copyright © 2020 The CefSharp Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
using System;
using CefSharp.Internals;
using Xunit;
namespace CefSharp.Test.Framework
{
public class PathCheckFacts
{
[Fact]
p... | Livit/CefSharp | CefSharp.Test/Framework/PathCheckFacts.cs | https://github.com/Livit/CefSharp/blob/HEAD/CefSharp.Test/Framework/PathCheckFacts.cs | ghcode:00010:9ddf7332a771 | bsd-3-clause | codeparrot/github-code | 9ddf7332a771a64163a8c6686fcda5dc2e560e1e06239731cd1454f0fb060568 | 0.7 | testing_debugging_repair_refactoring | 388 | false | 2026-07-17 |
using System;
using AutoFixture.Dsl;
using AutoFixture.Kernel;
using Xunit;
namespace AutoFixtureUnitTest.Kernel
{
public class SpecimenBuilderNodeFactoryTests
{
[Fact]
public void CreateComposerReturnsCorrectResult()
{
// Arrange
// Act
NodeComposer... | Pvlerick/AutoFixture | Src/AutoFixtureUnitTest/Kernel/SpecimenBuilderNodeFactoryTests.cs | https://github.com/Pvlerick/AutoFixture/blob/HEAD/Src/AutoFixtureUnitTest/Kernel/SpecimenBuilderNodeFactoryTests.cs | ghcode:00010:1318feeab05e | mit | codeparrot/github-code | 1318feeab05ea1bc78d3cf2030f50da0283cf1e2cd4622ef277f9ed44d766d23 | 0.85 | testing_debugging_repair_refactoring | 317 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace MultiMiner.Utility.OS.Tests
{
[TestClass]
public class IdleTimeFinderTests
{
[TestMethod]
public void GetLastInputTime_Succeeds()
{
//arrange
uint lastInputTicks;
... | nwoolls/MultiMiner | MultiMiner.Utility.Tests/OS/IdleTimeFinderTests.cs | https://github.com/nwoolls/MultiMiner/blob/HEAD/MultiMiner.Utility.Tests/OS/IdleTimeFinderTests.cs | ghcode:00010:5de66a59d5f0 | mit | codeparrot/github-code | 5de66a59d5f0548e4f3774b09ab6e6fe3bbf48417e4ceb0e73b3905a568c054c | 0.85 | testing_debugging_repair_refactoring | 155 | false | 2026-07-17 |
using System;
using System.Linq.Expressions;
using NUnit.Framework;
namespace DelegateDecompiler.Tests
{
[TestFixture]
public class IntegerConstantTests : DecompilerTestsBase
{
[Test]
public void MethodAcceptingBoolean()
{
Expression<Func<string>> expected = () => Method... | jaenyph/DelegateDecompiler | src/DelegateDecompiler.Tests/IntegerConstantTests.cs | https://github.com/jaenyph/DelegateDecompiler/blob/HEAD/src/DelegateDecompiler.Tests/IntegerConstantTests.cs | ghcode:00010:089706ca9f3a | mit | codeparrot/github-code | 089706ca9f3ad180ce5f982099e14e867075b29d707080704f4e4e7504f89cca | 0.75 | testing_debugging_repair_refactoring | 2,403 | 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.Buffers;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using Xunit;
na... | ptoonen/corefx | src/System.Text.Json/tests/Utf8JsonReaderTests.MultiSegment.cs | https://github.com/ptoonen/corefx/blob/HEAD/src/System.Text.Json/tests/Utf8JsonReaderTests.MultiSegment.cs | ghcode:00010:800645532762 | mit | codeparrot/github-code | 80064553276202d1a12c753994276c25a108dbfc239c2d74b62adca4848906ee | 0.95 | testing_debugging_repair_refactoring | 7,716 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using NUnit.Framework;
using OpenQA.Selenium.Environment;
namespace OpenQA.Selenium.DevTools
{
[TestFixture]
public class DevToolsConsoleTest : DevToolsTestFixture
{
... | SeleniumHQ/selenium | dotnet/test/common/DevTools/DevToolsConsoleTest.cs | https://github.com/SeleniumHQ/selenium/blob/HEAD/dotnet/test/common/DevTools/DevToolsConsoleTest.cs | ghcode:00010:c6096078107b | apache-2.0 | codeparrot/github-code | c6096078107b10178907d4f5d036901d126398558e29635d08bbb3392d32840e | 0.85 | testing_debugging_repair_refactoring | 326 | false | 2026-07-17 |
using System;
using FluentAssertions;
using Nest;
using Tests.Framework.Integration;
using Tests.Framework.MockData;
using static Nest.Infer;
namespace Tests.Aggregations.Metric.ExtendedStats
{
public class ExtendedStatsAggregationUsageTests : AggregationUsageTestBase
{
public ExtendedStatsAggregationUsageTests(R... | azubanov/elasticsearch-net | src/Tests/Aggregations/Metric/ExtendedStats/ExtendedStatsAggregationUsageTests.cs | https://github.com/azubanov/elasticsearch-net/blob/HEAD/src/Tests/Aggregations/Metric/ExtendedStats/ExtendedStatsAggregationUsageTests.cs | ghcode:00010:1efcd5078b4c | apache-2.0 | codeparrot/github-code | 1efcd5078b4c5257e7ed9588694286a422928532a8e611272dc6d04e8866d9a9 | 0.85 | testing_debugging_repair_refactoring | 447 | false | 2026-07-17 |
//
// Copyright (c) 2004-2021 Jaroslaw Kowalski <jaak@jkowalski.net>, Kim Christensen, Julian Verdurmen
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
// are met:
//
// * Redistributions of s... | luigiberrettini/NLog | tests/NLog.UnitTests/LayoutRenderers/IdentityTests.cs | https://github.com/luigiberrettini/NLog/blob/HEAD/tests/NLog.UnitTests/LayoutRenderers/IdentityTests.cs | ghcode:00010:f28a6f291cb8 | bsd-3-clause | codeparrot/github-code | f28a6f291cb8304260583a909607e8775e6a23ee0b60f97ead88e5ade604591d | 0.85 | testing_debugging_repair_refactoring | 1,551 | 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.Threading.Tasks;
using Microsoft.CodeAnalysis.CSharp.Test.Utilities;
using Microsoft.CodeAnalysis.Test... | jmarolf/roslyn | src/EditorFeatures/CSharpTest2/Recommendations/FieldKeywordRecommenderTests.cs | https://github.com/jmarolf/roslyn/blob/HEAD/src/EditorFeatures/CSharpTest2/Recommendations/FieldKeywordRecommenderTests.cs | ghcode:00010:c44d59904216 | mit | codeparrot/github-code | c44d59904216474d7cb9bd796fe600143c1d54839fc7a55e025b5c2d379904fa | 0.85 | testing_debugging_repair_refactoring | 1,133 | false | 2026-07-17 |
// <copyright file="SvdTests.cs" company="Math.NET">
// Math.NET Numerics, part of the Math.NET Project
// http://numerics.mathdotnet.com
// http://github.com/mathnet/mathnet-numerics
//
// Copyright (c) 2009-2016 Math.NET
//
// Permission is hereby granted, free of charge, to any person
// obtaining a copy of this sof... | albertp007/mathnet-numerics | src/UnitTests/LinearAlgebraTests/Complex32/Factorization/SvdTests.cs | https://github.com/albertp007/mathnet-numerics/blob/HEAD/src/UnitTests/LinearAlgebraTests/Complex32/Factorization/SvdTests.cs | ghcode:00010:42797908d5fe | mit | codeparrot/github-code | 42797908d5fe3e70ccaea5fc307b0b51e68651262d5ab02035dc1a0dbab0fa32 | 0.85 | testing_debugging_repair_refactoring | 3,638 | false | 2026-07-17 |
using Examine;
using NUnit.Framework;
using Umbraco.Examine;
using Moq;
using Umbraco.Core.Services;
using System.Collections.Generic;
using Umbraco.Core;
using Umbraco.Core.Models;
using System;
using System.Linq;
using Umbraco.Core.Scoping;
namespace Umbraco.Tests.UmbracoExamine
{
[TestFixture]
public class... | abjerner/Umbraco-CMS | src/Umbraco.Tests/UmbracoExamine/UmbracoContentValueSetValidatorTests.cs | https://github.com/abjerner/Umbraco-CMS/blob/HEAD/src/Umbraco.Tests/UmbracoExamine/UmbracoContentValueSetValidatorTests.cs | ghcode:00010:6c770b2f44c9 | mit | codeparrot/github-code | 6c770b2f44c9a7cd5ba5404441943dd2d06b126c21dba6921ccf2808945da5be | 0.75 | testing_debugging_repair_refactoring | 3,302 | false | 2026-07-17 |
/*
* Farseer Physics Engine based on Box2D.XNA port:
* Copyright (c) 2010 Ian Qvist
*
* Box2D.XNA port of Box2D:
* Copyright (c) 2009 Brandon Furtwangler, Nathan Furtwangler
*
* Original source Box2D:
* Copyright (c) 2006-2009 Erin Catto http://www.gphysics.com
*
* This software is provided 'as-is', without any exp... | Barsonax/duality | Source/Core/Physics/Dynamics/Island.cs | https://github.com/Barsonax/duality/blob/HEAD/Source/Core/Physics/Dynamics/Island.cs | ghcode:00010:4f0f3d74fb56 | mit | codeparrot/github-code | 4f0f3d74fb56a4c7bee771587a33d9d3a185b8b887a9c05e099f43ab512eb92f | 0.7 | testing_debugging_repair_refactoring | 3,647 | 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 System.Collections.Generic;
using Xunit;
namespace System.CommandLine.Tests
{
public class ArgumentLexerTests
{
[Fact]
public void Lex_P... | Vedin/corefxlab | tests/System.CommandLine.Tests/System/CommandLine/Tests/ArgumentLexerTests.cs | https://github.com/Vedin/corefxlab/blob/HEAD/tests/System.CommandLine.Tests/System/CommandLine/Tests/ArgumentLexerTests.cs | ghcode:00010:71f1b1ff8325 | mit | codeparrot/github-code | 71f1b1ff83258b7c3b3ec2fc2e7dd59ee4eace886b42a9e55d3bfd34165ad374 | 0.85 | testing_debugging_repair_refactoring | 937 | 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.Collections.Immutable;
using System.Diagnostics;
names... | kyulee1/corert | src/ILCompiler.DependencyAnalysisFramework/src/DependencyAnalyzer.cs | https://github.com/kyulee1/corert/blob/HEAD/src/ILCompiler.DependencyAnalysisFramework/src/DependencyAnalyzer.cs | ghcode:00010:2ca3a5e67ce1 | mit | codeparrot/github-code | 2ca3a5e67ce1d9662e8574b9a3dc3dca0d99871c29e76613421a56cb26c0dffc | 0.8 | testing_debugging_repair_refactoring | 2,322 | 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.Generic;
using System.Diagnostics;
using Microsoft.CodeAnalysis.CSharp.Symbols;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Mi... | balazssimon/meta-cs | src/Main/MetaDslx.CodeAnalysis.CSharp/FlowAnalysis/UnassignedAddressTakenVariablesWalker.cs | https://github.com/balazssimon/meta-cs/blob/HEAD/src/Main/MetaDslx.CodeAnalysis.CSharp/FlowAnalysis/UnassignedAddressTakenVariablesWalker.cs | ghcode:00010:078cac9e29e3 | apache-2.0 | codeparrot/github-code | 078cac9e29e3c2578235ab975eacbac66c27453ddd7af16a81c6310c591b30b9 | 0.7 | testing_debugging_repair_refactoring | 537 | false | 2026-07-17 |
/*
* Copyright (c) Citrix Systems, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1) Redistributions of source code must retain the above copyright
* notice,... | geosharath/xenadmin | XenModel/XenAPI/VM_metrics.cs | https://github.com/geosharath/xenadmin/blob/HEAD/XenModel/XenAPI/VM_metrics.cs | ghcode:00010:0147d1a41566 | bsd-2-clause | codeparrot/github-code | 0147d1a41566d42a227ec93c7564666d504784d41057da43b7240489980c6bad | 0.78 | testing_debugging_repair_refactoring | 6,220 | 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.Immutable;
using System.Diagnostics;
using Microsoft.CodeAnalysis.CSharp.Symbols;
using Microsoft.CodeAnalysis.CSharp.... | paladique/roslyn | src/Compilers/CSharp/Portable/Lowering/LocalRewriter/LocalRewriter_UnaryOperator.cs | https://github.com/paladique/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/Lowering/LocalRewriter/LocalRewriter_UnaryOperator.cs | ghcode:00010:11bbbf6d067d | apache-2.0 | codeparrot/github-code | 11bbbf6d067d793b0b5aabfd19b104d44d6dcf867aad1b3da0c3add214985e9a | 0.85 | testing_debugging_repair_refactoring | 9,108 | 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 Cake.Core;
using Cake.Testing;
using NSubstitute;
using Xunit;
namespace Cake.Common.Tests.Unit
{
public... | phenixdotnet/cake | src/Cake.Common.Tests/Unit/EnvironmentAliasesTests.cs | https://github.com/phenixdotnet/cake/blob/HEAD/src/Cake.Common.Tests/Unit/EnvironmentAliasesTests.cs | ghcode:00010:613da2bafa6c | mit | codeparrot/github-code | 613da2bafa6c8e90456f37df2b3954e22a1810eb7934bb30770e838bb94fe74a | 0.85 | testing_debugging_repair_refactoring | 970 | false | 2026-07-17 |
using System;
using System.Reflection;
using FluentAssertions.Execution;
using FluentAssertions.Primitives;
#if !OLD_MSTEST
using Microsoft.VisualStudio.TestPlatform.UnitTestFramework;
#else
using Microsoft.VisualStudio.TestTools.UnitTesting;
#endif
namespace FluentAssertions.Specs
{
[TestClass]
public cla... | jeroenpot/FluentAssertions | Tests/FluentAssertions.Shared.Specs/AssertionFailureSpecs.cs | https://github.com/jeroenpot/FluentAssertions/blob/HEAD/Tests/FluentAssertions.Shared.Specs/AssertionFailureSpecs.cs | ghcode:00010:c722eb81a72e | apache-2.0 | codeparrot/github-code | c722eb81a72e149c045c155e89787b875c9336641c089403466c8e577ac664c4 | 0.7 | testing_debugging_repair_refactoring | 713 | false | 2026-07-17 |
using System.Threading.Tasks;
using Nest;
using Tests.Framework;
using Tests.Framework.MockData;
using static Tests.Framework.UrlTester;
namespace Tests.Search.MultiSearch
{
public class MultiSearchUrlTests
{
[U] public async Task Urls()
{
var index = "indexx";
await POST($"/_msearch")
.Fluent(c=>c.Mu... | CSGOpenSource/elasticsearch-net | src/Tests/Search/MultiSearch/MultiSearchUrlTests.cs | https://github.com/CSGOpenSource/elasticsearch-net/blob/HEAD/src/Tests/Search/MultiSearch/MultiSearchUrlTests.cs | ghcode:00010:8d77e05897d1 | apache-2.0 | codeparrot/github-code | 8d77e05897d1e0632db3909f895922a467b8d54278141c7cdcd66c8aafe6dfc7 | 0.85 | testing_debugging_repair_refactoring | 316 | false | 2026-07-17 |
using Humanizer.Localisation;
using Xunit;
namespace Humanizer.Tests.Localisation.uzLatn
{
[UseCulture("uz-Latn-UZ")]
public class DateHumanizeTests
{
[Theory]
[InlineData(1, "bir soniya avval")]
[InlineData(10, "10 sekund avval")]
public void SecondsAgo(int seconds, strin... | jaxx-rep/Humanizer | src/Humanizer.Tests.Shared/Localisation/uz-Latn-UZ/DateHumanizeTests.cs | https://github.com/jaxx-rep/Humanizer/blob/HEAD/src/Humanizer.Tests.Shared/Localisation/uz-Latn-UZ/DateHumanizeTests.cs | ghcode:00010:b5933cb15cfd | mit | codeparrot/github-code | b5933cb15cfdccc9db36504ac4cf1eb2a70bb8627f0759fcf0450755d61e86a1 | 0.75 | testing_debugging_repair_refactoring | 874 | false | 2026-07-17 |
// ****************************************************************
// This is free software licensed under the NUnit license. You
// may obtain a copy of the license as well as information regarding
// copyright ownership at http://nunit.org.
// ****************************************************************
using S... | acken/AutoTest.Net | lib/NUnit/src/NUnit-2.5.9.10348/src/NUnitCore/tests/XmlTest.cs | https://github.com/acken/AutoTest.Net/blob/HEAD/lib/NUnit/src/NUnit-2.5.9.10348/src/NUnitCore/tests/XmlTest.cs | ghcode:00010:63e3e587abf3 | mit | codeparrot/github-code | 63e3e587abf31b0083781b3b238abcafb021aba764edba484ddfc9980d2e6b68 | 0.95 | testing_debugging_repair_refactoring | 1,283 | false | 2026-07-17 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.