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
71733
{ "extension": "c-sharp", "max_stars_count": "74.0", "max_stars_repo_name": "zestylife/EuNet", "max_stars_repo_path": "src/EuNet.Unity/Assets/Plugins/EuNet/Runtime/EuNet.Core/Serializer/NetDataSerializer.cs", "provenance": "train-00000-of-00045.jsonl.gz:71734" }
starcoder
<gh_stars>10-100 using System; namespace EuNet.Core { public static class NetDataSerializer { public static NetDataSerializerOptions DefaultOptions { get; set; } = NetDataSerializerOptions.Standard; public static void Serialize<T>(NetDataWriter writer, T value, NetDataSerializerOptions option...
2.419153
ef017721087f084b1e59c50b404fa31b
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
71734
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "janissimsons/EntityFramework-Reverse-POCO-Code-First-Generator", "max_stars_repo_path": "Generator/Mustache/NewlineTagDefinition.cs", "provenance": "train-00000-of-00045.jsonl.gz:71735" }
starcoder
<filename>Generator/Mustache/NewlineTagDefinition.cs using System; using System.Collections.Generic; using System.IO; namespace Efrpg.Mustache { /// <summary> /// Defines a tag that outputs a newline. /// </summary> internal sealed class NewlineTagDefinition : InlineTagDefinition { private...
3.026319
1af36295e111f4442ef5e58f3239ce3e
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
71735
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "marijngoedegebure/NarrativeWorldCreator", "max_stars_repo_path": "SemanticsEngine/Components/ReferenceBase.cs", "provenance": "train-00000-of-00045.jsonl.gz:71736" }
starcoder
<gh_stars>0 /************************************************************************** * * ReferenceBase.cs * * <NAME> * Computer Graphics & CAD/CAM Group * TU Delft * 2011-2012 * * This program is free software; you can redistribute it and/or modify it. * ***********************************************...
2.368264
50958c176902cd1ff69ec18321198e72
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
71736
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "sgsdxzy/CombatModCollection", "max_stars_repo_path": "src/LearnToQuit/TroopSacrificeModel.cs", "provenance": "train-00000-of-00045.jsonl.gz:71737" }
starcoder
using Helpers; using System; using System.Linq; using System.Text; using TaleWorlds.CampaignSystem; using TaleWorlds.Core; using TaleWorlds.Library; namespace CombatModCollection.LearnToQuit { internal class TroopSacrificeModel { // PlayerEncounter.SacrificeTroops public static void SacrificeT...
2.196301
222e86b7ca466c16367e9030021b3b4e
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
71737
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "kris701/JanC", "max_stars_repo_path": "ContextAnalyzer/SemanticErrors/StructLiteralMemberTypeMismatch.cs", "provenance": "train-00000-of-00045.jsonl.gz:71738" }
starcoder
<reponame>kris701/JanC using Nodes; using Exceptions.Exceptions; using Exceptions.Syntax; using System; using System.Text; namespace ContextAnalyzer.SemanticErrors { internal class StructLiteralMemberTypeMismatch : SemanticException, ISemanticError { public StructLiteralMemberNode LiteralMember { get; set; } pub...
2.563362
e674e23278db978981790d27bcdd360e
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
71738
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "paulmfischer/todoapps", "max_stars_repo_path": "todoapps/Views/_ViewImports.cshtml", "provenance": "train-00000-of-00045.jsonl.gz:71739" }
starcoder
@using todoapps @using todoapps.Models @addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
1.622967
f4e3dea924b31b978ad5c55c0a78f5df
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
71739
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "SuperJura/RpgGame", "max_stars_repo_path": "Assets/Scenes/LEVEL_1/Cinematics/StartingLevelCinematic.cs", "provenance": "train-00000-of-00045.jsonl.gz:71740" }
starcoder
<reponame>SuperJura/RpgGame using UnityEngine; using System.Collections; using System; public class StartingLevelCinematic : MonoBehaviour { Transform cameraTransform; CameraControl cameraControl; PlayerMovementControls playerControls; PlayerMenuControls playerMenuControls; Transform cameraParent...
2.081625
36d816b85f3ed9a9914222e0999e6678
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
71740
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "Zenif-NIght/DOF_Bot", "max_stars_repo_path": "Assets/Scripts/SceneChanger.cs", "provenance": "train-00000-of-00045.jsonl.gz:71741" }
starcoder
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; public class SceneChanger : MonoBehaviour { // Start is called before the first frame update void Start() { } // Update is called once per frame void Update() { ...
2.335766
5e9d048d93a30dcd7f7689b757b2470e
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
71741
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "JDouglasMendes/programa-estagio-lg-2021-1", "max_stars_repo_path": "LGProgramaDeEstagio2021/LGProgramaDeEstagio2021/Controle/FichaCadastral.cs", "provenance": "train-00000-of-00045.jsonl.gz:71742" }
starcoder
using LGProgramaDeEstagio2021.Repositorios; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace LGProgramaDeEstagio2021 { public class FichaCadastral { private RepositorioGenerico<Funcionario> repositorioFuncionario; pu...
2.658043
b5aa0c6b6d89e112a40ebf7ce3072d46
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
71742
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "its-software-services-devops/iasc", "max_stars_repo_path": "iasc-app/Its/Iasc/Workflows/Models/HelmChart.cs", "provenance": "train-00000-of-00045.jsonl.gz:71743" }
starcoder
<filename>iasc-app/Its/Iasc/Workflows/Models/HelmChart.cs<gh_stars>1-10 using System; namespace Its.Iasc.Workflows.Models { public class HelmChart { public string ChartUrl { get; set; } public string Version { get; set; } public CmdParam[] Params { get; set; } public HelmChart(...
2.061247
0ae9808d5233bd7662c4290c4a7b8fcd
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
71743
{ "extension": "c-sharp", "max_stars_count": "3.0", "max_stars_repo_name": "JohnodonCode/EasyEvents", "max_stars_repo_path": "EasyEvents/Commands/Infect.cs", "provenance": "train-00000-of-00045.jsonl.gz:71744" }
starcoder
<reponame>JohnodonCode/EasyEvents using System.Collections.Generic; using EasyEvents.Types; namespace EasyEvents.Commands { public class Infect { public static void Run(List<string> args, int i) { if(args.Count < 2) throw new InvalidArgumentLengthException("Expected 2 arguments but...
2.454094
dfa61f5e9d4cfe1c3bd3d154607785df
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
71744
{ "extension": "c-sharp", "max_stars_count": "12.0", "max_stars_repo_name": "wforney/portal", "max_stars_repo_path": "Master/Appleseed/Projects/Appleseed.Framework.UrlRewriting/AppleseedSeoUrlRewritingProvider.cs", "provenance": "train-00000-of-00045.jsonl.gz:71745" }
starcoder
<gh_stars>10-100 using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Appleseed.Framework.UrlRewriting { using System.Web.SessionState; using UrlRewritingNet.Configuration.Provider; using UrlRewritingNet.Web; class AppleseedSeoUrlRewritingProvider : UrlRewr...
1.53191
339a32e714813cfb180b0f8296ec3603
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
71745
{ "extension": "c-sharp", "max_stars_count": "3.0", "max_stars_repo_name": "martinjt/referencesource", "max_stars_repo_path": "mscorlib/system/reflection/RuntimeReflectionExtensions.cs", "provenance": "train-00000-of-00045.jsonl.gz:71746" }
starcoder
using System; using System.Collections.Generic; using System.Diagnostics.Tracing; namespace System.Reflection { public static class RuntimeReflectionExtensions { private const BindingFlags everything = BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Static; ...
2.521264
c4df70d3aea79b2ff9cebf1ebdb1e941
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
71746
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "Corniel/smart-ass", "max_stars_repo_path": "src/SmartAss/Extensions/HeapPermutations.cs", "provenance": "train-00000-of-00045.jsonl.gz:71747" }
starcoder
// <copyright file = "HeapPermutations.cs"> // Copyright (c) 2018-current, <NAME>. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // </copyright> using SmartAss; using System.Collections.Generic; namespace System { /// <summary>Gets permutations using the He...
3.012696
da63b21b7368365af852abe2a7232256
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
71747
{ "extension": "c-sharp", "max_stars_count": "17.0", "max_stars_repo_name": "stoyanovmiroslav/XeonComputers", "max_stars_repo_path": "XeonComputers.Data/XeonDbContext.cs", "provenance": "train-00000-of-00045.jsonl.gz:71748" }
starcoder
<reponame>stoyanovmiroslav/XeonComputers using System; using System.Collections.Generic; using System.Text; using Microsoft.AspNetCore.Identity.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; using XeonComputers.Models; namespace XeonComputers.Data { public class XeonDbContext : IdentityDbContext<XeonUs...
1.800833
8adcb81747f3218b40f5430ab70f13f8
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
71748
{ "extension": "c-sharp", "max_stars_count": "428.0", "max_stars_repo_name": "generike/certes", "max_stars_repo_path": "test/Certes.Tests/Jws/JwsConvertTests.cs", "provenance": "train-00000-of-00045.jsonl.gz:71749" }
starcoder
<reponame>generike/certes using System.Text; using Xunit; namespace Certes.Jws { public class JwsConvertTests { [Fact] public void CanConvertToBase64String() { foreach (var s in new[] { "a", "ab", "abc", "abcd" }) { ...
2.189524
5715f97e66ca1a1160ccbb22bb6b2696
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
71749
{ "extension": "c-sharp", "max_stars_count": "4.0", "max_stars_repo_name": "burningice2866/CompositeC1Contrib.Security", "max_stars_repo_path": "Security/IEditProfileHandler.cs", "provenance": "train-00000-of-00045.jsonl.gz:71750" }
starcoder
<reponame>burningice2866/CompositeC1Contrib.Security using System.Web.Security; namespace CompositeC1Contrib.Security { public interface IEditProfileHandler { void Load(MembershipUser user); void Save(MembershipUser user); } }
1.471205
292ae3257bf37b09993a9b9d39de1db1
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
71750
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "eroko01/LaunchEc2Instance", "max_stars_repo_path": "Weather.ApplicationLayer/Service.cs", "provenance": "train-00000-of-00045.jsonl.gz:71751" }
starcoder
<reponame>eroko01/LaunchEc2Instance using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Net; using System.Reflection; using System.Text; using System.Threading.Tasks; using Ec2.InterfaceLayer.DTO; using AutoMapper; using System.Text.Json; using Newtonsoft.Json; using...
2.453082
bab2338ed6d18772a001cbae99366ef7
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
71751
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "enginekit/copy_of_roslyn", "max_stars_repo_path": "Src/Workspaces/CSharp/Formatting/AutoGeneratedCodeOperationProvider.cs", "provenance": "train-00000-of-00045.jsonl.gz:71752" }
starcoder
using System; using System.Collections.Generic; using Roslyn.Compilers; using Roslyn.Compilers.Common; using Roslyn.Compilers.CSharp; using Roslyn.Services; using Roslyn.Services.Formatting; using Roslyn.Utilities; namespace Roslyn.Services.CSharp.Formatting { internal class AutoGeneratedCodeOperationProvider : I...
2.223734
cebd6ae588ce974a50c23adde08b23c3
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
71752
{ "extension": "c-sharp", "max_stars_count": "294.0", "max_stars_repo_name": "SapientGuardian/LLVMSharp", "max_stars_repo_path": "sources/LLVMSharp.Interop/Extensions/LLVMBasicBlockRef.cs", "provenance": "train-00000-of-00045.jsonl.gz:71753" }
starcoder
// Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. using System; namespace LLVMSharp.Interop { public unsafe partial struct LLVMBasicBlockRef : IEquatable<LLVMBasicBlockRef> { public ...
2.445781
86abc4646d94ad122ef122f6352befda
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
71753
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "pinguicodes/Ryujinx", "max_stars_repo_path": "ChocolArm64/Decoder/IAOpCodeAluRs.cs", "provenance": "train-00000-of-00045.jsonl.gz:71754" }
starcoder
namespace ChocolArm64.Decoder { interface IAOpCodeAluRs : IAOpCodeAlu { int Shift { get; } int Rm { get; } AShiftType ShiftType { get; } } }
1.372814
d5f7ec96394aa9f377c12ec07a3abddc
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
71754
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "uk-gov-mirror/DFE-Digital.get-into-teaching-api", "max_stars_repo_path": "GetIntoTeachingApi/Models/CallbackBookingQuota.cs", "provenance": "train-00000-of-00045.jsonl.gz:71755" }
starcoder
<reponame>uk-gov-mirror/DFE-Digital.get-into-teaching-api<gh_stars>0 using System; using FluentValidation; using GetIntoTeachingApi.Attributes; using GetIntoTeachingApi.Services; using Microsoft.Xrm.Sdk; namespace GetIntoTeachingApi.Models { [Entity("dfe_callbackbookingquota")] public class CallbackBo...
1.983439
3316058c4e88d59f148827aa154df53c
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
71755
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "gallargit/TaskyJ", "max_stars_repo_path": "TaskyJ.STSDBServer/Remote/Commands/ICommand.cs", "provenance": "train-00000-of-00045.jsonl.gz:71756" }
starcoder
using System; using System.Collections.Generic; using System.Linq; using System.Text; using STSdb4.WaterfallTree; namespace STSdb4.Remote.Commands { public interface ICommand { int Code { get; } bool IsSynchronous { get; } } }
1.430345
5d1462bb0c442b8fbd5f72bc9f8aa3ed
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
71756
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "Ser-Pounce-a-lot/ComponentCopier", "max_stars_repo_path": "Scripts/Editor/ComponentCopier/Blacklist.cs", "provenance": "train-00000-of-00045.jsonl.gz:71757" }
starcoder
using UnityEngine; //[CreateAssetMenu(fileName = "Blacklist", menuName = "Component Copier/Blacklist Asset")] public class Blacklist : ScriptableObject { public string[] Exclusions; private static Blacklist _instance; public static Blacklist Instance { get { if(_instance == null)...
1.930363
adf847d8c2b9caa56df5e75a26be3de8
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
71757
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "Burion/AdminMS", "max_stars_repo_path": "Musical_WebStore_BlazorApp/Server/Controllers/LocationsController.cs", "provenance": "train-00000-of-00045.jsonl.gz:71758" }
starcoder
<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Musical_WebStore_BlazorApp.Shared; using Musical_WebStore_BlazorApp.Client; using Musical_WebStore_BlazorApp.Server.Data; using Microsoft.En...
1.842955
38be0d0c69cb50298e868772e6b6bc07
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
71758
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "flaviorl-net/Mediator", "max_stars_repo_path": "Mediator/CommandHandle/CadastrarEnderecoHandle.cs", "provenance": "train-00000-of-00045.jsonl.gz:71759" }
starcoder
<gh_stars>0 using System.Threading; using System.Threading.Tasks; using Mediator.Command; using Mediator.Interfaces; namespace Mediator.CommandHandle { public class CadastrarEnderecoHandle : ICommandHandle<CadastrarEnderecoCommand, string> { public async Task<string> Handle(CadastrarEnderecoCommand re...
1.741979
6e8e0e6638db201cf761fb704f1a94ae
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
71759
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "SirLangley/Play", "max_stars_repo_path": "UltraStar Play/Assets/Scenes/SongSelect/FocusableNavigator.cs", "provenance": "train-00000-of-00045.jsonl.gz:71760" }
starcoder
<filename>UltraStar Play/Assets/Scenes/SongSelect/FocusableNavigator.cs using System; using System.Collections; using System.Collections.Generic; using System.Linq; using UnityEngine; using UniInject; using UniRx; using UnityEngine.EventSystems; using UnityEngine.UIElements; // Disable warning about fields that are ne...
2.115514
c0052e79ee8478468f7d960a3c65acb7
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
71760
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "lanekp/LovRubWeb", "max_stars_repo_path": "LRW3/LovRubWeb/App_Code/DataAccess/Store/Generated/ProductRating.cs", "provenance": "train-00000-of-00045.jsonl.gz:71761" }
starcoder
using System; using System.Text; using System.Data; using System.Data.SqlClient; using System.Data.Common; using System.Collections; using System.Collections.Generic; using System.Configuration; using System.Xml; using System.Xml.Serialization; using SubSonic; namespace Commerce.Common { /// <summary> /// Strongly-typ...
2.326567
d44074f10eb9a77a682bc6d77f03c5c7
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
71761
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "LayoutFarm/ImgCodec", "max_stars_repo_path": "src/pngcs/Hjg.Pngcs/Chunks/PngChunkIHDR.cs", "provenance": "train-00000-of-00045.jsonl.gz:71762" }
starcoder
<gh_stars>1-10 //Apache2, 2012, <NAME>, (https://github.com/leonbloy) //Apache2, 2017, WinterDev namespace Hjg.Pngcs.Chunks { using System; using System.IO; /// <summary> /// IHDR chunk: http://www.w3.org/TR/PNG/#11IHDR /// </summary> public class PngChunkIHDR : PngChunkSingle { p...
2.323834
fdfb72e8cadfc808bf99fee7e0c11571
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
71762
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "chenggongchina/unity_study", "max_stars_repo_path": "BehaviorTreeTest/Assets/Behavior Designer Tactical/Scripts/Tasks/Flank.cs", "provenance": "train-00000-of-00045.jsonl.gz:71763" }
starcoder
<filename>BehaviorTreeTest/Assets/Behavior Designer Tactical/Scripts/Tasks/Flank.cs using UnityEngine; using BehaviorDesigner.Runtime.Tasks; using Tooltip = BehaviorDesigner.Runtime.Tasks.TooltipAttribute; using HelpURL = BehaviorDesigner.Runtime.Tasks.HelpURLAttribute; namespace BehaviorDesigner.Runtime.Tactical.Task...
2.494014
400f6e015be4763d4d73925616ba4743
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
71763
{ "extension": "c-sharp", "max_stars_count": "14.0", "max_stars_repo_name": "louisaxel-ambroise/FasTnT", "max_stars_repo_path": "test/FasTnT.UnitTest/Formatters/XML/WhenFormattingAPollResponse.cs", "provenance": "train-00000-of-00045.jsonl.gz:71764" }
starcoder
<filename>test/FasTnT.UnitTest/Formatters/XML/WhenFormattingAPollResponse.cs using FasTnT.Commands.Responses; using FasTnT.Model.Enums; using FasTnT.Model.Events; using FasTnT.Model.MasterDatas; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Collections.Generic; using System.Linq; using System.Xml.Li...
2.14141
9e06f3c63fdd5ad6411162d1a6738d82
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
71764
{ "extension": "c-sharp", "max_stars_count": "3.0", "max_stars_repo_name": "sugiuraii/DefiSSMCOM_WebsocketServer", "max_stars_repo_path": "WebSocketGaugeServer/DefiSSMCOM_Common_Lib/DefiSSMCOM/ContentCommon.cs", "provenance": "train-00000-of-00045.jsonl.gz:71765" }
starcoder
<gh_stars>1-10 using System; using System.Collections.Generic; namespace DefiSSMCOM { public abstract class ContentTableCommon <parameterCodeType, numericContentType> where parameterCodeType:struct where numericContentType : NumericContent { protected Dictionary<parameterCo...
2.675691
3e658a99847996dd4746ebee0f704fa7
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
71765
{ "extension": "c-sharp", "max_stars_count": "96.0", "max_stars_repo_name": "raji122010/o365-fts-parser", "max_stars_repo_path": "MsgKit/MsgKit/Mime/Header/HeaderExtractor.cs", "provenance": "train-00000-of-00045.jsonl.gz:71766" }
starcoder
using System; using System.Collections.Generic; using System.IO; using System.Text; namespace MsgKit.Mime.Header { /// <summary> /// Utility class that divides a message into a body and a header.<br /> /// The header is then parsed to a strongly typed <see cref="MessageHeader" /> object. /// <...
3.542157
fe716e72f87f52f7f56ca27b93e95c68
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
71766
{ "extension": "c-sharp", "max_stars_count": "13.0", "max_stars_repo_name": "RedHaze/BeatTogether.MasterServer", "max_stars_repo_path": "BeatTogether.MasterServer.Kernel/Implementations/MessageHandlers/UserMessageHandler.cs", "provenance": "train-00000-of-00045.jsonl.gz:71767" }
starcoder
using System; using BeatTogether.Core.Messaging.Implementations; using BeatTogether.MasterServer.Kernel.Abstractions; using BeatTogether.MasterServer.Messaging.Messages.User; namespace BeatTogether.MasterServer.Kernel.Implementations.MessageReceivers { public class UserMessageHandler : BaseMessageHandler<IUserSer...
1.757805
a592958a10a1f140fb4f5f16a58867be
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
71767
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "LazyGameDevZA/Simple-Network-Message-Protocol", "max_stars_repo_path": "BasicGame/IGameStateDeserializer.cs", "provenance": "train-00000-of-00045.jsonl.gz:71768" }
starcoder
namespace BasicGame { public interface IGameStateDeserializer { Entity[] Deserialize(byte[] data); } }
1.689405
3b6b748e28c146254625609645408c32
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
71768
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "SteveKCheng/MultiThreadScheduling", "max_stars_repo_path": "lib/WorkItem.cs", "provenance": "train-00000-of-00045.jsonl.gz:71769" }
starcoder
using System; using System.Threading; using System.Threading.Tasks; namespace MultiThreadScheduling { /// <summary> /// Describes one unit of work to be done for <see cref="MultiThreadTaskScheduler"/>. /// </summary> /// <remarks> /// <see cref="MultiThreadTaskScheduler"/> doubles up as ...
2.970934
4954857f47ee7684fd041307e35ec407
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
71769
{ "extension": "c-sharp", "max_stars_count": "9.0", "max_stars_repo_name": "mmckechney/SqlBuildManager", "max_stars_repo_path": "src/SqlBuildManager.Enterprise.UnitTest/FeatureAccessHelperTest.cs", "provenance": "train-00000-of-00045.jsonl.gz:71770" }
starcoder
using SqlBuildManager.Enterprise.Feature; using Microsoft.VisualStudio.TestTools.UnitTesting; using SqlBuildManager.Enterprise; using System.Collections.Generic; namespace SqlBuildManager.Enterprise.UnitTest { /// <summary> ///This is a test class for FeatureAccessHelperTest and is intended ///to...
2.196811
512938b79db64d268c375c8f1bc78816
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
71770
{ "extension": "c-sharp", "max_stars_count": "9.0", "max_stars_repo_name": "eoliveros/acuerdo", "max_stars_repo_path": "Models/InternalViewModels/WalletsViewModel.cs", "provenance": "train-00000-of-00045.jsonl.gz:71771" }
starcoder
<filename>Models/InternalViewModels/WalletsViewModel.cs using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; using System.Numerics; using xchwallet; namespace viafront3.Models.InternalViewModels { public class ChainWalletBala...
1.94881
5c6979d4136d902579a510c5e2b89c37
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
71771
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "Ziggeo/ZiggeoCSharpSDK", "max_stars_repo_path": "demos/SingletonDemos/ADD_Effect_Profile.cs", "provenance": "train-00000-of-00045.jsonl.gz:71772" }
starcoder
<gh_stars>0 using System; using System.IO; using System.Linq; using System.Collections; using System.Collections.Generic; using Newtonsoft.Json.Linq; using Newtonsoft.Json; namespace Add_effect_Profile { public class Add_Effect_Profile { public static void Main(string[] args) { Zig...
2.248606
27dd062016a24f7cf637d6c2e330ca16
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
71772
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "Bhaskers-Blu-Org2/BuildXL", "max_stars_repo_path": "Public/Src/Utilities/Storage/ChangeTracking/DirectoryMembershipTrackingFingerprint.cs", "provenance": "train-00000-of-00045.jsonl.gz:71773" }
starcoder
<filename>Public/Src/Utilities/Storage/ChangeTracking/DirectoryMembershipTrackingFingerprint.cs // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System; using System.IO; using System.Text; using BuildXL.Cache.ContentStore.Hashing; using BuildXL.Utilities; namespace BuildXL.Sto...
2.821165
607fc54576a70edb495b3b6b640d309c
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
71773
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "SpikePuppet/entity-framework-you", "max_stars_repo_path": "Atlas/Security/DatabaseContext/ISecurityContextFactory.cs", "provenance": "train-00000-of-00045.jsonl.gz:71774" }
starcoder
<filename>Atlas/Security/DatabaseContext/ISecurityContextFactory.cs // // ----------------------------------------------------------------------- // // <copyright file="ISecurityContextFactory.cs"> // // Copyright 2020 <NAME> // // All rights reserved. // // </copyright> // // <author><NAME></author> // // ---...
1.450107
26c4869849dea4445d50956c95cab4df
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
71774
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "huy-ngoduc/azure-devops-k8s", "max_stars_repo_path": "Shopping/Shopping.API/Controllers/ProductController.cs", "provenance": "train-00000-of-00045.jsonl.gz:71775" }
starcoder
using Microsoft.AspNetCore.Mvc; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.Extensions.Logging; using MongoDB.Driver; using Shopping.API.Data; using Shopping.API.Models; namespace Shopping.API.Controllers { [ApiController] [Route("[controlle...
2.379969
531421fc20238a78f2eda63267d666b5
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
71775
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "DrDao/ecommon", "max_stars_repo_path": "src/ECommon.Dapper/SqlMapperExtensions.cs", "provenance": "train-00000-of-00045.jsonl.gz:71776" }
starcoder
<reponame>DrDao/ecommon<filename>src/ECommon.Dapper/SqlMapperExtensions.cs using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Data; using System.Dynamic; using System.Linq; using System.Reflection; using System.Threading.Tasks; using Dapper; namespace ECommon.Dapper { ...
2.509683
281817acdaa72c0f3a0d921df93f0672
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
71776
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "FairPlay137/DaveBot", "max_stars_repo_path": "DaveBot/DaveBot.cs", "provenance": "train-00000-of-00045.jsonl.gz:71777" }
starcoder
using System; using System.Threading.Tasks; using NLog; using System.IO; using Discord; using Discord.Commands; using Discord.WebSocket; using NLog.Config; using NLog.Targets; using System.Reflection; using DaveBot.Services; using Discord.Net.Providers.WS4Net; using DaveBot.Services.Impl; using System.Diagnostics; usi...
2.164508
4e73abf870c9fa6fb701d92d9d60303d
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
71777
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "Zulkir/ClarityWorlds", "max_stars_repo_path": "Source/Clarity.Engine/Media/Text/Rich/RtEmbeddingSpan.cs", "provenance": "train-00000-of-00045.jsonl.gz:71778" }
starcoder
using Clarity.Common.Infra.ActiveModel; namespace Clarity.Engine.Media.Text.Rich { public abstract class RtEmbeddingSpan : AmObjectBase<RtEmbeddingSpan>, IRtEmbeddingSpan { public abstract IRtSpanStyle Style { get; set; } public abstract string EmbeddingType { get; set; } public abstra...
2.063613
f418f47461b3f3bcc9b85f2bf3013fd2
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
71778
{ "extension": "c-sharp", "max_stars_count": "3.0", "max_stars_repo_name": "WarrenMondeville/LandlordsCore", "max_stars_repo_path": "Unity/Assets/Scripts/Module/BehaviorTree/BehaviorTreeType/BaseType/BTIntComponent.cs", "provenance": "train-00000-of-00045.jsonl.gz:71779" }
starcoder
<reponame>WarrenMondeville/LandlordsCore namespace ETModel { public class BTIntComponent: BTTypeBaseComponent { public int fieldValue; } }
1.129081
2cfaad0c3fcaec6fdbe1aea7586f2b81
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
71779
{ "extension": "c-sharp", "max_stars_count": "5.0", "max_stars_repo_name": "near/near-api-unity", "max_stars_repo_path": "Src/NearClientUnity/FunctionCallPermission.cs", "provenance": "train-00000-of-00045.jsonl.gz:71780" }
starcoder
using NearClientUnity.Utilities; using System.Collections.Generic; using System.IO; namespace NearClientUnity { public class FunctionCallPermission { public UInt128? Allowance { get; set; } public string[] MethodNames { get; set; } public string ReceiverId { get; set; } public...
2.967285
ea9980a4f1203aebfed31fc3f199dd2c
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
71780
{ "extension": "c-sharp", "max_stars_count": "55.0", "max_stars_repo_name": "Kolomona/REvernus", "max_stars_repo_path": "EVEStandard/Models/Bloodline.cs", "provenance": "train-00000-of-00045.jsonl.gz:71781" }
starcoder
<filename>EVEStandard/Models/Bloodline.cs<gh_stars>10-100 using Newtonsoft.Json; namespace EVEStandard.Models { public class Bloodline : ModelBase<Bloodline> { #region Properties /// <summary> /// bloodline_id integer /// </summary> /// <value>bloodline_id integer</val...
2.332002
07b676f39f5bce0a4bed654c8e1d1896
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
71781
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "FutureNinjas/UpdateMe", "max_stars_repo_path": "UpdateMe/UpdateMe.Data/Models/CurrentQuizState.cs", "provenance": "train-00000-of-00045.jsonl.gz:71782" }
starcoder
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace UpdateMe.Data.Models { public class CurrentQuizState { [Key, ForeignKey("Assignment")] public int AssignmentId { get; set; } public int CurrentUserResult { get; set; } p...
2.032982
56a14cb766c57119a5e4f69e6eb049b9
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
71782
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "MasterScott/Gibbed.Dunia", "max_stars_repo_path": "projects/Gibbed.Dunia.FileFormats/GeometryResourceFile.cs", "provenance": "train-00000-of-00045.jsonl.gz:71783" }
starcoder
<reponame>MasterScott/Gibbed.Dunia /* Copyright (c) 2019 Rick (rick 'at' gibbed 'dot' us) * * This software is provided 'as-is', without any express or implied * warranty. In no event will the authors be held liable for any damages * arising from the use of this software. * * Permission is granted to anyon...
2.318768
138560353466dd6e0f26f7fafceb4619
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
71783
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "krolco/MatterControl", "max_stars_repo_path": "PartPreviewWindow/View3D/DragDropLoadProgress.cs", "provenance": "train-00000-of-00045.jsonl.gz:71784" }
starcoder
/* Copyright (c) 2017, <NAME>, <NAME> All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the follow...
1.732248
d35a1f548c220d84e4a14082df1bf925
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
71784
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "Visual9999/SpeedFnLoader", "max_stars_repo_path": "SpeedFNLoader/DampLoader/Drivers.cs", "provenance": "train-00000-of-00045.jsonl.gz:71785" }
starcoder
<reponame>Visual9999/SpeedFnLoader using System; using System.Diagnostics; using System.Net; namespace DampLoader { // Token: 0x02000008 RID: 8 internal class Drivers { // Token: 0x0600000F RID: 15 RVA: 0x00002260 File Offset: 0x00000460 public static void LoadDrivers() { WebClient webClient =...
2.066195
82db2fa26d98f8a314f0d9e21167681a
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
71785
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "AI4E/Utils", "max_stars_repo_path": "src/AI4E.Utils.ApplicationParts/Properties/Assembly.cs", "provenance": "train-00000-of-00045.jsonl.gz:71786" }
starcoder
<filename>src/AI4E.Utils.ApplicationParts/Properties/Assembly.cs using System.Runtime.CompilerServices; [assembly: InternalsVisibleTo("AI4E.Utils.ApplicationParts.Test")]
1.029171
f751fc8de1d95808b05d9474e554419e
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
71786
{ "extension": "c-sharp", "max_stars_count": "6.0", "max_stars_repo_name": "uk-gov-mirror/SkillsFundingAgency.das-assessor-service", "max_stars_repo_path": "src/SFA.DAS.AssessorService.Application/Infrastructure/OuterApi/GetStandardsListResponse.cs", "provenance": "train-00000-of-00045.jsonl.gz:71787" }
starcoder
using System; using System.Collections.Generic; using Newtonsoft.Json; namespace SFA.DAS.AssessorService.Application.Infrastructure.OuterApi { public class GetStandardsListResponse { [JsonProperty("courses")] public IEnumerable<GetStandardsListItem> Standards { get; set; } } public cla...
1.861475
ba29c15fc5ddf9d51cec6ff6f83ddc80
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
71787
{ "extension": "c-sharp", "max_stars_count": "2542.0", "max_stars_repo_name": "gridgentoo/ServiceFabricAzure", "max_stars_repo_path": "src/prod/src/managed/Api/Dlls/Microsoft.ServiceFabric.DeploymentManager/Constants.cs", "provenance": "train-00000-of-00045.jsonl.gz:71788" }
starcoder
<gh_stars>1000+ // ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ namespace Micr...
1.141476
599e107d7a78e5e90691a0295d1a080e
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
71788
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "charpercyr/react-native-windows", "max_stars_repo_path": "ReactWindows/ReactNative/Touch/TouchHandler.cs", "provenance": "train-00000-of-00045.jsonl.gz:71789" }
starcoder
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using Newtonsoft.Json; using Newtonsoft.Json.Linq; using ReactNative.UIManager; using ReactNative.UIManager.Events; using System; using System.Collections.Generic; using System.Linq; using Windows.Foundation; using Windows....
1.949411
ef73222e7fca9d1117db1e78db82c493
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
71789
{ "extension": "c-sharp", "max_stars_count": "15.0", "max_stars_repo_name": "jchristn/Less3", "max_stars_repo_path": "Less3/Api/Admin/DeleteHandler.cs", "provenance": "train-00000-of-00045.jsonl.gz:71790" }
starcoder
<gh_stars>10-100 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; using S3ServerLibrary; using SyslogLogging; using Less3.Classes; namespace Less3.Api.Admin { /// <summary> /// Admin API DELETE handler. /// </summ...
2.20965
33e6a596a6e17cd3513e8ae10a39828b
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
71790
{ "extension": "c-sharp", "max_stars_count": "5.0", "max_stars_repo_name": "colinjacobsorckestra/BetterRetail", "max_stars_repo_path": "src/Orckestra.Composer/Parameters/CreateProductPriceViewModelParam.cs", "provenance": "train-00000-of-00045.jsonl.gz:71791" }
starcoder
using System.Collections.Generic; using System.Globalization; using Orckestra.Composer.ViewModels; using Orckestra.Overture.ServiceModel.Products; namespace Orckestra.Composer.Parameters { public class CreateProductPriceViewModelParam { public CultureInfo CultureInfo { get; set; } public IList<...
1.867258
11281fd632e7b6d3a303b97d8109e389
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
71791
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "NikolayMakhonin/css-to-xpath", "max_stars_repo_path": "_trash/css-to-xpath.cs", "provenance": "train-00000-of-00045.jsonl.gz:71792" }
starcoder
<reponame>NikolayMakhonin/css-to-xpath //CSS: http://www.stijit.com/html-css/30-css-selektorov-selectors //XPath: https://msdn.microsoft.com/ru-ru/library/ms256122(v=vs.120).aspx //convert: https://en.wikibooks.org/wiki/XPath/CSS_Equivalents //convert: https://hakre.wordpress.com/2012/03/18/css-selector-to-xpath-conver...
2.76916
28049f96ffcd597ee357a56abca4ce25
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
71792
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "agrc/PLSS", "max_stars_repo_path": "PLSS/Models/ViewModel/GridViewModel.cs", "provenance": "train-00000-of-00045.jsonl.gz:71793" }
starcoder
using PLSS.Extensions; namespace PLSS.Models.ViewModel { public class GridViewModel { private double _northing; private double _easting; private double _elevation; public string Zone { get; set; } public double Northing { get { return HandleUnit(_n...
2.814227
45aa8f22cfa5555baba2cec37e55d661
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
71793
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "m-carrasco/net-ssa", "max_stars_repo_path": "net-ssa-lib/instructions/PhiInstruction.cs", "provenance": "train-00000-of-00045.jsonl.gz:71794" }
starcoder
<reponame>m-carrasco/net-ssa<filename>net-ssa-lib/instructions/PhiInstruction.cs using System.Collections.Generic; using System.Text; namespace NetSsa.Instructions { public class PhiInstruction : TacInstruction { public List<TacInstruction> Incoming = new List<TacInstruction>(); public overri...
2.463264
bd17b98ba42e646fa7a60a285809c523
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
71794
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "BruceForstall/roslyn", "max_stars_repo_path": "src/Features/Core/Portable/NavigateTo/IRemoteNavigateToSearchService.cs", "provenance": "train-00000-of-00045.jsonl.gz:71795" }
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; using System.Collections.Immutable; using System.Composition; using System.Threading; using System.Th...
1.833601
75311233b697cd57fb9fa39c9e3b0ba2
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
71795
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "atanas-georgiev/TelerikAcademy", "max_stars_repo_path": "12.Data-Structures-and-Algorithms/Homeworks/08. Combinatorics/Task01_Passwords/Program.cs", "provenance": "train-00000-of-00045.jsonl.gz:71796" }
starcoder
<filename>12.Data-Structures-and-Algorithms/Homeworks/08. Combinatorics/Task01_Passwords/Program.cs namespace Task01_Passwords { using System; using System.Linq; public class Program { private const int K = 2; public static void Main() { var input = Console.ReadLin...
3.20854
8ba48eccae8db1b0f535524f6db7c8d0
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
71796
{ "extension": "c-sharp", "max_stars_count": "16.0", "max_stars_repo_name": "patrickdreyer/BoDi", "max_stars_repo_path": "BoDi/AssemblyAttributes.cs", "provenance": "train-00000-of-00045.jsonl.gz:71797" }
starcoder
<filename>BoDi/AssemblyAttributes.cs<gh_stars>10-100 using System.Security; [assembly:AllowPartiallyTrustedCallers()]
1.482213
8b603bc8a0c0c7c8aa4d0b33562ec974
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
71797
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "YuGordon/Kerberos.NET", "max_stars_repo_path": "Kerberos.NET/Server/SocketListener.cs", "provenance": "train-00000-of-00045.jsonl.gz:71798" }
starcoder
<filename>Kerberos.NET/Server/SocketListener.cs // ----------------------------------------------------------------------- // Licensed to The .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // ---------------------------------------------------------...
2.431338
fe548271f531a7107695b44a1f47a749
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
71798
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "jdm7dv/Zenity", "max_stars_repo_path": "Product/Zentity.Core/DataModelling/Rdfs/XsdDataType.cs", "provenance": "train-00000-of-00045.jsonl.gz:71799" }
starcoder
// ******************************************************* // // Copyright (C) Microsoft. All rights reserved. // // ******************************************************* using System; using Ze...
2.795366
9997ba4ae90e159f4e6d529dcb5b8212
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
71799
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "sytabaresa/IMO-Maritime-Single-Window", "max_stars_repo_path": "IMOMaritimeSingleWindow/Server/Controllers/CountryController.cs", "provenance": "train-00000-of-00045.jsonl.gz:71800" }
starcoder
using IMOMaritimeSingleWindow.Data; using IMOMaritimeSingleWindow.Models; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; using System.Linq; namespace IMOMaritimeSingleWindow.Controllers { [Route("api/[controller]")] public class CountryController : Controller { readonly open_s...
2.545916
a9665ef944b8c5458b60d45367023746
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
71800
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "The12thAstronaut/VRHUD", "max_stars_repo_path": "VRHUD_Handtracking_Copy/Assets/Scripts/EyeTracking_triggerPlane.cs", "provenance": "train-00000-of-00045.jsonl.gz:71801" }
starcoder
using System.Collections; using System.Collections.Generic; using UnityEngine; using Tobii.XR; using Tobii.G2OM; using Microsoft.MixedReality.Toolkit.UI; public class EyeTracking_triggerPlane : MonoBehaviour, IGazeFocusable { public GameObject menu; public GameObject Trigger_R; public GameObject Trigger_L...
2.17327
94cfd4ba06dadb4377f3bf1e677f0f18
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
71801
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "juvemar/LesGamblers", "max_stars_repo_path": "Crawler/TeamsDataSeeder.cs", "provenance": "train-00000-of-00045.jsonl.gz:71802" }
starcoder
namespace Crawler { using System.Collections.Generic; using System.Linq; using LesGamblers.Data; using LesGamblers.Data.Repositories; using LesGamblers.Models; using LesGamblers.Services; using LesGamblers.Services.Contracts; public abstract class TeamsDataSeeder { protect...
2.977756
06628747dfdc4f6a4bfd0dd117924798
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
71802
{ "extension": "c-sharp", "max_stars_count": "174.0", "max_stars_repo_name": "jasoncouture/dd-trace-dotnet", "max_stars_repo_path": "tracer/src/Datadog.Trace/ClrProfiler/AutoInstrumentation/AspNet/AspNetMvcIntegration.cs", "provenance": "train-00000-of-00045.jsonl.gz:71803" }
starcoder
// <copyright file="AspNetMvcIntegration.cs" company="Datadog"> // Unless explicitly stated otherwise all files in this repository are licensed under the Apache 2 License. // This product includes software developed at Datadog (https://www.datadoghq.com/). Copyright 2017 Datadog, Inc. // </copyright> #if NETFRAMEWORK ...
1.80998
e26296b1fb95135b5fcbd722ffbce6e7
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
71803
{ "extension": "c-sharp", "max_stars_count": "69.0", "max_stars_repo_name": "JunGroupProductions/mopub-unity-sdk", "max_stars_repo_path": "unity-sample-app/Assets/MoPub/Scripts/Internal/MoPubAndroid.cs", "provenance": "train-00000-of-00045.jsonl.gz:71804" }
starcoder
using System.Diagnostics.CodeAnalysis; using UnityEngine; /// <summary> /// Bridge between the MoPub Unity Instance-wide API and Android implementation. /// </summary> /// <para> /// Publishers integrating with MoPub should make all calls through the <see cref="MoPub"/> class, and handle any /// desired MoPub Events f...
1.991508
60253adffeff1a66351dd132c9443600
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
71804
{ "extension": "c-sharp", "max_stars_count": "8016.0", "max_stars_repo_name": "helloausrine/MahApps.Metro", "max_stars_repo_path": "src/Mahapps.Metro.Tests/Tests/CleanWindowTest.cs", "provenance": "train-00000-of-00045.jsonl.gz:71805" }
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.Threading.Tasks; using System.Windows.Media; using ControlzEx.Theming; using MahApps.Metro.Tests.TestH...
1.716537
c24644fb5b29fc69a9e89de33d3f2330
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
71805
{ "extension": "c-sharp", "max_stars_count": "3.0", "max_stars_repo_name": "VirtoCommerce/mobile-agent-xamarin", "max_stars_repo_path": "VirtoCommerce.Mobile/VirtoCommerce.Mobile/VirtoCommerce.Mobile/Enums/SyncStatus.cs", "provenance": "train-00000-of-00045.jsonl.gz:71806" }
starcoder
namespace VirtoCommerce.Mobile.Enums { public enum SyncStatus { Ok, Error, NotConnected } }
1.351264
0b4975c793cdc54f40852d3280729333
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
71806
{ "extension": "c-sharp", "max_stars_count": "70.0", "max_stars_repo_name": "sceelix/Sceelix", "max_stars_repo_path": "Source/Sceelix.Surfaces/Materials/BlendColorSurfaceMaterial.cs", "provenance": "train-00000-of-00045.jsonl.gz:71807" }
starcoder
<gh_stars>10-100 namespace Sceelix.Surfaces.Materials { public class BlendColorSurfaceMaterial : SurfaceMaterial { } }
1.056775
48b319d3e23a7304fd9fe7aa63096664
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
71807
{ "extension": "c-sharp", "max_stars_count": "99.0", "max_stars_repo_name": "NetOfficeFw/NetOffice-LegacyRepository", "max_stars_repo_path": "Toolbox/Toolbox/ToolboxControls/ControlContainer.Designer.cs", "provenance": "train-00000-of-00045.jsonl.gz:71808" }
starcoder
namespace NetOffice.DeveloperToolbox.ToolboxControls { partial class ControlContainer { /// <summary> /// Erforderliche Designervariable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Verwendete Ressourc...
1.862371
2c1a661c7f6999769e9efd60b278a56b
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
71808
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "Kevin163/Payment", "max_stars_repo_path": "src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayEcoCplifeRoominfoQueryModel.cs", "provenance": "train-00000-of-00045.jsonl.gz:71809" }
starcoder
<reponame>Kevin163/Payment<filename>src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayEcoCplifeRoominfoQueryModel.cs using System; using System.Xml.Serialization; using Newtonsoft.Json; namespace Essensoft.AspNetCore.Payment.Alipay.Domain { /// <summary> /// AlipayEcoCplifeRoominfoQueryModel Data Structure....
1.758129
dfe1a8def41bf59531087b5cf5f4612f
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
71809
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "pwasiewicz/neusim", "max_stars_repo_path": "NeuSim/Program.cs", "provenance": "train-00000-of-00045.jsonl.gz:71810" }
starcoder
<reponame>pwasiewicz/neusim<gh_stars>1-10 namespace NeuSim { using Arguments; using CommandLine; using Commands; using Context; using Exceptions; using MiniAutFac; using MiniAutFac.Interfaces; using NeuSim.Compressing; using Services.Implementations; using System; using Syst...
2.288501
8b2236d92a3a9d3f8916782ed74ba8e1
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
71810
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "rlong/dotnet.lib.Nntp", "max_stars_repo_path": "lib.Nntp/GroupIterator.cs", "provenance": "train-00000-of-00045.jsonl.gz:71811" }
starcoder
using System; using System.Collections; namespace lib.Nntp { public class GroupIterator : IEnumerable, IEnumerator { LineIterator _lineIterator; public GroupIterator(LineIterator lineIterator) { _lineIterator = lineIterator; } public Group Current { get; private set; } #region IEnumerable publ...
3.039272
fe905848f5effd9e55c05d2a71eea602
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
71811
{ "extension": "c-sharp", "max_stars_count": "6.0", "max_stars_repo_name": "NoDogsInc/Cube", "max_stars_repo_path": "Runtime/Replication/IReplicaManager.cs", "provenance": "train-00000-of-00045.jsonl.gz:71812" }
starcoder
using UnityEngine; namespace Cube.Replication { public interface IReplicaManager { /// <summary> /// Remove the Replica instantly from the manager, without sending any packets. /// </summary> /// <param name="replica">The Replica to remove</param> /// <remarks>Won't do anyt...
2.133892
7ca3f187e4f9aca6d1852180d232819b
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
71812
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "hersveit/tunnelier-udp", "max_stars_repo_path": "src/Services/Logger/Logger.cs", "provenance": "train-00000-of-00045.jsonl.gz:71813" }
starcoder
using System; using System.Collections.Generic; using System.IO; using Tunnelier.Shared.Threader; namespace Tunnelier.Services.Logger { public class Logger { private readonly string path; private readonly ELogDestination logDestination; private readonly Threader logThreader; private readonly Queue<...
2.910519
c040bf18f80d0c87851fead728fd4966
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
71813
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "revaturelabs/housing-provider", "max_stars_repo_path": "HousingProvider.Business/HousingProvider.Business.Library/Interfaces/ILibraryModel.cs", "provenance": "train-00000-of-00045.jsonl.gz:71814" }
starcoder
<filename>HousingProvider.Business/HousingProvider.Business.Library/Interfaces/ILibraryModel.cs using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace HousingProvider.Business.Library.Interfaces { public interface ILibraryModel { } }
1.400096
8349bce15e326f61e59312eaf1dc4907
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
71814
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "shah-gaurav/console-application-framework", "max_stars_repo_path": "ConsoleApplicationFramework.Sample/SampleCommand.cs", "provenance": "train-00000-of-00045.jsonl.gz:71815" }
starcoder
using System; using ConsoleApplicationFramework.Library.Annotations; using ConsoleApplicationFramework.Library.Interfaces; namespace ConsoleApplicationFramework.Sample { public class SampleCommand : ICommand { public string Name => "sayhi"; public string HelpText => "Says hello to the person!...
3.105758
3dd5e2d17bf856675b254532ca4a3c7a
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
71815
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "skyhoshi/ConfigManager-Keepass", "max_stars_repo_path": "src/KeePassLib/Customized/IOWebRequestEventArgs.cs", "provenance": "train-00000-of-00045.jsonl.gz:71816" }
starcoder
<filename>src/KeePassLib/Customized/IOWebRequestEventArgs.cs<gh_stars>0 using System; using System.Net; using KeePassLib.Serialization; namespace KeePassLib { public sealed class IOWebRequestEventArgs : EventArgs { private readonly WebRequest m_wr; public WebRequest Request { get { return m_wr...
2.225174
01495c8b30ea8e4a21dd9f1094d63759
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
71816
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "twaddell/UmbracoPersonalisationGroups", "max_stars_repo_path": "Zone.UmbracoPersonalisationGroups/Criteria/PagesViewed/CookiePagesViewedProvider.cs", "provenance": "train-00000-of-00045.jsonl.gz:71817" }
starcoder
<filename>Zone.UmbracoPersonalisationGroups/Criteria/PagesViewed/CookiePagesViewedProvider.cs namespace Zone.UmbracoPersonalisationGroups.Criteria.PagesViewed { using System.Collections.Generic; using System.Linq; using System.Web; using Umbraco.Core.Configuration; using Zone.UmbracoPersonalisation...
2.300833
c71e697b0e1c4d3fd8dccf2dfec0ef27
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
71817
{ "extension": "c-sharp", "max_stars_count": "12.0", "max_stars_repo_name": "Morphous/Morphous.Api", "max_stars_repo_path": "Filters/NotifyFilterAttribute.cs", "provenance": "train-00000-of-00045.jsonl.gz:71818" }
starcoder
<gh_stars>10-100 using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Net.Http.Formatting; using System.Text; using System.Threading; using System.Threading.Tasks; using System.Web.Http.Controllers; using System.Web.Http.Filters; using Orchard...
2.242794
521dabf449bbeaa335cb3ff5ca97b84d
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
71818
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "qbituniverse/kube-explorer", "max_stars_repo_path": "webapp/Views/Login/Index.cshtml", "provenance": "train-00000-of-00045.jsonl.gz:71819" }
starcoder
@using qu.kubeexplorer.webapp.Models @model UserLogin @inject Configuration Configuration @{ Layout = null; } <!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Login - @Configuration.Application.Name</title> <link r...
1.780315
52d5d7bcad219e8fafd80f198b6a7593
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
71819
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "jakegough/jaytwo.TimeZones", "max_stars_repo_path": "CodeGen/GeoNames/GeoNamesCountry.cs", "provenance": "train-00000-of-00045.jsonl.gz:71820" }
starcoder
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace jaytwo.TimeZones.CodeGen.GeoNames { public class GeoNamesCountry { public string ISO { get; set; } public string ISO3 { get; set; } public string ISO_Numeric { get; set; } public str...
1.802707
e8e944cc2eed796238b747a5524407b4
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
71820
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "vovantigo/pip-services-data-dotnet", "max_stars_repo_path": "src/PipServices.Data/Interfaces/IFilteredReader.cs", "provenance": "train-00000-of-00045.jsonl.gz:71821" }
starcoder
<gh_stars>0 using System.Collections.Generic; using PipServices.Commons.Data; namespace PipServices.Data.Interfaces { public interface IFilteredReader<out T> where T : class { IEnumerable<T> GetListByFilter(string correlationId, FilterParams filter, PagingParams paging, SortParams sort); ...
1.500241
ebc694299710b982328fb0b68f8c4656
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
71821
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "glennawatson/MelbourneBlazorXamarinMeetup", "max_stars_repo_path": "MelbourneBlazorXamarin.Core/ViewModels/PresenterDetailViewModel.cs", "provenance": "train-00000-of-00045.jsonl.gz:71822" }
starcoder
<reponame>glennawatson/MelbourneBlazorXamarinMeetup<filename>MelbourneBlazorXamarin.Core/ViewModels/PresenterDetailViewModel.cs<gh_stars>0 using System; using System.Threading.Tasks; using MelbourneBlazorXamarin.Core.Models; using MelbourneBlazorXamarin.Core.Services; using Microsoft.Extensions.DependencyInjection; n...
2.465797
4ee825f3eb4c1d0cb4141af26b198c8c
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
71822
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "MWFK/University_Library_Management", "max_stars_repo_path": "BibData/Configurations/EmpruntConfiguration.cs", "provenance": "train-00000-of-00045.jsonl.gz:71823" }
starcoder
<gh_stars>1-10 using BibDomain.Entities; using System; using System.Collections.Generic; using System.Data.Entity.ModelConfiguration; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BibData.Configurations { public class EmpruntConfiguration:EntityTypeConfiguration<Emprunt> { ...
2.07955
db4c1a416f11145c0014fc2b2d8d62ab
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
71823
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "xiaobin83/fraxy_m", "max_stars_repo_path": "fraxy_m/Assets/Plugins/Unity3D.Lua/_ScriptAux/Networking/Server.cs", "provenance": "train-00000-of-00045.jsonl.gz:71824" }
starcoder
<gh_stars>0 using System; using System.Collections.Generic; using UnityEngine; public class Server : utils.Debugable { class Session { public int id; List<byte[]> receivedPackets = new List<byte[]>(); // worker thread public void HandleRecv(byte[] data) { var received = new byte[data.Length]; // OPT:...
1.820726
b4d418ed28f8f975d8adfa9bab732ebb
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
71824
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "Robertk92/UnityUtils", "max_stars_repo_path": "UnityUtils/Assets/GameFramework/Source/Core/SceneGameModePair.cs", "provenance": "train-00000-of-00045.jsonl.gz:71825" }
starcoder
 namespace GameFramework { [System.Serializable] public class SceneGameModePair { public SceneReference Scene; public GameModeBase GameModePrefab; } }
1.520236
658a8cdab39a980f3b26ac200fdd15d8
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
71825
{ "extension": "c-sharp", "max_stars_count": "31.0", "max_stars_repo_name": "jeffmaley/PerpetuumServer", "max_stars_repo_path": "src/Perpetuum/Timers/TimeKeeper.cs", "provenance": "train-00000-of-00045.jsonl.gz:71826" }
starcoder
using System; namespace Perpetuum.Timers { /// <summary> /// TimeTracker that uses internal timestamp to measure time passage. /// Update is no-op, and properties all compute time differences on-call. /// </summary> public class TimeKeeper : TimeTracker { private DateTime _start; ...
3.324471
05ff5a9e0ef73bbf172436f136adcd82
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
71826
{ "extension": "c-sharp", "max_stars_count": "3.0", "max_stars_repo_name": "isabella232/spring-net-social-facebook", "max_stars_repo_path": "src/Spring.Social.Facebook/Social/Facebook/Api/Video.cs", "provenance": "train-00000-of-00045.jsonl.gz:71827" }
starcoder
#region License /* * Copyright 2011-2012 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 ...
2.225372
a9bb2fe9b58545ea8220fab2e103196a
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
71827
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "wangfei1988/TicTacToe", "max_stars_repo_path": "Assets/IntelliMediaCore/Source/Unity/Common/AspectUtility.cs", "provenance": "train-00000-of-00045.jsonl.gz:71828" }
starcoder
//--------------------------------------------------------------------------------------- // Copyright 2014 North Carolina State University // // Center for Educational Informatics // http://www.cei.ncsu.edu/ // // Redistribution and use in source and binary forms, with or without modification, // are permitted provide...
1.928801
1cde051813568b881c5a17e4b5e3d4b0
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
71828
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "EvilMindz/cake", "max_stars_repo_path": "src/Cake.Common.Tests/Unit/Tools/NUnit/NUnit3SettingsTests.cs", "provenance": "train-00000-of-00045.jsonl.gz:71829" }
starcoder
<filename>src/Cake.Common.Tests/Unit/Tools/NUnit/NUnit3SettingsTests.cs<gh_stars>1-10 using Cake.Common.Tools.NUnit; using Xunit; namespace Cake.Common.Tests.Unit.Tools.NUnit { public sealed class NUnit3SettingsTests { public sealed class TheConstructor { [Fact] public ...
2.34929
7343e178dec8e55b81af69723169a680
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
71829
{ "extension": "c-sharp", "max_stars_count": "324.0", "max_stars_repo_name": "mortend/fuse-studio", "max_stars_repo_path": "Source/Fuse/Command/Commands/DaemonCommand.cs", "provenance": "train-00000-of-00045.jsonl.gz:71830" }
starcoder
using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; using System.Net.Sockets; using System.Threading; using Mono.Options; namespace Outracks.Fuse { using IO; using Diagnostics; using Analytics; using Daemon; using Protocol; public class DaemonArgs { public ...
2.040237
fa9bdc493096baa1e8434ba6eafae580
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
71830
{ "extension": "c-sharp", "max_stars_count": "4.0", "max_stars_repo_name": "SolidSoft-Lda/AMFCore", "max_stars_repo_path": "SolidSoft.AMFCore/AMF3/ClassDefinition.cs", "provenance": "train-00000-of-00045.jsonl.gz:71831" }
starcoder
using System.Reflection; namespace SolidSoft.AMFCore.AMF3 { /// <summary> /// This type supports the AMFCore infrastructure and is not intended to be used directly from your code. /// </summary> public sealed class ClassDefinition { private string _className; private ClassMembe...
2.994077
01b24f22a92febf6b8002b8724288083
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
71831
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "QutEcoacoustics/metadata-extractor", "max_stars_repo_path": "src/MetadataUtility/Fixes/IFixOperation.cs", "provenance": "train-00000-of-00045.jsonl.gz:71832" }
starcoder
// <copyright file="IFixOperation.cs" company="QutEcoacoustics"> // All code in this file and all associated files are the copyright and property of the QUT Ecoacoustics Research Group. // </copyright> namespace MetadataUtility.Fixes { using System.Threading.Tasks; using MetadataUtility.Utilities; public ...
1.771734
38654cbc510207e09c410f643554c0b9
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
71832
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "theslyone/frapid", "max_stars_repo_path": "src/Libraries/Frapid.Configuration/Events/Interfaces/IEventManager.cs", "provenance": "train-00000-of-00045.jsonl.gz:71833" }
starcoder
using System; using System.Reflection; using System.Threading.Tasks; namespace Frapid.Configuration.Events.Interfaces { public interface IEventManager { void Publish<T>(T eventMessage) where T : class; void Subscribe<T>(Assembly assembly, Func<T, Task> action) where T : class; } publi...
2.616422
39b33d243032c1253cb0ae93975ef548