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
75133
{ "extension": "c-sharp", "max_stars_count": "11.0", "max_stars_repo_name": "Cybermaxs/Redists", "max_stars_repo_path": "src/Redists/Core/IStringParser.cs", "provenance": "train-00000-of-00045.jsonl.gz:75134" }
starcoder
<gh_stars>10-100 namespace Redists.Core { internal interface IStringParser<T> { T[] Parse(string rawString); string Serialize(T[] items); } }
1.829759
dd4983f05cae2454c802d58b766a2de6
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
75134
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "Xenation/Ludum-Dare-41", "max_stars_repo_path": "Assets/Scripts/SoundManager.cs", "provenance": "train-00000-of-00045.jsonl.gz:75135" }
starcoder
<filename>Assets/Scripts/SoundManager.cs using System.Collections; using System.Collections.Generic; using LD41.Events; using UnityEngine; using Xenon; public class SoundManager : MonoBehaviour, IEventListener { public AudioSource sfxSource; public AudioSource musicSource; public static SoundManager instance = nu...
2.279838
5e5acd0e02304df57a05155e7e8b658e
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
75135
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "snavarropino/MediatrAdvancedEventsSamples", "max_stars_repo_path": "src/Publisher/Model/PingConfiguration.cs", "provenance": "train-00000-of-00045.jsonl.gz:75136" }
starcoder
<filename>src/Publisher/Model/PingConfiguration.cs<gh_stars>0 using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; namespace Publisher.Model { public class PingConfiguration : IEntityTypeConfiguration<Ping> { public void Configure(EntityTypeBuilder<Ping> builder)...
2.375601
01f228ca2f4511ab6d0420e5fa0af1b7
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
75136
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "manikandantk88/assignments", "max_stars_repo_path": "BankAccountAssignment/BankAccountTest/CurrentAccountTest.cs", "provenance": "train-00000-of-00045.jsonl.gz:75137" }
starcoder
<reponame>manikandantk88/assignments using System; using BankAccountAssignment; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace BankAccountTest { [TestClass] public class CurrentAccountTest { [TestMethod] public void TestWithdrawal() { //Arrange ...
2.452322
a123b686c55f4eb0fbaf1de3acd37a36
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
75137
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "wilpark2000/CoreGameLab", "max_stars_repo_path": "week 7 prototype/Assets/LevelFiles/FootBall/ScoreManage.cs", "provenance": "train-00000-of-00045.jsonl.gz:75138" }
starcoder
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using UnityEngine.SceneManagement; public class ScoreManage : MonoBehaviour { public GameObject glow1; public GameObject glow2; public Animator anim; bool matchEnded; bool p1GoalTouched; bool p...
2.071298
c018e255ac66f325c941fce0ffb9adc8
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
75138
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "lcorbasson/iNotesSync", "max_stars_repo_path": "NotesToGoogleCalApp/GoogleServiceConnect.cs", "provenance": "train-00000-of-00045.jsonl.gz:75139" }
starcoder
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Google.GData.Client; using Google.GData.Extensions; using Google.GData.Calendar; using Google.GData.AccessControl; using System.Windows.Forms; using System.Net; namespace NotesToGoogle { /// <summary> ...
2.417438
118f7923047b7510a159037d7ceb5a0e
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
75139
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "DJJA/FHICTS2_HRMapp_V3", "max_stars_repo_path": "HRMapp/HRMapp.Models/Structs.cs", "provenance": "train-00000-of-00045.jsonl.gz:75140" }
starcoder
<filename>HRMapp/HRMapp.Models/Structs.cs using HRMapp.Models; public struct OrderItem { public Product Product; public int Amount; }
1.641465
4679a8defdee24b472c15c7e8cdc4075
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
75140
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "muyl1/cslabs-extension-2020", "max_stars_repo_path": "cslabs-backend/CSLabs.Api/Views/ContactRequest.cshtml", "provenance": "train-00000-of-00045.jsonl.gz:75141" }
starcoder
<reponame>muyl1/cslabs-extension-2020<gh_stars>0 @{ ViewBag.Title = Model.Subject; Layout = "Shared/_Layout.cshtml"; } @model CSLabs.Api.Email.ViewModels.ContactRequestViewModel <p> There is a new contact request from the CSLabs Application from @Model.Email. </p> <p>Body:</p> <p> @Model.Body </p>
1.659598
885e7797d983dbb9186bac9377e70806
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
75141
{ "extension": "c-sharp", "max_stars_count": "4.0", "max_stars_repo_name": "polytronicgr/Fusion3D", "max_stars_repo_path": "FusionEngine/Import/AssImpImp.cs", "provenance": "train-00000-of-00045.jsonl.gz:75142" }
starcoder
<gh_stars>1-10 using Assimp; using System; using System.Collections.Generic; using System.IO; using System.Linq; using FusionEngine.Data; using FusionEngine.Scene; namespace FusionEngine.Import { public class AssImpImport : Importer { public static string IPath = ""; public static Texture.Text...
1.925734
aac4227aa1972e9c2cb144c94a6bc7eb
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
75142
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "IchimGabriel/ATL-API-Shipment", "max_stars_repo_path": "src/ATL.API/Models/Neo4j/Edge.cs", "provenance": "train-00000-of-00045.jsonl.gz:75143" }
starcoder
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace ATLAPI.Models.Neo4j { public class Edge { [JsonProperty("id")] public int Id { get; set; } [JsonProperty("name")] public string Name { get; set; } ...
2.110717
5979ee984863506f0abec74c64f3ec4e
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
75143
{ "extension": "c-sharp", "max_stars_count": "26.0", "max_stars_repo_name": "gitter-badger/fmdata", "max_stars_repo_path": "tests/FMData.Rest.Tests/TestModels/Action.cs", "provenance": "train-00000-of-00045.jsonl.gz:75144" }
starcoder
using System.Runtime.Serialization; namespace FMData.Rest.Tests.TestModels { [DataContract(Name ="actionLayout")] public class Action { [DataMember(Name ="ID")] public int ID { get; set; } [DataMember(Name = "Action")] public string ActionName { get; set; } } }
1.908926
90f4cbc86bc8fc4b9140e6c5089a1c2b
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
75144
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "yoongamee/Goranee", "max_stars_repo_path": "Framework/ParticleEffectPlayer.cs", "provenance": "train-00000-of-00045.jsonl.gz:75145" }
starcoder
using System.Collections; using System.Runtime.Remoting.Lifetime; using UnityEngine; namespace Goranee { public class ParticleEffectPlayer : MonoBehaviour { private ParticleSystem[] EffectInterval; public bool IsPlaying; void Awake() { Stop(); ...
2.233157
fc8995f096f829fcb22b439773d7e73c
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
75145
{ "extension": "c-sharp", "max_stars_count": "3.0", "max_stars_repo_name": "guigs10mil/EddieTheMole", "max_stars_repo_path": "Assets/Scripts/ExitHole.cs", "provenance": "train-00000-of-00045.jsonl.gz:75146" }
starcoder
<filename>Assets/Scripts/ExitHole.cs using System.Collections; using System.Collections.Generic; using UnityEngine; public class ExitHole : MonoBehaviour { public string sceneName = "Hub"; public int levelProgress = 0; public void EnterHole() { PlayerPrefs.SetInt("LevelProgress", levelProgress); ...
2.071271
5a8d60487ad00c3763158dd42733ec8d
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
75146
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "ravenclawmage/CallMeMaybe", "max_stars_repo_path": "CallMeMaybe.UnitTests/MaybeExtensionsTests.cs", "provenance": "train-00000-of-00045.jsonl.gz:75147" }
starcoder
using System; using System.Collections; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Linq.Expressions; using FluentAssertions; using Moq; using Xunit; namespace CallMeMaybe.UnitTests { public class MaybeExtensionsTests { [Fact] public void TestSe...
2.555797
cc030d545471c52a42341854e384acfd
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
75147
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "b-slavov/Telerik-Software-Academy", "max_stars_repo_path": "02.C# Part 2/06.Strings-and-Text-Processing/05.ParseTags/ParseTags.cs", "provenance": "train-00000-of-00045.jsonl.gz:75148" }
starcoder
using System; using System.Text.RegularExpressions; class ParseTags { static void Main() { string text = Console.ReadLine(); Console.WriteLine(Regex.Replace(text, "<upcase>(.*?)</upcase>", word => word.Groups[1].Value.ToUpper())); } }
2.656983
bb190f2a71ce83fffead418758352649
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
75148
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "atiq-shumon/DotNetProjects", "max_stars_repo_path": "Hospital_ERP_VS13-WCF_WF/AH.ModuleController/UI/DMS/Forms/frmDuePayment.Designer.cs", "provenance": "train-00000-of-00045.jsonl.gz:75149" }
starcoder
<filename>Hospital_ERP_VS13-WCF_WF/AH.ModuleController/UI/DMS/Forms/frmDuePayment.Designer.cs<gh_stars>0 namespace AH.ModuleController.UI.DMS.Forms { partial class frmDuePayment { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContain...
1.78536
6b9e61e5fc522a7bdcdb0b921f941873
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
75149
{ "extension": "c-sharp", "max_stars_count": "5.0", "max_stars_repo_name": "ap0llo/changelog-creator", "max_stars_repo_path": "src/ChangeLog.Test/Integrations/GitLab/GitLabReferenceTextElementTest.cs", "provenance": "train-00000-of-00045.jsonl.gz:75150" }
starcoder
<reponame>ap0llo/changelog-creator<gh_stars>1-10 using System; using Grynwald.ChangeLog.Integrations.GitLab; using Xunit; namespace Grynwald.ChangeLog.Test.Integrations.GitLab { /// <summary> /// Tests for <see cref="GitLabReferenceTextElement"/> /// </summary> public class GitLabReferenceTextElementT...
2.391089
47509c8516560d9ba074372983eedcbf
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
75150
{ "extension": "c-sharp", "max_stars_count": "227.0", "max_stars_repo_name": "ckalvin-hub/Sheng.Winform.IDE", "max_stars_repo_path": "SourceCode/Source/ComponentModel.Design/PropertyGrid/CellFactory.cs", "provenance": "train-00000-of-00045.jsonl.gz:75151" }
starcoder
<reponame>ckalvin-hub/Sheng.Winform.IDE<filename>SourceCode/Source/ComponentModel.Design/PropertyGrid/CellFactory.cs /********************************************* 作者:曹旭升 QQ:279060597 访问博客了解详细介绍及更多内容: http://blog.shengxunwei.com **********************************************/ using Syste...
2.356722
331bc809fd3e24e198452c4e860ef1a6
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
75151
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "cqtd/league-of-legends-tests", "max_stars_repo_path": "Assets/Plugins/Identify/Worker.cs", "provenance": "train-00000-of-00045.jsonl.gz:75152" }
starcoder
using System; /// <summary> /// Snowflake /// </summary> public class Worker { public const long Twepoch = 1246104083991L; const int workerIdBits = 12; const int datacenterIdBits = 2; const int sequenceBits = 8; const long maxWorkerId = -1L ^ (-1L << workerIdBits); const long maxDatacenterId ...
2.914309
ec4eb6728ce5f26ef39424a34b27078f
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
75152
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "tahiralvi/Nemo", "max_stars_repo_path": "src/Nemo/Reflection/FastMapper.cs", "provenance": "train-00000-of-00045.jsonl.gz:75153" }
starcoder
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Nemo.Reflection { internal class FastMapper<T1, T2> { static FastMapper() { InstanceMapper = Mapper.CreateDelegate(typeof(T1), typeof(T2), false, false); } internal sta...
2.773229
353dfec8bdafdc25ec1f69b04fc861b0
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
75153
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "6e3veR6k/codewars-csharp", "max_stars_repo_path": "resources/HomeWorkAnswers/Lesson 007/AdditionTask/Program.cs", "provenance": "train-00000-of-00045.jsonl.gz:75154" }
starcoder
<reponame>6e3veR6k/codewars-csharp using System; namespace AdditionTask { enum AccessLevelControl { FullControl, MediumControl, LowControl } [AttributeUsage(AttributeTargets.Class, Inherited = false, AllowMultiple = false)] sealed class AccessLevelAttribute : Attribute { reado...
3.222712
371523700cb1cbddc6a5677e8a33b6e4
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
75154
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "HudsonAkridge/fluent-nhibernate", "max_stars_repo_path": "src/FluentNHibernate.Testing/AutoMap/Apm/AutoPersistenceModelTests.cs", "provenance": "train-00000-of-00045.jsonl.gz:75155" }
starcoder
using System; using System.Runtime.Remoting.Messaging; using FluentNHibernate.AutoMap; using FluentNHibernate.AutoMap.TestFixtures.ComponentTypes; using FluentNHibernate.AutoMap.TestFixtures.CustomTypes; using FluentNHibernate.Conventions; using FluentNHibernate.Conventions.Helpers; using FluentNHibernate.Mappin...
1.662632
05940b0eb73d6a14b49cfb1fa48f0052
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
75155
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "MucahidISIK/farmingSimulator", "max_stars_repo_path": "Keci.cs", "provenance": "train-00000-of-00045.jsonl.gz:75156" }
starcoder
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace farmingSimulator { class Keci : Hayvan { private int sutVermeSuresi; public int SutVermeSuresi { get { return sutVermeSuresi; } ...
2.354657
db83314bcc19ebf7821c77158c1c0986
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
75156
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "AppCoreNet/Commands", "max_stars_repo_path": "src/AppCore.CommandModel.Abstractions/Metadata/ICommandDescriptorFactory.cs", "provenance": "train-00000-of-00045.jsonl.gz:75157" }
starcoder
// Licensed under the MIT License. // Copyright (c) 2018 the AppCore .NET project. using System; namespace AppCore.CommandModel.Metadata { /// <summary> /// Represents a type which instantiates <see cref="CommandDescriptor"/> objects. /// </summary> public interface ICommandDescriptorFactory { ...
2.253473
c3d8aadade186562e853a048f703e60b
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
75157
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "davidorbelian/BlogEngine", "max_stars_repo_path": "src/Subscriptions/src/BlogEngine.Subscriptions.Infrastructure.SqlServer/Extensions/ServiceCollectionExtensions.cs", "provenance": "train-00000-of-00045.jsonl.gz:75158" }
starcoder
<filename>src/Subscriptions/src/BlogEngine.Subscriptions.Infrastructure.SqlServer/Extensions/ServiceCollectionExtensions.cs using BlogEngine.Infrastructure.Core.Extensions; using BlogEngine.Subscriptions.Application.Abstractions; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.DependencyInjection; nam...
2.027413
5977a082be4e51a415337dd30bb4700a
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
75158
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "SkillsFundingAgency/DC-ILR-2021-FundingService", "max_stars_repo_path": "src/OPA/ESFA.DC.OPA.Model.Interface/ITemporalValueItem.cs", "provenance": "train-00000-of-00045.jsonl.gz:75159" }
starcoder
using System; namespace ESFA.DC.OPA.Model.Interface { public interface ITemporalValueItem { DateTime ChangePoint { get; } object Value { get; } string Type { get; } } }
1.504791
1e9e9bb80e999a777ae101b0406083f0
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
75159
{ "extension": "c-sharp", "max_stars_count": "8.0", "max_stars_repo_name": "FreedomBen/banshee", "max_stars_repo_path": "src/Core/Banshee.ThickClient/Banshee.Gui.Dialogs/DefaultApplicationHelperDialog.cs", "provenance": "train-00000-of-00045.jsonl.gz:75160" }
starcoder
// // DefaultApplicationHelperDialog.cs // // Authors: // <NAME> <<EMAIL>> // // Copyright (C) 2008 Novell, Inc. // // 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, i...
2.010569
1ed6404d76c6328f10585e19bf4cb755
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
75160
{ "extension": "c-sharp", "max_stars_count": "6.0", "max_stars_repo_name": "Matataki-io/Matataki-Telegram-Bot", "max_stars_repo_path": "src/MatatakiBot/Commands/StartCommand.cs", "provenance": "train-00000-of-00045.jsonl.gz:75161" }
starcoder
using MatatakiBot.Attributes; using MatatakiBot.Services; using System.Collections.Generic; using Telegram.Bot; using Telegram.Bot.Types; namespace MatatakiBot.Commands { [Command("start")] class StartCommand : CommandBase { private readonly IGroupService _groupService; private readonly IT...
2.464975
ddc0f2b409d8cc1164fd27ed1a2bed83
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
75161
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "orestissar/VR-Windows-Build", "max_stars_repo_path": "Assets/Scripts/ButtonSpawn.cs", "provenance": "train-00000-of-00045.jsonl.gz:75162" }
starcoder
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Playables; public class ButtonSpawn : MonoBehaviour { public GameObject animation; //public List<GameObject> disable; public GameObject Spawner; List<GameObject> Alembics; int count; int play = 0; ...
1.824618
97afb23ab2e6d3bb14eacd321e8fbc72
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
75162
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "andreimilto/HKDF.Standard", "max_stars_repo_path": "src/HkdfStandard.Benchmark/Program.cs", "provenance": "train-00000-of-00045.jsonl.gz:75163" }
starcoder
<reponame>andreimilto/HKDF.Standard using BenchmarkDotNet.Running; namespace HkdfStandard.Benchmark { class Program { static void Main(string[] args) { BenchmarkRunner.Run<KeyDerivationBenchmark>(); } } }
0.972808
8ee13fefd0d67eaf2274631bb19e807f
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
75163
{ "extension": "c-sharp", "max_stars_count": "213.0", "max_stars_repo_name": "Thealexbarney/LibHac", "max_stars_repo_path": "src/LibHac/Lr/AddOnContentLocationResolver.cs", "provenance": "train-00000-of-00045.jsonl.gz:75164" }
starcoder
<reponame>Thealexbarney/LibHac<filename>src/LibHac/Lr/AddOnContentLocationResolver.cs using System; using LibHac.Common; using LibHac.Ncm; using LibHac.Sf; namespace LibHac.Lr { public class AddOnContentLocationResolver : IDisposable { private ReferenceCountedDisposable<IAddOnContentLocationR...
1.524887
fd31218ba208bc8cc473ffe49adc3cbf
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
75164
{ "extension": "c-sharp", "max_stars_count": "87.0", "max_stars_repo_name": "MiftahurRidho/tugas", "max_stars_repo_path": "test/2.0/Microsoft.Silverlight.Testing/UnitTestHarness/Harness/DecoratorDictionary.cs", "provenance": "train-00000-of-00045.jsonl.gz:75165" }
starcoder
// (c) Copyright Microsoft Corporation. // This source is subject to the Microsoft Public License (Ms-PL). // Please see http://go.microsoft.com/fwlink/?LinkID=131993 for details. // All other rights reserved. using System; using System.Collections.Generic; namespace Microsoft.Silverlight.Testing.Harness { /// <...
2.805514
10c09ecd8b67f83967cb3499c4c1b643
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
75165
{ "extension": "c-sharp", "max_stars_count": "2670.0", "max_stars_repo_name": "yangbingqi155/Nagrace", "max_stars_repo_path": "src/Orchard/Data/DataModule.cs", "provenance": "train-00000-of-00045.jsonl.gz:75166" }
starcoder
using System.Reflection; using Autofac; using Orchard.Data.Providers; using Module = Autofac.Module; namespace Orchard.Data { public class DataModule : Module { protected override void Load(ContainerBuilder builder) { builder.RegisterGeneric(typeof(Repository<>)).As(typeof(IRepository<>)).Inst...
2.119857
77692092984c284100e295172322e41b
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
75166
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "Sushiy/OutcastMayor", "max_stars_repo_path": "Assets/StepSFXManager.cs", "provenance": "train-00000-of-00045.jsonl.gz:75167" }
starcoder
using System.Collections; using System.Collections.Generic; using UnityEngine; public class StepSFXManager : MonoBehaviour { RandomAudioClip randomAudioClip; [SerializeField] private AudioClip[] stepSFX; // Start is called before the first frame update void Start() { randomAudioClip =...
2.029342
e2958347e62aae1361fe211c6f42b7c2
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
75167
{ "extension": "c-sharp", "max_stars_count": "531.0", "max_stars_repo_name": "pawlos/Warden", "max_stars_repo_path": "src/Warden/Manager/Commands/IWardenCommand.cs", "provenance": "train-00000-of-00045.jsonl.gz:75168" }
starcoder
namespace Warden.Manager.Commands { //Marker interface public interface IWardenCommand { } }
1.360724
5d1e30cc109102c1109c1fd928c00d68
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
75168
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "YannZeRookie/worldsim-engine", "max_stars_repo_path": "tests/YamlDotNetTest.cs", "provenance": "train-00000-of-00045.jsonl.gz:75169" }
starcoder
using System.Collections.Generic; using System.IO; using NUnit.Framework; using YamlDotNet.RepresentationModel; using YamlDotNet.Serialization; using YamlDotNet.Serialization.NamingConventions; // Test the YamlDotNet YAML importer / exporter with a very basic file // Unity package: https://assetstore.unity.com/packag...
2.659275
8f35f37f42f55df56b57a5ca8cf1283e
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
75169
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "Com-AugustCellars/Resouce-Directory", "max_stars_repo_path": "ResourceDirectory/Directory.cs", "provenance": "train-00000-of-00045.jsonl.gz:75170" }
starcoder
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Com.AugustCellars.CoAP.ResourceDirectory { class Directory { } }
1.07153
05ed0b1f10065891184b5c9c687feaf4
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
75170
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "xiakexiaoyi/xky", "max_stars_repo_path": "Xky.Socket/Engine/Parser/ByteBuffer.cs", "provenance": "train-00000-of-00045.jsonl.gz:75171" }
starcoder
<gh_stars>1-10 using System; using System.IO; namespace Xky.Socket.Engine.Parser { public class ByteBuffer { private readonly MemoryStream _memoryStream; private long _limit; public ByteBuffer(int length) { _memoryStream = new MemoryStream(); _memorySt...
3.197707
befa3e40631d0cfb0b23bcba99ae06b6
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
75171
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "coolhome/Going.Plaid", "max_stars_repo_path": "src/Plaid/PaymentInitiation/PaymentInitiationRecipientCreateRequest.cs", "provenance": "train-00000-of-00045.jsonl.gz:75172" }
starcoder
<gh_stars>0 namespace Going.Plaid.PaymentInitiation; /// <summary> /// <para>PaymentInitiationRecipientCreateRequest defines the request schema for <c>/payment_initiation/recipient/create</c></para> /// </summary> public partial class PaymentInitiationRecipientCreateRequest : RequestBase { /// <summary> /// <para>Th...
2.069793
ea8cc0cf612bbdca16ec666f2f2853ce
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
75172
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "Halvaren/CyclodramaPrototype", "max_stars_repo_path": "Assets/Scripts/InteractableObjs/Behaviors/EmitterObjBehavior.cs", "provenance": "train-00000-of-00045.jsonl.gz:75173" }
starcoder
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; /// <summary> /// Manages the behavior of an object that contains other objects and drops them when player interacts with the emitter object /// </summary> public class EmitterObjBehavior : InteractableObjBehavior { [HideI...
2.800609
e4ea98f9d416394746b7e810aa5560d8
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
75173
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "alipay/alipay-sdk-net", "max_stars_repo_path": "AlipaySDKNet/Domain/RuleMarkInfo.cs", "provenance": "train-00000-of-00045.jsonl.gz:75174" }
starcoder
<reponame>alipay/alipay-sdk-net using System; using System.Xml.Serialization; namespace Aop.Api.Domain { /// <summary> /// RuleMarkInfo Data Structure. /// </summary> [Serializable] public class RuleMarkInfo : AopObject { /// <summary> /// 机审反馈内容。一般当机审有误时,补充具体机审有误的说明。 //...
1.664613
ea2f32f0a1131e4a809fb432f9e54ebb
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
75174
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "jcmdsbr/Rebus.AmazonSQS", "max_stars_repo_path": "Rebus.AmazonSQS/Config/AmazonSQSTransportOptions.cs", "provenance": "train-00000-of-00045.jsonl.gz:75175" }
starcoder
<reponame>jcmdsbr/Rebus.AmazonSQS using System; using Amazon.SQS; using Rebus.Bus; namespace Rebus.Config { /// <summary> /// Holds all of the exposed options which can be applied when using the SQS transport. /// </summary> public class AmazonSQSTransportOptions { /// <summary> //...
2.510359
2e0dd207c8a1ea8118caabcdc6320bdc
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
75175
{ "extension": "c-sharp", "max_stars_count": "23.0", "max_stars_repo_name": "gitter-badger/Gum", "max_stars_repo_path": "Gum/PropertyGridHelpers/ReflectingPropertyDescriptorHelper.cs", "provenance": "train-00000-of-00045.jsonl.gz:75176" }
starcoder
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.ComponentModel; using Gum.DataTypes.ComponentModel; using System.Reflection; namespace Gum.PropertyGridHelpers { public class PropertyGridMember { public string Name; public Type Typ...
2.566635
24aa20f791bdd95c2c741a6041d19933
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
75176
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "nfMalde/Ren.CMS.NET", "max_stars_repo_path": "Ren.CMS.Net/Source/Ren.CMS.Net-Libraries/Ren.CMS.SessionRepository/SessionRepository.cs", "provenance": "train-00000-of-00045.jsonl.gz:75177" }
starcoder
namespace Ren.CMS.SessionRepository { using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Web; using Ren.CMS.SessionRepository.Types; class SessionRepository { #region Fields private Http...
2.543358
39d405d6ac038bce4a7de9b94ee3c4aa
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
75177
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "HoursX/WCH", "max_stars_repo_path": "wch/wch/Student.aspx.designer.cs", "provenance": "train-00000-of-00045.jsonl.gz:75178" }
starcoder
//------------------------------------------------------------------------------ // <自动生成> // 此代码由工具生成。 // // 对此文件的更改可能会导致不正确的行为,并且如果 // 重新生成代码,这些更改将会丢失。 // </自动生成> //------------------------------------------------------------------------------ namespace wch { public partial class Student ...
1.564664
ea788ce2cf5e6a66edc99919055eb679
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
75178
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "gitter-badger/CodeHub", "max_stars_repo_path": "CodeHub.Core/ViewModels/Changesets/ChangesetsViewModel.cs", "provenance": "train-00000-of-00045.jsonl.gz:75179" }
starcoder
using CodeHub.Core.Services; using GitHubSharp; using System.Collections.Generic; using GitHubSharp.Models; namespace CodeHub.Core.ViewModels.Changesets { public class ChangesetsViewModel : CommitsViewModel { protected readonly IApplicationService ApplicationService; public string Branch { get; set; ...
2.042991
3015218d113e290000788dea709fe6cf
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
75179
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "joergkrause/texxtoor", "max_stars_repo_path": "Texxtoor/Solution/Texxtoor.BaseLibrary.WordInterop/NoMapObject.cs", "provenance": "train-00000-of-00045.jsonl.gz:75180" }
starcoder
<filename>Texxtoor/Solution/Texxtoor.BaseLibrary.WordInterop/NoMapObject.cs<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Texxtoor.BaseLibrary.WordInterop { [Serializable] public class NoMapObject : IMapObject { } }
1.521101
79fa33ba06c12960cb8bbce1162072b8
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
75180
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "ibiBgOR/Guard", "max_stars_repo_path": "src/Guard.Net/Guard.NotIsMatch.cs", "provenance": "train-00000-of-00045.jsonl.gz:75181" }
starcoder
using System; using System.Text.RegularExpressions; namespace GuardNet { public static partial class Guard { private const string NotIsMatchTemplate = @"[{0}] does not match the pattern [{1}]."; /// <summary> /// Guards the specified <paramref name="param"/> from not matching the spec...
3.067334
6a4c1b48dd825a02aa001c3aa25464c7
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
75181
{ "extension": "c-sharp", "max_stars_count": "11.0", "max_stars_repo_name": "sedc-codecademy/skwd8-05-oopcharp", "max_stars_repo_path": "g5/FootballLeague/Models/Team.cs", "provenance": "train-00000-of-00045.jsonl.gz:75182" }
starcoder
namespace Models { public class Team { public string Name { get; set; } private int Points { get; set; } public Player[] Players { get; set; } private int NumOfPlayers { get; set; } public Team(string name) { Name = name; Points = 0; ...
3.697749
d6a633d94ad387292f88b11d28c782cd
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
75182
{ "extension": "c-sharp", "max_stars_count": "25.0", "max_stars_repo_name": "phallock/TelloSdkCoreNet", "max_stars_repo_path": "TelloSdkCoreNet/actions/IAction.cs", "provenance": "train-00000-of-00045.jsonl.gz:75183" }
starcoder
using System; using System.Collections.Generic; using System.Text; namespace TelloSdkCoreNet.actions { public interface IAction { SdkWrapper.SdkReponses Execute(); } }
1.491054
7d27de5564f8755749e627fa5d0f2455
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
75183
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "philipbawn/EFDesigner", "max_stars_repo_path": "src/Dsl/CustomCode/Partials/ClassShapeBase.cs", "provenance": "train-00000-of-00045.jsonl.gz:75184" }
starcoder
using System.Drawing; using Microsoft.VisualStudio.Modeling; namespace Sawczyn.EFDesigner.EFModel { public abstract partial class ClassShapeBase { private static string GetDisplayPropertyFromModelClassForAssociationsCompartment(ModelElement element) { Association association = (Association)...
2.868098
fb5890f6a16c1a03e274ee16bb8d5b86
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
75184
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "ferronicardoso/MockServer", "max_stars_repo_path": "MockServer/Repositories/LogRepository.cs", "provenance": "train-00000-of-00045.jsonl.gz:75185" }
starcoder
using MockServer.Models; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MockServer.Repositories { public class LogRepository : GenericRepository<Log> { public LogRepository() : base() { } ...
2.028216
12d65a42eeb1dd6645155e950d679c58
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
75185
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "EsauMtzxD/Project_SAIUT", "max_stars_repo_path": "Project_SAIUT/Project_SAUIT.Web/Controllers/MaestrosController.cs", "provenance": "train-00000-of-00045.jsonl.gz:75186" }
starcoder
using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Web; using System.Web.Mvc; using Project_SAIUT.Entity; namespace Project_SAUIT.Web.Controllers { public class MaestrosController : Controller { // GET: Maestros public ActionResult Alumnos() ...
2.270958
ae9e1945ccf51633eafc4b8229c36d11
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
75186
{ "extension": "c-sharp", "max_stars_count": "12.0", "max_stars_repo_name": "ak110/ShogiBoard", "max_stars_repo_path": "ShogiBoard/ThinkForm.cs", "provenance": "train-00000-of-00045.jsonl.gz:75187" }
starcoder
<filename>ShogiBoard/ThinkForm.cs using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace ShogiBoard { /// <summary> /// 検討の設定ダイアログ /// </summary> public partial cl...
2.546652
fb0d157fb9467dc321a71c53ed98b400
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
75187
{ "extension": "c-sharp", "max_stars_count": "4.0", "max_stars_repo_name": "iamkoch/NAuto", "max_stars_repo_path": "Amido.NAuto/Builders/Services/PopulateNullableByteService.cs", "provenance": "train-00000-of-00045.jsonl.gz:75188" }
starcoder
using System.Reflection; namespace Amido.NAuto.Builders.Services { public class PopulateNullableByteService : PopulateProperty<byte?> { public override byte? Populate(string propertyName, byte? currentValue, PropertyInfo propertyInfo = null) { return currentValue.HasValue ? current...
2.534401
25012107d3d8d9c72e22d0f813df5e33
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
75188
{ "extension": "c-sharp", "max_stars_count": "1170.0", "max_stars_repo_name": "KillerPixelGames/SabreCSG", "max_stars_repo_path": "Scripts/Input/KeyMappings.cs", "provenance": "train-00000-of-00045.jsonl.gz:75189" }
starcoder
<filename>Scripts/Input/KeyMappings.cs #if UNITY_EDITOR using UnityEngine; using System.Collections; using System.Globalization; using UnityEditor; namespace Sabresaurus.SabreCSG { /// <summary> /// Central store for SabreCSG key mappings, change these on the ScriptableObject in Unity to change shortcuts /// </summ...
2.31623
ad8dd7c6e69f3ffd428572a49917fe35
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
75189
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "denniscarr/VirtualFeet", "max_stars_repo_path": "Assets/Scripts/ImpaleScript.cs", "provenance": "train-00000-of-00045.jsonl.gz:75190" }
starcoder
<reponame>denniscarr/VirtualFeet<filename>Assets/Scripts/ImpaleScript.cs using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; public class ImpaleScript : MonoBehaviour { public GameObject ceiling; float impaledCount; public float speed; pub...
2.17199
af7b020053a4536722e82c9fef18c82a
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
75190
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "TeodorVecerdi/saxion_algorithms", "max_stars_repo_path": "Algorithms/Assignment/Dungeon/SampleDungeon.cs", "provenance": "train-00000-of-00045.jsonl.gz:75191" }
starcoder
<reponame>TeodorVecerdi/saxion_algorithms<filename>Algorithms/Assignment/Dungeon/SampleDungeon.cs using GXPEngine; using System.Drawing; /** * An example of a dungeon implementation. * This implementation places two rooms manually but your implementation has to do it procedurally. */ class SampleDungeon : Dungeo...
3.186255
81115b3cf478f242d3d1ade615aea748
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
75191
{ "extension": "c-sharp", "max_stars_count": "111.0", "max_stars_repo_name": "VahidN/DNTCommon.Web.Core", "max_stars_repo_path": "src/DNTCommon.Web.Core/ModelBinders/PersianDateModelBinder.cs", "provenance": "train-00000-of-00045.jsonl.gz:75192" }
starcoder
<reponame>VahidN/DNTCommon.Web.Core using System; using System.Diagnostics; using System.Diagnostics.CodeAnalysis; using System.Threading.Tasks; using DNTPersianUtils.Core; using Microsoft.AspNetCore.Mvc.ModelBinding; using Microsoft.AspNetCore.Mvc.ModelBinding.Binders; using Microsoft.Extensions.DependencyInjection; u...
2.31579
9757a6fb6c8057e5fac1832ff65fdd7b
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
75192
{ "extension": "c-sharp", "max_stars_count": "23.0", "max_stars_repo_name": "lgtonkal/zoom-netcore-api", "max_stars_repo_path": "ZoomClient/Models/Reports/MeetingParticipantsReport.cs", "provenance": "train-00000-of-00045.jsonl.gz:75193" }
starcoder
<gh_stars>10-100 using System.Collections.Generic; namespace AndcultureCode.ZoomClient.Models.Reports { public class MeetingParticipantsReport : BaseTokenList { /// <summary> /// Zoom Property: participants /// </summary> public List<MeetingParticipant> Participants { get; set;...
1.423273
b62aeb15a665e1d56126be860c351635
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
75193
{ "extension": "c-sharp", "max_stars_count": "29.0", "max_stars_repo_name": "tiagor87/ExpressionExtensionSQL", "max_stars_repo_path": "ExpressionExtensionSQL.Tests/Entities/Merchant.cs", "provenance": "train-00000-of-00045.jsonl.gz:75194" }
starcoder
using System; namespace ExpressionExtensionSQL.Tests.Entities { public class Merchant : Entity { private Merchant() { } public Merchant(int id, string name) { Id = id; Name = name; CreatedAt = DateTime.Now; } public ...
2.160007
39a88e3466e4fe1788854dd09659070d
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
75194
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "luqizheng/Object2Report", "max_stars_repo_path": "src/Coder.Object2Report/RenderException.cs", "provenance": "train-00000-of-00045.jsonl.gz:75195" }
starcoder
<gh_stars>1-10 using System; namespace Coder.Object2Report { public class RenderException : Object2ReportException { public RenderException(string message) : base(message) { } } }
1.628153
94ac518fdf19e6625e30e6eb4546374e
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
75195
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "FitzyCodesThings/dragonchain-sdk-dotnetstandard", "max_stars_repo_path": "dragonchain-sdk/Contracts/SmartContractSchema.cs", "provenance": "train-00000-of-00045.jsonl.gz:75196" }
starcoder
<filename>dragonchain-sdk/Contracts/SmartContractSchema.cs using Newtonsoft.Json; using System.Collections.Generic; namespace DragonchainSDK.Contracts { public class SmartContractSchema { public string Version { get; set; } [JsonProperty(PropertyName = "txn_type")] public string Transa...
1.932808
a3d1502edf57ae5bcf0e855b84a596b3
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
75196
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "chorobochrontochor/chchch.Unity", "max_stars_repo_path": "Factory/PrefabFactory.cs", "provenance": "train-00000-of-00045.jsonl.gz:75197" }
starcoder
<reponame>chorobochrontochor/chchch.Unity using System.Collections; using System.Collections.Generic; using UnityEngine; namespace chchch.Factory { public static class Ch3PrefabFactory { public static GameObject Create(GameObject p_prefab, Vector3 p_position, Quaternion p_rotation, Transform p_parent ...
1.947329
0ea399d45ded4069113415f99c7c0e9c
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
75197
{ "extension": "c-sharp", "max_stars_count": "7.0", "max_stars_repo_name": "itrofimow/corefx", "max_stars_repo_path": "src/System.Net.Sockets/tests/FunctionalTests/SocketOptionNameTest.Unix.cs", "provenance": "train-00000-of-00045.jsonl.gz:75198" }
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. using System.Runtime.InteropServices; namespace System.Net.Sockets.Tests { public partial class SocketOptionNam...
1.720363
5a4edcfdc446bbd0d5d4168b3b26ed44
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
75198
{ "extension": "c-sharp", "max_stars_count": "27.0", "max_stars_repo_name": "CabbagePenetrator/EnhancedSearchAndFilters", "max_stars_repo_path": "UI/SettingsMenu.cs", "provenance": "train-00000-of-00045.jsonl.gz:75199" }
starcoder
using BeatSaberMarkupLanguage.Attributes; namespace EnhancedSearchAndFilters.UI { internal class SettingsMenu : PersistentSingleton<SettingsMenu> { [UIValue("disable-search")] public bool DisableSearch { get => PluginConfig.DisableSearch; set => PluginConfig.Dis...
1.835061
041591c7b504f2b193422d9792a836c8
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
75199
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "adgistics/Adgistics.Build", "max_stars_repo_path": "NArrange/src/NArrange.Tests.Core/MSBuildSolutionParserTests.cs", "provenance": "train-00000-of-00045.jsonl.gz:75200" }
starcoder
namespace NArrange.Tests.Core { using System; using System.Collections.ObjectModel; using System.IO; using System.Reflection; using NArrange.Core; using NUnit.Framework; /// <summary> /// Test fixture for the MSBuildSolutionParser class. /// </summary> [TestFixture] public...
2.645303
6e14102621ac201cba1cba4a62ec9652
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
75200
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "ShawnYun/neo-vm", "max_stars_repo_path": "tests/neo-vm.Tests/UtExecutionContext.cs", "provenance": "train-00000-of-00045.jsonl.gz:75201" }
starcoder
<filename>tests/neo-vm.Tests/UtExecutionContext.cs using Microsoft.VisualStudio.TestTools.UnitTesting; using Neo.VM; using System.Collections.Generic; namespace Neo.Test { [TestClass] public class UtExecutionContext { [TestMethod] public void StateTest() { var context = ...
2.333688
971b9172daa38aaca6f8734471bf53e4
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
75201
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "TechnologyEnhancedLearning/DLSV2", "max_stars_repo_path": "DigitalLearningSolutions.Web/ViewModels/TrackingSystem/CourseSetup/AddAdminFieldViewModel.cs", "provenance": "train-00000-of-00045.jsonl.gz:75202" }
starcoder
<reponame>TechnologyEnhancedLearning/DLSV2 namespace DigitalLearningSolutions.Web.ViewModels.TrackingSystem.CourseSetup { using System.ComponentModel.DataAnnotations; public class AddAdminFieldViewModel : AdminFieldAnswersViewModel { public AddAdminFieldViewModel() { In...
2.05422
13d74a4fd216e93607972519610cb9ee
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
75202
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "korproject/KOR.Updater", "max_stars_repo_path": "KOR.Updater/Core/Zip/Extract.cs", "provenance": "train-00000-of-00045.jsonl.gz:75203" }
starcoder
using ICSharpCode.SharpZipLib.Core; using ICSharpCode.SharpZipLib.Zip; using KOR.Updater.Controllers; using System.IO; using System.Threading; namespace KOR.Updater.Core.Helpers { public class Extract { #region Extraction Constructors /// <summary> /// Extract file path /// </...
2.741605
55b0a92a5661afbc4098edd6fa30919f
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
75203
{ "extension": "c-sharp", "max_stars_count": "10.0", "max_stars_repo_name": "PixelComrades/Framework", "max_stars_repo_path": "Assets/Framework/Serializer/Serializers/JsonDotNetSerializer.cs", "provenance": "train-00000-of-00045.jsonl.gz:75204" }
starcoder
using Newtonsoft.Json; namespace PixelComrades { public class JsonDotNetSerializer : ISerializer { public Formatting Formatting = Formatting.Indented; public JsonSerializerSettings Settings = new JsonSerializerSettings(); public string Serialize(object obj) { return ...
2.865726
4149a6c86f38ca6587a1187ef1848592
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
75204
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "MegaRoks/WebAppBusStation", "max_stars_repo_path": "WebAppBusStation/Models/stopping.cs", "provenance": "train-00000-of-00045.jsonl.gz:75205" }
starcoder
<gh_stars>0 //------------------------------------------------------------------------------ // <auto-generated> // Этот код создан по шаблону. // // Изменения, вносимые в этот файл вручную, могут привести к непредвиденной работе приложения. // Изменения, вносимые в этот файл вручную, будут перезаписаны при...
2.036771
85f345351f5da3bef38bbfc4cd21c462
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
75205
{ "extension": "c-sharp", "max_stars_count": "227.0", "max_stars_repo_name": "ckalvin-hub/Sheng.Winform.IDE", "max_stars_repo_path": "SourceCode/Source/Infrastructure/Components/Window/WindowEvents.cs", "provenance": "train-00000-of-00045.jsonl.gz:75206" }
starcoder
/********************************************* 作者:曹旭升 QQ:279060597 访问博客了解详细介绍及更多内容: http://blog.shengxunwei.com **********************************************/ using System; using System.Collections.Generic; using System.Linq; using System.Text; using IDesign.Composite.Events; names...
1.996619
36153ace5660a517f327dfb3e59d990a
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
75206
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "adospace/NoSqlMapper", "max_stars_repo_path": "src/NoSqlMapper/Query/QueryBuilder.cs", "provenance": "train-00000-of-00045.jsonl.gz:75207" }
starcoder
using System; using System.Collections.Generic; using System.Linq.Expressions; using System.Runtime.Serialization; using System.Text; namespace NoSqlMapper.Query { internal static class QueryBuilder<T> { public static Query Build(Expression<Func<T, bool>> expression) { Validate.Not...
2.632415
5629a82476c00e93b30a5a83a0a7a371
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
75207
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "tomazk8/detect-windows-version", "max_stars_repo_path": "examples/DetectWindowsVersionExample/DetectWindowsVersionDotNETappManifest/Program.cs", "provenance": "train-00000-of-00045.jsonl.gz:75208" }
starcoder
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DetectWindowsVersionDotNETappManifest { class Program { static void Main(string[] args) { // Targeting your application for Windows in the app.manifest: ...
2.866376
ae6f76ef5ba176140824c1f06fd9d2bb
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
75208
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "SyntaxUnknown/ExRam.Gremlinq", "max_stars_repo_path": "ExRam.Gremlinq.Providers.Tests/IntegrationTests.cs", "provenance": "train-00000-of-00045.jsonl.gz:75209" }
starcoder
<filename>ExRam.Gremlinq.Providers.Tests/IntegrationTests.cs using System; using System.Linq; using System.Threading.Tasks; using ExRam.Gremlinq.Core; using ExRam.Gremlinq.Core.GraphElements; using ExRam.Gremlinq.Core.Tests; using ExRam.Gremlinq.Tests.Entities; using FluentAssertions; using Xunit; namespace ExRam.Gre...
2.267807
d9d15817ce0715248666e3e93166ea39
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
75209
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "JovanMarkovic99/recipe-blog", "max_stars_repo_path": "PronadjiRecept/PronadjiRecept/Views/Home/Index.cshtml", "provenance": "train-00000-of-00045.jsonl.gz:75210" }
starcoder
@{ Layout = "~/Views/Shared/_Layout.cshtml"; } @{ ViewBag.Title = "Index"; } <h2>This is the Home Page</h2>
1.487381
cb347232c5b599dfb8c58d44142149b1
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
75210
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "R0drigoG0mes/c_sharp", "max_stars_repo_path": "MyWebApp/Pages/Index.cshtml.cs", "provenance": "train-00000-of-00045.jsonl.gz:75211" }
starcoder
<filename>MyWebApp/Pages/Index.cshtml.cs using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; using System.Windows; namespace MyWebApp.Pages; public class IndexModel : PageModel { public int legal = 10; private readonly ILogger<IndexModel> _logger; public IndexModel(ILogger<Inde...
1.983132
3dc5461cf101d2f7800ee20ddc5aa852
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
75211
{ "extension": "c-sharp", "max_stars_count": "5.0", "max_stars_repo_name": "JTOne123/Masterloop.Core.Types", "max_stars_repo_path": "src/Masterloop.Core.Types/DevSync/DevSyncResponse.cs", "provenance": "train-00000-of-00045.jsonl.gz:75212" }
starcoder
<reponame>JTOne123/Masterloop.Core.Types using Masterloop.Core.Types.Commands; using Masterloop.Core.Types.Settings; using Masterloop.Core.Types.Firmware; namespace Masterloop.Core.Types.DevSync { public class DevSyncResponse { /// <summary> /// New setting, or null if no new settings exist. ...
1.968736
260b3731e490a72cee6d6a72aa314484
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
75212
{ "extension": "c-sharp", "max_stars_count": "3903.0", "max_stars_repo_name": "CK-LinoPro/language-ext", "max_stars_repo_path": "LanguageExt.Rx/TryOption.Extensions.cs", "provenance": "train-00000-of-00045.jsonl.gz:75213" }
starcoder
using System; using System.Reactive.Linq; namespace LanguageExt { public static class TryOptionRxExtensions { public static IObservable<A> ToObservable<A>(this TryOption<A> ma) => ma.Match( Some: Observable.Return, None: () => Observable.Empty<A>(), ...
2.535081
e87ab660cfa963d71ec7a38c03200232
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
75213
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "giacomelli/TestSharp", "max_stars_repo_path": "TestSharp/ProcessAssert.cs", "provenance": "train-00000-of-00045.jsonl.gz:75214" }
starcoder
using System.Security.Permissions; namespace TestSharp { /// <summary> /// Asserts para processos. /// </summary> [EnvironmentPermission(SecurityAction.LinkDemand)] public static class ProcessAssert { /// <summary> /// Verifica se o número de instâncias do processo é o esperado. /// </summary> /// <para...
2.741415
e1606122c9ae3e4cd78a3b87854aa74f
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
75214
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "barjonp/OpenSilver", "max_stars_repo_path": "src/Runtime/Runtime/System.Windows.Browser/HtmlPage.cs", "provenance": "train-00000-of-00045.jsonl.gz:75215" }
starcoder
<filename>src/Runtime/Runtime/System.Windows.Browser/HtmlPage.cs  /*=================================================================================== * * Copyright (c) Userware/OpenSilver.net * * This file is part of the OpenSilver Runtime (https://opensilver.net), which is * licensed under the MIT lic...
2.089542
e11902eb0808a89be02c85fa00b9a55b
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
75215
{ "extension": "c-sharp", "max_stars_count": "21.0", "max_stars_repo_name": "GuilhermeLara/akeneo-csharp", "max_stars_repo_path": "src/Akeneo/Consts/DurationUnits.cs", "provenance": "train-00000-of-00045.jsonl.gz:75216" }
starcoder
<gh_stars>10-100 namespace Akeneo.Consts { public class DurationUnits { public const string MilliSecond = "MILLISECOND"; public const string Second = "SECOND"; public const string Minute = "MINUTE"; public const string Hour = "HOUR"; public const string Day = "DAY"; public const string Week = "WEEK"; pu...
1.673845
0b2a1acf1e8ca31a609fe523a72c315f
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
75216
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "dangerworm/ALTechTest", "max_stars_repo_path": "ALTechTest/ParsingObjects/MusicBrainz/Tag.cs", "provenance": "train-00000-of-00045.jsonl.gz:75217" }
starcoder
<gh_stars>0 namespace ALTechTest.ParsingObjects.MusicBrainz { public class Tag { public int count { get; set; } public string name { get; set; } } }
1.248083
060a4dc7725d36c48702ce99cb412b79
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
75217
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "ankobi/logexpert", "max_stars_repo_path": "UnitTests/LocalFileSystemTest.cs", "provenance": "train-00000-of-00045.jsonl.gz:75218" }
starcoder
using System; using System.Collections.Generic; using System.Text; using NUnit.Framework; using LogExpert; using System.IO; namespace UnitTests { [TestFixture] class LocalFileSystemTest : RolloverHandlerTestBase { [TestFixtureSetUp] public void Boot() { Cleanup(); } [TearDown] pub...
2.384339
5970ae5dbae3feeab0f2501dea63e953
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
75218
{ "extension": "c-sharp", "max_stars_count": "2670.0", "max_stars_repo_name": "yangbingqi155/Nagrace", "max_stars_repo_path": "src/Orchard.Web/Modules/Orchard.AuditTrail/Providers/Content/ContentAuditTrailEventShapes.cs", "provenance": "train-00000-of-00045.jsonl.gz:75219" }
starcoder
using System.Collections.Generic; using System.Linq; using Orchard.AuditTrail.Helpers; using Orchard.AuditTrail.Models; using Orchard.AuditTrail.Services; using Orchard.ContentManagement; using Orchard.DisplayManagement.Descriptors; using Orchard.Environment; namespace Orchard.AuditTrail.Providers.Content { publi...
2.033724
dd1217a1a27c2c8e0eadbf6982482828
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
75219
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "ncarandini/BattleShipTournament", "max_stars_repo_path": "BattleShipTournament.Core/Models/EffettoSparo.cs", "provenance": "train-00000-of-00045.jsonl.gz:75220" }
starcoder
<reponame>ncarandini/BattleShipTournament<gh_stars>1-10 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BattleshipTournament.Core.Models { public enum EffettoSparo { Acqua, Colpito, Affondato } }
1.555923
831fcf3a167355d1a1b7349ee556b934
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
75220
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "coojee2012/pm3", "max_stars_repo_path": "SurveyDesign/WYDW/ZGXM/ZGXMList.aspx.cs", "provenance": "train-00000-of-00045.jsonl.gz:75221" }
starcoder
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Windows.Forms.VisualStyles; using Approve.RuleCenter; using Seaskyer.Strings; public partial class WYDW_ZGXM_ZGXMList : WYPage { RCenter rc = ...
1.67464
38967cec4de7d9d2a93b1ddf4bf81e20
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
75221
{ "extension": "c-sharp", "max_stars_count": "373.0", "max_stars_repo_name": "medmondson/CShell", "max_stars_repo_path": "Src/CShell/Modules/Workspace/ViewModels/FolderViewModel.cs", "provenance": "train-00000-of-00045.jsonl.gz:75222" }
starcoder
<reponame>medmondson/CShell using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Text.RegularExpressions; using System.Windows; using CShell.Framework.Results; using CShell.Modules.Workspace.Results; using CShell.Util; using Caliburn.Micro; using Microsoft...
2.304361
c8ac91e83e6326a02b21c21ff4088ae0
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
75222
{ "extension": "c-sharp", "max_stars_count": "222.0", "max_stars_repo_name": "luber/aspnetcore-security-headers", "max_stars_repo_path": "src/Joonasw.AspNetCore.SecurityHeaders/FeaturePolicy/Options/FeaturePolicyGeolocationOptions.cs", "provenance": "train-00000-of-00045.jsonl.gz:75223" }
starcoder
<gh_stars>100-1000 namespace Joonasw.AspNetCore.SecurityHeaders.FeaturePolicy.Options { public class FeaturePolicyGeolocationOptions : FeaturePolicyOptionsBase { public FeaturePolicyGeolocationOptions() { FeatureName = FeaturePolicyOptions.FeaturePolicyValue.Geolocation.DefaultValue...
1.295843
dc0786175a999f624ad81e3c511e6f0f
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
75223
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "0xF6/wave_vm", "max_stars_repo_path": "compiler/Program.cs", "provenance": "train-00000-of-00045.jsonl.gz:75224" }
starcoder
<filename>compiler/Program.cs using System; using System.Diagnostics; using System.Runtime.InteropServices; using System.Text; using System.Globalization; using System.IO; using System.Runtime.CompilerServices; using Newtonsoft.Json; using Spectre.Console; using Spectre.Console.Cli; using vein; using vein.cmd; using st...
2.169174
9d7fc26ac023bdc15a6a1058ed970e52
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
75224
{ "extension": "c-sharp", "max_stars_count": "3.0", "max_stars_repo_name": "Jaykul/clrplus", "max_stars_repo_path": "Platform/Scheduling/TaskFolder.cs", "provenance": "train-00000-of-00045.jsonl.gz:75225" }
starcoder
//----------------------------------------------------------------------- // <copyright company="CoApp Project"> // Changes Copyright (c) 2011 <NAME> . All rights reserved. // TaskScheduler Original Code from http://taskscheduler.codeplex.com/ // </copyright> // <license> // The software is licensed ...
2.233445
c623f9e116f75704686ce99326094376
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
75225
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "Eskeptor/Unity", "max_stars_repo_path": "ShootingGame2D/Assets/Script/Boss Pattern/Boss_Level3.cs", "provenance": "train-00000-of-00045.jsonl.gz:75226" }
starcoder
using System.Collections; using UnityEngine; public class Boss_Level3 : MonoBehaviour { /* Public Object */ public GameObject Explosion1; // Explosion object(When the boss1 died) public GameObject Explosion2; public GameObject Explosion3; public GameObject MissileObject1; /...
1.93066
c192882cb90c0cea5c2381a1c2540356
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
75226
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "sakapon/Codeforces-Contests", "max_stars_repo_path": "CSharp/Contests2019/ECFR079/D.cs", "provenance": "train-00000-of-00045.jsonl.gz:75227" }
starcoder
<reponame>sakapon/Codeforces-Contests using System; using System.Linq; class D { static int[] Read() => Console.ReadLine().Split().Select(int.Parse).ToArray(); static void Main() { var n = int.Parse(Console.ReadLine()); var a = new int[n].Select(_ => Console.ReadLine().Split().Skip(1).Select(int.Parse...
3.102051
cfa97cee97d117239fc85e3ab4b52d1c
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
75227
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "tmaconko/FluentInterface", "max_stars_repo_path": "FluentInterface.Examples.Tests/BaContainerExampleTests.cs", "provenance": "train-00000-of-00045.jsonl.gz:75228" }
starcoder
using BalticAmadeus.Container; using FluentInterface.Examples.Classes; using NUnit.Framework; namespace FluentInterface.Examples.Tests { [TestFixture] public class ContainerTests { private IContainer _container; [SetUp] public void SetUp() { _container = Contain...
2.151242
688f10253dbf4b25730e557b69ae3801
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
75228
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "WisemanIka/IdentityServer", "max_stars_repo_path": "Fox.Common/Infrastructure/Services/Mongo/BaseMongoService.cs", "provenance": "train-00000-of-00045.jsonl.gz:75229" }
starcoder
<reponame>WisemanIka/IdentityServer  namespace Fox.Common.Infrastructure { public class BaseMongoService { protected readonly IMongoContext Ctx; protected readonly ILogger Logger; public BaseMongoService(ILogger logger, IMongoContext ctx) { this.Ctx = ctx; ...
1.433687
6919be8316f1074a983f487d52403e7e
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
75229
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "vasont-systems/Vasont.Inspire.Models", "max_stars_repo_path": "src/Transfers/MinimalExportStateModel.cs", "provenance": "train-00000-of-00045.jsonl.gz:75230" }
starcoder
//------------------------------------------------------------- // <copyright file="MinimalExportStateModel.cs" company="GlobalLink Vasont"> // Copyright (c) GlobalLink Vasont. All rights reserved. // </copyright> //------------------------------------------------------------- namespace Vasont.Inspire.Models.Transfers...
2.083662
f1a617c9b8274528f79625494bf9fd37
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
75230
{ "extension": "c-sharp", "max_stars_count": "5.0", "max_stars_repo_name": "Remi05/uial", "max_stars_repo_path": "Uial/Contexts/Windows/IWindowsVisualContext.cs", "provenance": "train-00000-of-00045.jsonl.gz:75231" }
starcoder
<gh_stars>1-10 using System.Windows.Automation; using Uial.Scopes; namespace Uial.Contexts.Windows { public interface IWindowsVisualContext : IContext { AutomationElement RootElement { get; } } }
1.156585
37d8b4051109f2a5048d7d3d3214fd0a
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
75231
{ "extension": "c-sharp", "max_stars_count": "6.0", "max_stars_repo_name": "EasyAbp/Abp.LoginUi", "max_stars_repo_path": "src/EasyAbp.Abp.LoginUi.Shared/EasyAbp/Abp/LoginUi/LoginUiErrorCodes.cs", "provenance": "train-00000-of-00045.jsonl.gz:75232" }
starcoder
namespace EasyAbp.Abp.LoginUi; public static class LoginUiErrorCodes { //Add your business exception error codes here... }
0.861976
c2ecf3e9fa82007205077fd858d4a451
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
75232
{ "extension": "c-sharp", "max_stars_count": "14.0", "max_stars_repo_name": "lwardzala/Json.Abstraction", "max_stars_repo_path": "Source/Json.Abstraction/Converters/ConverterBase.cs", "provenance": "train-00000-of-00045.jsonl.gz:75233" }
starcoder
<filename>Source/Json.Abstraction/Converters/ConverterBase.cs using System.Text.Json; using System.Text.Json.Serialization; namespace Json.Abstraction.Converters { public abstract class ConverterBase<T> : JsonConverter<T> { protected string ConvertDictionaryKey(JsonSerializerOptions options, string ke...
2.895967
d53ef21905785c4b47daf44a5c0fd2f1