added
string
created
string
id
string
metadata
dict
source
string
text
string
code-score
float64
md5
string
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
1709
{ "extension": "c-sharp", "max_stars_count": "4.0", "max_stars_repo_name": "sportsbet/Jobbie", "max_stars_repo_path": "Src/Jobbie.Sample.Scheduler.Host/Program.cs", "provenance": "train-00000-of-00045.jsonl.gz:1710" }
starcoder
using Common.Logging; using Common.Logging.Simple; using Jobbie.Sample.Scheduler.Host.Infrastructure.IoC; using Topshelf; using Topshelf.Autofac; namespace Jobbie.Sample.Scheduler.Host { internal sealed class Program { private static void Main() { ConfigureLogging(); H...
2.027682
ee7e2f3349d48a92183d9e7400e6017d
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
1710
{ "extension": "c-sharp", "max_stars_count": "149.0", "max_stars_repo_name": "jay-h-park/TizenFX", "max_stars_repo_path": "test/Tizen.NUI.Tests/Tizen.NUI.Devel.Tests/testcase/public/BaseComponents/TSAnimatedVectorImageView.cs", "provenance": "train-00000-of-00045.jsonl.gz:1711" }
starcoder
<filename>test/Tizen.NUI.Tests/Tizen.NUI.Devel.Tests/testcase/public/BaseComponents/TSAnimatedVectorImageView.cs using global::System; using NUnit.Framework; using NUnit.Framework.TUnit; using Tizen.NUI.Components; using Tizen.NUI.BaseComponents; using System.Collections.Generic; namespace Tizen.NUI.Devel.Tests { ...
2.400693
7e5b3b021f506d0af79f9371caefa1eb
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
1711
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "LYRA-Block-Lattice/LyraNebula", "max_stars_repo_path": "Nebula/Store/NodeViewUseCase/NodeViewResultAction.cs", "provenance": "train-00000-of-00045.jsonl.gz:1712" }
starcoder
using Lyra.Core.API; using Lyra.Data.API; using Nebula.Data; using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Nebula.Store.NodeViewUseCase { public class NodeViewResultAction { public BillBoard billBoardResult { get; } ...
1.841331
e1ee2530a0f708863d7580578d94e830
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
1712
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "intelligentplant/AppStoreConnect.Adapters", "max_stars_repo_path": "src/DataCore.Adapter.Core/RealTimeData/TagValueExtended.cs", "provenance": "train-00000-of-00045.jsonl.gz:1713" }
starcoder
<reponame>intelligentplant/AppStoreConnect.Adapters using System; using System.Collections.Generic; using System.Linq; using DataCore.Adapter.Common; namespace DataCore.Adapter.RealTimeData { /// <summary> /// Describes a real-time or historical value on a tag. /// </summary> public sealed class TagV...
2.72148
c63536e35cb8dc688499a9455483af4a
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
1713
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "hancheester/apollo", "max_stars_repo_path": "Store Admin/Apollo.AdminStore.WebForm/Customer/customer_default.aspx.cs", "provenance": "train-00000-of-00045.jsonl.gz:1714" }
starcoder
using Apollo.AdminStore.WebForm.Classes; using Apollo.Core.Model; using Apollo.Core.Services.Interfaces; using System; using System.Linq; using System.Web.UI.WebControls; namespace Apollo.AdminStore.WebForm.Customer { public partial class customer_default : BasePage { public IAccountService AccountSer...
1.951666
a31140a8f79e44c989e60651a7cbad6f
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
1714
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "tecan/ElasticLINQ", "max_stars_repo_path": "Source/ElasticLINQ.Test/Request/ElasticRequestProcessorTests.cs", "provenance": "train-00000-of-00045.jsonl.gz:1715" }
starcoder
// Licensed under the Apache 2.0 License. See LICENSE.txt in the project root for more information. using ElasticLinq.Logging; using ElasticLinq.Mapping; using ElasticLinq.Request; using ElasticLinq.Request.Formatters; using ElasticLinq.Retry; using System; using System.Threading; using System.Threading.Tasks; using ...
1.881937
df13ae68f313acd003334f0641da13ff
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
1715
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "dolittle/DotNET.Fundamentals", "max_stars_repo_path": "Specifications/Security/for_SecurityAction/when_checking_can_authorize_with_a_target_that_can_authorize.cs", "provenance": "train-00000-of-00045.jsonl.gz:1716" }
starcoder
<reponame>dolittle/DotNET.Fundamentals<filename>Specifications/Security/for_SecurityAction/when_checking_can_authorize_with_a_target_that_can_authorize.cs // Copyright (c) Dolittle. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using Machine...
2.308715
65a09702ea56611d0389c429071da626
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
1716
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "transformania/tt-game", "max_stars_repo_path": "src/TT.Web/Views/Leaderboard/RoundLeaderboards/Statistics/Alpha_31.cshtml", "provenance": "train-00000-of-00045.jsonl.gz:1717" }
starcoder
<reponame>transformania/tt-game @Html.Partial(MVC.PvP.Views.partial.OldLeaderboardLinks) <div class="containerInner"> <h1>Statistics Leaders</h1> <div class="row"> <div class="col-md-4 stats-leader" style="height: 484px;"> <img src="https://images.transformaniatime.com/achievements/trophy...
1.957725
cb706a2fb485baaeefcf344e1a96ca8a
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
1717
{ "extension": "c-sharp", "max_stars_count": "15.0", "max_stars_repo_name": "aashrafh/FirstToSolve", "max_stars_repo_path": "A4A/A4A/Views/User/NoFriends.cshtml", "provenance": "train-00000-of-00045.jsonl.gz:1718" }
starcoder
@model A4A.Models.UsersModel @{ ViewBag.Title = "NoFriends"; int ID = Convert.ToInt16(Session["ID"]); if (ID == 0) { Layout = "~/Views/Shared/_Layout.cshtml"; } else { Layout = "~/Views/Shared/User_LayoutPage1.cshtml"; } } <p> <br /> <button class="btn btn-ou...
2.062849
65e7b290c1ca5e95186023e02511dcae
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
1718
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "emipa606/UtilitySupplements", "max_stars_repo_path": "Source/USToxins/Globals.cs", "provenance": "train-00000-of-00045.jsonl.gz:1719" }
starcoder
<reponame>emipa606/UtilitySupplements using Verse; namespace USToxins { // Token: <KEY> RID: 15 internal class Globals { // Token: 0x04000009 RID: 9 internal const int DryOutTime = 60000; // Token: 0x0400000A RID: 10 internal const int DamTickPeriod = 120; // Toke...
1.142302
7b0f6e8de20be2578c562bdc12374613
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
1719
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "AClumsy/HillPigeon", "max_stars_repo_path": "src/HillPigeon.Core/ApplicationModels/ActionModelBuilder.cs", "provenance": "train-00000-of-00045.jsonl.gz:1720" }
starcoder
using HillPigeon.ApplicationBuilder; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.DependencyInjection; using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Reflection.Emit; namespace HillPigeon.ApplicationModels { public class ActionModelBuilder ...
2.217052
dd366b8bbcc8f5fd896111258fdd0a08
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
1720
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "santedb/openiz", "max_stars_repo_path": "OpenIZ.OrmLite/IQueryBuilderHack.cs", "provenance": "train-00000-of-00045.jsonl.gz:1721" }
starcoder
/* * Copyright 2015-2018 Mohawk College of Applied Arts and Technology * * * 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 * * U...
2.144473
da39c4f86d24ac1fe114e4020e85f710
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
1721
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "MAK-12/timetally", "max_stars_repo_path": "Source/Microsoft.Teams.Apps.Timesheet.Test/Fakes/FakeTimesheetContext.cs", "provenance": "train-00000-of-00045.jsonl.gz:1722" }
starcoder
// <copyright file="FakeTimesheetContext.cs" company="Microsoft"> // Copyright (c) Microsoft. All rights reserved. // </copyright> namespace Microsoft.Teams.Apps.Timesheet.Tests.Fakes { using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Diagnostics; using Microsoft....
2.040774
f75cbb259d56b3108e87520c34ce2e1a
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
1722
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "dantes1844/aspnetboilerplate", "max_stars_repo_path": "src/Abp.AutoMapper/AutoMapper/AutoMapAttributeBase.cs", "provenance": "train-00000-of-00045.jsonl.gz:1723" }
starcoder
using System; using AutoMapper; namespace Abp.AutoMapper { /// <summary> /// 自动映射父类,定义了一个CreateMap,供每个子类来实现各自的自动映射操作 /// </summary> public abstract class AutoMapAttributeBase : Attribute { /// <summary> /// 要映射到的目标类型 /// </summary> public Type[] TargetTypes { get; p...
2.728538
b767c630d804eb10539698913586c1ea
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
1723
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "rniemand/cron-tool", "max_stars_repo_path": "test/CronTools.Common.T1.Tests/TestSupport/Builders/RunningJobContextBuilder.cs", "provenance": "train-00000-of-00045.jsonl.gz:1724" }
starcoder
<filename>test/CronTools.Common.T1.Tests/TestSupport/Builders/RunningJobContextBuilder.cs using CronTools.Common.Models; namespace CronTools.Common.T1.Tests.TestSupport.Builders; public class RunningJobContextBuilder { private readonly RunningJobContext _context; public RunningJobContextBuilder() { _contex...
2.002856
6dadd1700887083267bf9a2c0b0aba43
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
1724
{ "extension": "c-sharp", "max_stars_count": "3294.0", "max_stars_repo_name": "BaruaSourav/docs", "max_stars_repo_path": "samples/snippets/csharp/VS_Snippets_CFX/c_generatedcodefiles/cs/duplexproxycode.cs", "provenance": "train-00000-of-00045.jsonl.gz:1725" }
starcoder
<reponame>BaruaSourav/docs //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:2.0.50727.42 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. /...
1.867177
7cbbf1790a2b0bb005a6f582539a171d
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
1725
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "tammylotter/NExpect", "max_stars_repo_path": "src/NExpect/Implementations/StringMatched.cs", "provenance": "train-00000-of-00045.jsonl.gz:1726" }
starcoder
<reponame>tammylotter/NExpect using NExpect.Interfaces; // ReSharper disable ClassNeverInstantiated.Global namespace NExpect.Implementations { internal class StringMatched : ExpectationContext<string>, IStringMatched, IHasActual<string> { public string Actual { get; } ...
2.034032
506e904d62de8080453e94c8ad1d8a1c
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
1726
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "anareta/AvalonEditQE", "max_stars_repo_path": "ICSharpCode.AvalonEdit/Rendering/LinkElementGenerator.cs", "provenance": "train-00000-of-00045.jsonl.gz:1727" }
starcoder
<gh_stars>1-10 // Copyright (c) 2014 AlphaSierraPapa for the SharpDevelop Team // // 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 ri...
2.40789
56ff2cac389d0d12a34deca924879c15
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
1727
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "JonasSyrstad/Stardust.Nucleus", "max_stars_repo_path": "Stardust.Clusters/Clusters/EncodingFactory.cs", "provenance": "train-00000-of-00045.jsonl.gz:1728" }
starcoder
// // EncodingFactory.cs // This file is part of Stardust // // Author: <NAME> (<EMAIL>), http://no.linkedin.com/in/jonassyrstad/) // Copyright (c) 2014 <NAME>. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files...
2.221812
0f6428b35ba0cdc61da1dd0823635c46
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
1728
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "IvanJevtic9/RestaurantApp", "max_stars_repo_path": "server/src/RestaurantApp.Infrastructure/Data/EntityConfiguration/RestaurantConfiguration.cs", "provenance": "train-00000-of-00045.jsonl.gz:1729" }
starcoder
<gh_stars>0 using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; using RestaurantApp.Core.Entity; namespace RestaurantApp.Infrastructure.Data.EntityConfiguration { public class RestaurantConfiguration : IEntityTypeConfiguration<Restaurant> { public void Configure...
2.197636
9329d06c531f98f5c86999899b077549
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
1729
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "simplic/simplic-epl", "max_stars_repo_path": "src/Simplic.EPL/Lexer/QuotedParameterParserResult.cs", "provenance": "train-00000-of-00045.jsonl.gz:1730" }
starcoder
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Simplic.EPL.Lexer { /// <summary> /// Result of a parsed-parameter /// </summary> internal class QuotedParameterParserResult { /// <summary> /...
2.657299
e818b4a01ea381e28889fdcb950e783d
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
1730
{ "extension": "c-sharp", "max_stars_count": "85.0", "max_stars_repo_name": "DanRJ/altinn-studio", "max_stars_repo_path": "src/Altinn.Platform/Altinn.Platform.Receipt/Tests/Testdata/Parties.cs", "provenance": "train-00000-of-00045.jsonl.gz:1731" }
starcoder
using Altinn.Platform.Register.Models; namespace Altinn.Platform.Receipt.Tests.Testdata { public static class Parties { public static Party Party1 { get; set; } = new Party { PartyId = 50001, SSN = "12345678901", PartyTypeName = Register.Enums.PartyType.Person...
1.837014
af13b5bb5f60ef01f9154b8afd1d5edb
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
1731
{ "extension": "c-sharp", "max_stars_count": "16.0", "max_stars_repo_name": "Azurelol/StratusFramework", "max_stars_repo_path": "Gameplay/Source/Models/Templates/StratusStandardEffect.cs", "provenance": "train-00000-of-00045.jsonl.gz:1732" }
starcoder
<filename>Gameplay/Source/Models/Templates/StratusStandardEffect.cs using System.Collections; using System.Collections.Generic; using UnityEngine; namespace Stratus.Gameplay.Models { public abstract class StratusStandardEffect<Parameters> : StratusCombatEffect<StratusStandardCharacterParameters<Parameters>> where ...
1.952112
4998c139ef85cec2e7b5cffe1ed3e0d3
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
1732
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "silvaemiliaborges/Senai.Ekips.Tarde", "max_stars_repo_path": "Nova pasta/Senai.Ekips.WebApi/Domains/Cargo.cs", "provenance": "train-00000-of-00045.jsonl.gz:1733" }
starcoder
<gh_stars>0 using System; using System.Collections.Generic; namespace Senai.Ekips.WebApi.Domains { public partial class Cargo { public Cargo() { Funcionario = new HashSet<Funcionario>(); } public int Idcargo { get; set; } public string Cargo1 { get; set; } ...
1.444056
4cacdc96854592b899ea48e694772ada
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
1733
{ "extension": "c-sharp", "max_stars_count": "17.0", "max_stars_repo_name": "kennethmyhra/firely-net-common", "max_stars_repo_path": "src/Hl7.Fhir.ElementModel/SourceNodeExtensions.cs", "provenance": "train-00000-of-00045.jsonl.gz:1734" }
starcoder
<reponame>kennethmyhra/firely-net-common<filename>src/Hl7.Fhir.ElementModel/SourceNodeExtensions.cs /* * Copyright (c) 2018 Firely (<EMAIL>) and contributors * See the file CONTRIBUTORS for details. * * This file is licensed under the BSD 3-Clause license * available at https://raw.githubusercontent.com/FirelyT...
2.338445
3388946f731437201b6a777037231cfc
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
1734
{ "extension": "c-sharp", "max_stars_count": "45.0", "max_stars_repo_name": "Dude112113/Yolol", "max_stars_repo_path": "YololEmulator.Tests/Ladder/OneShotPid.cs", "provenance": "train-00000-of-00045.jsonl.gz:1735" }
starcoder
<filename>YololEmulator.Tests/Ladder/OneShotPid.cs using System; using System.Collections.Generic; using Microsoft.VisualStudio.TestTools.UnitTesting; using Yolol.Execution; using System.Linq; using MoreLinq; namespace YololEmulator.Tests.Ladder { [TestClass] public class OneShotPid { [TestMethod]...
2.489106
3b75caebbedabe1bb1b5842729426f63
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
1735
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "The-Singing-Melons/ITestSystem", "max_stars_repo_path": "ITest/ITest.Services.Data/QuestionService.cs", "provenance": "train-00000-of-00045.jsonl.gz:1736" }
starcoder
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Itest.Data.Models; using ITest.Data.Repository; using ITest.Data.UnitOfWork; using ITest.DTO; using ITest.Infrastructure.Providers.Contracts; using ITest.Services.Data.Contracts; using Microsoft.EntityFrameworkCore; namespace ...
2.407176
02dd84524414562e72390dbaef9e2aa3
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
1736
{ "extension": "c-sharp", "max_stars_count": "15.0", "max_stars_repo_name": "SuperJMN/VisualDesigner", "max_stars_repo_path": "Glass/Glass.Design.Pcl/ProportionalResizer.cs", "provenance": "train-00000-of-00045.jsonl.gz:1737" }
starcoder
using Glass.Design.Pcl.Canvas; using Glass.Design.Pcl.Core; namespace Glass.Design.Pcl { public class ProportionalResizer { private readonly ICanvasItem canvasItem; public ProportionalResizer(ICanvasItem canvasItem) { this.canvasItem = canvasItem; } privat...
2.502529
c18187eb850b0d66ccfaee5ab90c36e1
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
1737
{ "extension": "c-sharp", "max_stars_count": "469.0", "max_stars_repo_name": "DavidKarlas/mono", "max_stars_repo_path": "mcs/class/System.Data/System.Data.Common/DbDataRecord.cs", "provenance": "train-00000-of-00045.jsonl.gz:1738" }
starcoder
<reponame>DavidKarlas/mono // // System.Data.Common.DbDataRecord.cs // // Author: // <NAME> (<EMAIL>) // // Copyright (C) <NAME>, 2002-2003 // // // Copyright (C) 2004 Novell, Inc (http://www.novell.com) // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associ...
1.765517
a64d084147a743c41872de8d26cf0b48
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
1738
{ "extension": "c-sharp", "max_stars_count": "3.0", "max_stars_repo_name": "TGrannen/dotnet-samples", "max_stars_repo_path": "Observability/src/Observability.WebAPI/Services/OtelMetricService.cs", "provenance": "train-00000-of-00045.jsonl.gz:1739" }
starcoder
<reponame>TGrannen/dotnet-samples using System; using System.Collections.Generic; using System.Diagnostics; using System.Diagnostics.Metrics; using System.Threading.Tasks; namespace Observability.WebAPI.Services { // ReSharper disable once IdentifierTypo public class OtelMetricService { public con...
2.297838
b3e1205418e0d2ad82aca4221014b18e
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
1739
{ "extension": "c-sharp", "max_stars_count": "4226.0", "max_stars_repo_name": "gstsgy/Util", "max_stars_repo_path": "src/Util.Ui.Angular.Material/Prime/TreeTables/Renders/TreeTableRender.cs", "provenance": "train-00000-of-00045.jsonl.gz:1740" }
starcoder
<gh_stars>1000+ using Util.Helpers; using Util.Ui.Angular.Base; using Util.Ui.Builders; using Util.Ui.Configs; using Util.Ui.Enums; using Util.Ui.Prime.TreeTables.Builders; namespace Util.Ui.Prime.TreeTables.Renders { /// <summary> /// 树型表格渲染器 /// </summary> public class TreeTableRender : AngularRende...
2.146985
2f08c9c3f59ae71ff9793bacd772a42a
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
1740
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "atomb/boogie", "max_stars_repo_path": "Source/UnitTests/CoreTests/Duplicator.cs", "provenance": "train-00000-of-00045.jsonl.gz:1741" }
starcoder
using Microsoft.Boogie.TestUtil; using Microsoft.Boogie; using Microsoft.BaseTypes; using NUnit.Framework; using System.Linq; namespace CoreTests { [TestFixture()] public class DuplicatorTests : IErrorSink { Duplicator d; public void Error(IToken tok, string msg) { Assert.Fail(...
2.290788
2522eb3f32c297a102d081abc244f654
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
1741
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "alpaix/azure-jobs", "max_stars_repo_path": "src/Microsoft.Azure.WebJobs.ServiceBus/Listeners/ServiceBusListener.cs", "provenance": "train-00000-of-00045.jsonl.gz:1742" }
starcoder
// Copyright (c) Microsoft Open Technologies, Inc. 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.Threading; using System.Threading.Tasks; using Microsoft.Azure.WebJobs.Host.Listeners; using Microsoft.Serv...
2.040282
28272d642bf1780c68f1fafcbe68c99f
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
1742
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "facebookresearch/RealityMaterialExplorer", "max_stars_repo_path": "RealityMaterialExplorer/Assets/ECWarningScript.cs", "provenance": "train-00000-of-00045.jsonl.gz:1743" }
starcoder
/* Copyright (c) Meta Platforms, Inc. and affiliates. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
2.174195
5069253a0aae859abb0eabf85a745a9c
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
1743
{ "extension": "c-sharp", "max_stars_count": "4.0", "max_stars_repo_name": "ASP-WAF/FireWall", "max_stars_repo_path": "Samples/IGeoFactory implementation/Walter.Web.FireWall.Geo.IP2Loaction/Infrastructure/MyFireWall.cs", "provenance": "train-00000-of-00045.jsonl.gz:1744" }
starcoder
<reponame>ASP-WAF/FireWall using Microsoft.Extensions.Caching.Memory; using Microsoft.Extensions.Logging; using System; using System.Diagnostics; using System.Runtime.CompilerServices; using Walter.Web.FireWall.Models; namespace Walter.Web.FireWall.Geo.IP2Loaction.Infrastructure { /// <summary> /// you can in...
2.201455
cc1acba09d98165efafd9cb8d1157ab6
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
1744
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "agc93/project-sicario", "max_stars_repo_path": "src/SicarioPatch.Core/WingmanPatchService.cs", "provenance": "train-00000-of-00045.jsonl.gz:1745" }
starcoder
<gh_stars>1-10 using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using BuildEngine; using HexPatch; using HexPatch.Build; using Microsoft.Extensions.Logging; using SicarioPatch.Assets; using SicarioPatch.Core.Diagnostics; namespace SicarioPatch.Core { ...
2.234292
294c8bccd2077723085317f2b43bce47
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
1745
{ "extension": "c-sharp", "max_stars_count": "67.0", "max_stars_repo_name": "joexi/TinyGame.uLua", "max_stars_repo_path": "Assets/uLua/Core/LuaBase.cs", "provenance": "train-00000-of-00045.jsonl.gz:1746" }
starcoder
using System; using System.Collections.Generic; using System.Text; namespace LuaInterface { /// <summary> /// Base class to provide consistent disposal flow across lua objects. Uses code provided by <NAME> and suggestions by <NAME> and <NAME> /// </summary> public abstract class LuaBase : IDisposable ...
2.521155
27ff2fa50c1d2f0e143908065282059a
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
1746
{ "extension": "c-sharp", "max_stars_count": "5.0", "max_stars_repo_name": "Erikhht/DeveloperToolsForUPnP-Tools", "max_stars_repo_path": "DeveloperToolsForUPnP/Tools/DeviceValidator/CdsTestGroup.cs", "provenance": "train-00000-of-00045.jsonl.gz:1747" }
starcoder
<reponame>Erikhht/DeveloperToolsForUPnP-Tools /* Copyright 2006 - 2010 Intel 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.apache.org/licenses/LICENSE-2.0 Unless req...
1.681664
f9757faa5e548f3f19fdb875dd86a042
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
1747
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "ekincihan/LiveLarn", "max_stars_repo_path": "LiveLarn.Services/LiveLarn.Service.User/Controllers/AccountController.cs", "provenance": "train-00000-of-00045.jsonl.gz:1748" }
starcoder
<reponame>ekincihan/LiveLarn<gh_stars>1-10 using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using AppLog.Core.Abstract; using LiveLarn.Service.User.Models; using Microsoft.AspNet.OData.Routing; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Identity; using M...
2.126912
c937fc9aabb0bbb79e5a2ff491d987b8
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
1748
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "lydonchandra/fo-dicom", "max_stars_repo_path": "DICOM/Imaging/WPFImage.cs", "provenance": "train-00000-of-00045.jsonl.gz:1749" }
starcoder
<filename>DICOM/Imaging/WPFImage.cs // Copyright (c) 2012-2020 fo-dicom contributors. // Licensed under the Microsoft Public License (MS-PL). namespace Dicom.Imaging { using System.Collections.Generic; using System.Runtime.InteropServices; using System.Windows; using System.Windows.Media; using Sy...
2.603214
de5fb95e18dfc6832aa561d28578e20f
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
1749
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "centauruszzz/jynew", "max_stars_repo_path": "jyx2/Assets/Scripts/Jyx2UIScripts/SkillEditorUIPanel.cs", "provenance": "train-00000-of-00045.jsonl.gz:1750" }
starcoder
<filename>jyx2/Assets/Scripts/Jyx2UIScripts/SkillEditorUIPanel.cs /* * 金庸群侠传3D重制版 * https://github.com/jynew/jynew * * 这是本开源项目文件头,所有代码均使用MIT协议。 * 但游戏内资源和第三方插件、dll等请仔细阅读LICENSE相关授权协议文档。 * * 金庸老先生千古! */ using System; using System.Collections; using System.Collections.Generic; using System.Linq; using Cysharp.Thre...
1.761781
3c9b7b4eebf1adbbc892897a1f23c504
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
1750
{ "extension": "c-sharp", "max_stars_count": "3.0", "max_stars_repo_name": "cuteant/MessagePack-Span-Fork", "max_stars_repo_path": "src/MessagePack/Reader/MessagePackReader.Single.cs", "provenance": "train-00000-of-00045.jsonl.gz:1751" }
starcoder
<gh_stars>1-10 namespace MessagePack { using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; public ref partial struct MessagePackReader { [MethodImpl(MethodImplOptions.AggressiveInlining)] public float ReadSingle() { ref byt...
2.384178
2818e2fb36b2da665b758b1f0a25ee9b
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
1751
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "CalvinFehl/ColtsWithCalvin", "max_stars_repo_path": "Assets/Scripts/PrototypeRope.cs", "provenance": "train-00000-of-00045.jsonl.gz:1752" }
starcoder
//using SplineMesh; //using System.Data; //using System.Xml.Serialization; //using UnityEngine; //public class PrototypeRope : MonoBehaviour //{ // [SerializeField] // private GameObject Instanciator, Target; // private PlayerControlls controlls; // public float segmentDistance = .5f; // public float ...
1.924549
bb9b84c6526ff0b4eb5ce7cc776438b3
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
1752
{ "extension": "c-sharp", "max_stars_count": "11.0", "max_stars_repo_name": "Vytek/MayaVerse03", "max_stars_repo_path": "Assets/Utils/Tayx/Graphy - Ultimate Stats Monitor/Scripts/Util/ExtensionMethods.cs", "provenance": "train-00000-of-00045.jsonl.gz:1753" }
starcoder
/* --------------------------------------- * Author: <NAME> (<EMAIL>) (@tayx94) * Project: Graphy - Ultimate Stats Monitor * Date: 04-Jan-18 * Studio: Tayx * Unauthorized copying of this file, via any medium is strictly prohibited * Proprietary and confidential * -------------------------------------*/ using U...
2.80416
d3ff65b54fcbbf8b545acfb07415ba80
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
1753
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "Taskly/Taskly.Comments", "max_stars_repo_path": "Taskly.Comments.WebApi/Dto/DeletedCommentDto.cs", "provenance": "train-00000-of-00045.jsonl.gz:1754" }
starcoder
using System; using System.ComponentModel.DataAnnotations; namespace Taskly.Comments.WebApi.Dto { public class DeletedCommentDto : CommentDto { [Required] public string RemovalUserId { get; set; } [Required] public DateTime RemovalTimestamp { get; set; } } }
1.72831
aa9355696024a346e97fd03c0279e8c5
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
1754
{ "extension": "c-sharp", "max_stars_count": "5.0", "max_stars_repo_name": "jsquire/Portfolio", "max_stars_repo_path": "src/OrderFulfillment/Core/Models/External/eCommerce/OrderDetails.cs", "provenance": "train-00000-of-00045.jsonl.gz:1755" }
starcoder
using System; using System.Collections.Generic; namespace OrderFulfillment.Core.Models.External.Ecommerce { /// <summary> /// The details of an order retrieved from the eCommerce system /// associated with user interactions for creating an order. /// </summary> /// public class OrderDetai...
2.353354
d65eb52cfd04a9fe0b672969c896b01e
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
1755
{ "extension": "c-sharp", "max_stars_count": "51.0", "max_stars_repo_name": "Blakeley00/starflight", "max_stars_repo_path": "Starflight/Assets/Scripts/Game Data/GD_PlanetType.cs", "provenance": "train-00000-of-00045.jsonl.gz:1756" }
starcoder
<filename>Starflight/Assets/Scripts/Game Data/GD_PlanetType.cs  using System; [Serializable] public class GD_PlanetType { public int m_id; public string m_name; }
1.534432
e31c26876c4e34d8c6a3957acf5ce02f
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
1756
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "alchemistbg/SoftwareUniversity", "max_stars_repo_path": "02-Tech-Module/01-Programming-Fundamentals/09-Strings-and-Text-Processing/01-Lab/03_Text_Filter/Program.cs", "provenance": "train-00000-of-00045.jsonl.gz:1757" }
starcoder
using System; namespace _03_Text_Filter { class Program { static void Main(string[] args) { String[] banWords = Console.ReadLine().Split(", "); String textToClear = Console.ReadLine(); for (int i = 0; i < banWords.Length; i++) { if (textToClear.Contains(banWords[i])) { textToClear = te...
3.307382
76c89085e5912539d9697ec6851c953c
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
1757
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "GuillaumeSmartLiberty/SharpVectors", "max_stars_repo_path": "Main/Source/SharpVectorConverters/ImageSvgConverter.cs", "provenance": "train-00000-of-00045.jsonl.gz:1758" }
starcoder
<reponame>GuillaumeSmartLiberty/SharpVectors using System; using System.IO; using System.IO.Compression; using System.Xml; using System.Text; using System.Windows; using System.Windows.Media; using System.Windows.Media.Imaging; using SharpVectors.Dom.Svg; using SharpVectors.Renderers.Wpf; using SharpVect...
2.18014
24d86819b57532ee1a7470136033720a
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
1758
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "collenirwin/Codewars-Solutions", "max_stars_repo_path": "Solutions/C#/Failed Filter - Bug Fixing #3(7 kyu).cs", "provenance": "train-00000-of-00045.jsonl.gz:1759" }
starcoder
using System.Linq; public class Kata { public static string FilterNumbers(string str) { return string.Join("", str.Where(c => !char.IsDigit(c))); } }
2.758632
b9909071df88ebb1c40746e4232c83b8
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
1759
{ "extension": "c-sharp", "max_stars_count": "23.0", "max_stars_repo_name": "ninianne98/carrotcake-cms", "max_stars_repo_path": "CMSAdmin/c3-admin/ContentEditHistory.aspx.designer.cs", "provenance": "train-00000-of-00045.jsonl.gz:1760" }
starcoder
<gh_stars>10-100 //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //----------------...
1.146907
1c7e6abc0d7ae4482dac809b4a59645a
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
1760
{ "extension": "c-sharp", "max_stars_count": "29.0", "max_stars_repo_name": "AaronFriel/pulumi-aws-native", "max_stars_repo_path": "sdk/dotnet/RDS/Inputs/DBProxyAuthFormatArgs.cs", "provenance": "train-00000-of-00045.jsonl.gz:1761" }
starcoder
// *** WARNING: this file was generated by the Pulumi SDK Generator. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; namespace Pulumi.AwsN...
1.849713
e8cc525dae1d2c98482885cf3fa70e3a
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
1761
{ "extension": "c-sharp", "max_stars_count": "7.0", "max_stars_repo_name": "shellscape/Snarf", "max_stars_repo_path": "Application/Nfs/HandleManager.cs", "provenance": "train-00000-of-00045.jsonl.gz:1762" }
starcoder
<reponame>shellscape/Snarf using System; using System.Collections.Generic; using System.Linq; using System.Runtime.CompilerServices; using System.Runtime.Serialization; using System.Text; using System.Threading.Tasks; namespace Snarf.Nfs { [DataContract(Name = "apphandles")] public class HandleManager : Shellscape...
2.648948
1d04b736bcfb2bdb65e6a7ea66eb2a7b
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
1762
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "kzrnm/roslyn", "max_stars_repo_path": "src/EditorFeatures/Core/IntelliSense/QuickInfo/QuickInfoSourceProvider.QuickInfoSource.cs", "provenance": "train-00000-of-00045.jsonl.gz:1763" }
starcoder
// 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.Threading; using System.Threading.Tasks; using Microsoft.CodeAnalysis...
1.429182
5b773b6d8164572cc67937d72e1f4244
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
1763
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "strofimo/dsharp", "max_stars_repo_path": "src/DSharp.Compiler/HashingUtils.cs", "provenance": "train-00000-of-00045.jsonl.gz:1764" }
starcoder
namespace DSharp.Compiler { public static class HashingUtils { //These have come from a useful stack overflow answer: https://stackoverflow.com/questions/1646807/quick-and-simple-hash-code-combinations#answer-34006336 private const int DEFAULT_SEED = 1009; private const int DEFAULT_FACT...
3.206049
1d422abcd8aae9d46994b3e17527b8ae
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
1764
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "Lymphatus/HackShooterTest", "max_stars_repo_path": "Assets/Scripts/WeaponController.cs", "provenance": "train-00000-of-00045.jsonl.gz:1765" }
starcoder
using System.Collections; using System.Collections.Generic; using UnityEngine; public class WeaponController : MonoBehaviour { public float fireRate = 0.5f; public float damage = 1.0f; public Transform firePoint, player; public GameObject projectilePrefab; private float nextFire = -1f; private...
2.562438
0f601ef35526e56c36c21cae9818368b
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
1765
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "williamccondori/UPT.BOT", "max_stars_repo_path": "UPT.BOT.Distribucion.Bot.BotService/Dialogos/Informacion/ServicioDialog.cs", "provenance": "train-00000-of-00045.jsonl.gz:1766" }
starcoder
using ApiAiSDK.Model; using Microsoft.Bot.Builder.Dialogs; using Microsoft.Bot.Connector; using System.Collections.Generic; using System.Threading.Tasks; using UPT.BOT.Aplicacion.DTOs.BOT; using UPT.BOT.Distribucion.Bot.Acceso.Informacion; using UPT.BOT.Distribucion.Bot.BotService.Utilidades; namespace UPT.BOT.Distri...
2.15934
71bd4e1fe72eeaa045fb934ae0f9308a
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
1766
{ "extension": "c-sharp", "max_stars_count": "8.0", "max_stars_repo_name": "SuperGent/unity-samples", "max_stars_repo_path": "src/terrain/TerrainChunk.cs", "provenance": "train-00000-of-00045.jsonl.gz:1767" }
starcoder
using System.Collections; using System.Collections.Generic; using UnityEngine; public class TerrainChunk { // Chunk Sizes public static int chunkWidth = 32; public static int chunkHeight = 32; // Chunk Data public float[,] chunkData; /// <summary> /// Blank Constructor for the Terrain Ch...
3.191289
ec1346838e836fa6e69d882f49d5b458
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
1767
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "patchandthat/UnitsNet", "max_stars_repo_path": "UnitsNet.Tests/GeneratedCode/VolumeFlowTestsBase.g.cs", "provenance": "train-00000-of-00045.jsonl.gz:1768" }
starcoder
<filename>UnitsNet.Tests/GeneratedCode/VolumeFlowTestsBase.g.cs<gh_stars>0 //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by \generate-code.bat. // // Changes to this file will be lost when the code is regenerated. // The buil...
2.010478
aaef05a1b729ff0280535f1506795fea
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
1768
{ "extension": "c-sharp", "max_stars_count": "4.0", "max_stars_repo_name": "JTOne123/InnerCore.Api.HueSync", "max_stars_repo_path": "InnerCore.Api.HueSync/Models/Command/ModeOptionsMusicCommand.cs", "provenance": "train-00000-of-00045.jsonl.gz:1769" }
starcoder
<reponame>JTOne123/InnerCore.Api.HueSync<filename>InnerCore.Api.HueSync/Models/Command/ModeOptionsMusicCommand.cs using InnerCore.Api.HueSync.Models.Enum; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.Runtime.Serialization; namespace InnerCore.Api.HueSync.Models.Command { [DataContract] publ...
1.628589
2136027b75e262386fc01357136b6e8f
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
1769
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "Euricom/case-iot-gateway", "max_stars_repo_path": "src/Euricom.IoT.AzureDeviceManager/AzureDeviceManager.cs", "provenance": "train-00000-of-00045.jsonl.gz:1770" }
starcoder
<reponame>Euricom/case-iot-gateway<filename>src/Euricom.IoT.AzureDeviceManager/AzureDeviceManager.cs using Euricom.IoT.Logging; using Euricom.IoT.Models; using Microsoft.Azure.Devices; using Microsoft.Azure.Devices.Common.Exceptions; using System; using System.Collections.Generic; using System.Threading.Tasks; namesp...
2.452763
68552092e7e5a1491930e4c66dd60e4c
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
1770
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "fasetto/cex.io-api", "max_stars_repo_path": "src/CEXIO.Api/MarketEntities/TradeId.cs", "provenance": "train-00000-of-00045.jsonl.gz:1771" }
starcoder
<reponame>fasetto/cex.io-api<gh_stars>1-10 using System; using System.Globalization; namespace CEXIO.Api.MarketEntities { public struct TradeId : IComparable, IComparable<TradeId>, IFormattable, IEquatable<TradeId> { private readonly uint _id; public uint Id { get { return...
2.930372
0e20a42860c8995f419ee5a260984298
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
1771
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "denizkanmaz/modular-monolith-with-ddd", "max_stars_repo_path": "src/Modules/Meetings/Domain/Meetings/MoneyValue.cs", "provenance": "train-00000-of-00045.jsonl.gz:1772" }
starcoder
<filename>src/Modules/Meetings/Domain/Meetings/MoneyValue.cs using CompanyName.MyMeetings.BuildingBlocks.Domain; namespace CompanyName.MyMeetings.Modules.Meetings.Domain.Meetings { public class MoneyValue : ValueObject { public static MoneyValue Zero => new MoneyValue(null, null); public deci...
2.788707
778b8f738391f929c56a1eeef3830587
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
1772
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "andrewhoi/squidex", "max_stars_repo_path": "tests/Squidex.Domain.Apps.Write.Tests/Apps/AppEventTests.cs", "provenance": "train-00000-of-00045.jsonl.gz:1773" }
starcoder
<reponame>andrewhoi/squidex // ========================================================================== // AppEventTests.cs // Squidex Headless CMS // ========================================================================== // Copyright (c) Squidex Group // All rights reserved. // =============================...
1.444588
f9aaeaef16201621b48e0e5a8fabb854
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
1773
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "DakotaHerold/RGDGameJam2018", "max_stars_repo_path": "GameJamProject/Assets/Rewired/Extras/ControlMapper/Scripts/ControlMapper.cs", "provenance": "train-00000-of-00045.jsonl.gz:1774" }
starcoder
// Copyright (c) 2015 <NAME>, Guavaman Enterprises. All rights reserved. #if UNITY_2020 || UNITY_2021 || UNITY_2022 || UNITY_2023 || UNITY_2024 || UNITY_2025 #define UNITY_2020_PLUS #endif #if UNITY_2019 || UNITY_2020_PLUS #define UNITY_2019_PLUS #endif #if UNITY_2018 || UNITY_2019_PLUS #define UNITY_2018_PLUS #endi...
1.38601
78c6ed52e053686dc8b3f84340b4d9f6
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
1774
{ "extension": "c-sharp", "max_stars_count": "11.0", "max_stars_repo_name": "xforever1313/Chaskis", "max_stars_repo_path": "Chaskis/UnitTests/CoreTests/Handlers/InterPluginEventTest.cs", "provenance": "train-00000-of-00045.jsonl.gz:1775" }
starcoder
// // Copyright <NAME> 2016-2021. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // using System; using System.Collections.Generic; using Chaskis.UnitTests.Common; using Chaskis.Core; using...
2.075262
90fae2e908b624e850004f5cbcbd4cf3
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
1775
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "ecool/BuildableNaturalTile", "max_stars_repo_path": "BuildableNaturalTileConfig.cs", "provenance": "train-00000-of-00045.jsonl.gz:1776" }
starcoder
<reponame>ecool/BuildableNaturalTile using System; using System.Collections.Generic; using TUNING; using UnityEngine; using STRINGS; public class NaturalTileConfig : IBuildingConfig { public const string ID = "NaturalTile"; public const string DisplayName = "Natural Tile"; public const string Description =...
1.710513
78d99c07321cb1c8eda9050adb01af6c
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
1776
{ "extension": "c-sharp", "max_stars_count": "11.0", "max_stars_repo_name": "a-kozhanov/codewars_csharp", "max_stars_repo_path": "CodeWars/6kyu/SumOfDigitsDigitalRoot.cs", "provenance": "train-00000-of-00045.jsonl.gz:1777" }
starcoder
/* https://www.codewars.com/kata/541c8630095125aba6000c00/csharp 6 kyu Sum of Digits / Digital Root Digital root is the recursive sum of all the digits in a number. Given n, take the sum of the digits of n. If that value has more than one digit, continue reducing in this way until a single-digit number is produced...
3.619806
bb74dacb67757f43492db127bdb37c25
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
1905
{ "extension": "c-sharp", "max_stars_count": "7.0", "max_stars_repo_name": "MikaelGRA/Tsdb", "max_stars_repo_path": "src/Vibrant.Tsdb.Ats/YearlyTableProvider.cs", "provenance": "train-00000-of-00045.jsonl.gz:1906" }
starcoder
<filename>src/Vibrant.Tsdb.Ats/YearlyTableProvider.cs using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Threading.Tasks; namespace Vibrant.Tsdb.Ats { public class YearlyTableProvider<TKey> : ITableProvider<TKey> { private string _tableName; ...
2.775023
3f76e399b4ccf9755ad052a360a88d6a
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
1906
{ "extension": "c-sharp", "max_stars_count": "7.0", "max_stars_repo_name": "ArkNX/ET", "max_stars_repo_path": "Server/Hotfix/Module/Demo/G2M_CreateUnitHandler.cs", "provenance": "train-00000-of-00045.jsonl.gz:1907" }
starcoder
<filename>Server/Hotfix/Module/Demo/G2M_CreateUnitHandler.cs using System; using ETModel; using PF; using UnityEngine; namespace ETHotfix { [ActorMessageHandler] public class G2M_CreateUnitHandler : AMActorRpcHandler<Scene, G2M_CreateUnit, M2G_CreateUnit> { protected override async ETTask Run(Scene scene, G2M_Cr...
1.978053
01f4701ffbb37fba4afc260f316c649b
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
1907
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "maurelio1234/csharp", "max_stars_repo_path": "exercises/nth-prime/NthPrimeTest.cs", "provenance": "train-00000-of-00045.jsonl.gz:1908" }
starcoder
// This file was auto-generated based on version 2.1.0 of the canonical data. using System; using Xunit; public class NthPrimeTest { [Fact] public void First_prime() { Assert.Equal(2, NthPrime.Prime(1)); } [Fact(Skip = "Remove to run test")] public void Second_prime() { As...
2.695007
88b921c09e90660b46411234d7cc3453
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
1908
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "chayuso/Hololens-Scenic-Design", "max_stars_repo_path": "Assets/JMO Assets/Toony Colors Pro/Editor/Utils/TCP2_Utils.cs", "provenance": "train-00000-of-00045.jsonl.gz:1909" }
starcoder
// Toony Colors Pro+Mobile 2 // (c) 2014-2018 <NAME> using UnityEngine; using UnityEditor; using System.Collections; using System.Collections.Generic; using System.IO; // General helper functions for TCP2 public static class TCP2_Utils { //----------------------------------------------------------------------------...
2.308723
78f775717a3fdb4d959d0da33d696dd4
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
1909
{ "extension": "c-sharp", "max_stars_count": "13.0", "max_stars_repo_name": "endink/Schubert", "max_stars_repo_path": "src/Framework/Schubert.Framework.Swifty/RemoteDependencyAssembly.cs", "provenance": "train-00000-of-00045.jsonl.gz:1910" }
starcoder
<filename>src/Framework/Schubert.Framework.Swifty/RemoteDependencyAssembly.cs using Microsoft.Extensions.Options; using Swifty; using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using Microsoft.Extensions.DependencyInjection; using Schubert.Framework.DependencyInjection; using...
2.11602
1c863267b06ef1e65780980a39026efa
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
1910
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "nfaltermeier/KABSU-Inventory-App", "max_stars_repo_path": "WpfApp/KASBUApp - Tests/640/MorphTest.cs", "provenance": "train-00000-of-00045.jsonl.gz:1911" }
starcoder
<reponame>nfaltermeier/KABSU-Inventory-App using NUnit.Framework; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using WpfApp; namespace KASBUApp___Tests._640 { class MorphTest { private Morph morph; [SetUp] public vo...
2.568441
cb4ec96f5739dd29721883948b085b16
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
1911
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "abhcr/adGiga", "max_stars_repo_path": "adGiga Projects/Objects/Assembly.cs", "provenance": "train-00000-of-00045.jsonl.gz:1912" }
starcoder
using System; using System.Collections.Generic; using System.Text; namespace DataObjects { /// <summary> /// Project class groups a set of items under a parent item. /// </summary> public class Assembly { public Assembly() { children = new List<Item>(); ...
3.155327
d75501259fdb1d61b5e2668baf06daae
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
1912
{ "extension": "c-sharp", "max_stars_count": "1150.0", "max_stars_repo_name": "Jordigb44/openbullet", "max_stars_repo_path": "OpenBullet/Repositories/ConfigRepository.cs", "provenance": "train-00000-of-00045.jsonl.gz:1913" }
starcoder
<reponame>Jordigb44/openbullet using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using RuriLib; using RuriLib.Interfaces; using RuriLib.ViewModels; namespace OpenBullet.Repositories { // The ID is a tuple containing the category an...
2.677651
cf139d613f066adc3a34dbbf051ff5c5
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
1913
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "khanhdrag9/Unity-MrGunClone", "max_stars_repo_path": "Assets/Scripts/Ultils/Range.cs", "provenance": "train-00000-of-00045.jsonl.gz:1914" }
starcoder
using System; using UnityEngine; [Serializable] public class Range { [SerializeField]public float min; [SerializeField]public float max; private float minOrigin = 0; private float maxOrigin = 0; public Range() { min = 0; max = 0; } public Range(float min, flo...
2.86035
a06b75d83211c30df6d124082449af6e
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
1914
{ "extension": "c-sharp", "max_stars_count": "60.0", "max_stars_repo_name": "AzureAdvocateBit/MobileAppsOfTomorrow-Lab-1", "max_stars_repo_path": "FinishedWorkshopSteps/12-ShowPhotosOnMobileApp/HappyXamDevs/HappyXamDevs/HappyXamDevs/Models/PhotoModel.cs", "provenance": "train-00000-of-00045.jsonl.gz:1915" }
starcoder
using System.Linq; using HappyXamDevs.ViewModels; using Xamarin.Forms; namespace HappyXamDevs.Models { public class PhotoModel : BaseViewModel { public PhotoModel(PhotoMetadataModel photoMetadata) { Caption = photoMetadata.Caption; Timestamp = photoMetadata.Time...
2.361967
dedd6bb6d398a5a09b0c877664c9cc9e
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
1915
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "StableCube/Bulzor", "max_stars_repo_path": "Components/src/Components/BulNavbarDropdown.cs", "provenance": "train-00000-of-00045.jsonl.gz:1916" }
starcoder
using System; using Microsoft.AspNetCore.Components.Rendering; using Microsoft.AspNetCore.Components; namespace StableCube.Bulzor.Components { public class BulNavbarDropdown : BulComponentBase { [Parameter] public bool Right { get; set; } [Parameter] public bool Bo...
2.09488
207abb98a3711f99e9e10a51254bef3b
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
1916
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "contentcollectivemarketing/WindowsTemplateStudio", "max_stars_repo_path": "templates/Features/ShareSource/Models/ShareSourceFeatureItem.cs", "provenance": "train-00000-of-00045.jsonl.gz:1917" }
starcoder
using System; using System.Collections.Generic; using System.Threading.Tasks; using Windows.Storage; namespace Param_ItemNamespace.Models { internal enum ShareSourceFeatureItemType { Text = 0, WebLink = 1, ApplicationLink = 2, Html = 3, Image = 4, StorageItems ...
2.432785
593aed500c87dcdd00f3fa0f8e928afe
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
1917
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "Shuttle/Shuttle.Esb.Ninject", "max_stars_repo_path": "Shuttle.Esb.Ninject.Tests/NinjectMessageHandlerFactoryFixture.cs", "provenance": "train-00000-of-00045.jsonl.gz:1918" }
starcoder
using System; using System.Linq; using Ninject; using NUnit.Framework; using Shuttle.Esb.Ninject.Tests.Duplicate; namespace Shuttle.Esb.Ninject.Tests { [TestFixture] public class NinjectMessageHandlerFactoryFixture { [Test] public void Should_be_able_to_find_message_handlers() { ...
2.094189
00fe8a816c6745a647c9a37692b0db8b
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
1918
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "Chizzl/stripe.net", "max_stars_repo_path": "src/Stripe/Services/InvoiceItems/StripeInvoiceItemService.cs", "provenance": "train-00000-of-00045.jsonl.gz:1919" }
starcoder
using System.Collections.Generic; namespace Stripe { public class StripeInvoiceItemService : StripeService { public StripeInvoiceItemService(string apiKey = null) : base(apiKey) { } public bool ExpandCustomer { get; set; } public bool ExpandInvoice { get; set; } public vir...
2.067582
c3be81b32f431a507dce86e4ea20eea9
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
1919
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "ArXen42/Sunricher.Wifi.Api", "max_stars_repo_path": "Sunricher.Wifi/Sunricher.Wifi.Api/IMessagesProvider.cs", "provenance": "train-00000-of-00045.jsonl.gz:1920" }
starcoder
using System; using System.Collections.Generic; namespace Sunricher.Wifi.Api { /// <summary> /// Provides method for generating command messages. /// </summary> public interface IMessagesProvider { /// <summary> /// Collection of rooms numbers. Initially empty in default implementation. /// </summa...
2.849912
184b1b6187f0a82ead3a909e149a5e02
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
1920
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "wiseley/Sitecore-Bootstrap-Accelerator", "max_stars_repo_path": "Views/Renderings/ContentSection.cshtml", "provenance": "train-00000-of-00045.jsonl.gz:1921" }
starcoder
@using ModernBusiness.Helpers; @using ModernBusiness.Models; @model ContentSectionModel @if (Model.InnerItem == null) { <div class="error">@Model.PlaceholderMessage</div> } else { <!-- Content Section --> <div class="row"> <div class="col-lg-12"> <h2 class="page-header">@Html.Sitecore...
2.387511
dc3cf46822240af803da7fc0eb34152a
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
1921
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "methylium/NuGetGallery", "max_stars_repo_path": "src/NuGetGallery/ViewModels/DisplayPackageViewModel.cs", "provenance": "train-00000-of-00045.jsonl.gz:1922" }
starcoder
<reponame>methylium/NuGetGallery<gh_stars>1-10 using System; using System.Collections.Generic; using System.Linq; using NuGet; namespace NuGetGallery { public class DisplayPackageViewModel : ListPackageItemViewModel { public DisplayPackageViewModel(Package package) : this(package, false) ...
2.306257
2e20a3412d54cc3ca9d9fb6106cede07
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
1922
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "filipvrba/InfnetFV-Core", "max_stars_repo_path": "InfnetFV-Core/Pages/Projects/Solution/Detail.cshtml", "provenance": "train-00000-of-00045.jsonl.gz:1923" }
starcoder
<reponame>filipvrba/InfnetFV-Core @page "{id:int}" @model InfnetFV_Core.Pages.Projects.Solution.DetailModel @{ ViewData["Title"] = "Detail"; Layout = "~/Pages/Shared/_Layout.cshtml"; } <div> <h1>Solution</h1> <div class="panel panel-primary"> <div class="panel-heading"> <span clas...
2.18026
5a1041998042817978769f1c6611c52a
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
1923
{ "extension": "c-sharp", "max_stars_count": "9402.0", "max_stars_repo_name": "pyracanda/runtime", "max_stars_repo_path": "src/tests/JIT/Methodical/eh/interactions/ehSO.cs", "provenance": "train-00000-of-00045.jsonl.gz:1924" }
starcoder
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. /* Spilling volatile objects opposed to spilling only the exception objects. The equivalence of GTF_OTHER_SIDEEFF and GT_CATCH_ARG is altered by impGetByRefResultType. Actual ...
2.36514
6fd8fe9ab17952d0205ae9a7198bf907
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
1924
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "Herdo/SSDTExtension", "max_stars_repo_path": "src/Shared/Contracts/Factories/IScriptModifierFactory.cs", "provenance": "train-00000-of-00045.jsonl.gz:1925" }
starcoder
namespace SSDTLifecycleExtension.Shared.Contracts.Factories { using System; using Enums; public interface IScriptModifierFactory { /// <summary> /// Creates the desired <paramref name="scriptModifier"/>. /// </summary> /// <param name="scriptModifier">The modifier to cr...
2.423639
6dbe382045d025ba5791e531792b8d2b
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
1925
{ "extension": "c-sharp", "max_stars_count": "10.0", "max_stars_repo_name": "skbkontur/result", "max_stars_repo_path": "Kontur.Tests.Results/Conversion/Combinations/Linq/Optional/Optional/SelectMany/Options2/Plain/Task_Should.cs", "provenance": "train-00000-of-00045.jsonl.gz:1926" }
starcoder
using System.Collections.Generic; using System.Threading.Tasks; using Kontur.Results; using NUnit.Framework; namespace Kontur.Tests.Results.Conversion.Combinations.Linq.Optional.Optional.SelectMany.Options2.Plain { [TestFixture] internal class Task_Should { private static readonly IEnumerable<Test...
2.311184
60c1d195e2bbf9e7b718e5c4ac8f3819
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
1926
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "luisdvalle/WebAppDip", "max_stars_repo_path": "PracticeTestTafe/ViewModels/CategoryDetailsViewModel.cs", "provenance": "train-00000-of-00045.jsonl.gz:1927" }
starcoder
<gh_stars>0 using PracticeTestTafe.Models; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace PracticeTestTafe.ViewModels { public class CategoryDetailsViewModel { public int Id { get; set; } public string Name { get; set; } publi...
1.541842
5d33b12f8943b72ccfbe3520a7e086ea
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
1927
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "bluexray/Horizon.Sample", "max_stars_repo_path": "Horizon.Payment.Alipay/Domain/AccTransDetail.cs", "provenance": "train-00000-of-00045.jsonl.gz:1928" }
starcoder
using System.Text.Json.Serialization; namespace Horizon.Payment.Alipay.Domain { /// <summary> /// AccTransDetail Data Structure. /// </summary> public class AccTransDetail : AlipayObject { /// <summary> /// 支付宝订单号。仅付汇失败后,商户重试时填写。首次批次请求时设置为空,否则会失败。 biz_scene=LOCAL时忽略该参数。 ...
1.717639
892591d6db05b883b66f2fef048f2892
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
1928
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "BenjaminRi/ualbion", "max_stars_repo_path": "src/Game/Text/Tokeniser.cs", "provenance": "train-00000-of-00045.jsonl.gz:1929" }
starcoder
<gh_stars>1-10 using System.Collections.Generic; using System.Text; namespace UAlbion.Game.Text { public static class Tokeniser { enum TokeniserState { Neutral, InBraces, InPercentage, } public static IEnumerable<(Token, object)> Tokenise(st...
2.788994
fbf5baeb33e9fd57ff82c609b1adc824
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
1929
{ "extension": "c-sharp", "max_stars_count": "154.0", "max_stars_repo_name": "EvanceKao/LineMessagingApi", "max_stars_repo_path": "src/Line.Messaging/Messages/Action/UriTemplateAction.cs", "provenance": "train-00000-of-00045.jsonl.gz:1930" }
starcoder
<reponame>EvanceKao/LineMessagingApi using System; namespace Line.Messaging { /// <summary> /// When a control associated with this action is tapped, the URI specified in the uri field is opened. /// https://developers.line.me/en/docs/messaging-api/reference/#uri-action /// </summary> public class...
2.542381
8ef012eacbbfc97bd3ef186fb2d812cf
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
1930
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "gosystemsgmbh/RI_Framework", "max_stars_repo_path": "RI.Framework.Extensions.SQLite/Data/SQLite/Collations/InvariantCultureSQLiteCollation.cs", "provenance": "train-00000-of-00045.jsonl.gz:1931" }
starcoder
using System.Data.SQLite; using RI.Framework.Utilities; namespace RI.Framework.Data.SQLite.Collations { /// <summary> /// Implements an SQLite collation which performs case-sensitive string comparison using the invariant culture. /// </summary> /// <remarks> /// <para> /// ...
2.696404
459cb6e837db9344cb1f471b97a4d6a8
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
1931
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "Nebby1999/EnforcerMod", "max_stars_repo_path": "EnforcerMod_VS/Components/Nemesis/NemesisInvasion.cs", "provenance": "train-00000-of-00045.jsonl.gz:1932" }
starcoder
<reponame>Nebby1999/EnforcerMod<filename>EnforcerMod_VS/Components/Nemesis/NemesisInvasion.cs using UnityEngine; namespace EnforcerPlugin { public class NemesisInvasion : MonoBehaviour { public bool hasInvaded = false; public bool pendingInvasion = false; } }
0.98046
92e03dd0822761c86999d9b818debb08
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
1932
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "couven92/Eto", "max_stars_repo_path": "src/Eto.Wpf/Forms/Cells/CellHandler.cs", "provenance": "train-00000-of-00045.jsonl.gz:1933" }
starcoder
<gh_stars>1-10 using sw = System.Windows; using swc = System.Windows.Controls; using Eto.Forms; namespace Eto.Wpf.Forms.Cells { public interface ICellContainerHandler { Grid Grid { get; } sw.FrameworkElement SetupCell(ICellHandler cell, sw.FrameworkElement defaultContent); void FormatCell(ICellHandler cell, sw...
2.125164
f90f962c914bfd6311620990a56cadd3
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
1933
{ "extension": "c-sharp", "max_stars_count": "14.0", "max_stars_repo_name": "miroiu/NodeBasedEditor", "max_stars_repo_path": "VEdit.Common/FileType.cs", "provenance": "train-00000-of-00045.jsonl.gz:1934" }
starcoder
using System; namespace VEdit.Common { [AttributeUsage(AttributeTargets.Field, AllowMultiple = true, Inherited = false)] public class ExtensionAttribute : Attribute { public string[] Extensions { get; } public ExtensionAttribute(params string[] extensions) => Extensions = extensions; ...
2.360835
ae5a1f2979eca66e3d14f9de4d990f15
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
1934
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "Infarh/MathCore.AI", "max_stars_repo_path": "MathCore.AI/NeuralNetworks/TeachResult.cs", "provenance": "train-00000-of-00045.jsonl.gz:1935" }
starcoder
<gh_stars>1-10 using System; using MathCore.Annotations; namespace MathCore.AI.NeuralNetworks { /// <summary>Результат обучения для одного обучающего образца</summary> public class TeachResult { /// <summary>Образец, на котором проводилось обучение</summary> [NotNull] public Exampl...
3.026575
d8d641b602799119c8ba2676f03b9d5a
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
1935
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "roryprimrose/Neovolve.Toolkit", "max_stars_repo_path": "Neovolve.Toolkit/Communication/ProxyHandler.cs", "provenance": "train-00000-of-00045.jsonl.gz:1936" }
starcoder
<reponame>roryprimrose/Neovolve.Toolkit namespace Neovolve.Toolkit.Communication { using System; using System.Diagnostics; using System.Diagnostics.CodeAnalysis; using System.Diagnostics.Contracts; using System.Linq; using System.Reflection; using System.Runtime.Remoting.Messaging; usin...
2.714694
03e23825fa1d65c7d6cb404e24483863
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
1936
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "bruxite/bruxtech", "max_stars_repo_path": "src/Orchard.Cms.Web/Modules/Orchard.DynamicCache/Startup.cs", "provenance": "train-00000-of-00045.jsonl.gz:1937" }
starcoder
using Microsoft.AspNetCore.Modules; using Microsoft.Extensions.DependencyInjection; using Orchard.DisplayManagement.Implementation; using Orchard.DynamicCache.Services; using Orchard.Environment.Cache; namespace Orchard.DynamicCache { /// <summary> /// These services are registered on the tenant service colle...
1.586759
5fe5050b5cdd6df1a53731e66fc33f88