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
91261
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "OutSystemsCommunity/.NET-DB2-Connectors-for-Linux-and-Windows", "max_stars_repo_path": "Projects/DatabaseAbstractionLayer/ConfigurationService/MetaConfiguration/IParameter.cs", "provenance": "train-00000-of-00045.jsonl.gz:91262" }
starcoder
/* This source code (the "Generated Software") is generated by the OutSystems Platform and is licensed by OutSystems (http://www.outsystems.com) to You solely for testing and evaluation purposes, unless You and OutSystems have executed a specific agreement covering the use terms and conditions of the Generated ...
1.890409
bba05fea83e1a8acb50fc3ea28d402fe
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
91262
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "dunnker/PetHurted", "max_stars_repo_path": "AnimalHurted/Scenes/MainNode.cs", "provenance": "train-00000-of-00045.jsonl.gz:91263" }
starcoder
using System; using System.IO; using Godot; using AnimalHurtedLib; public class MainNode : Node { public FileDialog OpenFileDialog { get { return GetNode<FileDialog>("OpenFileDialog"); } } public ConfirmationDialog ConfirmationDialog { get { return GetNode<ConfirmationDialog>("ConfirmationDialog"); } } pu...
1.921482
3d4e458276cf6b358a8d400171da299f
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
91263
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "makersmelx/eecs494-p3", "max_stars_repo_path": "Assets/Scripts/Level/Checkpoint.cs", "provenance": "train-00000-of-00045.jsonl.gz:91264" }
starcoder
<gh_stars>0 using System.Collections; using System.Collections.Generic; using UnityEngine; public class Checkpoint : MonoBehaviour { private int activatedTrial = -1; private void OnTriggerEnter(Collider other) { if (activatedTrial == LevelManager.Instance.currentTrial) return; ...
1.649591
ce6d7ac7c93344c329f3a11fbc1998f4
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
91264
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "rodion-m/asp_course", "max_stars_repo_path": "src/Lesson5/Data/AppDbContext.cs", "provenance": "train-00000-of-00045.jsonl.gz:91265" }
starcoder
<filename>src/Lesson5/Data/AppDbContext.cs using Microsoft.EntityFrameworkCore; namespace Lesson5.Data; public class AppDbContext : DbContext { public DbSet<Order> Orders => Set<Order>(); public AppDbContext(DbContextOptions<AppDbContext> options) : base(options) { } }
2.012528
cafb087001d733c49d53e119b241d975
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
91265
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "RNDSharp/Recursion", "max_stars_repo_path": "RecursionTasks/Exercise05.cs", "provenance": "train-00000-of-00045.jsonl.gz:91266" }
starcoder
<reponame>RNDSharp/Recursion using System; namespace RecursionTasks { public static class Exercise05 { // Дано целое число N. // Верните true, если число N является точной степенью двойки, или false в противном случае. // Операцией возведения в степень пользоваться нельзя! publi...
2.846791
084ee7b8b93d5aaa3dc0e9bfe53174c0
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
91266
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "fyfdeminWorld/Ao.ObjectDesign", "max_stars_repo_path": "test/Ao.ObjectDesign.Wpf.Test/Conditions/BooleanForViewConditionTest.cs", "provenance": "train-00000-of-00045.jsonl.gz:91267" }
starcoder
using Ao.ObjectDesign.Wpf.Conditions; using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Text; using System.Threading.Tasks; namespace Ao.ObjectDesign.Wpf.Test.Conditions { [TestClass] public ...
2.166255
69296e39b8f31e92d117abe6897f57e5
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
91267
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "shuaiagain/.NetSourceCode", "max_stars_repo_path": "dotnet461TH2/Source/wpf/src/Framework/System/Windows/Documents/WinRTSpellerInterop.cs", "provenance": "train-00000-of-00045.jsonl.gz:91268" }
starcoder
//--------------------------------------------------------------------------- // // File: WinRTSpellerInterop.cs // // Description: Custom COM marshalling code and interfaces for interaction // with the WinRT wordbreaker API and ISpellChecker // spell-checker API // //----------------...
2.094661
70152261c82e1cd3d548cb962a97ec11
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
91268
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "anibalventura/patient-management-system", "max_stars_repo_path": "PatientManagementSystem/Form/LoginForm.cs", "provenance": "train-00000-of-00045.jsonl.gz:91269" }
starcoder
using BusinessLayer.Service; using Database.Model; using System; using System.Configuration; using System.Data.SqlClient; using System.Windows.Forms; namespace PatientManagementSystem { public partial class LoginForm : Form { public static LoginForm Instance { get; } = new LoginForm(); privat...
2.559918
1421816c698943697b4e9b653ab49208
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
91269
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "HiP-App/HiP-FeatureToggles", "max_stars_repo_path": "HiP-FeatureToggle/Migrations/20170405155851_AddDataModel.cs", "provenance": "train-00000-of-00045.jsonl.gz:91270" }
starcoder
using Microsoft.EntityFrameworkCore.Migrations; using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata; namespace PaderbornUniversity.SILab.Hip.FeatureToggle.Migrations { public partial class AddDataModel : Migration { protected override void Up(MigrationBuilder migrationBuilder) { m...
1.847592
023e045fc14e077ce1b2df8c49ff4976
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
91270
{ "extension": "c-sharp", "max_stars_count": "708.0", "max_stars_repo_name": "CyberFlameGO/MineCase", "max_stars_repo_path": "src/MineCase.Server.Grains/Game/Items/DefaultItemHandler.cs", "provenance": "train-00000-of-00045.jsonl.gz:91271" }
starcoder
<reponame>CyberFlameGO/MineCase using System; using System.Collections.Generic; using System.Text; using MineCase.Item; namespace MineCase.Server.Game.Items { public class DefaultItemHandler : ItemHandler { public DefaultItemHandler() : base(new ItemState { Id = 0, MetaValue = 0 }) ...
1.839766
2427df22bbde0a56eb75fe4db1d05bb9
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
91271
{ "extension": "c-sharp", "max_stars_count": "39.0", "max_stars_repo_name": "henrikfroehling/Trakt.NET", "max_stars_repo_path": "Source/Lib/Trakt.NET/Objects/Get/Watched/ITraktWatchedShowSeason.cs", "provenance": "train-00000-of-00045.jsonl.gz:91272" }
starcoder
namespace TraktNet.Objects.Get.Watched { using System.Collections.Generic; /// <summary>Contains information about a watched Trakt season.</summary> public interface ITraktWatchedShowSeason { /// <summary>Gets or sets the number of the watched season.</summary> int? Number { get; set; ...
2.604075
f32eef4b98b279af9926d0c5397e32f5
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
91272
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "Pavel-Sulimau/SolidPrinciplesWorkshop", "max_stars_repo_path": "examples/src/LSP/Example2/ChameleonCar.cs", "provenance": "train-00000-of-00045.jsonl.gz:91273" }
starcoder
namespace SolidPrinciples.LSP.Example2 { // http://www.dailymail.co.uk/sciencetech/article-2451931/Car-colour-heat-sensitive-paint-changes-depending-weather.html public class ChameleonCar : Car { private readonly string _color; public ChameleonCar(string color, bool hasFuel) : b...
3.190562
b9032d8bcee72a104cf8fcf3e6c531d9
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
91273
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "stevenberger/google-ads-dotnet", "max_stars_repo_path": "src/V1/Stubs/AdGroupCriterionSimulation.cs", "provenance": "train-00000-of-00045.jsonl.gz:91274" }
starcoder
<reponame>stevenberger/google-ads-dotnet // <auto-generated> // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/ads/googleads/v1/resources/ad_group_criterion_simulation.proto // </auto-generated> #pragma warning disable 1591, 0612, 3021 #region Designer generated code using pb = glob...
1.375234
048f72d3d7603aa15b9678cb61d24b60
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
91274
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "NorikaDE/PlugInLoader", "max_stars_repo_path": "Source/Norika.PlugInLoader/Matcher/DefaultStrongNamePlugInMatcher.cs", "provenance": "train-00000-of-00045.jsonl.gz:91275" }
starcoder
using System.Text; using Norika.PlugInLoader.Abstractions; namespace Norika.PlugInLoader.Matcher { internal class DefaultStrongNamePlugInMatcher : IPlugInMatcher { private readonly string _publicKey; public DefaultStrongNamePlugInMatcher(string publicKey) { _publicKey = pub...
2.479956
efc1c92c96b075d2f04665aca7de295c
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
91275
{ "extension": "c-sharp", "max_stars_count": "3.0", "max_stars_repo_name": "ConfusionOfSdets/Just.Anarchy", "max_stars_repo_path": "Just.Anarchy.Test.Common/Builders/CustomBuilders/ScheduleBuilder.cs", "provenance": "train-00000-of-00045.jsonl.gz:91276" }
starcoder
<reponame>ConfusionOfSdets/Just.Anarchy using System; using System.Collections.Generic; using System.Text; using Just.Anarchy.Core; using Just.Anarchy.Test.Common.Utilities; using Microsoft.CodeAnalysis.CSharp.Syntax; namespace Just.Anarchy.Test.Common.Builders.CustomBuilders { public class ScheduleBuilder : Sche...
1.675113
72e62b5cb1255d7ee774d9132ce44b8f
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
91276
{ "extension": "c-sharp", "max_stars_count": "10.0", "max_stars_repo_name": "aliyun/darabonba-csharp-generator", "max_stars_repo_path": "test/expected/model/core/Models/MultiLayerModel.cs", "provenance": "train-00000-of-00045.jsonl.gz:91277" }
starcoder
<gh_stars>1-10 // This file is auto-generated, don't edit it. Thanks. using System; using System.Collections.Generic; using System.IO; using Tea; namespace Darabonba.Test.Models { public class MultiLayerModel : TeaModel { [NameInMap("Data")] [Validation(Required=false)] public MultiLayerM...
1.616599
35d126fe1c753518ecb574b447006fbc
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
91277
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "NucleusDE/danmaku-chatting", "max_stars_repo_path": "danmaku-chating/Invoker/Invokers_Rece/StartListener.cs", "provenance": "train-00000-of-00045.jsonl.gz:91278" }
starcoder
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using libNetwork.Sockets; using libMemoryData; namespace Invoker.Invokers_Rece { public static class StartListener { public delegate void CBMessage(byte[] data); private static Thread...
2.337993
9f52f12abc600445aaa0cdc081fa8682
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
91278
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "beziex/Beziex_Op", "max_stars_repo_path": "Beziex_Op/BxService/BxRead/src/BxReadRoot.cs", "provenance": "train-00000-of-00045.jsonl.gz:91279" }
starcoder
<reponame>beziex/Beziex_Op namespace Beziex_Op { public class BxReadRoot { private readonly BxReadDlog fDlog = new BxReadDlog(); private readonly BxReadModel fModel = new BxReadModel(); public void Exec( BxCmUiParam param, out string fileName, out BxCmSeparatePatch_Object patch ) ...
1.618499
e6421a6163c23ae7a0f3e724fb396198
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
91279
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "Netckle/Project", "max_stars_repo_path": "Miniventure/Assets/Scripts/Cutscene/Cutscene02.cs", "provenance": "train-00000-of-00045.jsonl.gz:91280" }
starcoder
<reponame>Netckle/Project using System.Collections; using System.Collections.Generic; using UnityEngine; public class Cutscene02 : MonoBehaviour { public Fade fade; public PlayerMovement player; public MoveMino mino; public DialogueManager dialogueManager; public JsonManager jsonManager; pu...
1.692751
4495062fb6ffe818003463dfb22134b2
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
91280
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "joeyespo-archive/undelete-fat-filesystem", "max_stars_repo_path": "Undelete/BootSector.cs", "provenance": "train-00000-of-00045.jsonl.gz:91281" }
starcoder
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.ComponentModel; using System.Text; namespace Undelete { /// <summary> /// Partition boot sector structure for both FAT12 and FAT16. /// </summary> public sealed class BootSector { ...
2.071005
a4cba48a8226a54b3a4b4be0d2811f72
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
91281
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "Retucex/ArgParser", "max_stars_repo_path": "ArgCommander/Parser.cs", "provenance": "train-00000-of-00045.jsonl.gz:91282" }
starcoder
<filename>ArgCommander/Parser.cs using ArgCommander.Exceptions; using System; using System.Collections.Generic; using System.Linq; using System.Reflection; namespace ArgCommander { public static class Parser { static List<ParsableProperty> parsableProperties = new List<ParsableProperty>(); //...
3.040463
572b3355480f9407fddf58ce31b2a5f7
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
91282
{ "extension": "c-sharp", "max_stars_count": "27.0", "max_stars_repo_name": "Ref12/Codex", "max_stars_repo_path": "src/Codex.Sdk/Utilities/DisposeAction.cs", "provenance": "train-00000-of-00045.jsonl.gz:91283" }
starcoder
using System; using System.Linq; namespace Codex.Utilities { /// <summary> /// Generic class for object that performs some action when disposed. /// </summary> public class DisposeAction : IDisposable { private Action[] _exitActions; /// <summary> /// Creates a...
3.424791
3bb1273a54f53f1f0690d71cfb25040f
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
91283
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "tianweimol/jimu", "max_stars_repo_path": "src/DBOperate/Manphi.DBOperate.EF/BaseDBContext.cs", "provenance": "train-00000-of-00045.jsonl.gz:91284" }
starcoder
using Manphi.DbOperate.EF; using Manphi.DBOperate.Mapping; using Microsoft.EntityFrameworkCore; using Manphi.DBOperate.Model; using System; using System.Collections.Generic; using System.Data; using System.Data.Common; using System.Linq; using System.Reflection; namespace Manphi.DbOperate.EF { public class BaseDb...
2.772051
8713a38343eeceaaaf5ec1977818090c
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
91284
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "AdrienMarcenat/2DGameToolkit", "max_stars_repo_path": "2DGameToolkit/Assets/Scripts/UI/GameOverPanel.cs", "provenance": "train-00000-of-00045.jsonl.gz:91285" }
starcoder
using UnityEngine; public class GameOverPanel : MonoBehaviour { [SerializeField] AudioClip m_GameOverMusic; private void Awake () { gameObject.SetActive (false); this.RegisterAsListener ("Player", typeof (GameOverGameEvent)); } public void OnGameEvent (GameOverGameEvent gameOver)...
2.069266
29651cdff3b1568529bc1d809e7c700b
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
91285
{ "extension": "c-sharp", "max_stars_count": "206.0", "max_stars_repo_name": "matrixknight/Oxygen-Dapr.EshopSample", "max_stars_repo_path": "Public/Base/InfrastructureBase/Data/UnitofWorkManager.cs", "provenance": "train-00000-of-00045.jsonl.gz:91286" }
starcoder
<gh_stars>100-1000 using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Storage; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Infrastructure.EfDataAccess { public class UnitofWorkManager<TContext> : IUnitofWork wh...
2.540668
58dbf280601adebe81da663df0850f43
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
91286
{ "extension": "c-sharp", "max_stars_count": "22.0", "max_stars_repo_name": "ServiceComposer/ServiceComposer.AspNetCore", "max_stars_repo_path": "src/ServiceComposer.AspNetCore/ResponseSerializationOptions.cs", "provenance": "train-00000-of-00045.jsonl.gz:91287" }
starcoder
<filename>src/ServiceComposer.AspNetCore/ResponseSerializationOptions.cs using System; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using Newtonsoft.Json; namespace ServiceComposer.AspNetCore { #if NETCOREAPP3_1 || NET5_0 public class Respons...
2.342313
7af0ae581efe81e00bc3b2388364a9f6
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
91287
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "sbet2014/MySoftwares", "max_stars_repo_path": "RenameFiles/RenameFiles/BlockInfo.cs", "provenance": "train-00000-of-00045.jsonl.gz:91288" }
starcoder
<reponame>sbet2014/MySoftwares<gh_stars>0 using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace RenameIamgeFiles { public class BlockInfo<T> { public BlockInfo() { } //第几块 public ...
2.024343
8a59844fa061cf44aa19037eefc55f0f
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
91288
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "maryphun/Hellfight", "max_stars_repo_path": "Assets/Scripts/AbilityLearnPanel.cs", "provenance": "train-00000-of-00045.jsonl.gz:91289" }
starcoder
<gh_stars>0 using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using DG.Tweening; using TMPro; [System.Serializable] public enum Skill { MoveSpeed, BaseDamage, MaxDamage, Vitality, DashCooldown, DashDamage, Stamina, Stam...
1.43841
8650f5337ead86e263a13cd5d421c465
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
91289
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "pierre3/HandyUtilities.Xsv", "max_stars_repo_path": "HandyUtil.Text/Xsv/XsvData`1.cs", "provenance": "train-00000-of-00045.jsonl.gz:91290" }
starcoder
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; #if net40 || net45 using System.Reactive.Linq; using System.Threading.Tasks; using System.Threading; #endif namespace HandyUtil.Text.Xsv { public class XsvData<T> where T : XsvDataRow, new() { prot...
2.751481
1f3899e4c250f12247b7e08b9ca01853
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
91290
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "NikLG21/EasyBudget", "max_stars_repo_path": "src/EasyBudget/ConsoleMykyta/Program.cs", "provenance": "train-00000-of-00045.jsonl.gz:91291" }
starcoder
<reponame>NikLG21/EasyBudget using System; using System.Collections.Generic; using DataAccess; using DataAccess.Access; using DataAccess.Queries; using EasyBudget.Business.Services; using EasyBudget.Common.Business.Services; using EasyBudget.Common.DataAccess; using EasyBudget.Common.Exceptions; using EasyBudget.Commo...
2.205788
bd1d6ce2cb99e1d21a5eedb3a96003be
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
91291
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "BoomlabsInc/BCSF", "max_stars_repo_path": "Specialization/SoftwareDevelopment/S0/MyHappyLib/Interfaces/IPrestable.cs", "provenance": "train-00000-of-00045.jsonl.gz:91292" }
starcoder
using System; namespace ISP.Interfaces{ public interface IPrestable { public bool Prestado { get; set; } public string IdUsuarioActual { get; set; } public void MarcarComoDevuelto(); public void Prestar(string UserID); } }
1.730881
79c8f268724270856208b0776e55feeb
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
91292
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "Auxione/Seftali-tools", "max_stars_repo_path": "ModularControl/Control/MouseAimLook.cs", "provenance": "train-00000-of-00045.jsonl.gz:91293" }
starcoder
<reponame>Auxione/Seftali-tools using UnityEngine; namespace Seftali.ModularControl.Control { public class MouseAimLook : MonoBehaviour { public float Speed = 180; public bool LockCursor = true; public bool InvertPitch = false; public bool InvertYaw = false; public Vector...
2.195705
ed27a091ce406e3d7920fbc23c1ca565
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
91293
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "ausarb/testcontainers-dotnet", "max_stars_repo_path": "TestContainers/Core/Builders/GenericContainerBuilder.cs", "provenance": "train-00000-of-00045.jsonl.gz:91294" }
starcoder
using TestContainers.Core.Containers; namespace TestContainers.Core.Builders { public class GenericContainerBuilder<TContainer> : ContainerBuilder<TContainer, GenericContainerBuilder<TContainer>> where TContainer : Container ,new() { } }
1.238596
6b87bb7353d704ed7602c9d4882a7afd
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
91294
{ "extension": "c-sharp", "max_stars_count": "10.0", "max_stars_repo_name": "Atvaark/Emurado", "max_stars_repo_path": "HaloOnline.Server.Core.Http/Model/Presence/PartyJoinRequest.cs", "provenance": "train-00000-of-00045.jsonl.gz:91295" }
starcoder
using HaloOnline.Server.Model.Presence; using Newtonsoft.Json; namespace HaloOnline.Server.Core.Http.Model.Presence { public class PartyJoinRequest { [JsonProperty("party")] public PartyId Party { get; set; } [JsonProperty("inviteData")] public string InviteData { get; set; } ...
1.437143
47483a3df119d3dc19fd27eb19777f8f
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
91295
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "AnakinSkyR4zor/PanzerWar", "max_stars_repo_path": "Assets/ExtraPlugins/SceneBuild/Editor/SceneAssetsSerialize.cs", "provenance": "train-00000-of-00045.jsonl.gz:91296" }
starcoder
<gh_stars>1-10 using UnityEngine; using UnityEditor; using System.Collections.Generic; using UnityEditor.SceneManagement; using ShanghaiWindy.Client; namespace ShanghaiWindy { class SceneAssetsSerialize : EditorWindow { [MenuItem("Tools/ShanghaiWindy/Build/SceneAssetsSerialize")] static void Init(...
1.937075
9912e209c8d94ba00ae9093ec4c08701
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
91296
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "TraceabilityInternet/TraceabilityDriver", "max_stars_repo_path": "TEModels/Identifiers/GLN.cs", "provenance": "train-00000-of-00045.jsonl.gz:91297" }
starcoder
using TraceabilityEngine.Util; using TraceabilityEngine.Util.Extensions; using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using System.Text; using System.Threading.Tasks; using MongoDB.Bson.Serialization; using TraceabilityEngine.Interfaces.Models.Identifiers; nam...
2.642296
2eb7b152873517b937862cc3de4c7fa9
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
91297
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "lcintron/product-status-notifier", "max_stars_repo_path": "WebParser/IFTTTManager.cs", "provenance": "train-00000-of-00045.jsonl.gz:91298" }
starcoder
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Newtonsoft.Json; using System.Net; using System.IO; namespace WebParser.WebManagers { public class IFTTTWebhookData { public String value1; public String value2; pu...
2.545349
470750746a5f8305b1f469c3c925161e
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
91298
{ "extension": "c-sharp", "max_stars_count": "3.0", "max_stars_repo_name": "Jishun/SSDTDeployer", "max_stars_repo_path": "project/SSDTDeployer/SsdtServerDeployer.cs", "provenance": "train-00000-of-00045.jsonl.gz:91299" }
starcoder
<reponame>Jishun/SSDTDeployer<filename>project/SSDTDeployer/SsdtServerDeployer.cs using System; using System.Collections.Generic; using System.Data.Common; using System.Data.SqlClient; using System.Diagnostics; using System.IO; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks;...
2.11722
233dcd3aa942e2ef73deffd78297d2bc
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
91299
{ "extension": "c-sharp", "max_stars_count": "115.0", "max_stars_repo_name": "yoyoyonono/Ched", "max_stars_repo_path": "Ched.Drawing/ColorProfile.cs", "provenance": "train-00000-of-00045.jsonl.gz:91300" }
starcoder
<reponame>yoyoyonono/Ched using System; using System.Collections.Generic; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Ched.Drawing { public class GradientColor { public Color DarkColor { get; set; } public Color LightColor { get; set; } ...
2.58305
d48bb0de63e430b9668ed2bdb623b975
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
91300
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "akpobatuka/akpobatuka", "max_stars_repo_path": "Assets/_Script/gyman/als_grab.cs", "provenance": "train-00000-of-00045.jsonl.gz:91301" }
starcoder
<gh_stars>1-10 using UnityEngine; using System.Collections; namespace AssemblyCSharp { public class als_grab : MonoBehaviour { public Vector2 anchor; protected HingeJoint2D _joint = null; protected GameObject _trigger = null; protected als_grab_params _grab_params = null; protected Transform _transf...
1.966531
7e63a76297fa34ca4856ff485a9c6aef
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
91301
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "dimitarkolev00/SoftUni-DB", "max_stars_repo_path": "Entity Framework Core/10.Best Practices And Architecture/Pet Shop - Demo Project/PetStore.Mapping/ProductProfile.cs", "provenance": "train-00000-of-00045.jsonl.gz:91302" }
starcoder
using System; using AutoMapper; using PetStore.Models; using PetStore.Models.Enumeration; using PetStore.ServiceModels.Products.InputModels; using PetStore.ServiceModels.Products.OutputModels; namespace PetStore.Mapping { public class ProductProfile : Profile { public ProductProfile() { ...
2.462292
e7c126a1c527f25119f8fe9e1bc3508b
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
91302
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "Mikanwolfe/Artillery3", "max_stars_repo_path": "src/Entities/Character.cs", "provenance": "train-00000-of-00045.jsonl.gz:91303" }
starcoder
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using SwinGameSDK; using static Artillery.Utilities; namespace Artillery { public interface ICharacter: ICameraCanFocus, IPhysicsComponent { void MoveLeft(); void MoveRight(); ...
2.628711
b2e44036576e7299640239a71c0248eb
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
91303
{ "extension": "c-sharp", "max_stars_count": "10.0", "max_stars_repo_name": "bdemarzo/tradier-dotnet-client", "max_stars_repo_path": "TradierClient/Models/Account/Balances.cs", "provenance": "train-00000-of-00045.jsonl.gz:91304" }
starcoder
using Newtonsoft.Json; namespace Tradier.Client.Models.Account { public class BalanceRootObject { [JsonProperty("balances")] public Balances Balances { get; set; } } public class Balances { [JsonProperty("option_short_value")] public float OptionShortValue { get; ...
1.858391
56bc2d335367f18616b3c3128f86d1ae
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
91304
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "ozturkaslii/BankAppIdentityServer4", "max_stars_repo_path": "Bank.API/Models/BankContext.cs", "provenance": "train-00000-of-00045.jsonl.gz:91305" }
starcoder
<filename>Bank.API/Models/BankContext.cs using Microsoft.EntityFrameworkCore; namespace Bank.API.Models { public class BankContext : DbContext { public BankContext(DbContextOptions<BankContext> options) :base(options) { } public DbSet<Customer> Customers { get; set; } ...
2.101511
286d629011482ad52aa6c1aca5be2462
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
91305
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "TechnologicalPizza/MonoGame", "max_stars_repo_path": "MonoGame.Utilities/Vectors/IPixel.cs", "provenance": "train-00000-of-00045.jsonl.gz:91306" }
starcoder
<filename>MonoGame.Utilities/Vectors/IPixel.cs using System; namespace MonoGame.Framework.Vectors { /// <summary> /// The operations to be implemented by a pixel type. /// </summary> public interface IPixel : IVector { #region From Alpha /// <summary>Sets the pixel value from <see ...
2.948105
4d2d7b529c59be83f19b91fef04dd90a
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
91306
{ "extension": "c-sharp", "max_stars_count": "14.0", "max_stars_repo_name": "valencianok/Wit.ai.net", "max_stars_repo_path": "Wit.ai.net/WitConversation.cs", "provenance": "train-00000-of-00045.jsonl.gz:91307" }
starcoder
using com.valgut.libs.bots.Wit.Models; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace com.valgut.libs.bots.Wit { public class WitConversation<T> { WitClient client = null; string conversationId = null; T con...
2.637719
9a9cea6009c3c8a75316d7c4f2f40e42
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
91307
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "milosnikic/FootballApp", "max_stars_repo_path": "FootballApp.API/Models/Membership.cs", "provenance": "train-00000-of-00045.jsonl.gz:91308" }
starcoder
<filename>FootballApp.API/Models/Membership.cs using System; namespace FootballApp.API.Models { public class Membership { public Membership() { DateAccepted = null; DateSent = DateTime.Now; Accepted = false; Role = Role.Member; } p...
2.210701
4ab31db6e88928237dc6a076e405b641
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
91308
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "ImYellowFish/CsvDataUtility", "max_stars_repo_path": "Assets/CsvDataSerializer/Script/DataType/ISingleDataType.cs", "provenance": "train-00000-of-00045.jsonl.gz:91309" }
starcoder
<gh_stars>1-10 using System; namespace CSVDataUtility { public interface ISingleDataType { Type SystemType { get; } } }
1.559125
2b6400663f8fb9cf8026eb2159d836e2
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
91309
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "BartoszBaczek/Welder-Calculator", "max_stars_repo_path": "WelderCalculator/Tests/PdfGeneratorTests.cs", "provenance": "train-00000-of-00045.jsonl.gz:91310" }
starcoder
using NUnit.Framework; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using WelderCalculator.Model; using WelderCalculator.PDFUtilities; namespace Tests { [TestFixture] public class PDFGeneratorTests { private SampleDataCreator _...
2.409643
6711874a48607d1f3dd2a31900d42a31
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
91310
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "Reems59/CapstoneProject", "max_stars_repo_path": "Assets/Capstone/Scripts/ActiveFan.cs", "provenance": "train-00000-of-00045.jsonl.gz:91311" }
starcoder
using System.Collections; using System.Collections.Generic; using UnityEngine; public class ActiveFan : MonoBehaviour { public GameObject fan; private void OnCollisionEnter(Collision collision) { if (collision.gameObject.CompareTag("Throwable")) { fan.GetComponent<RotateBlade>...
1.841489
3ca40c5d6d8e29a0e1008f371f7e9516
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
91311
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "Joe4evr/Discord.Net", "max_stars_repo_path": "src/Discord.Net/API/Rest/CreateGuildChannelParams.cs", "provenance": "train-00000-of-00045.jsonl.gz:91312" }
starcoder
<reponame>Joe4evr/Discord.Net using Newtonsoft.Json; namespace Discord.API.Rest { [JsonObject(MemberSerialization = MemberSerialization.OptIn)] public class CreateGuildChannelParams { [JsonProperty("name")] internal string _name { get; set; } public string Name { set { _name = valu...
1.772557
171658e3785a264f7c843f480b54cbc2
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
91312
{ "extension": "c-sharp", "max_stars_count": "3.0", "max_stars_repo_name": "Apostolique/Apos.Editor", "max_stars_repo_path": "Game/Layer1/Bleeder.cs", "provenance": "train-00000-of-00045.jsonl.gz:91313" }
starcoder
<gh_stars>1-10 using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using MonoGame.Extended; namespace GameProject { public class Bleeder { public Texture2D Texture { get; set; } public Rectangle Source { get; set; } public RectangleF Inset { get; set; } public Wor...
2.172199
d8ee1aa4ba88842ea03219ead397a6d7
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
91313
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "Nowocinski/aplikacja-konsumencka-cebula", "max_stars_repo_path": "WebApplication.Api/WebApplication.Core/Repositories/IUserRepository.cs", "provenance": "train-00000-of-00045.jsonl.gz:91314" }
starcoder
using System; using System.Collections.Generic; using System.Threading.Tasks; using WebApplication.Core.Domain; using WebApplication.Core.Models; namespace WebApplication.Core.Repositories { public interface IUserRepository { Task<User> GetAsync(Guid Id); Task<User> GetAsync(string Email); ...
2.089883
42312e969cd14b6bec7bc3c35d7d3459
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
91314
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "ahaggqvist/uroskur", "max_stars_repo_path": "src/Shared/DistanceHelper.cs", "provenance": "train-00000-of-00045.jsonl.gz:91315" }
starcoder
using Uroskur.Shared.Models; namespace Uroskur.Shared; public static class DistanceHelper { public static double CalculateTotalDistance(IEnumerable<Location> locations) { var d = 0d; foreach (var (_, current, next) in locations.GetItems()) { d += CalculateDistance(current....
3.161193
f981ae32bd26a3c32e0a47a8275ba65e
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
91315
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "muwaqar/azure-powershell", "max_stars_repo_path": "src/StackAdmin/AzureStackAdmin/Commands.AzureStackAdmin/Generated/IGalleryItemOperations.cs", "provenance": "train-00000-of-00045.jsonl.gz:91316" }
starcoder
<gh_stars>1-10 // // Copyright (c) Microsoft and contributors. All rights reserved. // // 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 // ...
1.642464
0daba89a06f11e0eac50fda675d68580
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
91316
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "hlysine/QuickDictionary", "max_stars_repo_path": "QuickDictionary/Models/Dictionaries/DictionaryDotCom.cs", "provenance": "train-00000-of-00045.jsonl.gz:91317" }
starcoder
<reponame>hlysine/QuickDictionary using System; using System.Net; using System.Text.RegularExpressions; using System.Threading.Tasks; using CefSharp.Wpf; using MaterialDesignThemes.Wpf; using QuickDictionary.Utils; namespace QuickDictionary.Models.Dictionaries; public class DictionaryDotCom : Dictionary { protec...
2.306801
eaf5b0045d2383cb41173de840a99b6d
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
91317
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "uxb2bralph/IFS-EIVO03", "max_stars_repo_path": "eIVOGo/SAM/turnkeylog.cshtml", "provenance": "train-00000-of-00045.jsonl.gz:91318" }
starcoder
@{ Register src="../Module/SAM/TurnKeyLog.ascx" tagname="TurnKeyLog" tagprefix="uc1" } @section headContent { } @section mainContent { <uc1:TurnKeyLog ID="TurnKeyLog" runat="server" /> }
1.319345
067c537ac5963aa86aee52b91c451e49
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
91318
{ "extension": "c-sharp", "max_stars_count": "3.0", "max_stars_repo_name": "monoman/NugetCracker", "max_stars_repo_path": "Nuget/test/Core.Test/SharedRepositoryTest.cs", "provenance": "train-00000-of-00045.jsonl.gz:91319" }
starcoder
using System.Linq; using Moq; using NuGet.Test.Mocks; using Xunit; namespace NuGet.Test { public class SharedRepositoryTest { [Fact] public void RegisterRepositoryAddsRelativePathToRepositoriesConfig() { // Arrange var fileSystem = new Mock<MockFileSystem>() { ...
2.800867
0498736811b85739882e5e140ca93506
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
91319
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "szpara7/tm_kinect", "max_stars_repo_path": "Assets/DepthTexture.cs", "provenance": "train-00000-of-00045.jsonl.gz:91320" }
starcoder
<reponame>szpara7/tm_kinect using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; /// <summary> /// Class responsible for draw depth texture /// </summary> public class DepthTexture : MonoBehaviour { /// <summary> /// Field specyfying image on the lower right area of t...
2.443206
9d933e71e20b3bfb306c90e96c3158a0
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
91320
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "oxideworks/radiance", "max_stars_repo_path": "TestsCore/PrimitivesTests/SegmentTests.cs", "provenance": "train-00000-of-00045.jsonl.gz:91321" }
starcoder
<filename>TestsCore/PrimitivesTests/SegmentTests.cs using NUnit.Framework; using RadianceStandard.Primitives; using System.Collections.Generic; namespace TestsCore.PrimitivesTests { [TestFixture] public class SegmentTests { #region Crossing Point private static IEnumerable<(Segment, Segmen...
2.481398
00d4a82a38b1510f6386329ac0c045f1
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
91321
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "liangxiegame/CounterApp", "max_stars_repo_path": "Assets/Example/1.CounterApp/Script/SubCountCommand.cs", "provenance": "train-00000-of-00045.jsonl.gz:91322" }
starcoder
using QFramework; namespace CounterApp { public class SubCountCommand : AbstractCommand { protected override void OnExecute() { this.GetModel<ICounterModel>().Count.Value--; } } }
1.909088
d59351b48d280592da60f67c87dc0d7e
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
91322
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "Byrne-Labs/Testo-Roboto", "max_stars_repo_path": "ByrneLabs.TestoRoboto.Crawler/PageItems/SmartWebElement.cs", "provenance": "train-00000-of-00045.jsonl.gz:91323" }
starcoder
<gh_stars>0 using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Drawing; using System.Text.RegularExpressions; using System.Threading; using HtmlAgilityPack; using OpenQA.Selenium; namespace ByrneLabs.TestoRoboto.Crawler.PageItems { public class SmartWebElement : IWe...
2.407419
c84d3241ee69c8d0aa4d67a6363dff8b
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
91323
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "mulova/legacy", "max_stars_repo_path": "Editor/effect/particle/ParticleControlInspector.cs", "provenance": "train-00000-of-00045.jsonl.gz:91324" }
starcoder
using UnityEditor; using UnityEngine; using Object = UnityEngine.Object; using mulova.comunity; namespace mulova.effect { [CustomEditor(typeof(ParticleControl)), CanEditMultipleObjects] public class ParticleControlInspector : Editor { private ParticleControl element; void OnEnable() { element = target as Par...
2.13449
34ca686c619bc76bedeee29de7938b84
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
91324
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "t-rolfin/rolfin.CRM", "max_stars_repo_path": "src/crm.common/DTOs/ClientDetailsModel.cs", "provenance": "train-00000-of-00045.jsonl.gz:91325" }
starcoder
namespace crm.common.DTOs { public class ClientDetailsModel { public string FirstName { get; set; } public string LastName { get; set; } public string PhoneNumber { get; set; } public string EmailAddress { get; set; } public string BillingAddress { get; set; } } }
1.602826
ff39badfb929000556a5b7b3dd047054
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
91325
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "dchenier/wyrm", "max_stars_repo_path": "src/Wyrm.Core/EventDelegate.cs", "provenance": "train-00000-of-00045.jsonl.gz:91326" }
starcoder
using System; using System.Threading; using System.Threading.Tasks; namespace Wyrm.Events.Builder { public delegate Task EventDelegate(EventContext context); }
1.253704
b83d60929bcab04ffb7b03ad3d0167c2
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
91326
{ "extension": "c-sharp", "max_stars_count": "8.0", "max_stars_repo_name": "abdullin/messageVault", "max_stars_repo_path": "src/MessageVault.Core/IPageWriter.cs", "provenance": "train-00000-of-00045.jsonl.gz:91327" }
starcoder
using System; using System.IO; using System.Threading; using System.Threading.Tasks; namespace MessageVault { /// <summary> /// Abstracts page interactions. This way we can put all the complex code in <see cref="MessageWriter"/> /// and swap <see cref="IPageWriter"/> implementations to write to file disk or memory...
2.613041
4d66cdb04f51eacfc8d09170488ba619
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
91327
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "weihog/ConferenceXP", "max_stars_repo_path": "Reflector/ReflectorService/AppConfig.cs", "provenance": "train-00000-of-00045.jsonl.gz:91328" }
starcoder
using System; namespace MSR.LST.ConferenceXP.ReflectorService { internal class AppConfig { private const string reflector = "MSR.LST.Reflector."; public const string AdminPort = reflector + "AdminPort"; private AppConfig() { } } }
1.32833
9d829f61173bcd398a29349dad5245d5
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
91328
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "MikaelPorttila/Nancy-Aurelia", "max_stars_repo_path": "Nancy-Aurelia-Skeleton/Modules/IndexModule.cs", "provenance": "train-00000-of-00045.jsonl.gz:91329" }
starcoder
<reponame>MikaelPorttila/Nancy-Aurelia using Nancy; using System.Threading.Tasks; namespace NancyAureliaSkeleton.Modules { public class IndexModule : NancyModule { public IndexModule() { Get["/"] = (request, ctx) => Task.FromResult<dynamic>(View["index.html"]); Get["/api/test"] = ...
1.718619
14d97a52ee4f347fbe5a618a97a68291
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
91329
{ "extension": "c-sharp", "max_stars_count": "7.0", "max_stars_repo_name": "tannergooding/terrafx.interop.xlib", "max_stars_repo_path": "sources/Interop/Xlib/X11/Xcms/XcmsPerScrnInfo.cs", "provenance": "train-00000-of-00045.jsonl.gz:91330" }
starcoder
// Copyright © <NAME> and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from include/X11/Xcms.h in the Xlib - C Language X Interface: X Version 11, Release 7.7 // Original source is Copyright © Tektronix, Inc. namespace TerraFX.Interop.Xlib {...
1.425897
bc9c84dee998ce3bc56df2bef2fa2391
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
91330
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "arakis/MOSA-Project", "max_stars_repo_path": "Source/Mosa.Utility.Launcher/PlatformType.cs", "provenance": "train-00000-of-00045.jsonl.gz:91331" }
starcoder
<reponame>arakis/MOSA-Project // Copyright (c) MOSA Project. Licensed under the New BSD License. namespace Mosa.Utility.Launcher { public enum PlatformType { NotSpecified, x86, x64 }; }
1.101089
f0fbc1c4a76810fd588eb5b8a989247b
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
91331
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "Fosol/TNO", "max_stars_repo_path": "libs/net/core/Extensions/IEnumerableExtensions.cs", "provenance": "train-00000-of-00045.jsonl.gz:91332" }
starcoder
namespace TNO.Core.Extensions; /// <summary> /// IEnumerableExtensions static class, provides extension methods for enumerable objects. /// </summary> public static class IEnumerableExtensions { /// <summary> /// Iterates through the enumerable items. /// </summary> /// <param name="items"></param> ...
3.369373
ee43cecd094de2bf4f491603a801de17
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
91332
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "tubo70/enode", "max_stars_repo_path": "src/ENode/Commanding/ProcessingCommand.cs", "provenance": "train-00000-of-00045.jsonl.gz:91333" }
starcoder
using System.Collections.Generic; using System.Threading.Tasks; using ENode.Infrastructure; namespace ENode.Commanding { public class ProcessingCommand : IAggregateMessageMailBoxMessage<ProcessingCommand, CommandResult> { public IAggregateMessageMailBox<ProcessingCommand, CommandResult> MailBox { get;...
2.286303
09bc058dad30c4b3534315d2ab69bc43
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
91333
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "MarceloZardoBR/ProjetoTCC_FIAP", "max_stars_repo_path": "lumen-mvc/DotNetAppSqlDb/Models/FrasesModel.cs", "provenance": "train-00000-of-00045.jsonl.gz:91334" }
starcoder
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Web; namespace DotNetAppSqlDb.Models { [Table("frases")] public class FrasesModel { [Key] [Column("idFrase")] ...
1.941295
c4af0b7455d4dd5064226c55f2242b67
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
91334
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "777Eternal777/wcf", "max_stars_repo_path": "src/System.Private.ServiceModel/src/System/ServiceModel/Channels/TcpConnectionPool.cs", "provenance": "train-00000-of-00045.jsonl.gz:91335" }
starcoder
<filename>src/System.Private.ServiceModel/src/System/ServiceModel/Channels/TcpConnectionPool.cs // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Collections.Generic; using System.Collections.ObjectModel; ...
2.026162
edfe7dd2cdeaeaeeb30b781a64b6ec95
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
91335
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "jake-a-wood/Cogent-TTRPG-Character-Sheet", "max_stars_repo_path": "CharacterData.cs", "provenance": "train-00000-of-00045.jsonl.gz:91336" }
starcoder
using System; using System.Collections.Generic; using System.Text; namespace Cogent_RPG_Character_Sheet { class CharacterData { public string CharacterName = ""; public string PlayerName = ""; public string Age = ""; public string Race = ""; public string Height = ""; ...
1.741189
8542fba0fda163d882d536a19b52ee25
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
91336
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "erlimar/my-parser", "max_stars_repo_path": "test/MyParser2.Test/CalcTwoNumbers/CalcTwoNumbersTokenClass.cs", "provenance": "train-00000-of-00045.jsonl.gz:91337" }
starcoder
<reponame>erlimar/my-parser namespace MyParser2.Test.CalcTwoNumbers { public enum CalcTwoNumbersTokenClass { SUM_EXPRESSION, NUM, PLUS } }
1.167469
456e8810043a1ff8168e3f1ffc1b5772
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
91337
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "ErichUdet/sacco.cs", "max_stars_repo_path": "sacco_test/Code/Models/Transactions/StdSignature_test.cs", "provenance": "train-00000-of-00045.jsonl.gz:91338" }
starcoder
<reponame>ErichUdet/sacco.cs using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Collections.Generic; using System.Text; using commercio.sacco.lib; namespace sacco_test { [TestClass] public class StdSignature_test { [TestMethod] public void TestJson() {...
2.121299
1373c7a40a1033d5ab17ba0bc246acc4
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
91338
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "jakobnotseth/nationalidvalidation", "max_stars_repo_path": "NationalIdValidation/NationalIdValidation/DanishPersonalIdType.cs", "provenance": "train-00000-of-00045.jsonl.gz:91339" }
starcoder
namespace NationalIdValidation { /// <summary> /// The Danish id-convention caters several different numbering systems /// The id-type let's you know what id-convention is used /// Your application is itself responsible for following other business rules based on type /// </summary> public enum...
2.855508
176d45bf94f571de0a8f5293811d4b20
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
91339
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "avdinfotech/EntityFramework", "max_stars_repo_path": "src/Microsoft.Data.Entity.Relational/Update/BatchExecutor.cs", "provenance": "train-00000-of-00045.jsonl.gz:91340" }
starcoder
<gh_stars>1-10 // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Generic; using System.Data; using System.Data.Common; using System.Linq; using System.Threading...
1.941392
fc279944debff573636b1deedf7e01e3
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
91340
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "MaxWeickert/ng-erp-4.0", "max_stars_repo_path": "Master40.DB/GanttPlanModel/GptblSystemlock.cs", "provenance": "train-00000-of-00045.jsonl.gz:91341" }
starcoder
<gh_stars>0 using System; namespace Master40.DB.GanttPlanModel { public partial class GptblSystemlock { public string ClientId { get; set; } public string ObjectId { get; set; } public string ObjecttypeId { get; set; } public DateTime Date { get; set; } public string Ho...
0.782724
6b01e1bf39e19ac1263e05063727e8c7
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
91341
{ "extension": "c-sharp", "max_stars_count": "27.0", "max_stars_repo_name": "BaristaLabs/BaristaCore", "max_stars_repo_path": "test/BaristaLabs.BaristaCore.Extensions.Tests/TypeScript_Facts.cs", "provenance": "train-00000-of-00045.jsonl.gz:91342" }
starcoder
<gh_stars>10-100 namespace BaristaLabs.BaristaCore.Extensions.Tests { using BaristaLabs.BaristaCore.Extensions; using BaristaLabs.BaristaCore.ModuleLoaders; using BaristaLabs.BaristaCore.Modules; using BaristaLabs.BaristaCore.TypeScript; using Microsoft.Extensions.DependencyInjection; using Sys...
2.368961
6439858da44827dd8969f904b349a486
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
91342
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "codemazenet/codemaze.net", "max_stars_repo_path": "src/CodeMaze.Extension/Libraries/Pingback/PingbackServiceResponse.cs", "provenance": "train-00000-of-00045.jsonl.gz:91343" }
starcoder
<reponame>codemazenet/codemaze.net namespace CodeMaze.Extension.Pingback { public enum PingbackServiceResponse { Success, GenericError, InvalidPingRequest, Error32TargetUriNotExist, Error48PingbackAlreadyRegistered, Error17SourceNotContainTargetUri, SpamD...
1.279519
566869d6062ff596e17e94816947f4ff
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
91343
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "JohannesHoppe/AspNetMvcWorkshop2015_2", "max_stars_repo_path": "Demo/CustomerManager/Views/Home/Hallo.cshtml", "provenance": "train-00000-of-00045.jsonl.gz:91344" }
starcoder
@model CustomerManager.Models.Customer Hallo: @Model.FirstName @Model.LastName
1.815679
3361cf682c93b21296f0650602589309
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
91344
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "zoomlacms/web005", "max_stars_repo_path": "Source-Code-母婴在线门户全站源代码/Areas/AdminMVC/Views/Exam/QuestList_List.cshtml", "provenance": "train-00000-of-00045.jsonl.gz:91345" }
starcoder
<filename>Source-Code-母婴在线门户全站源代码/Areas/AdminMVC/Views/Exam/QuestList_List.cshtml @using System.Data @using ZoomLa.BLL @using ZoomLa.SQLDAL @using ZoomLa.Common @using ZoomLa.Model @model ZoomLa.SQLDAL.SQL.PageSetting @{ Model.cols = 10; B_Exam_Sys_Questions questBll = new B_Exam_Sys_Questions(); } @functions...
1.955367
4bc78edca71135f2133580c4fd1fd458
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
91345
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "murilobeltrame/hello-distributed-application", "max_stars_repo_path": "src/BrewStore.Api/Controllers/BrandsController.cs", "provenance": "train-00000-of-00045.jsonl.gz:91346" }
starcoder
<filename>src/BrewStore.Api/Controllers/BrandsController.cs using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; using BrewStore.Api.Data; using BrewStore.Api.Models; using Microsoft.Extensions.Cachi...
2.657706
398f65bc3806a9e51c79814974fc9e99
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
91346
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "kyuuzou/warcraft", "max_stars_repo_path": "Assets/Root/Scripts/Application/Utils.cs", "provenance": "train-00000-of-00045.jsonl.gz:91347" }
starcoder
<reponame>kyuuzou/warcraft using System.Collections; using System.Reflection; using System.Text; using TMPro; using UnityEngine; using UnityEngine.SceneManagement; using UnityEngine.UI; #if UNITY_EDITOR using UnityEditor; #endif public class Utils : Singleton<Utils> { [SerializeField] private Text debugText;...
2.345052
9dfe81c83ed350cbf16bd6b80a647a18
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
91347
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "pavelzv1211/ResourceCurator", "max_stars_repo_path": "ResourceCurator.Abstractions/IResourcePipeline.cs", "provenance": "train-00000-of-00045.jsonl.gz:91348" }
starcoder
<filename>ResourceCurator.Abstractions/IResourcePipeline.cs using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; namespace ResourceCurator { public interface IResourcePipeline { string Name { get; } } ...
2.721973
11e974cc2a6bd65fa0bf2f04324a3a32
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
91348
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "IustinT/Patient-Treatment-Planner", "max_stars_repo_path": "src/ICU.API/Controllers/ExercisesController.cs", "provenance": "train-00000-of-00045.jsonl.gz:91349" }
starcoder
<gh_stars>0 using ICU.Data; using ICU.Data.Models; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; using System; using System.Linq; using System.Collections; using System.Collections.Generic; using System.Net.Mime; using System.Threading.Tasks; namespace ICU.API...
2.021019
0358277d256e1979bbdf91694d4506cc
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
91349
{ "extension": "c-sharp", "max_stars_count": "29.0", "max_stars_repo_name": "dataexplorer/dataexplorer", "max_stars_repo_path": "Persistence/Filters/Serializers/DateTimeFilters/IDateTimeFilterSerializer.cs", "provenance": "train-00000-of-00045.jsonl.gz:91350" }
starcoder
using System; using System.Collections.Generic; using System.Xml.Linq; using DataExplorer.Domain.Columns; using DataExplorer.Domain.Filters; namespace DataExplorer.Persistence.Filters.Serializers.DateTimeFilters { public interface IDateTimeFilterSerializer { XElement Serialize(DateTimeFilter filter); ...
1.672826
a0756e5020eda21e518c90a45542072b
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
91350
{ "extension": "c-sharp", "max_stars_count": "911.0", "max_stars_repo_name": "cnork/referencesource", "max_stars_repo_path": "System.Web/UI/CssClassPropertyAttribute.cs", "provenance": "train-00000-of-00045.jsonl.gz:91351" }
starcoder
//------------------------------------------------------------------------------ // <copyright file="CssClassPropertyAttribute.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> //--------------------...
2.013228
e9da706f5e1db1686c967753927ae1ea
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
91351
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "radoslavvv/Programming-Fundamentals-Extended-May-2017", "max_stars_repo_path": "Exercises/11.DictionariesExercises/04.ExamShopping/04.ExamShopping.cs", "provenance": "train-00000-of-00045.jsonl.gz:91352" }
starcoder
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; class Program { static void Main() { Dictionary<string,int> items = new Dictionary<string, int>(); string command = Console.ReadLine(); while (command != "shopping time"...
3.466624
445ced297bd51819cbd8a232de27cd89
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
91352
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "krasimirLyubomirov/GetShredded", "max_stars_repo_path": "src/GetShredded.Data/Configuration/MessageConfiguration.cs", "provenance": "train-00000-of-00045.jsonl.gz:91353" }
starcoder
<filename>src/GetShredded.Data/Configuration/MessageConfiguration.cs using GetShredded.Common; using GetShredded.Models; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; namespace GetShredded.Data.Configuration { public class MessageConfiguration : IEntityTypeConfigurati...
2.50111
ee3d07b258334be579c7f8dd52a3e458
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
91353
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "hotchaipro/XForms", "max_stars_repo_path": "src/Core/Core/Color.cs", "provenance": "train-00000-of-00045.jsonl.gz:91354" }
starcoder
<reponame>hotchaipro/XForms<gh_stars>1-10 using System; using System.Globalization; namespace XForms { public struct Color { private Color( byte a, byte r, byte g, byte b) { this.A = a; this.R = r; this.G = g; ...
3.13929
25a7e037245eed2566e4ec889783ccfa
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
91354
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "Grimace1975/bclcontrib-extend", "max_stars_repo_path": "src/Dagent/Contoso.Dagent.4/Hosting/HostingEnvironment.cs", "provenance": "train-00000-of-00045.jsonl.gz:91355" }
starcoder
<reponame>Grimace1975/bclcontrib-extend #region License /* The MIT License Copyright (c) 2008 <NAME> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including withou...
1.495837
68d6f794a5833673a257c9ff91e8ea2e
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
91355
{ "extension": "c-sharp", "max_stars_count": "9.0", "max_stars_repo_name": "Kimjunseo319/OpenWorker", "max_stars_repo_path": "ow.Service.District/Game/SpecialOptions.cs", "provenance": "train-00000-of-00045.jsonl.gz:91356" }
starcoder
using ow.Framework.Game.Enums; using System.Collections.Generic; using System.Diagnostics; using System.Linq; namespace ow.Service.District.Game { public sealed class SpecialOptions : List<SpecialOptions.Entity> { public sealed class Entity { public SpecialOption Id { get; init; } ...
2.162612
2f6834d074429fe073cf91919240f4b4
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
91356
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "edisonlee55/osu-touhou", "max_stars_repo_path": "osu.Game.Rulesets.Touhou/Objects/HomingCherry.cs", "provenance": "train-00000-of-00045.jsonl.gz:91357" }
starcoder
namespace osu.Game.Rulesets.Touhou.Objects { /// <summary> /// Will move towards the player. /// </summary> public class HomingCherry : AngledCherry { } }
1.646665
fd535608d5fbb01a5d141469bde5448e
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
91357
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "marinoscar/eyca-camcast", "max_stars_repo_path": "Code/eyca.core/Models/Invoice.cs", "provenance": "train-00000-of-00045.jsonl.gz:91358" }
starcoder
<gh_stars>0 using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace eyca.core.Models { public class Invoice : Contact { public string ImageId { get; set; } public static Invoice InvoiceFromItem(Item i...
2.074884
3e1c64498621936744c87ac443c7bb22
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
91358
{ "extension": "c-sharp", "max_stars_count": "1047.0", "max_stars_repo_name": "ANDSORA/Taiwu_mods", "max_stars_repo_path": "GuiHandle/GuiHandle.cs", "provenance": "train-00000-of-00045.jsonl.gz:91359" }
starcoder
<reponame>ANDSORA/Taiwu_mods using Harmony12; using System; using System.Collections.Generic; using System.Reflection; using UnityEngine; using UnityEngine.UI; using UnityModManagerNet; using System.Text.RegularExpressions; using System.Linq; using System.Reflection.Emit; using System.Text; namespace GuiHandle { ...
1.310229
52099b06fcd84673376588a986009d0d
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
91359
{ "extension": "c-sharp", "max_stars_count": "3.0", "max_stars_repo_name": "lilpug/dotnetsdb", "max_stars_repo_path": "files/lib/SQLServer/General/Core/Compiling/Functions/Select - overriden.cs", "provenance": "train-00000-of-00045.jsonl.gz:91360" }
starcoder
<reponame>lilpug/dotnetsdb<filename>files/lib/SQLServer/General/Core/Compiling/Functions/Select - overriden.cs using System; namespace DotNetSDB { public partial class SqlServerCore { /*##########################################*/ /* Compiling Select functions */ /*######...
2.689724
eae10a67ec5240dbdf869c2f994894b2
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
91360
{ "extension": "c-sharp", "max_stars_count": "153.0", "max_stars_repo_name": "SouthBegonia/UnityWorld", "max_stars_repo_path": "Hero/Assets/Scripts/Fighter.cs", "provenance": "train-00000-of-00045.jsonl.gz:91361" }
starcoder
using System.Collections; using System.Collections.Generic; using UnityEngine; public struct Damage { public float HitPoint; public Vector3 Pos; //发出攻击物体的坐标 public float pushForce; } public class Fighter : MonoBehaviour { public float Health; //生命值 public float HealthMax = 100f; /...
2.575453
8aa9c60149394068d42b496b703f5954