added
stringclasses
11 values
created
stringclasses
11 values
id
stringlengths
4
8
metadata
dict
source
stringclasses
1 value
text
stringlengths
9
1.04M
code-score
float64
-0.5
4.71
md5
stringlengths
32
32
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94161
{ "extension": "c-sharp", "max_stars_count": "5.0", "max_stars_repo_name": "mind0n/hive", "max_stars_repo_path": "Cache/Samples/MefShadow/src/HotSwap.Contracts/ISimpleTask.cs", "provenance": "train-00000-of-00045.jsonl.gz:94162" }
starcoder
namespace HotSwap.Contracts { /// <summary> /// Really dumb sample task contract /// </summary> public interface ISimpleTask : IHotSwap { /// <summary> /// Greet someone, with stateful greeting /// </summary> string Greeting(string who); /// <summary> ...
2.817022
b286d13e065f857187af8eb1f17a5c18
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94162
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "nicolascancela/HexactaLabs-NetCore_React-Level2", "max_stars_repo_path": "Stock.AppService/Services/ProductService.cs", "provenance": "train-00000-of-00045.jsonl.gz:94163" }
starcoder
using System; using System.Collections.Generic; using System.Linq.Expressions; using Microsoft.Extensions.Options; using Stock.AppService.Base; using Stock.Model.Entities; using Stock.Repository.LiteDb.Interface; namespace Stock.AppService.Services { public class ProductService : BaseService<Product> { ...
2.759258
4a4da7dc699b7b35875d096f243be320
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94163
{ "extension": "c-sharp", "max_stars_count": "4.0", "max_stars_repo_name": "devizer/KernelManagementLab", "max_stars_repo_path": "Universe.FioStream.Binaries/FioFeatures.cs", "provenance": "train-00000-of-00045.jsonl.gz:94164" }
starcoder
<gh_stars>1-10 using System; using System.IO; namespace Universe.FioStream.Binaries { public class FioFeatures { public string Executable { get; } public IPicoLogger Logger { get; set; } public FioFeatures(string executable) { Executable = executable; } ...
2.403745
64c9cac36853d4c7bc5e2e3c57fc1f29
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94164
{ "extension": "c-sharp", "max_stars_count": "3.0", "max_stars_repo_name": "patrickCode/CQRS.Mediatr.Lite", "max_stars_repo_path": "src/tests/UnitTests/Exceptions/HandlerNotFoundExceptionTests.cs", "provenance": "train-00000-of-00045.jsonl.gz:94165" }
starcoder
<filename>src/tests/UnitTests/Exceptions/HandlerNotFoundExceptionTests.cs using CQRS.Mediatr.Lite.Exceptions; using CQRS.Mediatr.Lite.Tests.Mocks; using System.Diagnostics.CodeAnalysis; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace CQRS.Mediatr.Lite.Tests.UnitTests.Exceptions { [ExcludeFromCodeCov...
2.246563
83c2de08d4854d23ceecaaee9765a55e
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94165
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "WanKerr/Sonic4Episode1", "max_stars_repo_path": "Sonic4Episode1/AppMain/Types/GMS_PLY_PARAMETER.cs", "provenance": "train-00000-of-00045.jsonl.gz:94166" }
starcoder
<reponame>WanKerr/Sonic4Episode1 using System; using System.Collections; using System.Collections.Generic; using System.Globalization; using System.IO; using System.IO.IsolatedStorage; using System.Linq; using System.Reflection; using System.Runtime.InteropServices; using System.Text; using System.Threading; using acce...
1.614088
a53f2b069ef366da0671eca4984876d9
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94166
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "ThaddKara/DynamoDbWrap", "max_stars_repo_path": "TwitchBoostCredentialsDDB/ServicesActive/DeleteActive.cs", "provenance": "train-00000-of-00045.jsonl.gz:94167" }
starcoder
<filename>TwitchBoostCredentialsDDB/ServicesActive/DeleteActive.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Amazon.DynamoDBv2.DocumentModel; using Amazon.DynamoDBv2; namespace TwitchBoostCredentialsDDB.ServicesActive { public class D...
2.635717
380f9e92577377f09d2b45de01869b87
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94167
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "FalconNL93/fwutil", "max_stars_repo_path": "FwUtil.Cli/Helpers/CliParserHelper.cs", "provenance": "train-00000-of-00045.jsonl.gz:94168" }
starcoder
using CommandLine; namespace FwUtil.Cli.Helpers; public static class CliParserHelper { private static readonly Dictionary<Type, string> TranslationList = new() { {typeof(NoVerbSelectedError), "Missing parameter"} }; public static int HandleCliErrors(IEnumerable<Error> errors) { C...
2.546797
41958f51ea44d3af80fdc6e8f86a7d86
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94168
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "PeanutButterJelly-Time/E_Commerce", "max_stars_repo_path": "Web/Models/HomeViewModel.cs", "provenance": "train-00000-of-00045.jsonl.gz:94169" }
starcoder
<reponame>PeanutButterJelly-Time/E_Commerce<gh_stars>0 using System; namespace Web.Models { public class HomeViewModel { public string UserId { get; set; } } }
1.041759
1814173965c3d97f75e04cbcc3a9b683
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94169
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "villdimova/CSharpOOP", "max_stars_repo_path": "UnitTestingExercise/FightingArena.Tests/WarriorTests.cs", "provenance": "train-00000-of-00045.jsonl.gz:94170" }
starcoder
<filename>UnitTestingExercise/FightingArena.Tests/WarriorTests.cs<gh_stars>0 using NUnit.Framework; using FightingArena; using System; namespace Tests { public class WarriorTests { [SetUp] public void Setup() { } [Test] [TestCase("Spartac",10,100)]...
3.220401
d5875d1dd72b162cd6dd19388888625b
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94170
{ "extension": "c-sharp", "max_stars_count": "4.0", "max_stars_repo_name": "chrisjowen/nLess", "max_stars_repo_path": "lib/PEG_GrammarExplorer/PEG_GrammarExplorer/PegSamples/CSharp3/input/WarningPragma.cs", "provenance": "train-00000-of-00045.jsonl.gz:94171" }
starcoder
using System; class Program { [Obsolete] static void Foo() {} static void Main() { #pragma warning disable 612 Foo(); #pragma warning restore 612 } }
2.193895
a85ae7e824ace2fe00329ba4fdef70d1
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94171
{ "extension": "c-sharp", "max_stars_count": "6.0", "max_stars_repo_name": "icfpcontest2020/galaxy", "max_stars_repo_path": "src/CosmicMachine/Module.cs", "provenance": "train-00000-of-00045.jsonl.gz:94172" }
starcoder
using System.Collections.Generic; using System.Linq; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.Syntax; namespace CosmicMachine { public class Module { public readonly bool HeadersOnly; public readonly List<(string, MethodDeclaration...
2.78893
d1377f76f695fbfa9676996fe40fe12d
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94172
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "jcqnly/data-structures-and-algorithms", "max_stars_repo_path": "Challenges/MergeSinglyLinkedListFromEnd/MergeSinglyLinkedListFromEnd/Classes/SinglyLinkedList.cs", "provenance": "train-00000-of-00045.jsonl.gz:94173" }
starcoder
using System; using System.Collections.Generic; using System.Text; namespace MergeSinglyLinkedListFromEnd.Classes { public class SinglyLinkedList { public Node Head { get; set; } public Node Current { get; set; } public SinglyLinkedList(Node node) { Head = node; Current = node; } public void Add...
3.07646
1763b3bb3f437437ccda0428b2e9912d
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94173
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "JuanCCS/ConsoleRPG-Renderer", "max_stars_repo_path": "DrawGood/Program.cs", "provenance": "train-00000-of-00045.jsonl.gz:94174" }
starcoder
<filename>DrawGood/Program.cs /* * CONSOLE RENDERING ENGINE * * * CREATED BY: * * <NAME> * <NAME> * <NAME> * <NAME> * * VFS * */ using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DrawGood { ///...
3.252801
fa763974ccfc2c34fe308f58a1b77c16
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94174
{ "extension": "c-sharp", "max_stars_count": "9.0", "max_stars_repo_name": "VisualAcademy/DotNet", "max_stars_repo_path": "DotNet/DotNet/46_Attribute/09_ReflectionGetProperty/ReflectionGetProperty.cs", "provenance": "train-00000-of-00045.jsonl.gz:94175" }
starcoder
<filename>DotNet/DotNet/46_Attribute/09_ReflectionGetProperty/ReflectionGetProperty.cs using System; using System.Reflection; namespace ReflectionGetProperty { class Person { [Obsolete] public string Name { get; set; } } class ReflectionGetProperty { static void Main() { ...
3.546401
16206765d425520ff1aaa260da622bf2
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94175
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "amccool/core-SignalR", "max_stars_repo_path": "src/Microsoft.AspNetCore.Sockets.Http/Internal/Transports/ServerSentEventsTransport.cs", "provenance": "train-00000-of-00045.jsonl.gz:94176" }
starcoder
<gh_stars>0 // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.IO; using System.Threading; using System.Threading.Tasks; using System.Threading.Tasks.Channels; using Microsoft...
2.014288
4823037f79002e08ce72fa49d4601e58
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94176
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "nathanchere/ManualScrobbler", "max_stars_repo_path": "ManualScrobble/frmMain.Designer.cs", "provenance": "train-00000-of-00045.jsonl.gz:94177" }
starcoder
<gh_stars>0 namespace ManualScrobble { partial class frmMain { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
1.887752
033292d3eff20b0ae61ecfaec93214a5
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94177
{ "extension": "c-sharp", "max_stars_count": "17.0", "max_stars_repo_name": "poseidonjm/WinBiometricDotNet", "max_stars_repo_path": "sources/WinBiometricDotNet/AsyncResultParameter.cs", "provenance": "train-00000-of-00045.jsonl.gz:94178" }
starcoder
namespace WinBiometricDotNet { /// <summary> /// Provides a results of an asynchronous operation. This is an abstract class. /// </summary> public abstract class AsyncResultParameter { } }
1.916855
7fc82bcfbe16cf16c839f95c3beca90b
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94178
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "lapakio/minfraud-api-dotnet", "max_stars_repo_path": "MaxMind.MinFraud/Response/Email.cs", "provenance": "train-00000-of-00045.jsonl.gz:94179" }
starcoder
<filename>MaxMind.MinFraud/Response/Email.cs<gh_stars>0 using MaxMind.MinFraud.Util; using Newtonsoft.Json; using System; namespace MaxMind.MinFraud.Response { /// <summary> /// This object contains information about the email address passed in the request. /// </summary> public sealed class Email ...
2.719819
08bf076f8e57087371b3367a0921dcbb
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94179
{ "extension": "c-sharp", "max_stars_count": "3359.0", "max_stars_repo_name": "phundio/SpaceEngineers", "max_stars_repo_path": "Sources/VRage.Game/ObjectBuilders/AI/Bot/MyObjectBuilder_Bot.cs", "provenance": "train-00000-of-00045.jsonl.gz:94180" }
starcoder
<filename>Sources/VRage.Game/ObjectBuilders/AI/Bot/MyObjectBuilder_Bot.cs using ProtoBuf; using VRage.ObjectBuilders; namespace VRage.Game { [ProtoContract] [MyObjectBuilderDefinition] public class MyObjectBuilder_Bot : MyObjectBuilder_Base { [ProtoMember] public SerializableDefinition...
1.705798
43cfa3557de8b96c59e26057a1ee3411
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94180
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "zhuoran-yang/wzglxt", "max_stars_repo_path": "Goods/DataEntity/Entities/UserInfo.cs", "provenance": "train-00000-of-00045.jsonl.gz:94181" }
starcoder
using System; using System.Collections.Generic; #nullable disable namespace DataEntity.Entities { public partial class UserInfo { public int Id { get; set; } public string UserId { get; set; } public string UserName { get; set; } public string PhoneNum { get; set; } pu...
1.820242
abafc7ea49311aa45e254e8752086787
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94181
{ "extension": "c-sharp", "max_stars_count": "77.0", "max_stars_repo_name": "hartviglarsen/OurUmbraco", "max_stars_repo_path": "OurUmbraco/Community/Nuget/NugetSearchResponse.cs", "provenance": "train-00000-of-00045.jsonl.gz:94182" }
starcoder
namespace OurUmbraco.Community.Nuget { using System.Collections.Generic; using Newtonsoft.Json; public class NugetSearchResponse { [JsonProperty("data", NullValueHandling = NullValueHandling.Ignore)] public List<NugetSearchResult> Results { get; set; } } }
1.672823
dadfd67ccac8d901bb496c1001a01339
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94182
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "alanprot/elasticsearch-net", "max_stars_repo_path": "src/Tests/Nest.Tests.Unit/Core/Map/TypeField/TypeFieldTests.cs", "provenance": "train-00000-of-00045.jsonl.gz:94183" }
starcoder
using System; using System.Linq; using NUnit.Framework; using Nest.Tests.MockData.Domain; using System.Reflection; namespace Nest.Tests.Unit.Core.Map.TypeField { [TestFixture] public class TypeFieldTests : BaseJsonTests { [Test] public void TypeFieldSerializesYes() { var result = this._client.Map<Elastics...
1.869489
b8a4ccb70c21aa5e3dab61594596b3ae
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94183
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "JoeEager/VideoGameDBServices", "max_stars_repo_path": "VideoGameDBServices/Repositories/DeveloperRepository.cs", "provenance": "train-00000-of-00045.jsonl.gz:94184" }
starcoder
<reponame>JoeEager/VideoGameDBServices using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using VideoGameDBServices.Interfaces; using VideoGameDBServices.Models; namespace VideoGameDBServices.Repositories { public class DeveloperRe...
2.568879
d9fdd3f159037c34064f606ec694f31b
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94184
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "pirocorp/Databases-Advanced---Entity-Framework", "max_stars_repo_path": "15. DESIGN PATTERNS/01. Creational Patterns/05. Singleton/SingletonDemo.cs", "provenance": "train-00000-of-00045.jsonl.gz:94185" }
starcoder
<reponame>pirocorp/Databases-Advanced---Entity-Framework<gh_stars>0 namespace _05._Singleton { using System; /// <summary> /// SingletonDemo startup class for /// Singleton Design Pattern Demo. /// </summary> public static class SingletonDemo { public static void Main() { ...
2.980627
61a55205cfff164ce3a6e4e11035afcf
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94185
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "michael2xiang/EShop.FrontEnd", "max_stars_repo_path": "EShop.FrontEnd.Services/ViewModels/ProductView.cs", "provenance": "train-00000-of-00045.jsonl.gz:94186" }
starcoder
<filename>EShop.FrontEnd.Services/ViewModels/ProductView.cs<gh_stars>0 using System.Collections.Generic; namespace EShop.FrontEnd.Services.ViewModels { public class ProductView { public int Id { get; set; } public string BrandName { get; set; } public string Name { get; set; } ...
1.984093
d9b1f4ad7f9d16ca0d2ad694c50c969b
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94186
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "OctopusDeploy/Process", "max_stars_repo_path": "source/Tests/Plumbing/WindowsTestAttribute.cs", "provenance": "train-00000-of-00045.jsonl.gz:94187" }
starcoder
<reponame>OctopusDeploy/Process<filename>source/Tests/Plumbing/WindowsTestAttribute.cs using System; using NUnit.Framework; using NUnit.Framework.Interfaces; using NUnit.Framework.Internal; using Octopus.Shellfish.Plumbing; namespace Tests.Plumbing { [AttributeUsage(AttributeTargets.Class | AttributeTargets.Method...
2.131456
047b86b3ab36ffba5a8ab665c4aed08b
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94187
{ "extension": "c-sharp", "max_stars_count": "18.0", "max_stars_repo_name": "Nucs/Regen", "max_stars_repo_path": "src/Regen.Core/Parser/Tokens/ExpressionLexer.cs", "provenance": "train-00000-of-00045.jsonl.gz:94188" }
starcoder
<reponame>Nucs/Regen using System; using System.Collections.Generic; using System.ComponentModel; using System.Diagnostics; using System.Linq; using System.Text; using System.Text.RegularExpressions; using Regen.Exceptions; using Regen.Helpers; using Regen.Helpers.Collections; namespace Regen.Parser { public clas...
2.381558
730ea53727fa5ec1cc8580ac4c4ba22b
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94188
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "Rtwo-Dtwo/PCx.NET", "max_stars_repo_path": "Source/tests/PCx.IO.Compression.Tests/DeflateParallelStreamTest.cs", "provenance": "train-00000-of-00045.jsonl.gz:94189" }
starcoder
<reponame>Rtwo-Dtwo/PCx.NET<filename>Source/tests/PCx.IO.Compression.Tests/DeflateParallelStreamTest.cs // Copyright (c) 2017 <NAME> <<EMAIL>> // // This file is part of PCx.NET <https://github.com/Rtwo-Dtwo/PCx.NET>. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this softwar...
2.339127
bfd2020949de11d64a7cecbc1d9cd490
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94189
{ "extension": "c-sharp", "max_stars_count": "59.0", "max_stars_repo_name": "prodypanda/mail-check", "max_stars_repo_path": "src/dotnet/Dmarc/src/Dmarc.AggregateReport.Parser.Lambda/Dao/Entities/EntityAlignment.cs", "provenance": "train-00000-of-00045.jsonl.gz:94190" }
starcoder
namespace Dmarc.AggregateReport.Parser.Lambda.Dao.Entities { internal enum EntityAlignment { r, s, } }
1.179873
56bf62f9286024e12f24fa31ec74c641
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94190
{ "extension": "c-sharp", "max_stars_count": "3.0", "max_stars_repo_name": "alexgithubber/XLE-Another-Fork", "max_stars_repo_path": "Foreign/SonyLE/LevelEditorXLE/NewItem.cs", "provenance": "train-00000-of-00045.jsonl.gz:94191" }
starcoder
using System; using System.Collections.Generic; using Sce.Atf.Adaptation; namespace LevelEditor.NewItemPages { interface NewItemPage { System.Windows.Forms.Control Control { get; } void Execute(IAdaptable parent); bool CanOperateOn(IAdaptable parent); } }
1.430256
74074491346d42cfcc2f4f969b2eaa95
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94191
{ "extension": "c-sharp", "max_stars_count": "6.0", "max_stars_repo_name": "AUTOMATIC1111/StartupImpact", "max_stars_repo_path": "Source/UiTable.cs", "provenance": "train-00000-of-00045.jsonl.gz:94192" }
starcoder
<reponame>AUTOMATIC1111/StartupImpact using System; using System.Collections.Generic; using System.Linq; using System.Text; using UnityEngine; using Verse; namespace StartupImpact { class UiTable { Window window; float rowCount; float rowHeight; float[] columnWidthsTemplate; ...
2.452498
1dd85b1a9ef1ab7a42554b02d1ad9af8
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94192
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "jciDoval/WebToEpubKindle", "max_stars_repo_path": "src/WebToEpubKindle.Core/Domain/EpubComponents/Image.cs", "provenance": "train-00000-of-00045.jsonl.gz:94193" }
starcoder
using System; using System.Collections.Generic; using System.IO; using System.Threading.Tasks; using WebToEpubKindle.Core.Properties; using WebToEpubKindle.Core.Validation; namespace WebToEpubKindle.Core.Domain.EpubComponents { public class Image : IEquatable<Image> { private readonly byte[] _bytes; ...
2.649786
205327de6628a7be021c1bac06a4371c
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94193
{ "extension": "c-sharp", "max_stars_count": "9.0", "max_stars_repo_name": "ikemtz/NRSRX", "max_stars_repo_path": "src/Events/IkeMtz.NRSRx.Events.Abstraction/MessageCoder.cs", "provenance": "train-00000-of-00045.jsonl.gz:94194" }
starcoder
<filename>src/Events/IkeMtz.NRSRx.Events.Abstraction/MessageCoder.cs using System.Text; using IkeMtz.NRSRx.Core; using Newtonsoft.Json; namespace IkeMtz.NRSRx.Events.Abstraction { public static class MessageCoder { public static byte[] JsonEncode<TEntity>(TEntity entity) { var json = JsonConvert.Seri...
2.434719
54a85ac9786b9c7f0bcfa179da8af551
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94194
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "htna/HCsbLib", "max_stars_repo_path": "HCsbLib/HCsbLib/HTLib2.Bioinfo/Pdb/Pdb.Element/Title Section/PDB.Revdat.cs", "provenance": "train-00000-of-00045.jsonl.gz:94195" }
starcoder
<reponame>htna/HCsbLib<filename>HCsbLib/HCsbLib/HTLib2.Bioinfo/Pdb/Pdb.Element/Title Section/PDB.Revdat.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Runtime.Serialization; namespace HTLib2.Bioinfo { public partial class Pdb { [Serializable] ...
2.504874
7708229c789efd01974fc44f6e152071
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94195
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "djinnet/testrepo", "max_stars_repo_path": "PicartoWrapperAPI/Clients/PicartoReadOnlyClient.cs", "provenance": "train-00000-of-00045.jsonl.gz:94196" }
starcoder
using RestSharp; using PicartoWrapperAPI.Enums; using PicartoWrapperAPI.Helpers; using PicartoWrapperAPI.Models; using System.Threading.Tasks; using System.Net.Http; using Newtonsoft.Json; using System.Collections.Generic; using System; namespace PicartoWrapperAPI.Clients { public class PicartoReadOnlyClient : IP...
2.366385
e03ba3f44fbef8ca2c7436ac505767e2
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94196
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "6A/blur", "max_stars_repo_path": "tests/Blur.Tests/TestContracts.cs", "provenance": "train-00000-of-00045.jsonl.gz:94197" }
starcoder
<gh_stars>1-10 using System; using System.Diagnostics.CodeAnalysis; using Blur.Tests.Library; using Shouldly; using Xunit; namespace Blur.Tests { [SuppressMessage("ReSharper", "UnusedMethodReturnValue.Local")] public static class TestContracts { private static int GetStringLength([NotNu...
2.352048
2b3830bcea77d1b772231b4f22a31cfd
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94197
{ "extension": "c-sharp", "max_stars_count": "143.0", "max_stars_repo_name": "shark926/Unity-Raymarching-Framework", "max_stars_repo_path": "Assets/UnityRayMarchingFramework/Scripts/ThirdPersonUserControl.cs", "provenance": "train-00000-of-00045.jsonl.gz:94198" }
starcoder
<reponame>shark926/Unity-Raymarching-Framework using System; using UnityEngine; public class ThirdPersonUserControl : MonoBehaviour { public float moveSpd = 5; public float turnSpeed = 180; public float lerpSpd = 2f; public Camera cam; public Vector3 relSrcPos = new Vector3(0,7,-7); public Vect...
2.279615
19dde8cb33e6d3572442eb94c3804642
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94198
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "ZikkeyLS/FastSLQL", "max_stars_repo_path": "Format/ParameterParse.cs", "provenance": "train-00000-of-00045.jsonl.gz:94199" }
starcoder
<reponame>ZikkeyLS/FastSLQL<gh_stars>0  namespace FastSLQL.Format { public static class ParameterParse { public static bool IsElement(string value) => value.Contains(" | ") || value.Contains("\""); public static string[] ParseElement(string element) => element.Split(" | "); public stati...
2.774671
be4327f3578b7f5fd127c5a936ec7052
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94199
{ "extension": "c-sharp", "max_stars_count": "18.0", "max_stars_repo_name": "ikopylov/performance-counters", "max_stars_repo_path": "src/Qoollo.PerformanceCounters/Generic/Categories/Category.cs", "provenance": "train-00000-of-00045.jsonl.gz:94200" }
starcoder
<filename>src/Qoollo.PerformanceCounters/Generic/Categories/Category.cs using System; namespace Qoollo.PerformanceCounters { /// <summary> /// Категория счётчиков /// </summary> public abstract class Category: IDisposable { /// <summary> /// Конструктор Category ...
3.159484
e3d1a87fbadaff8a94fab5b312a8591f
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94200
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "toswedlu/azure-cosmos-dotnet-v3", "max_stars_repo_path": "Microsoft.Azure.Cosmos.Samples/Tools/Benchmark/IBenchmarkOperatrion.cs", "provenance": "train-00000-of-00045.jsonl.gz:94201" }
starcoder
//------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //------------------------------------------------------------ namespace CosmosBenchmark { using System.Threading.Tasks; internal interface IBenchmarkOperatrion { Task Prep...
1.496063
d37874d86227939c7e43663c74249f8d
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94201
{ "extension": "c-sharp", "max_stars_count": "7.0", "max_stars_repo_name": "BrandonClapp/babble", "max_stars_repo_path": "Client/ViewModels/ViewModelBase.cs", "provenance": "train-00000-of-00045.jsonl.gz:94202" }
starcoder
<gh_stars>1-10 using System.ComponentModel; namespace Client.ViewModels { // base viewmodel for supporting property notification // so that when you change the property value on the back end, // auto magically update the UI as well abstract class ViewModelBase : INotifyPropertyChanged { p...
2.598624
8672bca89dc83f1ac01c9df16f8ffce2
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94202
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "Thoris/BolaoNet", "max_stars_repo_path": "BolaoNet.Tests.Exploratory/Watin/Tests/AuthenticationBaseTests.cs", "provenance": "train-00000-of-00045.jsonl.gz:94203" }
starcoder
using System; using System.Collections.Generic; using System.Configuration; using System.Linq; using System.Text; using System.Threading.Tasks; using WatiN.Core; namespace BolaoNet.Tests.Exploratory.Watin.Tests { public abstract class AuthenticationPage : BaseTests { #region Properties protect...
1.985369
1c9f75ea619457dd6fb6c7377fa50711
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94203
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "0xCM/z0", "max_stars_repo_path": "src/cpu.dsl/Part.cs", "provenance": "train-00000-of-00045.jsonl.gz:94204" }
starcoder
<gh_stars>0 //----------------------------------------------------------------------------- // Copyright : (c) <NAME>, 2020 // License : MIT //----------------------------------------------------------------------------- [assembly: PartId(PartId.CpuDsl)] namespace Z0.Parts { public sealed class CpuDsl : P...
0.996074
441827ec57f12d56f3275cd0de3d2e95
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94204
{ "extension": "c-sharp", "max_stars_count": "252.0", "max_stars_repo_name": "rsdn/CodeJam", "max_stars_repo_path": "PerfTests[WIP]/src/[L0_PortToBenchmerkDotNet]/Loggers/IFlushableLogger.cs", "provenance": "train-00000-of-00045.jsonl.gz:94205" }
starcoder
using System; // ReSharper disable once CheckNamespace namespace BenchmarkDotNet.Loggers { /// <summary>Extension of <see cref="ILogger"/> interface that adds flush method.</summary> public interface IFlushableLogger : ILogger { /// <summary>Flushes the log.</summary> void Flush(); } }
2.317059
0b7a421b7abe0d5457cd51aaf8b5c7ea
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94205
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "johnduhart/MineAPI", "max_stars_repo_path": "MineAPI.Protocol/IO/MinecraftStreamWriter.cs", "provenance": "train-00000-of-00045.jsonl.gz:94206" }
starcoder
<filename>MineAPI.Protocol/IO/MinecraftStreamWriter.cs<gh_stars>1-10 using System; using System.IO; using System.Text; namespace MineAPI.Protocol.IO { public class MinecraftStreamWriter : IMinecraftStreamWriter { private readonly Stream _baseStream; public MinecraftStreamWriter(Stream baseStr...
3.175516
f4d2dc8c589584c41c625f52735ef682
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94206
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "Sphere10/Framework", "max_stars_repo_path": "src/Sphere10.Framework.Windows.Forms/Controls/Crud/CrudGrid.Designer.cs", "provenance": "train-00000-of-00045.jsonl.gz:94207" }
starcoder
<reponame>Sphere10/Framework //----------------------------------------------------------------------- // <copyright file="CrudGrid.Designer.cs" company="Sphere 10 Software"> // // Copyright (c) Sphere 10 Software. All rights reserved. (http://www.sphere10.com) // // Distributed under the MIT software license, see the ...
1.813004
1e2f5c39be18b890dd10ac25d9a2b856
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94207
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "Bogevang-spejderhytte/website", "max_stars_repo_path": "Bogevang.StatusMail.Web/PageBlockTypes/Dashboard/DashboardDataModel.cs", "provenance": "train-00000-of-00045.jsonl.gz:94208" }
starcoder
<reponame>Bogevang-spejderhytte/website<gh_stars>0 using Cofoundry.Domain; namespace Bogevang.StatusMail.Web.PageBlockTypes.Dashboard { // This page block specifies inputs for the admin section. There is none - just show the dashboard. public class DashboardDataModel : IPageBlockTypeDataModel, IPageBlockType...
1.345945
8e0ab072772cb5c7038fddf5b35ef84d
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94208
{ "extension": "c-sharp", "max_stars_count": "1558.0", "max_stars_repo_name": "N500/WindowsTemplateStudio", "max_stars_repo_path": "code/tools/Vsts2git/BuildContent.cs", "provenance": "train-00000-of-00045.jsonl.gz:94209" }
starcoder
<reponame>N500/WindowsTemplateStudio<filename>code/tools/Vsts2git/BuildContent.cs<gh_stars>1000+ using Microsoft.Azure.WebJobs; using System; using System.Collections.Generic; using System.Configuration; using System.IO; using System.Linq; using System.Net; using System.Net.Http; using System.Net.Http.Headers;...
2.365134
bdbafefd2e8828397d75a087d0469485
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94209
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "henriktao/pulumi-azure", "max_stars_repo_path": "sdk/dotnet/Iot/Inputs/IotHubDpsLinkedHubGetArgs.cs", "provenance": "train-00000-of-00045.jsonl.gz:94210" }
starcoder
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; names...
1.710007
3b63c8a83814d488dbcff1af11d24ae3
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94210
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "DamirAinullin/Kerberos.NET", "max_stars_repo_path": "Kerberos.NET/Entities/Pac/PrivilegedAttributeCertificate.cs", "provenance": "train-00000-of-00045.jsonl.gz:94211" }
starcoder
<filename>Kerberos.NET/Entities/Pac/PrivilegedAttributeCertificate.cs using Kerberos.NET.Crypto; using Kerberos.NET.Entities.Pac; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.InteropServices; namespace Kerberos.NET.Entities { public enum PacType { ...
2.032406
38b468d683fa903393d44ab396ac1af1
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94211
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "wenhulove333/ScutServer", "max_stars_repo_path": "Sample/Koudai/Server/src/ZyGames.Tianjiexing.Model/DataModel/UserAlbum.cs", "provenance": "train-00000-of-00045.jsonl.gz:94212" }
starcoder
<filename>Sample/Koudai/Server/src/ZyGames.Tianjiexing.Model/DataModel/UserAlbum.cs /**************************************************************************** Copyright (c) 2013-2015 scutgame.com http://www.scutgame.com Permission is hereby granted, free of charge, to any person obtaining a copy of this sof...
1.929079
9310d7d838b69cef5b3d4486494d1aaa
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94212
{ "extension": "c-sharp", "max_stars_count": "66.0", "max_stars_repo_name": "georgend/autorest.powershell", "max_stars_repo_path": "powershell/resources/runtime/csharp/json/Conversions/JsonConverterAttribute.cs", "provenance": "train-00000-of-00045.jsonl.gz:94213" }
starcoder
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
2.035941
f2042c2faae8a90cfdad8ee3850e8419
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94213
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "do-loop/bond-hunter", "max_stars_repo_path": "source/BondHunter/BondHunter/Core/Helpers/ExceptionHelper.cs", "provenance": "train-00000-of-00045.jsonl.gz:94214" }
starcoder
namespace BondHunter.Core.Helpers { using System; using System.Threading.Tasks; using Exceptions; internal static class ExceptionHelper { public static async Task<T> WrapException<T>(Func<Task<T>> function) { try { return await function(); ...
2.460181
f14a14390e79588a30c4b4c9f8f61983
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94214
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "carlostpereira/Softplan-Test", "max_stars_repo_path": "App.Domain/Entities/CalculoJuro.cs", "provenance": "train-00000-of-00045.jsonl.gz:94215" }
starcoder
using System; namespace App.Domain.Entities { public class CalculaJuro { public CalculaJuro() { } public CalculaJuro(double valorJurosComposto) { this.ValorJurosComposto = valorJurosComposto; } public double ValorJurosComposto { get; privat...
2.197363
4aaf50f348faf174992c73ec0ce6c78d
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94215
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "jusbuc2k/dotnet_mod_auth_pubtkt", "max_stars_repo_path": "src/Justin.AspNetCore.ModAuthPubTkt/ModAuthPubTktMiddleware.cs", "provenance": "train-00000-of-00045.jsonl.gz:94216" }
starcoder
<reponame>jusbuc2k/dotnet_mod_auth_pubtkt using System.Collections.Generic; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; using System.Security.Claims; using System.Linq; using System; using Microsoft.AspNetCore.Authentication; na...
1.872576
559f24baf6ce221a38e0ba6266c6daf7
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94216
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "SinsofSloth/RF5-global-metadata", "max_stars_repo_path": "UnityEngine/AvatarMask.cs", "provenance": "train-00000-of-00045.jsonl.gz:94217" }
starcoder
<gh_stars>1-10 [NativeHeaderAttribute] // RVA: 0xE8F20 Offset: 0xE9021 VA: 0xE8F20 [MovedFromAttribute] // RVA: 0xE8F20 Offset: 0xE9021 VA: 0xE8F20 [NativeHeaderAttribute] // RVA: 0xE8F20 Offset: 0xE9021 VA: 0xE8F20 [UsedByNativeCodeAttribute] // RVA: 0xE8F20 Offset: 0xE9021 VA: 0xE8F20 public sealed class AvatarMask :...
1.464798
bcaf1525b9d644391565a15024553f9f
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94217
{ "extension": "c-sharp", "max_stars_count": "61.0", "max_stars_repo_name": "personal-games/MobileGameDevelopment", "max_stars_repo_path": "2D-Game/Assets/Scripts/GameManager.cs", "provenance": "train-00000-of-00045.jsonl.gz:94218" }
starcoder
using UnityEngine; using System.Collections; // BEGIN 2d_gamemanager // Manages the game state. public class GameManager : Singleton<GameManager> { // The location where the gnome should appear. public GameObject startingPoint; // The rope object, which lowers and raises the gnome. public Rope rope; // The fa...
2.530295
ff3643677aa60121aaee13bdc706fef6
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94218
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "AegisSpatial/aegis-origin", "max_stars_repo_path": "AEGIS.Operations.Spectral/Spectral/SpectralOperationMethods.Filtering.cs", "provenance": "train-00000-of-00045.jsonl.gz:94219" }
starcoder
/// <copyright file="SpectralOperationMethods.Filtering.cs" company="Eötvös Loránd University (ELTE)"> /// Copyright (c) 2011-2019 <NAME>. Licensed under the /// Educational Community License, Version 2.0 (the "License"); you may /// not use this file except in compliance with the License. You may /// ...
2.492529
651657dafee37cf2cf104da2f898edf4
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94219
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "sizingservers/sizingservers.util", "max_stars_repo_path": "SizingServers.Util.WinForms/KeyValuePairControl.designer.cs", "provenance": "train-00000-of-00045.jsonl.gz:94220" }
starcoder
namespace SizingServers.Util.WinForms { partial class KeyValuePairControl { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. ...
1.941341
e91037c8ab691c8aca9f4d73711a5022
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94220
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "baomen/bmmf", "max_stars_repo_path": "Assembly/BaoMen.Common/Data/Helper/DatabaseEntityFilterHelper.cs", "provenance": "train-00000-of-00045.jsonl.gz:94221" }
starcoder
<gh_stars>0 using BaoMen.Common.Data.Attribute; using System; using System.Collections.Generic; using System.Linq; using System.Reflection; namespace BaoMen.Common.Data.Helper { /// <summary> /// 数据库实例过滤器帮助类 /// </summary> public class DatabaseEntityFilterHelper { /// <summary> ///...
2.446771
a4d8915639b9f7ef7661ad7293fa52b1
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94221
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "indieza/Kiip-Pazardzhik", "max_stars_repo_path": "KiipPazardzhik/KiipPazardzhik/Areas/Administration/ViewModels/Dashboard/ViewModels/DashboardBaseModel.cs", "provenance": "train-00000-of-00045.jsonl.gz:94222" }
starcoder
<reponame>indieza/Kiip-Pazardzhik<gh_stars>0 // <copyright file="DashboardBaseModel.cs" company="<NAME>"> // Copyright (c) <NAME>. All rights reserved. // </copyright> namespace KiipPazardzhik.Areas.Administration.ViewModels.Dashboard.ViewModels { using KiipPazardzhik.Areas.Administration.ViewModels.Dashboard.Inp...
1.248803
530311d7ae68e7f0048426a453d38a09
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94222
{ "extension": "c-sharp", "max_stars_count": "19.0", "max_stars_repo_name": "ViktorHofer/MMI", "max_stars_repo_path": "test/Microsoft.Management.Infrastructure.Tests/Helpers/TestMIProperty.cs", "provenance": "train-00000-of-00045.jsonl.gz:94223" }
starcoder
<filename>test/Microsoft.Management.Infrastructure.Tests/Helpers/TestMIProperty.cs /* **============================================================================== ** ** Copyright (c) Microsoft Corporation. All rights reserved. See file LICENSE ** for license information. ** **=======================================...
2.028627
fb93eeb52ffd5249a2433408adcf4467
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94223
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "seiggy/TrashBash", "max_stars_repo_path": "FarseerPhysics/Dynamics/Joints/JointList.cs", "provenance": "train-00000-of-00045.jsonl.gz:94224" }
starcoder
using System.Collections.Generic; namespace FarseerGames.FarseerPhysics.Dynamics.Joints { /// <summary> /// Provides an implementation of a strongly typed List with Joint /// </summary> public class JointList : List<Joint> { #region Delegates public delegate void ContentsChangedEve...
3.06338
e82bc397772d824494958677b9ed0997
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94224
{ "extension": "c-sharp", "max_stars_count": "5.0", "max_stars_repo_name": "microsoft/DSynth", "max_stars_repo_path": "src/DSynth/Options/DSynthSettings.cs", "provenance": "train-00000-of-00045.jsonl.gz:94225" }
starcoder
<reponame>microsoft/DSynth /*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *------------------------------------...
2.289267
0f942cc48e5034a8ca927eef4d7842c1
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94225
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "MoosheTV/ScriptHookRDR2DotNet", "max_stars_repo_path": "source/scripting_v3/RDR2/Weapons/WeaponCollection.cs", "provenance": "train-00000-of-00045.jsonl.gz:94226" }
starcoder
<reponame>MoosheTV/ScriptHookRDR2DotNet<filename>source/scripting_v3/RDR2/Weapons/WeaponCollection.cs // // Copyright (C) 2015 crosire & contributors // License: https://github.com/crosire/scripthookvdotnet#license // using RDR2.Native; using System.Collections.Generic; namespace RDR2 { public sealed class WeaponCol...
2.359242
ccbd86c793fedf99e7962b5e49696776
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94226
{ "extension": "c-sharp", "max_stars_count": "3.0", "max_stars_repo_name": "brentstineman/ServiceFabricPubSub", "max_stars_repo_path": "src/ServiceFabricPubSub/Admin/Controllers/TopicsController.cs", "provenance": "train-00000-of-00045.jsonl.gz:94227" }
starcoder
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using System.Fabric.Description; using Microsoft.ServiceFabric.Data; using System.Fabric; using System.Fabric.Query; using Admin.Models; namespace Admin.Controllers { [Route("api/[contr...
2.209718
ea1ff64b8817e20f466765e7e3e5201a
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94227
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "DidacticalEnigma/DidacticalEnigma.RestApi", "max_stars_repo_path": "DidacticalEnigma.Next/Models/OpenProjectRequest.cs", "provenance": "train-00000-of-00045.jsonl.gz:94228" }
starcoder
using System; using System.ComponentModel.DataAnnotations; namespace DidacticalEnigma.Next.Models; public class OpenProjectRequest { [Required] public Guid ProjectType { get; set; } }
1.605643
016fdf9f8b856d04c89f5792e32eadd8
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94228
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "fejpet/ReqSpec", "max_stars_repo_path": "tst/reqspec_utest/ReqSpecTests.cs", "provenance": "train-00000-of-00045.jsonl.gz:94229" }
starcoder
<filename>tst/reqspec_utest/ReqSpecTests.cs<gh_stars>0 using reqspec; using System.Linq; using NUnit.Framework; namespace reqspec_utest; public class Tests { [SetUp] public void Setup() { } [Test] public void TestEmptyReqSpec() { var reqspec = new ReqSpec(); Assert.False(...
2.43934
45de408063638ff451583555b5cd550d
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94229
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "servicetitan/Stl", "max_stars_repo_path": "tests/Stl.Tests/Diagnostics/MeterTest.cs", "provenance": "train-00000-of-00045.jsonl.gz:94230" }
starcoder
<filename>tests/Stl.Tests/Diagnostics/MeterTest.cs using Stl.Diagnostics; namespace Stl.Tests.Diagnostics; public class MeterTest : TestBase { public MeterTest(ITestOutputHelper @out) : base(@out) { } [Fact] public void GetMeterTest() { var a = typeof(Result).GetMeter(); Out.WriteLine...
2.205447
349a53b1734e43b308c197f211fe08ca
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94230
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "sphinxlogic/Singularity-RDK-2.0", "max_stars_repo_path": "base/Windows/mkmsil/msil/MetaDataFieldPtr.cs", "provenance": "train-00000-of-00045.jsonl.gz:94231" }
starcoder
<reponame>sphinxlogic/Singularity-RDK-2.0 // // Copyright (c) Microsoft Corporation. All rights reserved. // using System; using System.IO; namespace Bartok.MSIL { public class MetaDataFieldPtr: MetaDataObject { // Constructor Methods internal MetaDataFieldPtr(int fieldIndex) { ...
1.892624
2f2248b4f0493b0761d2019bab34de50
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94231
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "Almaroo/SimpleCinemaManagement", "max_stars_repo_path": "PROJEKT PO/ProjektZaliczeniowyFinale/Program.cs", "provenance": "train-00000-of-00045.jsonl.gz:94232" }
starcoder
<gh_stars>1-10 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ProjektZaliczeniowyFinale { class Program { static void Main(string[] args) { User currentUser = UsersDatabase.LogIn("MB001", "12...
2.56686
f2e2e559ba10b6abeafde4aefb8e1911
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94232
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "automvvm/automvvm", "max_stars_repo_path": "AutoMvvm.Tests/PropertyBindingTests.cs", "provenance": "train-00000-of-00045.jsonl.gz:94233" }
starcoder
// -------------------------------------------------------------------------------- // <copyright file="PropertyBindingTests.cs" company="AutoMvvm Development Team"> // Copyright © 2019 AutoMvvm Development Team // // Permission is hereby granted, free of charge, to any person obtaining a // copy of this software...
2.035396
d2637bfe470beaa53fb20720aa9bcbdb
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94233
{ "extension": "c-sharp", "max_stars_count": "20.0", "max_stars_repo_name": "borschetsky/WebChat", "max_stars_repo_path": "WebChat/WebChat/Controllers/ThreadController.cs", "provenance": "train-00000-of-00045.jsonl.gz:94234" }
starcoder
using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using System; using System.Collections.Generic; using WebChat.Models.ViewModels; using WebChat.Services; using WebChat.Services.Inerfaces; namespace WebChat.Controllers { [Authorize] [Route("api/[controller]")] [ApiController] p...
2.462961
5e961039176f15772e3804d33fbb4a73
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94234
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "qkmaxware/CsUnits", "max_stars_repo_path": "Units/src/Qkmaxware/Units/Conductance/NanoSiemen.cs", "provenance": "train-00000-of-00045.jsonl.gz:94235" }
starcoder
<reponame>qkmaxware/CsUnits namespace Qkmaxware.Units.Conductance { /// <summary> /// Unit of measurement for the NanoSiemen (n\u2127) /// </summary> public struct NanoSiemen : IConductance { public static string Name => "NanoSiemen"; public static string Symbol => "n\u2127"; } }
2.10136
d215c6e2d82c0d7bf535e2b6128ab6e8
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94235
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "mimiem/CSharp-Part1", "max_stars_repo_path": "Primitive Data Types and Variables/NullValuesArithmetic/NullValuesArithmetic.cs", "provenance": "train-00000-of-00045.jsonl.gz:94236" }
starcoder
<filename>Primitive Data Types and Variables/NullValuesArithmetic/NullValuesArithmetic.cs<gh_stars>0 //Create a program that assigns null values to an integer and to a double variable. //Try to print these variables at the console. //Try to add some number or the null literal to these variables and print the result. ...
4.034816
0940cd9257d93ca622a346139a79f5ac
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94236
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "mbkodos/WHGWordAddin", "max_stars_repo_path": "WHGApi.cs", "provenance": "train-00000-of-00045.jsonl.gz:94237" }
starcoder
<filename>WHGApi.cs using RestSharp; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace WHGWordAddin { public class WHGApi { const string BaseUrl = "http://dir-inc.org:8080"; readonly string _accountId; readonly string _secretKey; ...
2.671235
a2a219ea22eb659993f12b3151ce81d7
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94237
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "Kitarsh/botanick", "max_stars_repo_path": "BotANick.Twitch/Program.cs", "provenance": "train-00000-of-00045.jsonl.gz:94238" }
starcoder
using System; using System.IO; using System.Reflection; using Microsoft.Extensions.Configuration; namespace BotANick.Twitch { public static class Program { public static IConfigurationRoot Configuration { get; set; } public static void Main(string[] args) { var builder = n...
2.397356
8dd61efe5206aea580cca52bd0de5ac0
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94238
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "YonchevSimeon/Programming-Fundamentals-CSharp", "max_stars_repo_path": "InExDataTypesAndVariables/02.PracticeFloatingPointNumbers/Program.cs", "provenance": "train-00000-of-00045.jsonl.gz:94239" }
starcoder
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace _02.PracticeFloatingPointNumbers { class Program { static void Main(string[] args) { decimal decimalNumberOne = 3.141592653589793238m; double do...
3.201717
83a0740f6229a63f1722214ead450586
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94239
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "smirnov-coder/startup-creative-agency-razor-pages", "max_stars_repo_path": "src/Web.RazorPages/Areas/Admin/Pages/Services/Edit.cshtml", "provenance": "train-00000-of-00045.jsonl.gz:94240" }
starcoder
@page "{id:int}" @model EditModel @{ ViewData["Title"] = "Edit Service"; ViewData["ActiveLink"] = "/services"; } <section class="page-content"> <h1 class="page-content__header">Edit Service, ID: @Model.Model.Id</h1> <div class="page-content__content"> <partial name="_ServiceItemPartial" for="Mo...
2.11332
81d77c9e4937a5fd2a431f353d70919a
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94240
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "joelverhagen/Knapcode.CommonLibrary.NET", "max_stars_repo_path": "src/Lib/CommonLibrary.NET/_Core/Lang/Parser/TokenIterator.cs", "provenance": "train-00000-of-00045.jsonl.gz:94241" }
starcoder
using System; using System.Collections.Generic; using System.Linq; using System.Text; // <lang:using> using ComLib.Lang.Core; // </lang:using> namespace ComLib.Lang.Parsing { /// <summary> /// Iterates over a series of tokens in a script using a lexer. /// </summary> public class TokenIterator { ...
2.722586
8b22f41f47a8621791ba4f000bad35d5
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94241
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "DanielMulligan/wirly", "max_stars_repo_path": "Wirly.web/Infrastructure/AppUserManager.cs", "provenance": "train-00000-of-00045.jsonl.gz:94242" }
starcoder
using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.EntityFramework; using Microsoft.AspNet.Identity.Owin; using Microsoft.Owin; using System; using System.Collections.Generic; using System.Linq; using System.Web; using Wirly.web.Models; namespace Wirly.web.Infrastructure { public class AppUserManage...
1.918073
aa2a4accc4e0d06ed8fa8555f83ee264
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94242
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "glav/EmailSentimentAnalysisTenant", "max_stars_repo_path": "Tests/EmailSentimentAnalysis.Tests.Unit/MailProcessorTests.cs", "provenance": "train-00000-of-00045.jsonl.gz:94243" }
starcoder
using Core; using Core.Config; using Glav.CognitiveServices.FluentApi.Core; using MailProcessorFunction.Config; using Xunit; namespace EmailSentimentAnalysis.Tests.Unit { public class MailProcessorTests { private CoreDependencyInstances _coreDependencies; public MailProcessorTests() { ...
2.077866
57c77bc341258be3e1fe816cf25ef728
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94243
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "yonofate/vaobong", "max_stars_repo_path": "Templates/TemplateSite.Mvc/Views/Page/Help.cshtml", "provenance": "train-00000-of-00045.jsonl.gz:94244" }
starcoder
<reponame>yonofate/vaobong @model Piranha.Models.PageModel @{ ViewBag.Title = Model.Page.Title; List<Piranha.Entities.Post> postMain = Model.Regions.MainContent; List<Piranha.Entities.Post> post1 = Model.Regions.Content1; List<Piranha.Entities.Post> post2 = Model.Regions.Content2; List<Piranha.Enti...
1.859986
7698a8104e9c9cd992dd4b615a66e795
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94244
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "choppinsm/ChoppinCaja", "max_stars_repo_path": "ChoppInCaja/FormProducto.Designer.cs", "provenance": "train-00000-of-00045.jsonl.gz:94245" }
starcoder
<reponame>choppinsm/ChoppinCaja namespace ChoppInCaja { partial class FormProducto { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. ...
1.834309
58f1207800503245dd9d9dc5ee10acd0
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94245
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "SentyFunBall/valour-vapp", "max_stars_repo_path": "installers/NautilusInstaller/MainWindow.xaml.cs", "provenance": "train-00000-of-00045.jsonl.gz:94246" }
starcoder
using System; using System.Windows; using System.Net; using System.IO; using System.IO.Compression; using IWshRuntimeLibrary; using System.ComponentModel; using System.Diagnostics; using System.Windows.Threading; using System.Threading.Tasks; namespace NautilusInstaller { /// <summary> /// Interaction logic f...
2.496797
743968f8a059723cf698457dcf648c0c
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94246
{ "extension": "c-sharp", "max_stars_count": "40.0", "max_stars_repo_name": "BramAlkema/ContosoScubaBot", "max_stars_repo_path": "Services/ReplyExtensions.cs", "provenance": "train-00000-of-00045.jsonl.gz:94247" }
starcoder
using Microsoft.Bot.Schema; using Newtonsoft.Json; using System.Collections.Generic; using System.Threading.Tasks; namespace ContosoScuba.Bot.Services { public static class ReplyExtensions { public static async Task<IMessageActivity> GetReplyFromCardAsync(this Activity originalActivity, string cardNam...
2.406881
2fccabc51cce2eb347a1c84108cb425a
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94247
{ "extension": "c-sharp", "max_stars_count": "4.0", "max_stars_repo_name": "georgidelchev/CSharp-Programming-Basics-Tasks", "max_stars_repo_path": "[Programming Basics - Exams]/Programming Basics Online 2020 Exams/Programming Basics Online Exam - 28 and 29 March 2020/03 - [FitnessCard]/Program.cs", "provenanc...
starcoder
<reponame>georgidelchev/CSharp-Programming-Basics-Tasks using System; namespace FitnessCard { class Program { static void Main(string[] args) { double money = double.Parse(Console.ReadLine()); char gender = char.Parse(Console.ReadLine()); int age = int.Parse...
3.463634
2eeeaf676f4fa4f675db7502bb649f49
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94248
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "ForeverZer0/SharpNBT", "max_stars_repo_path": "SharpNBT/TagWriter.cs", "provenance": "train-00000-of-00045.jsonl.gz:94249" }
starcoder
using System; using System.IO; using System.Linq; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Text; using System.Threading.Tasks; using JetBrains.Annotations; namespace SharpNBT { /// <summary> /// Provides methods for writing NBT tags to a stream. /// </summar...
3.000553
27efd25a716054b1ad4496d79c4b184c
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94249
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "Ruilomba/Mime-Detective", "max_stars_repo_path": "test/Mime-Detective.Tests/Tests/TypeExtensions.cs", "provenance": "train-00000-of-00045.jsonl.gz:94250" }
starcoder
using System; using System.IO; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using MimeDetective.Extensions; using MimeDetective; using Xunit; namespace MimeDetective.Tests { public class TypeExtensions { const string GoodFile = "./data/Images/test.jpg"; c...
2.734424
134c8d59e3c57166d634f87a0f5665b8
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94250
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "Perlera89/Mirandas-Cinema", "max_stars_repo_path": "Mirandas-Cinema/Mirandas-Cinema/Data/Repository/CinemaRepository.cs", "provenance": "train-00000-of-00045.jsonl.gz:94251" }
starcoder
<filename>Mirandas-Cinema/Mirandas-Cinema/Data/Repository/CinemaRepository.cs using Mirandas_Cinema.Data.Base; using Mirandas_Cinema.Data.Services; using Mirandas_Cinema.Models; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Mirandas_Cinema.Data.Repository {...
1.798656
d1495ecd583100b584e2f49c38538afb
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94251
{ "extension": "c-sharp", "max_stars_count": "91.0", "max_stars_repo_name": "bytemech/AzurePipelinesToGitHubActionsConverter", "max_stars_repo_path": "src/AzurePipelinesToGitHubActionsConverter.Core/AzurePipelines/Environment.cs", "provenance": "train-00000-of-00045.jsonl.gz:94252" }
starcoder
<gh_stars>10-100 using System.Collections.Generic; namespace AzurePipelinesToGitHubActionsConverter.Core.AzurePipelines { //https://docs.microsoft.com/en-us/azure/devops/pipelines/yaml-schema?view=azure-devops&tabs=schema%2Cparameter-schema#environment //environment: # create environment and/or...
2.438672
57695f146da9951ecf63a82f74ee821c
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94252
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "jugstalt/identityserver-legacy", "max_stars_repo_path": "is4/IdentityServer/Areas/Admin/Pages/Clients/EditClient/Index.cshtml", "provenance": "train-00000-of-00045.jsonl.gz:94253" }
starcoder
<filename>is4/IdentityServer/Areas/Admin/Pages/Clients/EditClient/Index.cshtml @page @model IdentityServer.Areas.Admin.Pages.Clients.EditClient.IndexModel @{ ViewData["Title"] = "Client Name and Description"; ViewData["ActivePage"] = EditClientNavPages.Index; } <div class="row"> <partial name="_S...
1.865026
4f563e176de56452525fca74d2bfbb15
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94253
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "contactsamie/HTML-Generator", "max_stars_repo_path": "uig.lib/BootStrapSampleWebAppGeneratorFactory.cs", "provenance": "train-00000-of-00045.jsonl.gz:94254" }
starcoder
<reponame>contactsamie/HTML-Generator using System.Collections.Generic; namespace uig.lib { public class BootStrapSampleWebAppGeneratorFactory : AWebAppGeneratorFactory { public BootStrapSampleWebAppGeneratorFactory(string appName, List<AnNgComponent> components) : base(appName, components)...
1.760853
a96e830998d1407e39fe214c63c898ba
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94254
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "daniel2IT/SurveyCreator", "max_stars_repo_path": "SurveyServiceMVC/SurveyApplication/SurveyApplication/ViewModels/AnalyseListViewModel.cs", "provenance": "train-00000-of-00045.jsonl.gz:94255" }
starcoder
using SurveyApplication.Models; using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace SurveyApplication.ViewModels { public class AnalyseListViewModel { public IEnumerable<Survey> surveys { get; set; } public IEnumerable<CompletedSurvey> completedSurvey...
1.628512
ea95ad42efc28008e6bd667d6bde1802
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94255
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "awesomehaircut/DinoScripts", "max_stars_repo_path": "Cactus.cs", "provenance": "train-00000-of-00045.jsonl.gz:94256" }
starcoder
<reponame>awesomehaircut/DinoScripts using System.Collections; using System.Collections.Generic; using UnityEngine; public class Cactus : MonoBehaviour { public float X = 10f; public Rigidbody CactusRb; public GameObject CactusObject; // Use this for initialization private void Start () { } private void OnCo...
2.017639
3cb0324c4c443b6ca33ddd89dbc16522
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94256
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "DebasmitaGhosh/Ginger", "max_stars_repo_path": "Ginger/Ginger/DragDropLib/DragDrop2.cs", "provenance": "train-00000-of-00045.jsonl.gz:94257" }
starcoder
<reponame>DebasmitaGhosh/Ginger #region License /* Copyright © 2014-2018 European Support Limited Licensed under the Apache License, Version 2.0 (the "License") you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless...
2.060166
6f7e1528cf3e414741b3907c8c2c0f47
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94257
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "GamBux/fa-fitu", "max_stars_repo_path": "FaFitu/FaFitu/Controllers/FoodController.cs", "provenance": "train-00000-of-00045.jsonl.gz:94258" }
starcoder
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace FaFitu.Controllers { public class FoodController : Controller { // // GET: /Food/ public ActionResult Index() { return RedirectToAction("Dishes"); ...
1.699725
fe2c5350bc4ac39f08236377327e9661
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94258
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "berkaroad/cqrs", "max_stars_repo_path": "src/CqrsFramework/EventSourcing/IEventSourcedRepository.cs", "provenance": "train-00000-of-00045.jsonl.gz:94259" }
starcoder
using CqrsFramework.Repositories; namespace CqrsFramework.EventSourcing { public interface IEventSourcedRepository<TEventSourced> : IRepository<TEventSourced> where TEventSourced : IEventSourced { } }
1.334342
addbd09ebdfb8ab7493392c63085a694
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94259
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "Silvenga/Warc.Net", "max_stars_repo_path": "src/Warc.Net/Models/WarcRecordHeader.cs", "provenance": "train-00000-of-00045.jsonl.gz:94260" }
starcoder
<reponame>Silvenga/Warc.Net<filename>src/Warc.Net/Models/WarcRecordHeader.cs using System; using System.Collections.Generic; using System.Linq; namespace Warc.Net.Models { public record WarcRecordHeader { public string Version { get; init; } public IReadOnlyCollection<NamedField> Fields { get...
2.379915
f55ce35ddfd8b63099074a2bf6510b84
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94260
{ "extension": "c-sharp", "max_stars_count": "3.0", "max_stars_repo_name": "nwn-dotnet/NWN.Core.LowLevel", "max_stars_repo_path": "src/main/API/CExoArrayListCNWCCMessageDataPtr.cs", "provenance": "train-00000-of-00045.jsonl.gz:94261" }
starcoder
//------------------------------------------------------------------------------ // <auto-generated /> // // This file was automatically generated by SWIG (http://www.swig.org). // Version 4.0.2 // // Do not make changes to this file unless you know what you are doing--modify // the SWIG interface file instead. //-----...
1.893037
2817b047e8b1ca3575114b2d1fd61962