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 (c) 2017, Quamotion
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and associated documentation files (the "Software"),
// to deal in the Software without restriction, including without limitation
// the rights to use, copy, modify, merge, publish... | drebrez/DiscUtils | Tests/LibraryTests/Nfs/Nfs3ExportTest.cs | https://github.com/drebrez/DiscUtils/blob/HEAD/Tests/LibraryTests/Nfs/Nfs3ExportTest.cs | ghcode:00163:2cbb8c2d1495 | mit | codeparrot/github-code | 2cbb8c2d14951dccced25ecd0b1363920e3fb2cf834c6416cf0c99d91d36392b | 0.85 | testing_debugging_repair_refactoring | 415 | false | 2026-07-17 |
using System.Linq;
using Should.Fluent;
using Xunit.Extensions;
namespace LINQtoSPARQLSpace.Tests
{
public class LimitFixture
{
[Theory(DisplayName = "Limit & offset "), Xunit.Trait("SPARQL Query", ""),
InlineData(@"@prefix dc: <http://purl.org/dc/elements/1.1/> .
@prefix : ... | Efimster/LINQtoSPARQL | LINQtoSPARQL.Tests/Limit.Fixture.cs | https://github.com/Efimster/LINQtoSPARQL/blob/HEAD/LINQtoSPARQL.Tests/Limit.Fixture.cs | ghcode:00163:7e5aa47eb6df | mit | codeparrot/github-code | 7e5aa47eb6dfdfb58029d6103653b93e628843b2e16e681ca05a8336db0109ae | 0.7 | testing_debugging_repair_refactoring | 307 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using Xunit;
namespace Api.Tests.S3FTests.SecurityFunctionsTests.Example3
{
public class SecurityFunctionsTests
{
private const string AwsAccessKeyId = "AKIAIOSFODNN7EXAMPLE";
private const string AwsSecretAccessKey = "wJalrXUt... | mfilippov/s3-server-net | src/Api.Tests/S3FTests/SecurityFunctionsTests/Example3/SecurityFunctionsTests.cs | https://github.com/mfilippov/s3-server-net/blob/HEAD/src/Api.Tests/S3FTests/SecurityFunctionsTests/Example3/SecurityFunctionsTests.cs | ghcode:00163:5a87fa314704 | mit | codeparrot/github-code | 5a87fa314704d0969d76875a58f593984de66eb6522ee8c15ee50dd4273bb517 | 0.75 | testing_debugging_repair_refactoring | 1,033 | false | 2026-07-17 |
// Copyright © 2007 by Initial Force AS. All rights reserved.
// https://github.com/InitialForce/UnitsNet
//
// 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, includi... | bretthysuik/UnitsNet | Tests/CustomCode/ElectricPotentialTests.cs | https://github.com/bretthysuik/UnitsNet/blob/HEAD/Tests/CustomCode/ElectricPotentialTests.cs | ghcode:00163:71bed28cc478 | mit | codeparrot/github-code | 71bed28cc478776f3ec3dde5a56f24d9b3fd42f4de9556232e66c36a4807fc74 | 0.85 | testing_debugging_repair_refactoring | 300 | false | 2026-07-17 |
namespace Automation.Tests.ScenarioTests.UpdateManagement
{
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Azure.Management.Automation;
using Microsoft.Azure.Management.Automation.Models;
using Microsoft.Rest.ClientRuntime.Azure.TestFramework;
using Xun... | shahabhijeet/azure-sdk-for-net | src/SDKs/Automation/Automation.Tests/ScenarioTests/UpdateManagement/SoftwareUpdateConfigurationTests.cs | https://github.com/shahabhijeet/azure-sdk-for-net/blob/HEAD/src/SDKs/Automation/Automation.Tests/ScenarioTests/UpdateManagement/SoftwareUpdateConfigurationTests.cs | ghcode:00163:9c978f02c4ea | mit | codeparrot/github-code | 9c978f02c4ea6812360f330b38b8eee47113aa317e47427a6319c3d648a7f7d2 | 0.85 | testing_debugging_repair_refactoring | 1,286 | false | 2026-07-17 |
using Bitretsmah.Core;
using Bitretsmah.Core.Interfaces;
using Bitretsmah.Core.Models;
using FluentAssertions;
using Moq;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Bitretsmah.Tests.Unit.Core
{
[TestFixture]
public class Hi... | zbigniew-klasik/Bitretsmah | src/Bitretsmah.Tests.Unit/Core/HistoryServiceShould.cs | https://github.com/zbigniew-klasik/Bitretsmah/blob/HEAD/src/Bitretsmah.Tests.Unit/Core/HistoryServiceShould.cs | ghcode:00163:da59047c4080 | mit | codeparrot/github-code | da59047c4080fb22c2d3c3f9e6d2c8d9a9fec84895bf92b56bae670184ae1684 | 0.75 | testing_debugging_repair_refactoring | 1,147 | false | 2026-07-17 |
using Moq;
using PokerTracker.DAL.DAO;
using PokerTracker.DAL.Databases;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace PokerTracker.Tests.BLL.Mocks
{
public class DatabaseMock<T> : Mock<IDatabase>
where T : IDao
{
private readonly List<T> _daoList = new List<T>();
... | rdhammond/poker-tracker | Tests/BLL/Mocks/DatabaseMock.cs | https://github.com/rdhammond/poker-tracker/blob/HEAD/Tests/BLL/Mocks/DatabaseMock.cs | ghcode:00163:d2b2bcba194e | mit | codeparrot/github-code | d2b2bcba194ef91e4f02e551e979f5499c48b748e1cc66ad2a52b2103ec4bb81 | 0.6 | testing_debugging_repair_refactoring | 150 | false | 2026-07-17 |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
namespace NConsoleMenu
{
/// <summary>
/// A single console menu item. It consists of a selector (keyword), a help text and the
/// individual behavior. Also offers various ways to add, ... | nerai/CMenu | src/ConsoleMenu/CMenuItem.cs | https://github.com/nerai/CMenu/blob/HEAD/src/ConsoleMenu/CMenuItem.cs | ghcode:00163:4adadf28ea27 | mit | codeparrot/github-code | 4adadf28ea27926ad65393d3d596e1c4c709e355e30a6c2df518e76bf10e38cd | 0.7 | testing_debugging_repair_refactoring | 5,133 | false | 2026-07-17 |
using Caliburn.Micro;
using $saferootprojectname$.Client.Model.Shared;
namespace $safeprojectname$
{
public static class TestHelper
{
public static void AfterTeardown()
{
UserContext.Current = null;
AssemblySource.Instance.Clear();
... | LogoFX/tools | src/LogoFX.Tools.Templates/ProjectTemplates/Wizard/P23/TestHelper.cs | https://github.com/LogoFX/tools/blob/HEAD/src/LogoFX.Tools.Templates/ProjectTemplates/Wizard/P23/TestHelper.cs | ghcode:00163:4a6ba4e5b77c | mit | codeparrot/github-code | 4a6ba4e5b77cad07a379d64918a6db2788b207e8642c3f0c13d7d2396a60878a | 0.75 | testing_debugging_repair_refactoring | 68 | false | 2026-07-17 |
using System;
class Program
{
static void Main()
{
Console.BufferHeight = 800;
for (int ctr = Convert.ToInt32(Char.MinValue); ctr <= Convert.ToInt32(Char.MaxValue); ctr++)
{
char ch = (Char)ctr;
if (Char.IsPunctuation(ch))
Console.WriteLine(@"\u{... | todorm85/TelerikAcademy | Courses/Programming/C# Part 2/06. Strings and Text Processing/00. Test/test.cs | https://github.com/todorm85/TelerikAcademy/blob/HEAD/Courses/Programming/C# Part 2/06. Strings and Text Processing/00. Test/test.cs | ghcode:00163:8fad6d6eacaa | mit | codeparrot/github-code | 8fad6d6eacaa549b3f394b8b738eac20db47686f102043ef370ac6275ca3f845 | 0.75 | testing_debugging_repair_refactoring | 105 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace G19BuildScreen
{
public class TestResults
{
public int Total { get; set; }
public int Passed { get; set; }
public int Failed { get; set; }
public int In... | binaryfr3ak/G19BuildScreen | G19BuildScreen/G19BuildScreen/TestResults.cs | https://github.com/binaryfr3ak/G19BuildScreen/blob/HEAD/G19BuildScreen/G19BuildScreen/TestResults.cs | ghcode:00163:e48e52a9342a | mit | codeparrot/github-code | e48e52a9342a907469cd5794e4a3b8118e888d5f058d323101fd09eb11cb08e5 | 0.75 | testing_debugging_repair_refactoring | 92 | false | 2026-07-17 |
using System;
using Baseline;
using Marten.Schema;
using Marten.Schema.Identity;
using Shouldly;
using Xunit;
namespace Marten.Testing.Acceptance
{
public class using_natural_identity_keys : IntegratedFixture
{
[Fact]
public void finds_the_id_member_with_the_attribute_on_a_field()
{
... | jokokko/marten | src/Marten.Testing/Acceptance/using_natural_identity_keys.cs | https://github.com/jokokko/marten/blob/HEAD/src/Marten.Testing/Acceptance/using_natural_identity_keys.cs | ghcode:00163:105913ae61f8 | mit | codeparrot/github-code | 105913ae61f8762caeb0eb8158f475f844d5a73d6da45f7c616e1d32ef3e9308 | 0.85 | testing_debugging_repair_refactoring | 450 | false | 2026-07-17 |
using EnumStringValues;
using NUnit.Framework;
using FluentAssertions;
namespace NET461NugetPackageTest
{
[TestFixture]
public class ClassUsingEnumStringValues
{
[Test]
public void IsFunctional()
{
Test.Entry.GetStringValue().Should().Be("Value");
EnumExtensions.EnumerateVal... | Brondahl/EnumStringValues | NET461NugetPackageTest/ClassUsingEnumStringValues.cs | https://github.com/Brondahl/EnumStringValues/blob/HEAD/NET461NugetPackageTest/ClassUsingEnumStringValues.cs | ghcode:00163:17f4a038cf0c | mit | codeparrot/github-code | 17f4a038cf0cb096cb83dd59c2d486a2f44df210721b8ed8809715ce1ba48880 | 0.75 | testing_debugging_repair_refactoring | 95 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
namespace HermaFx.DataAnnotations
{
[TestFixture]
public class RequiredIfHasFlagAttributeTest
{
[Flags]
public enum AnEnum
{
A = (1<<0),
B = (1<<1),
C = (1<<2)
}
class Model : ModelBase... | evicertia/HermaFx | HermaFx.DataAnnotations.Tests/RequiredIfHasFlagAttributeTest.cs | https://github.com/evicertia/HermaFx/blob/HEAD/HermaFx.DataAnnotations.Tests/RequiredIfHasFlagAttributeTest.cs | ghcode:00163:fb775dd39f36 | mit | codeparrot/github-code | fb775dd39f36299bd7cec5dbbe3913677190dce9868647149219447b31e02055 | 0.75 | testing_debugging_repair_refactoring | 287 | false | 2026-07-17 |
using System.Linq;
using CMS.Base;
using CMS.DataEngine;
using CMS.Ecommerce;
using CMS.SiteProvider;
using CMS.Tests;
using NUnit.Framework;
namespace Kentico.Ecommerce.Tests
{
[TestFixture, SharedDatabaseForAllTests]
class ProductVariantTests : EcommerceTestsBase
{
private IVariantRepository v... | Kentico/Mvc | test/Kentico.Ecommerce.Tests/VariantTests.cs | https://github.com/Kentico/Mvc/blob/HEAD/test/Kentico.Ecommerce.Tests/VariantTests.cs | ghcode:00163:278308f4cb06 | mit | codeparrot/github-code | 278308f4cb064559e5711cee0e030525b53ae8ca529a04b3950c0b5265bb49cc | 0.85 | testing_debugging_repair_refactoring | 1,734 | false | 2026-07-17 |
using System;
using SharperArchitecture.CodeList;
using SharperArchitecture.CodeList.Attributes;
using FluentNHibernate.Automapping;
using SharperArchitecture.Domain.Attributes;
using SharperArchitecture.Tests.CodeList.Attributes;
namespace SharperArchitecture.Tests.CodeList.Entities
{
[CodeListConfiguration]
... | maca88/PowerArhitecture | Source/SharperArchitecture.Tests/SharperArchitecture.Tests.CodeList/Entities/Car.cs | https://github.com/maca88/PowerArhitecture/blob/HEAD/Source/SharperArchitecture.Tests/SharperArchitecture.Tests.CodeList/Entities/Car.cs | ghcode:00163:fe544ab5b2dd | mit | codeparrot/github-code | fe544ab5b2dd6973a43c2300a3d49b034ada45c06e28ab1248537ba7d5ce2399 | 0.75 | testing_debugging_repair_refactoring | 129 | false | 2026-07-17 |
using Moq;
using NUnit.Framework;
using SFA.DAS.EmployerAccounts.Interfaces;
using SFA.DAS.EmployerAccounts.Models.CommitmentsV2;
using SFA.DAS.EmployerAccounts.Queries.GetSingleCohort;
using SFA.DAS.HashingService;
using SFA.DAS.Validation;
using System.Collections.Generic;
using System.Linq;
using System.Threading.T... | SkillsFundingAgency/das-employerapprenticeshipsservice | src/SFA.DAS.EmployerAccounts.UnitTests/Queries/GetSingleCohort/WhenIGetSingleCohort.cs | https://github.com/SkillsFundingAgency/das-employerapprenticeshipsservice/blob/HEAD/src/SFA.DAS.EmployerAccounts.UnitTests/Queries/GetSingleCohort/WhenIGetSingleCohort.cs | ghcode:00163:05311fb9b385 | mit | codeparrot/github-code | 05311fb9b38590f6d54521bb46951d73e83a48cf9af9a7a23fa9e5347bf7ba7b | 0.85 | testing_debugging_repair_refactoring | 684 | false | 2026-07-17 |
using ExtendedXmlSerializer.Configuration;
using ExtendedXmlSerializer.Tests.ReportedIssues.Support;
using FluentAssertions;
using Xunit;
namespace ExtendedXmlSerializer.Tests.ReportedIssues
{
public sealed class Issue561Tests
{
[Fact]
public void Verify()
{
var subject = new ConfigurationContainer().Enab... | wojtpl2/ExtendedXmlSerializer | test/ExtendedXmlSerializer.Tests.ReportedIssues/Issue561Tests.cs | https://github.com/wojtpl2/ExtendedXmlSerializer/blob/HEAD/test/ExtendedXmlSerializer.Tests.ReportedIssues/Issue561Tests.cs | ghcode:00163:ed4b93a65e85 | mit | codeparrot/github-code | ed4b93a65e858f2439967c7751e34912c2ba6b27f8cfa5bf9dd26c1662b4b165 | 0.75 | testing_debugging_repair_refactoring | 137 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using NBitcoin;
using NBitcoin.BitcoinCore;
using NBitcoin.Protocol;
using Stratis.Bitcoin.Configuration;
using Stratis.Bitcoin.Connecti... | DogaOztuzun/StratisBitcoinFullNode | Stratis.Bitcoin.IntegrationTests/MemoryPoolTests.cs | https://github.com/DogaOztuzun/StratisBitcoinFullNode/blob/HEAD/Stratis.Bitcoin.IntegrationTests/MemoryPoolTests.cs | ghcode:00163:a25dbcb6bbb6 | mit | codeparrot/github-code | a25dbcb6bbb66897103789efb65723567c9c43d54387593dd474aac782093a0e | 0.85 | testing_debugging_repair_refactoring | 12,639 | false | 2026-07-17 |
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System.Diagnostics;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Spr... | default0/osu | osu.Game/Overlays/Toolbar/ToolbarUserButton.cs | https://github.com/default0/osu/blob/HEAD/osu.Game/Overlays/Toolbar/ToolbarUserButton.cs | ghcode:00163:84a3cc16c54e | mit | codeparrot/github-code | 84a3cc16c54e09fcdee9116897c5beb8a74011981ac56657418190b49b26ceb6 | 0.85 | testing_debugging_repair_refactoring | 693 | false | 2026-07-17 |
using System;
using System.ComponentModel.DataAnnotations;
using NUnit.Framework;
namespace MeetMe.Data.Models.Tests.CustomUserTests
{
[TestFixture]
public class Company_Should
{
[TestCase("CompanyOne")]
[TestCase("CompanyTwo")]
public void SetCompany_Correct(string company)
... | Warez-VD/MeetMe | MeetMe/MeetMe.Data.Models.Tests/CustomUserTests/Company_Should.cs | https://github.com/Warez-VD/MeetMe/blob/HEAD/MeetMe/MeetMe.Data.Models.Tests/CustomUserTests/Company_Should.cs | ghcode:00163:7210b9284c4d | mit | codeparrot/github-code | 7210b9284c4ddef21881c1a4a482815f747ee2f34328cd3ec28eec53d8db2a2e | 0.7 | testing_debugging_repair_refactoring | 169 | false | 2026-07-17 |
using System;
using System.Linq;
using System.Threading.Tasks;
using Nimbus.Configuration;
using Nimbus.Configuration.Transport;
using Nimbus.Extensions;
using Nimbus.Infrastructure.DependencyResolution;
using Nimbus.Infrastructure.Routing;
using Nimbus.Serializers.Json;
using Nimbus.Tests.Common.Stubs;
using Nimbus.T... | KodrAus/Nimbus | src/Tests/Nimbus.IntegrationTests/Tests/BusBuilderTests/WhenCreatingMultipleBusInstancesPointedAtTheSameEndpoint.cs | https://github.com/KodrAus/Nimbus/blob/HEAD/src/Tests/Nimbus.IntegrationTests/Tests/BusBuilderTests/WhenCreatingMultipleBusInstancesPointedAtTheSameEndpoint.cs | ghcode:00163:ce60c7f401cc | mit | codeparrot/github-code | ce60c7f401cc4e1c15a127187656661ef6c3333e6006864f862d8f9c2ebcb434 | 0.85 | testing_debugging_repair_refactoring | 753 | false | 2026-07-17 |
using ActiveListExtensions.Tests.Helpers;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;
namespace ActiveListExtensions.Tests
{
public class ActiveRepeatTests
{
[Fact]
public void RandomlyChangeStart()
{
RandomGenerator.Reset... | JohannesMoersch/ActiveListExtensions | ActiveListExtensions.Tests/ActiveRepeatTests.cs | https://github.com/JohannesMoersch/ActiveListExtensions/blob/HEAD/ActiveListExtensions.Tests/ActiveRepeatTests.cs | ghcode:00163:c2a79749b7ae | mit | codeparrot/github-code | c2a79749b7ae9bed2ee87a43923fb9faffe89dfd50be3af2146b0185212958d2 | 0.75 | testing_debugging_repair_refactoring | 375 | false | 2026-07-17 |
/*
MIT License
Copyright (c) 2016 Brandon Legault
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, cop... | BrandonLegault/ExpressionEvaluator | BrandoSoft.CSharp.Evaluator.Test/RuntimeEvaluatorTests.cs | https://github.com/BrandonLegault/ExpressionEvaluator/blob/HEAD/BrandoSoft.CSharp.Evaluator.Test/RuntimeEvaluatorTests.cs | ghcode:00163:10221262bc66 | mit | codeparrot/github-code | 10221262bc66c9a760c229cd24465e6699776e999db6f4861736206daf8d0630 | 0.75 | testing_debugging_repair_refactoring | 1,470 | 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/?p=license&r=2.4.
// ****************************************************... | vimaier/conqat | org.conqat.engine.dotnet/test-data/org.conqat.engine.dotnet.scope/NUnit_Folder/ClientUtilities/tests/ProjectConfigTests.cs | https://github.com/vimaier/conqat/blob/HEAD/org.conqat.engine.dotnet/test-data/org.conqat.engine.dotnet.scope/NUnit_Folder/ClientUtilities/tests/ProjectConfigTests.cs | ghcode:00163:db56a1195d6c | apache-2.0 | codeparrot/github-code | db56a1195d6c03c67597207e9b66f084180f12d7b00a98f9529dade002b112da | 0.95 | testing_debugging_repair_refactoring | 1,604 | false | 2026-07-17 |
// NOTE: This is an auto-generated file. However, it will not be regenerated. If you want it to be regenerated, just delete it.
using System;
using System.Diagnostics;
using MetaDslx.CodeAnalysis;
using MetaDslx.CodeAnalysis.Symbols;
using MetaDslx.CodeAnalysis.Syntax;
using MetaDslx.CodeAnalysis.Syntax.InternalSyntax;... | balazssimon/meta-cs | src/Test/MetaDslx.CodeAnalysis.Languages.Test/Languages/RailDsl/Compilation/RailDslLanguageServices.cs | https://github.com/balazssimon/meta-cs/blob/HEAD/src/Test/MetaDslx.CodeAnalysis.Languages.Test/Languages/RailDsl/Compilation/RailDslLanguageServices.cs | ghcode:00163:9578a478edd3 | apache-2.0 | codeparrot/github-code | 9578a478edd3e4fb18a0f12505d14e20e93e44af58c1da4ad04f6a41c7f5c34a | 0.85 | testing_debugging_repair_refactoring | 130 | 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.Diagnostics;
using System.Linq;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Inter... | jeffanders/roslyn | src/Workspaces/Core/Portable/Utilities/SpellChecker.cs | https://github.com/jeffanders/roslyn/blob/HEAD/src/Workspaces/Core/Portable/Utilities/SpellChecker.cs | ghcode:00163:e38a3184000c | apache-2.0 | codeparrot/github-code | e38a3184000c6ebb5f761096b230a23118b3b62b44c2913bc1d337c17da86231 | 0.85 | testing_debugging_repair_refactoring | 1,850 | false | 2026-07-17 |
/*
* Copyright 2008 ZXing authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | zxingwin/core | ZXing.Win/ZXing.Win.QRCode.UnitTests/QRCode/Encoder/MatrixUtilTests.cs | https://github.com/zxingwin/core/blob/HEAD/ZXing.Win/ZXing.Win.QRCode.UnitTests/QRCode/Encoder/MatrixUtilTests.cs | ghcode:00163:5796a8f41cf0 | apache-2.0 | codeparrot/github-code | 5796a8f41cf0aabe7e00cdeecad1d1095020bb3e2c339833d1dba12c45308bb5 | 0.85 | testing_debugging_repair_refactoring | 5,562 | false | 2026-07-17 |
/**
* 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"); yo... | DifferentSC/incubator-reef | lang/cs/Org.Apache.REEF.Tests/Functional/ML/KMeans/TestKMeans.cs | https://github.com/DifferentSC/incubator-reef/blob/HEAD/lang/cs/Org.Apache.REEF.Tests/Functional/ML/KMeans/TestKMeans.cs | ghcode:00163:a1009293cc07 | apache-2.0 | codeparrot/github-code | a1009293cc074d0dd589a3dde97b17b34a1f8181652e6398b3048879bfeddc15 | 0.85 | testing_debugging_repair_refactoring | 1,733 | false | 2026-07-17 |
/*
* Copyright 2013 XPFriend Community.
*
* 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... | ototadana/FixtureBook | FixtureBookTest/FixtureTest/Toolkit/StackFrameFinderTest.cs | https://github.com/ototadana/FixtureBook/blob/HEAD/FixtureBookTest/FixtureTest/Toolkit/StackFrameFinderTest.cs | ghcode:00163:19515d47b297 | apache-2.0 | codeparrot/github-code | 19515d47b297e101c2228d11e34b6dac98845129f5ca329fd9cc051aedb63cdf | 0.6 | testing_debugging_repair_refactoring | 329 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.Text;
using System.Text.Json;
using System.Threading.Tasks;
using Azure.Core;
using Azure.Core.Serialization;
using Azure.Core.TestFramework;
using Azure.Messagi... | markcowl/azure-sdk-for-net | sdk/eventgrid/Azure.Messaging.EventGrid/tests/Samples/Sample2_ParseAndDeserializeEvents.cs | https://github.com/markcowl/azure-sdk-for-net/blob/HEAD/sdk/eventgrid/Azure.Messaging.EventGrid/tests/Samples/Sample2_ParseAndDeserializeEvents.cs | ghcode:00163:0dc6ad94aadb | apache-2.0 | codeparrot/github-code | 0dc6ad94aadba578329b36b1eefe178d050c98133b188765b10e90054ed38a0b | 0.95 | testing_debugging_repair_refactoring | 956 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Linq;
using Kafka.Client.Consumers;
using Kafka.Client.Producers;
using Xunit;
namespace Kafka.Tests.Common
{
public class ConfigTest
{
[Fact]
public void TestInvalidClientIds()
{
var badChars = new List<string> { "/", "\\"... | CMTelecom/kafka-net | src/Kafka/Kafka.Tests/Common/ConfigTest.cs | https://github.com/CMTelecom/kafka-net/blob/HEAD/src/Kafka/Kafka.Tests/Common/ConfigTest.cs | ghcode:00163:83f7cb420bdf | apache-2.0 | codeparrot/github-code | 83f7cb420bdf8551d59ed263c49a89c620e28b6886692d14bbec234befee199d | 0.6 | testing_debugging_repair_refactoring | 420 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Text;
using NUnit.Framework;
using MindTouch.Deki.Data;
namespace MindTouch.Deki.Tests {
[TestFixture]
public class DateTimeParsingTests {
[Test]
public void Parse_MediaWiki_timestamp() {
DateTime now = Ut... | StackableRegiments/metl2011 | ThumbService/ThumbService/lib/MindTouch_Core_10.0.1_Source/src/tests/DekiMisc/DateTimeParsingTests.cs | https://github.com/StackableRegiments/metl2011/blob/HEAD/ThumbService/ThumbService/lib/MindTouch_Core_10.0.1_Source/src/tests/DekiMisc/DateTimeParsingTests.cs | ghcode:00163:85a3cb6eca78 | apache-2.0 | codeparrot/github-code | 85a3cb6eca78bbdce49dd22488745043145b45e913700052832cf3d50775be1d | 0.85 | testing_debugging_repair_refactoring | 260 | 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;
using System.Collections.Immutable;
using System.Composition;
using System.Diagnos... | physhi/roslyn | src/Analyzers/CSharp/CodeFixes/InvokeDelegateWithConditionalAccess/InvokeDelegateWithConditionalAccessCodeFixProvider.cs | https://github.com/physhi/roslyn/blob/HEAD/src/Analyzers/CSharp/CodeFixes/InvokeDelegateWithConditionalAccess/InvokeDelegateWithConditionalAccessCodeFixProvider.cs | ghcode:00163:78a0d6598a8a | apache-2.0 | codeparrot/github-code | 78a0d6598a8a1cd263727826f2b59b4abf721fb1d381432dec24f22f2652db8e | 0.85 | testing_debugging_repair_refactoring | 1,409 | 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.Runtime.Serialization;
using System.Xml.Serialization;
namespace FormatterWebSite
{
[KnownType(typeof(DerivedDummyClass))]
[XmlInclude(typeof(DerivedDummyClass)... | aspnet/AspNetCore | src/Mvc/test/WebSites/FormatterWebSite/Models/DummyClass.cs | https://github.com/aspnet/AspNetCore/blob/HEAD/src/Mvc/test/WebSites/FormatterWebSite/Models/DummyClass.cs | ghcode:00163:b834d0ee0be9 | apache-2.0 | codeparrot/github-code | b834d0ee0be9e881fb86043d1987ac33641d42b57c97276ef273a80a8f793c8d | 0.85 | testing_debugging_repair_refactoring | 88 | false | 2026-07-17 |
/* ****************************************************************************
*
* Copyright (c) Microsoft Corporation.
*
* This source code is subject to terms and conditions of the Apache License, Version 2.0. A
* copy of the license can be found in the License.txt file at the root of this distribution.
*
*... | X-Sharp/XSharpPublic | VisualStudio/ProjectBase/ProjectDesignerDocumentManager.cs | https://github.com/X-Sharp/XSharpPublic/blob/HEAD/VisualStudio/ProjectBase/ProjectDesignerDocumentManager.cs | ghcode:00163:ed95060c3f06 | apache-2.0 | codeparrot/github-code | ed95060c3f0680ca095b4b1a874bef9913bc2729f7dc1c796a579723e3baa4e4 | 0.75 | testing_debugging_repair_refactoring | 668 | false | 2026-07-17 |
#region License
/*
* Copyright 2002-2010 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requ... | MaferYangPointJun/Spring.net | test/Spring/Spring.Core.Tests/Util/PathMatcherTest.cs | https://github.com/MaferYangPointJun/Spring.net/blob/HEAD/test/Spring/Spring.Core.Tests/Util/PathMatcherTest.cs | ghcode:00163:ccbf678fc91a | apache-2.0 | codeparrot/github-code | ccbf678fc91a29f4570a70772ebd1b54c7a9c6ee107e16b63f8b38c822a2e06d | 0.75 | testing_debugging_repair_refactoring | 653 | 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... | GoogleCloudPlatform/dotnet-docs-samples | functions/http/Http.Tests/HttpRequestMethodTest.cs | https://github.com/GoogleCloudPlatform/dotnet-docs-samples/blob/HEAD/functions/http/Http.Tests/HttpRequestMethodTest.cs | ghcode:00163:c5d379aede25 | apache-2.0 | codeparrot/github-code | c5d379aede25e6dd8a5dd3e25b9d637b15068393853dfa99a632c7a733a3d80c | 0.85 | testing_debugging_repair_refactoring | 326 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
using Newtonsoft.Json;
using NUnit.Framework;
using Inforigami.Regalo.Core.Tests.DomainModel.Users;
using Inforigami.Regalo.Testing;
namespace Inforigami.Regalo.Core.Tests.Unit
{
public abstract class TestFixtu... | nbarnwell/Inforigami.Regalo | Inforigami.Regalo.Core.Tests.Unit/TestFixtureBase.cs | https://github.com/nbarnwell/Inforigami.Regalo/blob/HEAD/Inforigami.Regalo.Core.Tests.Unit/TestFixtureBase.cs | ghcode:00163:f43494174842 | apache-2.0 | codeparrot/github-code | f43494174842d0cd9540b7f28636c22832129b5e8f646797d408986fbbf1c02c | 0.75 | testing_debugging_repair_refactoring | 998 | false | 2026-07-17 |
#region Copyright
// ******************************************************************************************
//
// SimplePath, Copyright © 2011, Alex Kring
//
// ******************************************************************************************
#endregion
using UnityEngine;
using System.Col... | RutgersUniversityVirtualWorlds/FreshTherapyOffice | Assets/SimplePath/Main/Code/AI/Components/PathManagerComponent.cs | https://github.com/RutgersUniversityVirtualWorlds/FreshTherapyOffice/blob/HEAD/Assets/SimplePath/Main/Code/AI/Components/PathManagerComponent.cs | ghcode:00163:6fc39d486ddd | apache-2.0 | codeparrot/github-code | 6fc39d486ddd8b87184dda819b5c6a3c5574947d6f8b5f179a270b9db8bc336d | 0.85 | testing_debugging_repair_refactoring | 2,240 | false | 2026-07-17 |
namespace Test.NDatabase.Odb.Test.Newbie.VO
{
/// <summary>
/// It is just a simple test to help the newbies
/// </summary>
/// <author>mayworm at
/// <xmpp://mayworm@gmail.com>
/// </author>
public class Driver
{
public Driver(string name)
{
N... | WaltChen/NDatabase | tests/NDatabase.Old.UnitTests/NDatabase/Odb/Test/Newbie/VO/Driver.cs | https://github.com/WaltChen/NDatabase/blob/HEAD/tests/NDatabase.Old.UnitTests/NDatabase/Odb/Test/Newbie/VO/Driver.cs | ghcode:00163:8d5e0dadb1b2 | apache-2.0 | codeparrot/github-code | 8d5e0dadb1b29a86a1a4572d999d25a5b4715e19ceb5c2d070784776df357c2a | 0.95 | testing_debugging_repair_refactoring | 99 | false | 2026-07-17 |
// Copyright (c) 2014-2022 Sarin Na Wangkanai, All Rights Reserved. Apache License, Version 2.0
using Microsoft.AspNetCore.TestHost;
using Microsoft.Extensions.DependencyInjection;
using Wangkanai.Detection.Mocks;
using Wangkanai.Detection.Models;
namespace Wangkanai.Detection.DependencyInjection;
public class Res... | wangkanai/Detection | test/DependencyInjection/ResponsiveBuilderExtensionsTest.cs | https://github.com/wangkanai/Detection/blob/HEAD/test/DependencyInjection/ResponsiveBuilderExtensionsTest.cs | ghcode:00163:99e074fd223c | apache-2.0 | codeparrot/github-code | 99e074fd223c157283dc2aedd42155eb95f4c678ccb1d7eb8a234fac47298ed2 | 0.6 | testing_debugging_repair_refactoring | 1,135 | false | 2026-07-17 |
using System;
using AutoPoco.DataSources;
using NUnit.Framework;
namespace AutoPoco.Tests.Unit.DataSources
{
[TestFixture]
public class GuidSourceTests
{
[Test]
public void Next_Returns_A_Guid()
{
GuidSource source = new GuidSource();
var value = source.Next... | reddy6ue/AutoPoco.NetCore | AutoPoco.Tests.Unit/DataSources/GuidSourceTests.cs | https://github.com/reddy6ue/AutoPoco.NetCore/blob/HEAD/AutoPoco.Tests.Unit/DataSources/GuidSourceTests.cs | ghcode:00163:1c5857d262d1 | apache-2.0 | codeparrot/github-code | 1c5857d262d15ed4076c950637aecbe5879157afd3a5b37c06617396c015c449 | 0.85 | testing_debugging_repair_refactoring | 233 | false | 2026-07-17 |
using Xunit;
namespace Jint.Tests.Test262.Language
{
public class GlobalCodeTests : Test262Test
{
[Theory(DisplayName = "language\\global-code")]
[MemberData(nameof(SourceFiles), "language\\global-code", false)]
[MemberData(nameof(SourceFiles), "language\\global-code", true, Skip = "Ski... | sebastienros/jint | Jint.Tests.Test262/Language/GlobalCodeTests.cs | https://github.com/sebastienros/jint/blob/HEAD/Jint.Tests.Test262/Language/GlobalCodeTests.cs | ghcode:00163:02ca9cff2a60 | bsd-2-clause | codeparrot/github-code | 02ca9cff2a60a1bbf07f02468492d483bd534df8c878ac3d510d30b18a2a9afe | 0.68 | testing_debugging_repair_refactoring | 103 | false | 2026-07-17 |
using Edi.Advance.BTEC.UiTests.Framework;
using Edi.Advance.BTEC.UiTests.PageObjects;
using Edi.Advance.Core.Common;
using NUnit.Framework;
namespace Edi.Advance.BTEC.UiTests.Flows
{
public class ACSViewFlow : BtecMasterFlow<ACSViewFlow>
{
private readonly ACSViewPage page;
public ACSViewFlow... | ir0n4ikoko/MyBTEC_SeleniumTests | Flows/ACSViewFlow.cs | https://github.com/ir0n4ikoko/MyBTEC_SeleniumTests/blob/HEAD/Flows/ACSViewFlow.cs | ghcode:00163:c60673f75529 | bsd-3-clause | codeparrot/github-code | c60673f75529d754a9ba5269cc66f4b450514393a47ce7b7e972a09eb951cd35 | 0.6 | testing_debugging_repair_refactoring | 311 | false | 2026-07-17 |
using NUnit.Framework;
using Streams.Interleaved.Internals;
namespace Streams.Interleaved.UnitTests.Helpers
{
public static class WritingExtensions
{
public static int WriteByteCount(this WritableBlock block, int numberOfBytes)
{
var bytes = new byte[numberOfBytes];
... | alex-davidson/Streams.Interleaved | Streams.Interleaved.UnitTests/Helpers/WritingExtensions.cs | https://github.com/alex-davidson/Streams.Interleaved/blob/HEAD/Streams.Interleaved.UnitTests/Helpers/WritingExtensions.cs | ghcode:00163:8ccb5c420e92 | bsd-3-clause | codeparrot/github-code | 8ccb5c420e92d3d3630646825cb0884a80a13ae52ca7d911de2fe7918c260dae | 0.6 | testing_debugging_repair_refactoring | 116 | false | 2026-07-17 |
// Copyright (c) MOSA Project. Licensed under the New BSD License.
using Mosa.Compiler.Common;
using Mosa.Compiler.Framework;
using Mosa.Compiler.Framework.Platform;
using System.Diagnostics;
namespace Mosa.Platform.x86.Instructions
{
/// <summary>
/// Representations the x86 MovLoad instruction.
/// </summary>
... | kiootic/MOSA-Project | Source/Mosa.Platform.x86/Instructions/MovLoad.cs | https://github.com/kiootic/MOSA-Project/blob/HEAD/Source/Mosa.Platform.x86/Instructions/MovLoad.cs | ghcode:00163:b8caa1a6a1cf | bsd-3-clause | codeparrot/github-code | b8caa1a6a1cf56765bf581233b714c383f077ccbb68525e4b65c7ecfa8c15eb6 | 0.85 | testing_debugging_repair_refactoring | 537 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using FluentAssertions;
using WebApiMovieRest.Infrastructure.Extensions;
using Xbehave;
namespace WebApiMovieRest.Infrastructure.Tests.Extensions
{
public class AssemblyExtensionsTests
{
[Scenario]
public void TypesOf_should_return_all_public_non... | michael-wolfenden/WebApiMovieRest | src/Infrastructure.Tests/Extensions/AssemblyExtensionsTests.cs | https://github.com/michael-wolfenden/WebApiMovieRest/blob/HEAD/src/Infrastructure.Tests/Extensions/AssemblyExtensionsTests.cs | ghcode:00163:61147bd27205 | bsd-3-clause | codeparrot/github-code | 61147bd272051badd0c6485a7f2a096e50d167898840a312c4db463563fe19d8 | 0.75 | testing_debugging_repair_refactoring | 268 | false | 2026-07-17 |
using FluentAssertions;
using NSubstitute;
using NSubstitute.Core;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reactive;
using System.Reactive.Linq;
using System.Reactive.Subjects;
using System.Threading.Tasks;
using Toggl.Core.DataSources;
using Toggl.Core.Interactors;
using Toggl.C... | toggl/mobileapp | Toggl.Core.Tests/Interactors/TimeEntry/TimeTrackedTodayInteractorTests.cs | https://github.com/toggl/mobileapp/blob/HEAD/Toggl.Core.Tests/Interactors/TimeEntry/TimeTrackedTodayInteractorTests.cs | ghcode:00163:d7fd078501ad | bsd-3-clause | codeparrot/github-code | d7fd078501ade522ac16270aa30c7d96d838842e1ad4e7351eb0016f6833f9f4 | 0.75 | testing_debugging_repair_refactoring | 2,479 | false | 2026-07-17 |
using DevExpress.Xpo;
using System;
using System.Linq;
using System.Threading.Tasks;
using Xunit;
namespace DevExtreme.AspNet.Data.Tests.Xpo {
public class PaginateViaPrimaryKey {
[Persistent(nameof(PaginateViaPrimaryKey) + "_" + nameof(DataItem))]
public class DataItem : PaginateViaPrimaryKeyTe... | AlekseyMartynov/DevExtreme.AspNet.Data | net/DevExtreme.AspNet.Data.Tests.Xpo/PaginateViaPrimaryKey.cs | https://github.com/AlekseyMartynov/DevExtreme.AspNet.Data/blob/HEAD/net/DevExtreme.AspNet.Data.Tests.Xpo/PaginateViaPrimaryKey.cs | ghcode:00163:25d1716cacab | mit | codeparrot/github-code | 25d1716cacabaf2a8c69ed8175034a91dc873b7d7fecdcec0e2660d56718bbc4 | 0.75 | testing_debugging_repair_refactoring | 197 | 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 BenchmarkDotNet.Attributes;
using System.Buffers.Text;
using System.Collections.Generic;
using System.IO;
namespace System.Text.Primitives.Benchmarks
{
publ... | benaadams/corefxlab | tests/Benchmarks/System.Text.Primitives/GetUtf16CharCount.cs | https://github.com/benaadams/corefxlab/blob/HEAD/tests/Benchmarks/System.Text.Primitives/GetUtf16CharCount.cs | ghcode:00163:df79f1c3f599 | mit | codeparrot/github-code | df79f1c3f59936c93b339be167a57fa84d6c95ab935e7a06ba49f6269b3a0930 | 0.85 | testing_debugging_repair_refactoring | 546 | false | 2026-07-17 |
using GenFx.Components.Terminators;
using System;
using TestCommon;
using TestCommon.Helpers;
using TestCommon.Mocks;
using Xunit;
namespace GenFx.Components.Tests
{
/// <summary>
///This is a test class for GenFx.Components.Terminators.TimeDurationTerminator and is intended
///to contain all GenFx.Compone... | mthalman/GenFx | src/GenFx.Components.Tests/TimeDurationTerminatorTest.cs | https://github.com/mthalman/GenFx/blob/HEAD/src/GenFx.Components.Tests/TimeDurationTerminatorTest.cs | ghcode:00163:944a4f002a31 | mit | codeparrot/github-code | 944a4f002a310ccc2cb3710b81abc2a4f906baf724ee9dfa56fb1d45817371e7 | 0.7 | testing_debugging_repair_refactoring | 584 | 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.Linq;
using System.Reflection;
using Xunit.Abstractions... | schaabs/buildtools | src/xunit.netcore.extensions/Discoverers/ConditionalTestDiscoverer.cs | https://github.com/schaabs/buildtools/blob/HEAD/src/xunit.netcore.extensions/Discoverers/ConditionalTestDiscoverer.cs | ghcode:00163:39e6f0fae9fa | mit | codeparrot/github-code | 39e6f0fae9fadd896c3bf28fa6369d0f89ea70b9e88d5421cb0fb4154ac29c23 | 0.7 | testing_debugging_repair_refactoring | 916 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.IO;
using System.Net;
using System.Threading.Tasks;
using Azure.Core;
using Azure.Core.TestFramework;
using Azure.Storage.Files.Shares.Models;
using Azure.Storag... | brjohnstmsft/azure-sdk-for-net | sdk/storage/Azure.Storage.Files.Shares/tests/FileTestBase.cs | https://github.com/brjohnstmsft/azure-sdk-for-net/blob/HEAD/sdk/storage/Azure.Storage.Files.Shares/tests/FileTestBase.cs | ghcode:00163:5cc4b0e22080 | mit | codeparrot/github-code | 5cc4b0e2208006cb4dd5433087a84bfd2bdf0bf60325d671f4091c98434dc41d | 0.95 | testing_debugging_repair_refactoring | 2,875 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using System.Collections;
using System.Collections.Generic;
using System.Text;
namespace LiteDB.Tests
{
[TestClass]
public class EngineTest
{
[TestMethod]
pub... | masterdidoo/LiteDB | LiteDB.Tests/Engine/EngineTest.cs | https://github.com/masterdidoo/LiteDB/blob/HEAD/LiteDB.Tests/Engine/EngineTest.cs | ghcode:00163:d8b190894c37 | mit | codeparrot/github-code | d8b190894c37b849f9b95078fc69a216d6916626b6794f07e443d576b02510e9 | 0.7 | testing_debugging_repair_refactoring | 777 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Threading;
namespace UITests
{
[TestClass]
[TestGroup("Group1")]
public class Class5
{
[TestMethod]
public void Class5TestMethod1()
{
Thread.Sleep(1000);
Assert.AreEqual(1, 1);
}
... | ivanzavalnii/ParallelTestRunner | UITests/Class5.cs | https://github.com/ivanzavalnii/ParallelTestRunner/blob/HEAD/UITests/Class5.cs | ghcode:00163:77ff36a7e1ef | mit | codeparrot/github-code | 77ff36a7e1ef903ace9a6f46b5ef57056d170ecfb850022506c47855459b0c1c | 0.6 | testing_debugging_repair_refactoring | 176 | false | 2026-07-17 |
using DataStructures.Lists;
using Xunit;
namespace UnitTest.DataStructuresTests
{
public static class StackTest
{
[Fact]
public static void DoTest()
{
int top;
Stack<int> stack = new Stack<int>();
stack.Push(1);
stack.Push(2);
... | aalhour/C-Sharp-Algorithms | UnitTest/DataStructuresTests/StackTest.cs | https://github.com/aalhour/C-Sharp-Algorithms/blob/HEAD/UnitTest/DataStructuresTests/StackTest.cs | ghcode:00163:620b5c36d2df | mit | codeparrot/github-code | 620b5c36d2dfc7f0a639e65052ab7320f3d6a332cef79d329b698873c15973ff | 0.85 | testing_debugging_repair_refactoring | 199 | 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.Diagnostics;
using Internal.Text;
using Internal.TypeSystem;
using Internal.NativeForma... | krytarowski/corert | src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/GenericTypesTemplateMap.cs | https://github.com/krytarowski/corert/blob/HEAD/src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/GenericTypesTemplateMap.cs | ghcode:00163:2af9a2d7aa01 | mit | codeparrot/github-code | 2af9a2d7aa01110c1036f2c5feafa90174f260823b13964f244b632731ad5648 | 0.95 | testing_debugging_repair_refactoring | 1,264 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Octokit.Reactive;
namespace Octokit.Tests.Integration.Helpers
{
internal sealed class RepositoryContext : IDisposable
{
internal RepositoryContext(IConnection connection, Repositor... | shana/octokit.net | Octokit.Tests.Integration/Helpers/RepositoryContext.cs | https://github.com/shana/octokit.net/blob/HEAD/Octokit.Tests.Integration/Helpers/RepositoryContext.cs | ghcode:00163:6157be7b57a7 | mit | codeparrot/github-code | 6157be7b57a7a6f771618b923c47e86f17e809e253ad82380ba9b62e433654c1 | 0.75 | testing_debugging_repair_refactoring | 170 | false | 2026-07-17 |
// Code generated by Microsoft (R) AutoRest Code Generator 1.2.1.0
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
namespace ApplicationGateway.Models
{
using Newtonsoft.Json;
using System.Linq;
/// <summary>
/// VirtualNetworkGatewaySku details
/// </summar... | lmazuel/autorest | Samples/test/end-to-end/network/Client/Models/VirtualNetworkGatewaySku.cs | https://github.com/lmazuel/autorest/blob/HEAD/Samples/test/end-to-end/network/Client/Models/VirtualNetworkGatewaySku.cs | ghcode:00163:aa101200f854 | mit | codeparrot/github-code | aa101200f854f4a9181b7cbee27e8141af17e1afb6ae95643c47142bb2ae95dd | 0.95 | testing_debugging_repair_refactoring | 558 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System.IO;
using System.Threading.Tasks;
using Azure.AI.MetricsAdvisor.Models;
using Azure.Core.TestFramework;
using NUnit.Framework;
namespace Azure.AI.MetricsAdvisor.Tests
{
public class AnomalyDetectionMockTe... | Azure/azure-sdk-for-net | sdk/metricsadvisor/Azure.AI.MetricsAdvisor/tests/MetricsAdvisorClient/AnomalyDetectionMockTests.cs | https://github.com/Azure/azure-sdk-for-net/blob/HEAD/sdk/metricsadvisor/Azure.AI.MetricsAdvisor/tests/MetricsAdvisorClient/AnomalyDetectionMockTests.cs | ghcode:00163:bddb658d3c36 | mit | codeparrot/github-code | bddb658d3c36e4e03962b58c6d3d02c08167326264550bc23ac94258baf9cdcf | 0.85 | testing_debugging_repair_refactoring | 939 | false | 2026-07-17 |
/*
* 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"); yo... | Mpdreamz/lucene.net | test/contrib/SpellChecker/Test/TestJaroWinklerDistance.cs | https://github.com/Mpdreamz/lucene.net/blob/HEAD/test/contrib/SpellChecker/Test/TestJaroWinklerDistance.cs | ghcode:00163:0e50f660fbf1 | apache-2.0 | codeparrot/github-code | 0e50f660fbf18769fbaefa5a696835edb194a0958a2149f4a0c3cb4f8e722af0 | 0.85 | testing_debugging_repair_refactoring | 578 | false | 2026-07-17 |
/*
MIT License
Copyright(c) 2014-2018 Infragistics, Inc.
Copyright 2018 Google LLC
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 ... | evildour/google-cloud-dotnet | third_party/BreakingChangesDetector/BreakingChangesDetector.UnitTests/MetadataTypesTests/ArrayTypeDataTests.cs | https://github.com/evildour/google-cloud-dotnet/blob/HEAD/third_party/BreakingChangesDetector/BreakingChangesDetector.UnitTests/MetadataTypesTests/ArrayTypeDataTests.cs | ghcode:00163:8f84669e84c4 | apache-2.0 | codeparrot/github-code | 8f84669e84c4e167af2e3e3e9985b47987a988e8b2cd79df1890e1b8b5732c62 | 0.75 | testing_debugging_repair_refactoring | 731 | 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 enable
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Diagnostics.C... | reaction1989/roslyn | src/Features/Core/Portable/Diagnostics/EngineV2/DiagnosticIncrementalAnalyzer.StateSet.cs | https://github.com/reaction1989/roslyn/blob/HEAD/src/Features/Core/Portable/Diagnostics/EngineV2/DiagnosticIncrementalAnalyzer.StateSet.cs | ghcode:00163:9ab7d17ddb3e | apache-2.0 | codeparrot/github-code | 9ab7d17ddb3eb55e76270e1776d515dc699fc06feea443ab5bcb54878354c501 | 0.85 | testing_debugging_repair_refactoring | 2,134 | false | 2026-07-17 |
/*
* Anarres C Preprocessor
* Copyright (c) 2007-2008, Shevek
*
* 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 ... | xtravar/CppNet | MacroTokenSource.cs | https://github.com/xtravar/CppNet/blob/HEAD/MacroTokenSource.cs | ghcode:00163:f5402b2618c9 | apache-2.0 | codeparrot/github-code | f5402b2618c97384361712d4cbde3ba11e30a5f8f069f5ca9f256795f32a4a42 | 0.7 | testing_debugging_repair_refactoring | 1,367 | 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 System.Runtime.Compile... | VSadov/roslyn | src/Workspaces/Core/Portable/Workspace/Solution/SolutionState.cs | https://github.com/VSadov/roslyn/blob/HEAD/src/Workspaces/Core/Portable/Workspace/Solution/SolutionState.cs | ghcode:00163:32cd87b775ed | apache-2.0 | codeparrot/github-code | 32cd87b775ed6d08dd6acb06833e54c111f9cb0067407e2df1b8d243bd6b4bf0 | 0.72 | testing_debugging_repair_refactoring | 14,384 | false | 2026-07-17 |
// Copyright © Microsoft Corporation. All Rights Reserved.
// This code released under the terms of the
// Microsoft Public License (MS-PL, http://opensource.org/licenses/ms-pl.html.)
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Text;
namespace ClearCaseSymbolicLinkMonitor... | adamdriscoll/TfsIntegrationPlatform | IntegrationPlatform/Adapters/Addins/ClearCaseSymbolicLinkMonitorAnalysisAddin/ClearCasePath.cs | https://github.com/adamdriscoll/TfsIntegrationPlatform/blob/HEAD/IntegrationPlatform/Adapters/Addins/ClearCaseSymbolicLinkMonitorAnalysisAddin/ClearCasePath.cs | ghcode:00163:6cd4390d3220 | mit | codeparrot/github-code | 6cd4390d3220d7d230193d769e53cd943b7e0e74a7dba80c6d19fcd766243cc9 | 0.85 | testing_debugging_repair_refactoring | 3,262 | 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 Xunit;
namespace Cake.Common.Tests.Unit
{
public sealed class ReleaseNotesParserTests
... | gep13/cake | src/Cake.Common.Tests/Unit/ReleaseNotesParserTests.cs | https://github.com/gep13/cake/blob/HEAD/src/Cake.Common.Tests/Unit/ReleaseNotesParserTests.cs | ghcode:00163:249a2110964a | mit | codeparrot/github-code | 249a2110964a4eea828af41b3c3912cc73234383eb2fb8c6fdc54854e9b970a4 | 0.85 | testing_debugging_repair_refactoring | 2,219 | 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 enable
using System;
using System.Collections.Immutable;
using System.Threading;
using Microsoft.CodeAna... | jmarolf/roslyn | src/Analyzers/Core/Analyzers/RemoveUnnecessarySuppressions/AbstractRemoveUnnecessaryAttributeSuppressionsDiagnosticAnalyzer.cs | https://github.com/jmarolf/roslyn/blob/HEAD/src/Analyzers/Core/Analyzers/RemoveUnnecessarySuppressions/AbstractRemoveUnnecessaryAttributeSuppressionsDiagnosticAnalyzer.cs | ghcode:00163:3b4d18780aea | mit | codeparrot/github-code | 3b4d18780aea2a88dcf78e4f58b1ae53dcde43c99d1d485906a1ebd1adadd409 | 0.85 | testing_debugging_repair_refactoring | 1,161 | 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.Threading.Tasks;
using Microsoft.CodeAnalysis.Completion;
using Microsoft.CodeAnalysis.C... | davkean/roslyn | src/EditorFeatures/CSharpTest/Completion/CompletionProviders/ObjectCreationCompletionProviderTests.cs | https://github.com/davkean/roslyn/blob/HEAD/src/EditorFeatures/CSharpTest/Completion/CompletionProviders/ObjectCreationCompletionProviderTests.cs | ghcode:00163:9ca26029d8c3 | apache-2.0 | codeparrot/github-code | 9ca26029d8c3ddf61ccec8f8d3acb08b1b8776c4be4c989a3c4b396a3af54f9c | 0.85 | testing_debugging_repair_refactoring | 4,189 | false | 2026-07-17 |
using FakeItEasy;
using FluentTc.Domain;
using FluentTc.Engine;
using FluentTc.Locators;
using NUnit.Framework;
namespace FluentTc.Tests
{
[TestFixture]
public class BuildsRetrieverTests
{
[Test]
public void GetBuilds_ByBuildConfigurationTake5DefaultColumns_GetFotmatCalled()
{
... | GibbOne/FluentTc | FluentTc.Tests/BuildsRetrieverTests.cs | https://github.com/GibbOne/FluentTc/blob/HEAD/FluentTc.Tests/BuildsRetrieverTests.cs | ghcode:00163:8b0c30cb851c | apache-2.0 | codeparrot/github-code | 8b0c30cb851c9d88f508379db22f6e15ab37585dce7b10923625586b5e5a8e6a | 0.85 | testing_debugging_repair_refactoring | 1,026 | false | 2026-07-17 |
using BenchmarkDotNet.Columns;
namespace BenchmarkDotNet.Attributes
{
public class MeanColumnAttribute : ColumnConfigBaseAttribute
{
public MeanColumnAttribute() : base(StatisticColumn.Mean)
{
}
}
} | ig-sinicyn/BenchmarkDotNet | src/BenchmarkDotNet/Attributes/Columns/MeanColumnAttribute.cs | https://github.com/ig-sinicyn/BenchmarkDotNet/blob/HEAD/src/BenchmarkDotNet/Attributes/Columns/MeanColumnAttribute.cs | ghcode:00163:a7008b46b640 | mit | codeparrot/github-code | a7008b46b6400767d3e6195b7794148f98057d32eac02a6126ee6b6d4d29c6dc | 0.75 | testing_debugging_repair_refactoring | 48 | false | 2026-07-17 |
using NUnit.Framework;
using System;
using System.Collections;
using System.Collections.Generic;
namespace Lucene.Net.Util
{
using Lucene.Net.Analysis.Tokenattributes;
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE fi... | jpsullivan/lucenenet | src/Lucene.Net.Tests/core/Util/TestAttributeSource.cs | https://github.com/jpsullivan/lucenenet/blob/HEAD/src/Lucene.Net.Tests/core/Util/TestAttributeSource.cs | ghcode:00163:41f4169d8fc2 | apache-2.0 | codeparrot/github-code | 41f4169d8fc2fc7ff1933895aed54665994f2a80f94b86c78af00bc5c43a6a05 | 0.85 | testing_debugging_repair_refactoring | 1,655 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Linq;
using Lucene.Net.Documents;
namespace Lucene.Net.Search
{
using NUnit.Framework;
using BytesRef = Lucene.Net.Util.BytesRef;
using Directory = Lucene.Net.Store.Directory;
using Document = Documents.Document;
/*
* Licensed to the Apache S... | mdissel/lucene.net | src/Lucene.Net.Tests/core/Search/TestPhrasePrefixQuery.cs | https://github.com/mdissel/lucene.net/blob/HEAD/src/Lucene.Net.Tests/core/Search/TestPhrasePrefixQuery.cs | ghcode:00163:5354959eb6e2 | apache-2.0 | codeparrot/github-code | 5354959eb6e28904aa55a8a9caa7cca3151f4e673011c28aaff81684b62c1e91 | 0.85 | testing_debugging_repair_refactoring | 905 | 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.Diagnostics;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Micr... | dpoeschl/roslyn | src/EditorFeatures/Core/Implementation/Classification/SemanticClassificationBufferTaggerProvider.Tagger.cs | https://github.com/dpoeschl/roslyn/blob/HEAD/src/EditorFeatures/Core/Implementation/Classification/SemanticClassificationBufferTaggerProvider.Tagger.cs | ghcode:00163:236882664e18 | apache-2.0 | codeparrot/github-code | 236882664e18e67670c7aa10acae9d77b84320d201077cf77e036c60e21949b9 | 0.85 | testing_debugging_repair_refactoring | 1,392 | false | 2026-07-17 |
using Shouldly;
using StructureMap.Building;
using StructureMap.Testing.Widget3;
using System;
using Xunit;
namespace StructureMap.Testing.Configuration.DSL
{
public class InterceptorTesting : Registry
{
public InterceptorTesting()
{
_lastService = null;
rec... | DixonDs/structuremap | src/StructureMap.Testing/Configuration/DSL/InterceptorTesting.cs | https://github.com/DixonDs/structuremap/blob/HEAD/src/StructureMap.Testing/Configuration/DSL/InterceptorTesting.cs | ghcode:00163:71cda959b8b7 | apache-2.0 | codeparrot/github-code | 71cda959b8b79372b7276cfa2f0975ab871e1e36ae1e626128c1ce7d8d2da418 | 0.7 | testing_debugging_repair_refactoring | 1,035 | 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.Immutable;
using System.Diagnostics;
using System.Globalization;
using System.Threading;
u... | brettfo/roslyn | src/Compilers/CSharp/Portable/Symbols/Synthesized/Records/SynthesizedRecordEqualityOperatorBase.cs | https://github.com/brettfo/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/Symbols/Synthesized/Records/SynthesizedRecordEqualityOperatorBase.cs | ghcode:00163:8e2d3d8d8842 | apache-2.0 | codeparrot/github-code | 8e2d3d8d8842da0502a04e76cf0c618c81bf65e8c43d5bc86986a13b0a199427 | 0.85 | testing_debugging_repair_refactoring | 756 | false | 2026-07-17 |
#region License
//
// Copyright (c) 2018, Fluent Migrator 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 ... | schambers/fluentmigrator | test/FluentMigrator.Tests/Integration/Processors/Firebird/EndToEnd/TestRollbackColumnCreation.cs | https://github.com/schambers/fluentmigrator/blob/HEAD/test/FluentMigrator.Tests/Integration/Processors/Firebird/EndToEnd/TestRollbackColumnCreation.cs | ghcode:00163:92dc77d1fdb4 | apache-2.0 | codeparrot/github-code | 92dc77d1fdb4a6656c3f4eb9382f45770927a3e6ef0772d73f7c025d201d19e7 | 0.85 | testing_debugging_repair_refactoring | 1,145 | false | 2026-07-17 |
using System.Collections.Specialized;
using NUnit.Framework;
using Quartz.Impl;
namespace Quartz.Tests.Integration.Impl
{
[TestFixture]
public class RemoteSchedulerSmokeTest
{
[Test]
[Explicit("Needs server from example 13 running to work")]
public void Test()
{
... | xlgwr/quartznet | src/Quartz.Tests.Integration/Impl/RemoteSchedulerSmokeTest.cs | https://github.com/xlgwr/quartznet/blob/HEAD/src/Quartz.Tests.Integration/Impl/RemoteSchedulerSmokeTest.cs | ghcode:00163:fd55ff0d1162 | apache-2.0 | codeparrot/github-code | fd55ff0d1162d2cb7834974b046ff9410d132484e68d8c98384d7ea9528980a8 | 0.85 | testing_debugging_repair_refactoring | 253 | 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 System.Text;
using Mic... | bbarry/roslyn | src/Compilers/Core/Portable/CodeGen/SequencePointList.cs | https://github.com/bbarry/roslyn/blob/HEAD/src/Compilers/Core/Portable/CodeGen/SequencePointList.cs | ghcode:00163:9a3737984b54 | apache-2.0 | codeparrot/github-code | 9a3737984b54690873ce705db1ebb813218f92babd306133a7aa8c45d327813e | 0.85 | testing_debugging_repair_refactoring | 1,752 | 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 Microsoft.CodeAnalysis.CSharp.Symbols;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using M... | AlekseyTs/roslyn | src/Compilers/CSharp/Test/Syntax/Syntax/RedNodeTests.cs | https://github.com/AlekseyTs/roslyn/blob/HEAD/src/Compilers/CSharp/Test/Syntax/Syntax/RedNodeTests.cs | ghcode:00163:833ad52ea490 | mit | codeparrot/github-code | 833ad52ea49030b8b961cea61dee5b72bb07446ac6a0b8fcf8755584c4ee627a | 0.95 | testing_debugging_repair_refactoring | 166 | 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.Diagnostics;
using System.Linq;
using System.Threading;
using Microsoft.CodeAnalysis;
using Micr... | pdelvo/roslyn | src/Workspaces/Core/Portable/Formatting/Context/FormattingContext.InitialContextFinder.cs | https://github.com/pdelvo/roslyn/blob/HEAD/src/Workspaces/Core/Portable/Formatting/Context/FormattingContext.InitialContextFinder.cs | ghcode:00163:caf93ae1c877 | apache-2.0 | codeparrot/github-code | caf93ae1c87709a748f2482e106b1256568312193cd40eb1b13dd61420c6e8ad | 0.85 | testing_debugging_repair_refactoring | 1,315 | 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.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
#if !FEATURE_... | Jiayili1/corefx | src/System.Private.Xml/src/System/Xml/Serialization/CodeGenerator.cs | https://github.com/Jiayili1/corefx/blob/HEAD/src/System.Private.Xml/src/System/Xml/Serialization/CodeGenerator.cs | ghcode:00163:e8c36fb03a91 | mit | codeparrot/github-code | e8c36fb03a910545082d12cef8584cec6b3275121eb6eac798439bf057087974 | 0.95 | testing_debugging_repair_refactoring | 10,291 | 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.Linq.Parallel.Tests
{
public static class ToArrayTests
{
[Theory]
... | alphonsekurian/corefx | src/System.Linq.Parallel/tests/QueryOperators/ToArrayTests.cs | https://github.com/alphonsekurian/corefx/blob/HEAD/src/System.Linq.Parallel/tests/QueryOperators/ToArrayTests.cs | ghcode:00163:4bfc2d569d59 | mit | codeparrot/github-code | 4bfc2d569d59a005cc9caef31e9b6226606c4d2f749b00e46e18720ce6170726 | 0.95 | testing_debugging_repair_refactoring | 409 | 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.IO;
using Xunit;
namespace System.IO.Tests
{
public class FileStream_ctor_str_fm_fa_fs_buffer : FileStream_ctor_str_fm_fa_fs
{
... | vs-team/corefx | src/System.IO.FileSystem/tests/FileStream/ctor_str_fm_fa_fs_buffer.cs | https://github.com/vs-team/corefx/blob/HEAD/src/System.IO.FileSystem/tests/FileStream/ctor_str_fm_fa_fs_buffer.cs | ghcode:00163:e398f0381d7e | mit | codeparrot/github-code | e398f0381d7ee47329153678a6c9f95b6c87fe83c3e5953420f9677f6528b267 | 0.95 | testing_debugging_repair_refactoring | 326 | 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.IO;
using System.Threading.Tasks;
using static Roslyn.Test.Performance.Utilities.TestUtilities;
... | mmitche/roslyn | src/Test/Perf/Runner/Tools.cs | https://github.com/mmitche/roslyn/blob/HEAD/src/Test/Perf/Runner/Tools.cs | ghcode:00163:b551ee4dec6a | apache-2.0 | codeparrot/github-code | b551ee4dec6a746b2492aca8bb18096608a34522e15114575084b00b985509e2 | 0.95 | testing_debugging_repair_refactoring | 607 | 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\Microso... | mmitche/roslyn | src/ExpressionEvaluator/Core/Test/ResultProvider/Debugger/Engine/DkmClrEvalAttribute.cs | https://github.com/mmitche/roslyn/blob/HEAD/src/ExpressionEvaluator/Core/Test/ResultProvider/Debugger/Engine/DkmClrEvalAttribute.cs | ghcode:00163:bec896810ed5 | apache-2.0 | codeparrot/github-code | bec896810ed5faf304c64b1740d55f1e6de2c5f3fae936958700ee05a62a2ec7 | 0.85 | testing_debugging_repair_refactoring | 150 | 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 ManagedTests.DynamicCSharp.Conformance.dynamic.overloadResolution.Methods.literals.bollitera... | nbarbettini/corefx | src/System.Dynamic.Runtime/tests/Dynamic.OverloadResolution/Conformance.dynamic.overloadResolution.Methods.literals.cs | https://github.com/nbarbettini/corefx/blob/HEAD/src/System.Dynamic.Runtime/tests/Dynamic.OverloadResolution/Conformance.dynamic.overloadResolution.Methods.literals.cs | ghcode:00163:f8dd746147ab | mit | codeparrot/github-code | f8dd746147ab9c3de289fd6c5bcdebedcf36f2094a4eda5ee3931fa092bbbf01 | 0.82 | testing_debugging_repair_refactoring | 23,143 | 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 OLEDB.Test.ModuleCore;
namespace System.Xml.Tests
{
public partial class TCNormalization : TCXMLReaderBas... | ellismg/corefx | src/System.Xml.ReaderWriter/tests/Readers/FactoryReader/TCNormalization.cs | https://github.com/ellismg/corefx/blob/HEAD/src/System.Xml.ReaderWriter/tests/Readers/FactoryReader/TCNormalization.cs | ghcode:00163:8b4604d935a6 | mit | codeparrot/github-code | 8b4604d935a6008bb889145b1fa0c2b7a8c7edafe40a44b1a4a573277bfcac8a | 0.95 | testing_debugging_repair_refactoring | 678 | false | 2026-07-17 |
using System.Collections.Generic;
using Nimbus.Infrastructure.Compression;
using Nimbus.Tests.Common.TestScenarioGeneration.ScenarioComposition;
namespace Nimbus.Tests.Common.TestScenarioGeneration.ConfigurationSources.Compressors
{
public class NullCompressorScenario : ConfigurationScenario<ICompressor>
{
... | KodrAus/Nimbus | src/Tests/Nimbus.Tests.Common/TestScenarioGeneration/ConfigurationSources/Compressors/NullCompressorScenario.cs | https://github.com/KodrAus/Nimbus/blob/HEAD/src/Tests/Nimbus.Tests.Common/TestScenarioGeneration/ConfigurationSources/Compressors/NullCompressorScenario.cs | ghcode:00163:19deb39812f0 | mit | codeparrot/github-code | 19deb39812f087833686082166eb950ea06fe8fd70a0eb918b005c4db1ef9d38 | 0.85 | testing_debugging_repair_refactoring | 121 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using Microsoft.Azure.Management.Batch;
using Microsoft.Azure.Management.Batch.Models;
using Microsoft.Rest.Azure;
using Microsoft.Rest.ClientRuntime.Azure.TestF... | Azure/azure-sdk-for-net | sdk/batch/Microsoft.Azure.Management.Batch/tests/ScenarioTests/LocationTests.ScenarioTests.cs | https://github.com/Azure/azure-sdk-for-net/blob/HEAD/sdk/batch/Microsoft.Azure.Management.Batch/tests/ScenarioTests/LocationTests.ScenarioTests.cs | ghcode:00163:0ab0215c80e6 | mit | codeparrot/github-code | 0ab0215c80e67d13dcc6ae4d9388d84be092520d94aebddfbab41c5330284bdd | 0.95 | testing_debugging_repair_refactoring | 638 | false | 2026-07-17 |
namespace Our.Umbraco.Nexu.Parsers.Tests.Core
{
using System.Linq;
using global::Umbraco.Core;
using NUnit.Framework;
using Our.Umbraco.Nexu.Parsers.Core;
/// <summary>
/// The rich text editor parser tests.
/// </summary>
[TestFixture]
public class ContentPickerParserTests
... | dawoe/umbraco-nexu | src/Our.Umbraco.Nexu.Parsers.Tests/Core/ContentPickerParserTests.cs | https://github.com/dawoe/umbraco-nexu/blob/HEAD/src/Our.Umbraco.Nexu.Parsers.Tests/Core/ContentPickerParserTests.cs | ghcode:00163:eafe0169fdb2 | mit | codeparrot/github-code | eafe0169fdb29089434ca419033db7fd70d612a512b4ac91b982f79be82f6b0a | 0.85 | testing_debugging_repair_refactoring | 425 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using CmdLineLib.Attributes;
namespace CmdLineLib.Tests
{
[TestClass]
public class MethodInclusion_IncludeAllStaticTests : MethodInclusionBase
{
[CmdLineClass(inclusionBehavior: InclusionBehavior.IncludeAllStatic)]
class ClassWithStaticMe... | marcmihalack/CmdLineLib | CmdLineLib.Tests/MethodInclusion_IncludeAllStaticTests.cs | https://github.com/marcmihalack/CmdLineLib/blob/HEAD/CmdLineLib.Tests/MethodInclusion_IncludeAllStaticTests.cs | ghcode:00163:0cbe5bae2f23 | mit | codeparrot/github-code | 0cbe5bae2f2316aca02210f7b058f8a8a402900b9b7c5836005b46f009b874fa | 0.75 | testing_debugging_repair_refactoring | 473 | false | 2026-07-17 |
using LibGD;
using NUnit.Framework;
[TestFixture]
public class GlobalMembersGdimagepixelate
{
public const int WIDTH = 12;
public const int BLOCK_SIZE = 4;
private static int[,] expected_upperleft =
{
{ 0x000000, 0x040404, 0x080808 },
{ 0x303030, 0x343434, 0x383838 },
... | imazen/deprecated-gd-bindings-generator-old | LibGD.Tests/gdimagepixelate/gdimagepixelate.cs | https://github.com/imazen/deprecated-gd-bindings-generator-old/blob/HEAD/LibGD.Tests/gdimagepixelate/gdimagepixelate.cs | ghcode:00163:b37a67c94f77 | mit | codeparrot/github-code | b37a67c94f7789de42944b008437af8af459cd6323d874d3a4ab00d6f63b2b56 | 0.6 | testing_debugging_repair_refactoring | 1,199 | false | 2026-07-17 |
namespace PackageManager.Tests.Repositories.PackageRepositoryTest
{
using Moq;
using NUnit.Framework;
using PackageManager.Models.Contracts;
using PackageManager.Repositories;
using System;
using System.Collections.Generic;
[TestFixture]
public class DeleteTest
{
[Test]
... | LambrianaYanakieva/TelerikAcademy | C#/04.Unit-Testing/Exams/Academy-Package-Manager/PackageManager.Tests/Repositories/PackageRepositoryTest/DeleteTest.cs | https://github.com/LambrianaYanakieva/TelerikAcademy/blob/HEAD/C#/04.Unit-Testing/Exams/Academy-Package-Manager/PackageManager.Tests/Repositories/PackageRepositoryTest/DeleteTest.cs | ghcode:00163:45f83f72854a | mit | codeparrot/github-code | 45f83f72854a8bcecac54547d6926ac30c468d73b62215cd28e542f4596ea533 | 0.6 | testing_debugging_repair_refactoring | 154 | false | 2026-07-17 |
using System;
using System.Linq;
using System.Reflection;
using System.Runtime.CompilerServices;
using Xunit;
namespace AlgoKit.Test
{
public class InterfaceTests
{
[Fact]
// It is crucial for parameter names to match when inheriting docs.
public void Overridden_methods_should_have_sam... | pgolebiowski/algo-kit | src/AlgoKit.Test/InterfaceTests.cs | https://github.com/pgolebiowski/algo-kit/blob/HEAD/src/AlgoKit.Test/InterfaceTests.cs | ghcode:00163:bcb40bee9918 | mit | codeparrot/github-code | bcb40bee99186ed74514bdc48e5f43c4648ce6a7ec2716b9ac6937c417ce940f | 0.75 | testing_debugging_repair_refactoring | 263 | false | 2026-07-17 |
namespace bitwz.CodeGenerator.UnitTest
{
internal enum EngineType
{
MsUnitEngine,
NUnitEngine,
XUnitEngine
}
} | OmegaExtern/bitwz | src/bitwz.UnitTestCodeGenerator/UnitTest/EngineType.cs | https://github.com/OmegaExtern/bitwz/blob/HEAD/src/bitwz.UnitTestCodeGenerator/UnitTest/EngineType.cs | ghcode:00163:c5c8669ca4a0 | mit | codeparrot/github-code | c5c8669ca4a068a35099d421ac3701db4c99c773506f49c68dc3654c1be907dc | 0.35 | testing_debugging_repair_refactoring | 35 | false | 2026-07-17 |
using Xunit;
namespace Carbon.Css.Tests
{
public class CssPlacementTests
{
[Fact]
public void ParseValues()
{
var placement = CssPlacement.Parse("center start");
// vertically centered, left justified
Assert.Equal((CssBoxAlignment.Cent... | Carbon/Css | src/Carbon.Css.Tests/Values/CssPlacementTests.cs | https://github.com/Carbon/Css/blob/HEAD/src/Carbon.Css.Tests/Values/CssPlacementTests.cs | ghcode:00163:65150baf8f3b | mit | codeparrot/github-code | 65150baf8f3bb3978c1ec8c88effb1271ce5794f37986118922654941644c7ec | 0.75 | testing_debugging_repair_refactoring | 273 | false | 2026-07-17 |
using System;
using System.IO;
namespace NuGet.Test.Helpers
{
/// <summary>
/// Temp directory that cleans up on dispose.
/// </summary>
public class TestFolder : IDisposable
{
// The actual root
private readonly DirectoryInfo _parent;
public string Root => RootDirectory.Fu... | emgarten/NuGet.Test.Helpers | src/NuGet.Test.Helpers/TestFolder.cs | https://github.com/emgarten/NuGet.Test.Helpers/blob/HEAD/src/NuGet.Test.Helpers/TestFolder.cs | ghcode:00163:d38edf76575a | mit | codeparrot/github-code | d38edf76575a1f571299d888b27fc421e6ae08f81f9a9d71c2269a58aa0fbad7 | 0.85 | testing_debugging_repair_refactoring | 286 | false | 2026-07-17 |
using NUnit.Framework;
using System;
using Moq;
using System.Collections.Generic;
using System.IO;
using ParLog;
namespace ParLogLib_UnitTest
{
[TestFixture()]
public class Test
{
[Test(), Category("simple tests")]
public void KomplexCase()
{
var mock = new Mock<IInput... | iohn2000/ParLog | ParLogLib_UnitTest/Test.cs | https://github.com/iohn2000/ParLog/blob/HEAD/ParLogLib_UnitTest/Test.cs | ghcode:00163:67c42399dfeb | mit | codeparrot/github-code | 67c42399dfeb859d7caec8684d13c3da20ec935bb3367099be6e8a96688d4dfd | 0.75 | testing_debugging_repair_refactoring | 469 | false | 2026-07-17 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.