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
97358
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "Darkbill/DogAndPig", "max_stars_repo_path": "MiniProject/Assets/01.Script/Manager/SkillMng.cs", "provenance": "train-00000-of-00045.jsonl.gz:97359" }
starcoder
using System.Collections.Generic; using UnityEngine; public class SkillMng : MonoBehaviour { public Dictionary<int, Skill> skillDict = new Dictionary<int, Skill>(); private void Awake() { var playerSkillArr = JsonMng.Ins.playerInfoDataTable.setSkillList; for(int i = 0; i < playerSkillArr.Count; ++i) { if ...
2.074894
0fd01af5cb0e05b2951c156c6050f8a2
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
97359
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "spzvtbg/01-Programming-basics", "max_stars_repo_path": "01. Exam Solutions/Exam17July2016/Harvest/harvest.cs", "provenance": "train-00000-of-00045.jsonl.gz:97360" }
starcoder
<gh_stars>0 using System; namespace Harvest { class harvest { static void Main() { } } }
1.178901
c8878e6196bc5d832464ff8824181e77
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
97360
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "developers-payu-latam/payu-latam-net-payments-sdk", "max_stars_repo_path": "PayuNetSdk.Tests/PayU/Api/RecurringPaymentTest.cs", "provenance": "train-00000-of-00045.jsonl.gz:97361" }
starcoder
<gh_stars>1-10  namespace PayuNetSdk.Tests.PayU.Api { using NUnit.Framework; using PayuNetSdk.PayU.Api; using PayuNetSdk.PayU.Messages.Enums; using System.Collections.Generic; using PayuNetSdk.PayU; using PayuNetSdk.PayU.Messages; using FizzWare.NBuilder.Generators; using System.Text.Re...
1.786982
d463b20982e2715e3e1e5e64c5fc0325
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
97361
{ "extension": "c-sharp", "max_stars_count": "469.0", "max_stars_repo_name": "lefb766/mono", "max_stars_repo_path": "mcs/tests/dtest-025.cs", "provenance": "train-00000-of-00045.jsonl.gz:97362" }
starcoder
interface I { void SetValue (int arg); } public struct S : I { public int Value; public void SetValue (int v) { Value = v; } } class C { static void Method<T> (ref T t) where T : struct, I { dynamic d = 25; t.SetValue (d); } public static int Main () { int? x = null; dynamic y = 50; int v = ...
3.057975
513e4898f1c1c914ca833015611f9b08
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
97362
{ "extension": "c-sharp", "max_stars_count": "11.0", "max_stars_repo_name": "Jericho/CakeMailRestApi", "max_stars_repo_path": "Source/CakeMail.RestClient.IntegrationTests/Tests/CountriesTests.cs", "provenance": "train-00000-of-00045.jsonl.gz:97363" }
starcoder
<reponame>Jericho/CakeMailRestApi using System.IO; using System.Linq; using System.Threading; using System.Threading.Tasks; namespace CakeMail.RestClient.IntegrationTests.Tests { public class CountriesTests : IIntegrationTest { public async Task Execute(ICakeMailRestClient client, string userKey, long clientId, Te...
2.401811
24cdedcc40115029b9d44d1d7ea7b3cc
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
97363
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "loandy/memory", "max_stars_repo_path": "Assets/Scripts/GameController.cs", "provenance": "train-00000-of-00045.jsonl.gz:97364" }
starcoder
<filename>Assets/Scripts/GameController.cs using UnityEngine; using UnityEngine.UI; using System.Collections; public class GameController : MonoBehaviour { private static bool debugMode; private System.Diagnostics.Stopwatch timer; private GameObject card1; private bool victory; private int matchedPairs; priva...
2.668375
30e2028278dbc32d5fe6df9ec4339b2a
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
97364
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "fourglobe302500/MagicAppWithConsole", "max_stars_repo_path": "MagicLib/Classes/Terrain.cs", "provenance": "train-00000-of-00045.jsonl.gz:97365" }
starcoder
using System.Collections.Generic; namespace MagicLib { /// <summary> /// REpresents an Terrain Card /// </summary> public class Terrain : ICard { /// <summary> /// Represents the terrain's Colors /// </summary> public List<CardColor> CardColors => throw new System.N...
2.654653
19a6fe7e01db121e27cc97cce2693f6a
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
97365
{ "extension": "c-sharp", "max_stars_count": "292.0", "max_stars_repo_name": "kesopeso/MailChimp.Net", "max_stars_repo_path": "MailChimp.Net/Models/EmailActivity.cs", "provenance": "train-00000-of-00045.jsonl.gz:97366" }
starcoder
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="EmailActivity.cs" company="<NAME>"> // N/A // </copyright> // -------------------------------------------------------------------------------------------------------------------...
2.168455
f682507301436a917c8f741678ad4c3d
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
97366
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "SOLIDSoftworks/Solid.Identity.Protocols.WsTrust", "max_stars_repo_path": "src/Solid.Identity.Protocols.WsTrust/Protocols/WsTrust/MicrosoftKeyTypes.cs", "provenance": "train-00000-of-00045.jsonl.gz:97367" }
starcoder
using System; using System.Collections.Generic; using System.Text; namespace Solid.Identity.Protocols.WsTrust { internal static class MicrosoftKeyTypes { public const string Symmetric = "http://schemas.microsoft.com/idfx/keytype/symmetric"; public const string Asymmetric = "http://schemas.micr...
1.614376
ea2d7872ccf3a007fb0149e8e03f90fa
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
97367
{ "extension": "c-sharp", "max_stars_count": "10.0", "max_stars_repo_name": "reignstudios/ReignSDK", "max_stars_repo_path": "Platforms/Common/Reign.Video.API/Model/SoftwareModel/SoftwareVertex.cs", "provenance": "train-00000-of-00045.jsonl.gz:97368" }
starcoder
<gh_stars>1-10 using System.Collections.Generic; namespace Reign.Video.Abstraction { public class SoftwareVertexBoneGroup { public int Index; public float Weight; public SoftwareVertexBoneGroup(int index, float weight) { Index = index; Weight = weight; } } public class SoftwareVertex { public...
2.276926
0f213294f34a78d53f50cdfce4ab0ae9
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
97368
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "oleksiitymchenko/Angular_homework", "max_stars_repo_path": "AirportBackend/homework_6_bsa2018.Tests/IntegrationTest.cs", "provenance": "train-00000-of-00045.jsonl.gz:97369" }
starcoder
using homework_5_bsa2018.BLL; using homework_5_bsa2018.BLL.Interfaces; using homework_5_bsa2018.BLL.Services; using homework_5_bsa2018.Controllers; using homework_5_bsa2018.DAL; using homework_5_bsa2018.DAL.Interfaces; using homework_5_bsa2018.Shared; using homework_5_bsa2018.Shared.DTOs; using Microsoft.EntityFramewo...
2.240683
d9abb021410062a4901a3b04fc3eecea
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
97369
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "tnugiel/Brownstone", "max_stars_repo_path": "BrownstoneWWW03/Data/Migrations/20180224213744_ApplicationOrganization.cs", "provenance": "train-00000-of-00045.jsonl.gz:97370" }
starcoder
using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using System; using System.Collections.Generic; namespace BrownstoneWWW03.Data.Migrations { public partial class ApplicationOrganization : Migration { protected override void Up(MigrationBuilder migrationBuil...
1.885491
531bcafc0f3591ed90d0993e9ab40e7d
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
97370
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "kenx00x/ahhhhhhhhhhhh", "max_stars_repo_path": "ahhhhhhhhhh/Library/PackageCache/com.unity.shadergraph@7.1.8/Editor/Data/Graphs/SerializableTexture.cs", "provenance": "train-00000-of-00045.jsonl.gz:97371" }
starcoder
<filename>ahhhhhhhhhh/Library/PackageCache/com.unity.shadergraph@7.1.8/Editor/Data/Graphs/SerializableTexture.cs version https://git-lfs.github.com/spec/v1 oid sha256:145fef078e9afcfe86ec5e8f235ac797915b1dc4ee536480a0ec5a1b92625bf6 size 1745
1.09404
0aab3851b2418a0c45c82771f1bbfdd9
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
97371
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "ritheshrao197/TalkingChick", "max_stars_repo_path": "Assets/Scripts/GameConstants.cs", "provenance": "train-00000-of-00045.jsonl.gz:97372" }
starcoder
using System.Collections; using System.Collections.Generic; using UnityEngine; public static class GameConstants { public const string PlayerTag = "Player"; public const string GameControllerTag = "GameController"; public const string MecanimTalk = "Talk"; public const string MecanimListen= "Listen"; public con...
1.813787
d276df92ce5c421bcee7092f579bd661
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
97372
{ "extension": "c-sharp", "max_stars_count": "863.0", "max_stars_repo_name": "ederbond/ios-samples", "max_stars_repo_path": "ios12/XamarinShot/XamarinShot/Core/Physics Synchronization/CollisionSoundData.cs", "provenance": "train-00000-of-00045.jsonl.gz:97373" }
starcoder
<reponame>ederbond/ios-samples<gh_stars>100-1000  namespace XamarinShot.Models { public class CollisionSoundData { public CollisionSoundData(int gameObjectIndex, CollisionEvent soundEvent) { this.GameObjectIndex = gameObjectIndex; this.SoundEvent = soundEvent; }...
1.903867
4a87bc2083500b3715d8c24eeecb4a89
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
97373
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "janten/uberAgent-ESA-Sysmon-Converter", "max_stars_repo_path": "vl.Sysmon.Converter/Domain/Options.cs", "provenance": "train-00000-of-00045.jsonl.gz:97374" }
starcoder
<filename>vl.Sysmon.Converter/Domain/Options.cs using System.Collections.Generic; using CommandLine; using vl.Core.Domain.Activity; namespace vl.Sysmon.Converter.Domain { public class Options { [Option('i', "input", Required = true, HelpText = "Input files to be processed.")] public IEnumerable<stri...
2.605373
aeed53494d4668d33d3962e390bde881
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
97374
{ "extension": "c-sharp", "max_stars_count": "43.0", "max_stars_repo_name": "gtw123/OpusSolver", "max_stars_repo_path": "Opus/Solution/Solver/AtomGenerators/Input/SimpleInputArea.cs", "provenance": "train-00000-of-00045.jsonl.gz:97375" }
starcoder
using System; using System.Collections.Generic; using System.Linq; using static System.FormattableString; namespace Opus.Solution.Solver.AtomGenerators.Input { /// <summary> /// A simple input area used when all reagents have a single atom. /// </summary> public class SimpleInputArea : AtomGenerator ...
2.912006
c2ae3bfb227076d21c1d495c1508150d
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
97375
{ "extension": "c-sharp", "max_stars_count": "16.0", "max_stars_repo_name": "MattGerg/ShapefileSharp", "max_stars_repo_path": "ShapefileSharp/IShpRecord.cs", "provenance": "train-00000-of-00045.jsonl.gz:97376" }
starcoder
<gh_stars>10-100 namespace ShapefileSharp { public interface IShpRecord { IShpRecordHeader Header { get; } IShape Shape { get; } } }
1.576112
e4d177c161bb12ac19b6292ae1cc972f
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
97376
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "surviveplus/MVVM-Sample", "max_stars_repo_path": "vs2015ja/MvvmSample.WebMvc/Views/Home/Index.cshtml", "provenance": "train-00000-of-00045.jsonl.gz:97377" }
starcoder
<filename>vs2015ja/MvvmSample.WebMvc/Views/Home/Index.cshtml @model MvvmSample.WebMvc.Models.HomeModel @{ Layout = "~/Views/Shared/_LayoutPage.cshtml"; } <h1>@ViewBag.Title</h1> <p>@Html.Raw(Html.Encode(Model.Description).Replace("\n", "<br />"))</p> <p>@Model.Version</p>
2.181863
05b61d93072f664116805cfb411909a2
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
97377
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "JefferArellano/XamarinCoreShop", "max_stars_repo_path": "SlnVirtualShop/VirtualShop.Web/Models/ProductViewModel.cs", "provenance": "train-00000-of-00045.jsonl.gz:97378" }
starcoder
namespace VirtualShop.Web.Models { using Microsoft.AspNetCore.Http; using System.ComponentModel.DataAnnotations; using Data.Entities; public class ProductViewModel : Product { [Display(Name = "Image")] public IFormFile ImageFile { get; set; } } }
1.714573
8c1d2995f9486aaabec1a325b1144c92
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
97378
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "guuulemos/desafio-api", "max_stars_repo_path": "Desafio/Desafio.Domain/Interfaces/Repositories/IFilmeRepository.cs", "provenance": "train-00000-of-00045.jsonl.gz:97379" }
starcoder
<filename>Desafio/Desafio.Domain/Interfaces/Repositories/IFilmeRepository.cs<gh_stars>0 using Desafio.Domain.Entidades; using Desafio.Domain.Query; using System.Collections.Generic; namespace Desafio.Domain.Interfaces.Repositories { public interface IFilmeRepository { long Inserir(Filme filme); ...
2.042214
761c709fc8a5c7e7cb90065b17d1b4a0
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
97379
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "zhlnpu/SmartphoneVR2-ARinVR", "max_stars_repo_path": "SmartPhoneVR-stage2-pc-ARinVR/Assets/MathLibraryForUnity/Tests/Scripts/NumericalAnalysis/Test_NumericalBrentsMethod.cs", "provenance": "train-00000-of-00045.jsonl.gz:97380" }
starcoder
<gh_stars>0 using UnityEngine; using Dest.Math; namespace Dest.Math.Tests { [ExecuteInEditMode] public class Test_NumericalBrentsMethod : Test_Base { public enum Funcs { Func0, Func1, Func2 } public Funcs FuncType; public float From, To; private float Func(float x) { switch (FuncType) ...
2.536686
91e524050c1c8b387b6716bc72e0e039
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
97380
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "TheAutomatingMrLynch/NBi", "max_stars_repo_path": "NBi.Xml/Items/Filters/IRoutineFilter.cs", "provenance": "train-00000-of-00045.jsonl.gz:97381" }
starcoder
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace NBi.Xml.Items.Filters { public interface IRoutineFilter { string Routine { get; set; } } }
1.5206
d7a0b1841aa914c9a1abf90a12013e4c
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
97381
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "itplamen/Newsweek", "max_stars_repo_path": "Newsweek/Web/Newsweek.Web.ViewModels/Comments/GetCommentViewModel.cs", "provenance": "train-00000-of-00045.jsonl.gz:97382" }
starcoder
namespace Newsweek.Web.ViewModels.Comments { using AutoMapper; using Newsweek.Common.Infrastructure.Mapping; using Newsweek.Data.Models; using Newsweek.Web.ViewModels.Common; public class GetCommentViewModel : BaseViewModel, IMapFrom<Comment>, IHaveCustomMappings { public string Conte...
1.986911
cf932c6058f581ba8cb7a99917b66eb3
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
97382
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "fr0wsTyl/TelerikAcademy-2015-", "max_stars_repo_path": "Telerik - C# OOP/Practicing/Exercises/Exercises/Interfaces/ISchool.cs", "provenance": "train-00000-of-00045.jsonl.gz:97383" }
starcoder
<reponame>fr0wsTyl/TelerikAcademy-2015- namespace Exercises.Interfaces { using System.Collections.Generic; public interface ISchool { List<Class> Classes { get; } } }
1.42362
f494b96f9ee6666b791758d3e481f075
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
97383
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "chandler14362/PocketSocket", "max_stars_repo_path": "PocketSocket.Abstractions/IPocketSocketBuilder.cs", "provenance": "train-00000-of-00045.jsonl.gz:97384" }
starcoder
using System; using PocketSocket.Abstractions.Delegates; namespace PocketSocket.Abstractions { public interface IPocketSocketBuilder { IPocketSocketBuilder AddEventHandler<T>() where T : ISocketEventHandler; IPocketSocketBuilder AddInterface(Type socketInterfaceType); ...
2.031456
04b2f51d33d2d59c47840ef724fe22a8
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
97384
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "aman22275/ACE", "max_stars_repo_path": "aspnet-core/src/DF.ACE.Application/Common/Attachment/Dto/UpdateAttachmentInput.cs", "provenance": "train-00000-of-00045.jsonl.gz:97385" }
starcoder
using Microsoft.AspNetCore.Http; using System; using System.Collections.Generic; using System.Text; namespace DF.ACE.Common.Attachment.Dto { public class UpdateAttachmentInput { public int Id { get; set; } public String Title { get; set; } public String Description { get; set; } ...
1.575989
089d8854ce987a3103c23db7772750d9
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
97385
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "bugbit/CASDotNetCore", "max_stars_repo_path": "CASDotNetCore/Syntax/TokensReader.cs", "provenance": "train-00000-of-00045.jsonl.gz:97386" }
starcoder
#region LICENSE /* MIT License Copyright (c) 2020 bugbit Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge,...
2.366133
96e850086c831609d1ad8e84e9c3fcca
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
97386
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "jkhcc11/KdyWeb.NetCore", "max_stars_repo_path": "src/KdyWeb.Entity/SearchVideo/VideoMainInfo.cs", "provenance": "train-00000-of-00045.jsonl.gz:97387" }
starcoder
<filename>src/KdyWeb.Entity/SearchVideo/VideoMainInfo.cs using System.ComponentModel.DataAnnotations; using KdyWeb.BaseInterface.BaseModel; namespace KdyWeb.Entity.SearchVideo { /// <summary> /// 影片主表扩展信息 /// </summary> public class VideoMainInfo : BaseEntity<long> { public VideoMainInfo()...
2.324771
f22768110dde505652768c2db5f2a1a4
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
97387
{ "extension": "c-sharp", "max_stars_count": "176.0", "max_stars_repo_name": "zerilvi/Master", "max_stars_repo_path": "Assets/3rdparty/openDicom/File/DicomFile.cs", "provenance": "train-00000-of-00045.jsonl.gz:97388" }
starcoder
/* openDICOM.NET openDICOM# 0.1.1 openDICOM# provides a library for DICOM related development on Mono. Copyright (C) 2006-2007 <NAME> This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free S...
2.404057
cc40834d2a5decc5f7adf9da9f1959ff
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
97388
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "ScopatGames/ShojiSplice", "max_stars_repo_path": "ItemScripts/MakePersistent.cs", "provenance": "train-00000-of-00045.jsonl.gz:97389" }
starcoder
using UnityEngine; using System.Collections; public class MakePersistent : MonoBehaviour { void Start () { if (GameObject.FindGameObjectWithTag (Tags.localScene)) { if(transform.parent == null){ GameObject localSceneGO = GameObject.FindGameObjectWithTag (Tags.localScene); transform.parent = localSceneG...
2.060238
aa6c831529162c756a4996b6d2706412
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
97520
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "diennguyen1998/TheLost", "max_stars_repo_path": "My FPS game/Assets/Scripts/PauseMenu.cs", "provenance": "train-00000-of-00045.jsonl.gz:97521" }
starcoder
<reponame>diennguyen1998/TheLost<filename>My FPS game/Assets/Scripts/PauseMenu.cs using System; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; public class PauseMenu : MonoBehaviour { public static bool gameIsPause = false; public GameObject p...
2.400859
94fddab4402cbbd4bf2f51aa8d22366a
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
97521
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "Nodul/Passenger", "max_stars_repo_path": "Tests.EndToEnd/Controllers/UsersControllerTest.cs", "provenance": "train-00000-of-00045.jsonl.gz:97522" }
starcoder
<reponame>Nodul/Passenger using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Collections.Generic; using System.Net.Http; using System.Text; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.TestHost; using Passenger.Api; using Newtonsoft.Json; using Passenger.Infrastructure.DTO...
2.356634
c3c8182ccd8bc4591a3fb6ee3dfa278a
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
97522
{ "extension": "c-sharp", "max_stars_count": "17.0", "max_stars_repo_name": "Switcheo/NeoModules", "max_stars_repo_path": "src/NeoModules.Rest/DTOs/Switcheo/CreateResponse.cs", "provenance": "train-00000-of-00045.jsonl.gz:97523" }
starcoder
<reponame>Switcheo/NeoModules using System; using System.Collections.Generic; using Newtonsoft.Json; namespace NeoModules.Rest.DTOs.Switcheo { public class CreateResponse { [JsonProperty("id")] public Guid Id { get; set; } [JsonProperty("transaction")] public Txn Transaction {...
1.856228
a5cdf1851c25087beefaac4c0ca0e5e5
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
97523
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "webmaster442/TcPlayer2", "max_stars_repo_path": "TcPlayer/DialogProvider.cs", "provenance": "train-00000-of-00045.jsonl.gz:97524" }
starcoder
// ------------------------------------------------------------------------------------------------ // Copyright (c) 2021 <NAME> // This is free software under the terms of the MIT License. https://opensource.org/licenses/MIT // ------------------------------------------------------------------------------------------...
2.177867
56751e2f99a7ec35d70503ae5254f697
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
97524
{ "extension": "c-sharp", "max_stars_count": "13.0", "max_stars_repo_name": "firebelley/Deathville", "max_stars_repo_path": "scripts/UI/Cursor.cs", "provenance": "train-00000-of-00045.jsonl.gz:97525" }
starcoder
<filename>scripts/UI/Cursor.cs using Deathville.GameObject.Combat; using Deathville.Singleton; using Godot; namespace Deathville.UI { public class Cursor : CanvasLayer { private Node2D _node2d; private OverheatBar _overheatBar; public override void _Ready() { _node2...
2.24878
95c5fad829604d4da46b3c3edbba9497
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
97525
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "shijinglin/HttpDownload", "max_stars_repo_path": "Download/ConfigManagement.cs", "provenance": "train-00000-of-00045.jsonl.gz:97526" }
starcoder
<reponame>shijinglin/HttpDownload using System; using System.Collections.Generic; using System.Text; using System.Runtime.InteropServices; using System.IO; namespace Download { /// <summary> /// Config 管理 /// </summary> public class ConfigManagement { private static string path = ""; /...
2.81668
1e3c272e4be8170431ae153f79f26dee
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
97526
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "jerhon/hs-pi-camera-service", "max_stars_repo_path": "src/Honlsoft.Pi.CameraService/Camera/CameraPollingService.cs", "provenance": "train-00000-of-00045.jsonl.gz:97527" }
starcoder
<gh_stars>1-10 using System; using System.Diagnostics; using System.Threading; using System.Threading.Tasks; using Honlsoft.Pi.CameraService.Controllers; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; namespace Honlsoft.Pi.CameraService.Camera { /// <su...
2.585017
ba04ca161b98cf2291529b3ddf0900e4
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
97527
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "zhangming2/zhangming2", "max_stars_repo_path": "WaterCloud/WaterCloud.Application/DingTalkManage/DepartmentApp.cs", "provenance": "train-00000-of-00045.jsonl.gz:97528" }
starcoder
/******************************************************************************* * Copyright © 2020 WaterCloud.Framework 版权所有 * Author: WaterCloud * Description: WaterCloud快速开发平台 * Website: *********************************************************************************/ using WaterCloud.Code; using WaterCloud.En...
2.139536
8215e2a03f8e913cc6cb2cc8cded38f5
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
97528
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "iTwin/project-api-sample-app", "max_stars_repo_path": "iTwinProjectSampleApp/Program.cs", "provenance": "train-00000-of-00045.jsonl.gz:97529" }
starcoder
<filename>iTwinProjectSampleApp/Program.cs /*--------------------------------------------------------------------------------------+ | | Copyright (c) Bentley Systems, Incorporated. All rights reserved. | See LICENSE.md in the project root for license terms and full copyright notice. | +-------------------------------...
2.463716
cf9027a7ff5cfb3aa810da34d1c9947b
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
97529
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "PowerMogli/Rabbit.Db", "max_stars_repo_path": "src/RabbitDB/Materialization/DataSchemaCreator.cs", "provenance": "train-00000-of-00045.jsonl.gz:97530" }
starcoder
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="DataSchemaCreator.cs" company=""> // // </copyright> // <summary> // The data schema creator. // </summary> // ---------------------------------------------------------------...
2.528547
20fa0aa5f942d5cd6a4d54d0b350a325
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
97530
{ "extension": "c-sharp", "max_stars_count": "3.0", "max_stars_repo_name": "gordon-matt/MantleCMS", "max_stars_repo_path": "Mantle.Web/Mvc/MantleUI/Providers/Bootstrap3UIProvider.cs", "provenance": "train-00000-of-00045.jsonl.gz:97531" }
starcoder
<filename>Mantle.Web/Mvc/MantleUI/Providers/Bootstrap3UIProvider.cs using System; using Extenso.AspNetCore.Mvc.Rendering; using Microsoft.AspNetCore.Html; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Rendering; using Microsoft.AspNetCore.Mvc.ViewFeatures; namespace Mantle.Web.Mvc.MantleUI.Providers ...
2.244162
f7c4f30e884148e80cd18edd004c8256
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
97531
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "Hir-o/Settlers-of-Albion-Project-Files", "max_stars_repo_path": "Assets/Imported Assets/TBS Framework/Examples/Example4/Scripts/AdvWrsSquare.cs", "provenance": "train-00000-of-00045.jsonl.gz:97532" }
starcoder
<reponame>Hir-o/Settlers-of-Albion-Project-Files using TbsFramework.Cells; using UnityEngine; namespace TbsFramework.Example4 { public class AdvWrsSquare : Square { public string TileType; public int DefenceBoost; Vector3 dimensions = new Vector3(1.6f, 1.6f, 0f); public overr...
2.430496
1256a0d08c7a8c09058b53d6a1bdd4aa
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
97532
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "jwraats/domoticzUWP", "max_stars_repo_path": "DomoticzUWP/DomoticzUWP/Models/JSON/JSONFloorplans.cs", "provenance": "train-00000-of-00045.jsonl.gz:97533" }
starcoder
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DomoticzUWP.Models.JSON { public class JSONFloorplans { public List<Floorplan> result { get; set; } public String status { get; set; } } }
1.458928
6a2a9566217732bb687c4c8d8aa56c76
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
97533
{ "extension": "c-sharp", "max_stars_count": "148.0", "max_stars_repo_name": "ScriptBox99/Money", "max_stars_repo_path": "src/Money.Models/IPriceFixed.cs", "provenance": "train-00000-of-00045.jsonl.gz:97534" }
starcoder
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Money.Models { /// <summary> /// A price with fixed datetime. /// </summary> public interface IPriceFixed { /// <summary> /// Gets an amount. /// </...
2.519062
b55eb957a558249565873989b98bb296
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
97534
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "artyomszasa/NCoreUtils.IO", "max_stars_repo_path": "NCoreUtils.IO.Abstractions/IStreamTransformation.cs", "provenance": "train-00000-of-00045.jsonl.gz:97535" }
starcoder
using System; using System.IO; using System.Threading; using System.Threading.Tasks; namespace NCoreUtils.IO { public interface IStreamTransformation : IAsyncDisposable { ValueTask PerformAsync(Stream input, Stream output, CancellationToken cancellationToken = default); } }
1.95112
1fe2f49e73edaaa747fc52790ba133a1
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
97535
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "kusa-mochi/MochiSteg", "max_stars_repo_path": "StegBMP/Struct.cs", "provenance": "train-00000-of-00045.jsonl.gz:97536" }
starcoder
<filename>StegBMP/Struct.cs using System; using System.Collections.Generic; using System.Text; namespace StegBMP { struct HEADER_STEGBMP { public string Identifier; public int Version; public int nFiles; public FILE_PROPERTY[] FileProperties; } struct FILE_PROPERTY ...
1.638453
7acf2a7f4e00678eba23899b25abf676
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
97536
{ "extension": "c-sharp", "max_stars_count": "152.0", "max_stars_repo_name": "itlibrium/DDD-starter-dotnet", "max_stars_repo_path": "Sources/Sales/Sales.DeepModel/Pricing/Discounts/Discount.cs", "provenance": "train-00000-of-00045.jsonl.gz:97537" }
starcoder
<gh_stars>100-1000 using System; using MyCompany.Crm.Sales.Commons; using MyCompany.Crm.TechnicalStuff.Metadata.DDD; namespace MyCompany.Crm.Sales.Pricing.Discounts { [DddPolicy] [DddValueObject] public readonly struct Discount : PriceModifier, IEquatable<Discount> { private readonly bool _isPe...
2.593251
13d2bf1f7ea2853610895a0ebbfb5a00
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
97537
{ "extension": "c-sharp", "max_stars_count": "38.0", "max_stars_repo_name": "donovanmuller/pulumi-vsphere", "max_stars_repo_path": "sdk/dotnet/Outputs/ContentLibrarySubscription.cs", "provenance": "train-00000-of-00045.jsonl.gz:97538" }
starcoder
<filename>sdk/dotnet/Outputs/ContentLibrarySubscription.cs // *** 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...
1.810372
4edc2678473435ba658f945efc3f852b
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
97538
{ "extension": "c-sharp", "max_stars_count": "190.0", "max_stars_repo_name": "thedillonb/RepoStumble", "max_stars_repo_path": "RepositoryStumble.iOS/Views/CenterButton.cs", "provenance": "train-00000-of-00045.jsonl.gz:97539" }
starcoder
using UIKit; namespace RepositoryStumble.Views { public class CenterButton : UIButton { private readonly UIImageView _imageView; public bool Disabled { set { _imageView.Image = value ? Images.CenterSearchDisabled : Images.CenterSearch; } ...
2.359733
387d770385d3e48d57927d318a8d6db1
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
97539
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "mgrman/DGCLib", "max_stars_repo_path": "Views/DGCLib_WinForms/Utilities/NativeMethods.cs", "provenance": "train-00000-of-00045.jsonl.gz:97540" }
starcoder
using System; using System.Runtime.InteropServices; using System.Windows.Forms; namespace DGCLib_WinForms.Utilities { public static class NativeMethods { [DllImport("Kernel32.dll")] private static extern bool QueryPerformanceCounter(out long lpPerformanceCount); [DllImport("Kernel32.d...
2.172181
9e418a779ceb11cd0ab9a96fd3473353
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
97540
{ "extension": "c-sharp", "max_stars_count": "11.0", "max_stars_repo_name": "Serviceware/Dibix", "max_stars_repo_path": "src/Dibix.Testing/Data/DatabaseTestBase.cs", "provenance": "train-00000-of-00045.jsonl.gz:97541" }
starcoder
<reponame>Serviceware/Dibix<gh_stars>10-100 using System; using System.Collections.Generic; using System.Data; using System.Data.SqlClient; using System.Diagnostics; using System.Linq; using System.Reflection; using System.Threading; using System.Threading.Tasks; using Dibix.Dapper; namespace Dibix.Testing.Data { ...
2.069766
10328d01930faba0041f963c5779af0b
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
97541
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "zhht1204/ZhtDotNetExercise", "max_stars_repo_path": "D20170418/TestWebForm.aspx.designer.cs", "provenance": "train-00000-of-00045.jsonl.gz:97542" }
starcoder
//------------------------------------------------------------------------------ // <自动生成> // 此代码由工具生成。 // // 对此文件的更改可能导致不正确的行为,如果 // 重新生成代码,则所做更改将丢失。 // </自动生成> //------------------------------------------------------------------------------ namespace D20170418 { public partial class TestWe...
1.726133
8d6ef02678f3017d6671280732adc55c
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
97542
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "ArxOne/BestTest", "max_stars_repo_path": "BestTest/Test/TestStep.cs", "provenance": "train-00000-of-00045.jsonl.gz:97543" }
starcoder
// BestTest: test better than using MSTest // https://github.com/ArxOne/BestTest // MIT license, blah blah blah. namespace BestTest.Test { public enum TestStep { AssemblyInitialize, ClassInitialize, TestInitialize, Test, TestCleanup, ClassCleanup, Assemb...
1.453346
da1d53de385076cc3280f7711635729b
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
97543
{ "extension": "c-sharp", "max_stars_count": "10.0", "max_stars_repo_name": "RelistenNet/RelistenApi", "max_stars_repo_path": "RelistenApi/Models/Show.cs", "provenance": "train-00000-of-00045.jsonl.gz:97544" }
starcoder
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using Relisten.Api.Models.Api; namespace Relisten.Api.Models { public class Show : BaseRelistenModel, IHasPersistentIdentifier { [V2JsonOnly] [Required] public int artist_id { get; set; } [Required] pub...
2.226701
31933890c3e77fe11e5506b6d0532da8
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
97544
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "Shuttle/Shuttle.Core.Container.Tests", "max_stars_repo_path": "Shuttle.Core.Container.Tests/Service2.cs", "provenance": "train-00000-of-00045.jsonl.gz:97545" }
starcoder
namespace Shuttle.Core.Container.Tests { public class Service2 : IService { } }
0.969846
e5d436f90f9aba32671c3015a89d5e74
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
97545
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "sachindhus/csharp-sdk", "max_stars_repo_path": "src/IO.IEngage/Model/Group.cs", "provenance": "train-00000-of-00045.jsonl.gz:97546" }
starcoder
/* * iEngage 2.0 API * * This API enables Intelligent Engagement for your Business. iEngage is a platform that combines process, augmented intelligence and rewards to help you intelligently engage customers. * * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git * ...
1.803082
5f976e18b5108639106bcc940de9a10f
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
97546
{ "extension": "c-sharp", "max_stars_count": "12.0", "max_stars_repo_name": "jeffvella/EntitasGenerics", "max_stars_repo_path": "Assets/Sources/Entitas.Game/GameState/GameStateContext.cs", "provenance": "train-00000-of-00045.jsonl.gz:97547" }
starcoder
<reponame>jeffvella/EntitasGenerics using System; using Entitas.Generics; namespace Entitas.MatchLine { public class GameStateContext : GenericContext<GameStateContext, GameStateEntity> { public GameStateContext() : base(new GameStateContextDefinition()) { AddIndex<ScoreComponent>(...
1.922018
de3a59e6a72fa84ca5989913ebf6c4a5
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
97547
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "AronDavis/EPI", "max_stars_repo_path": "Tests/_6/_6_5_Tests.cs", "provenance": "train-00000-of-00045.jsonl.gz:97548" }
starcoder
<filename>Tests/_6/_6_5_Tests.cs<gh_stars>0 using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using Solutions._6; using System.Collections.Generic; namespace Tests { [TestClass] public class _6_5_Tests { [TestMethod] public void Test() { int[] data = new...
2.836196
ead8155afa7876223a615e7c875931fa
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
97548
{ "extension": "c-sharp", "max_stars_count": "21.0", "max_stars_repo_name": "oldnapalm/GTACoop-R", "max_stars_repo_path": "Server/PlayerData.cs", "provenance": "train-00000-of-00045.jsonl.gz:97549" }
starcoder
using System.Linq; namespace CoopServer { public struct PlayerData { public string Username { get; internal set; } private int LastPedHandle { get; set; } private int CurrentPedHandle { get; set; } public int PedHandle { get => CurrentPedHandle; ...
2.553433
7c3740c69f74af831711b8934116fd6e
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
97549
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "JiYangJi/QFramework", "max_stars_repo_path": "Unity2019ILRuntime/Assets/QFramework/Scripting/ScriptKitILRuntime/Editor/Tools/SimpleGenCSharpCode/MyMethod.cs", "provenance": "train-00000-of-00045.jsonl.gz:97550" }
starcoder
<filename>Unity2019ILRuntime/Assets/QFramework/Scripting/ScriptKitILRuntime/Editor/Tools/SimpleGenCSharpCode/MyMethod.cs using System; namespace Code.Core.BDFramework.SimpleGenCSharpCode { public class MyMethod { private string CodeContent =@" //[Note] public static [return type] [method name] ([param...
2.733418
cc77ebc160767060581ae110aa6f8586
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
97550
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "smeagolem/btg-summer-jam-2019", "max_stars_repo_path": "Assets/MMFeedbacks/MMFeedbacks/Feedbacks/MMFeedbackParticles.cs", "provenance": "train-00000-of-00045.jsonl.gz:97551" }
starcoder
<gh_stars>0 using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Assertions; namespace MoreMountains.Feedbacks { /// <summary> /// This feedback will play the associated particles system on play, and stop it on stop /// </summary> [AddComponentMenu("")] ...
2.170011
f0d2f8c8a5b6247faaf9c40c36d3400d
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
97551
{ "extension": "c-sharp", "max_stars_count": "2066.0", "max_stars_repo_name": "JosephTico/UtinyRipper", "max_stars_repo_path": "uTinyRipperCore/Parser/Asset/IDependent.cs", "provenance": "train-00000-of-00045.jsonl.gz:97552" }
starcoder
<gh_stars>1000+ using System.Collections.Generic; namespace uTinyRipper.Classes { public interface IDependent { IEnumerable<PPtr<Object>> FetchDependencies(DependencyContext context); } }
1.254176
d1bdacc0c07c3d8e2e62d33414ed96ab
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
97552
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "gbradburn/Starcastle", "max_stars_repo_path": "Assets/_project/Scripts/TitleScreen/TitleScreenUI.cs", "provenance": "train-00000-of-00045.jsonl.gz:97553" }
starcoder
using UnityEngine; using UnityEngine.SceneManagement; public class TitleScreenUI : MonoBehaviour { private void Start() { MusicManager.Instance?.PlayMusic(MusicManager.MusicTracks.TitleMusic); } public void PlayButtonClicked() { LoadMainScene(); } private void LoadMainScen...
1.814649
3d9b03f33c9d60b734189392752a1fe9
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
97553
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "TINF17C/Iodd2AmlConverter", "max_stars_repo_path": "Iodd2AmlConverter.Library/src/Iodd/Elements/Name.cs", "provenance": "train-00000-of-00045.jsonl.gz:97554" }
starcoder
<reponame>TINF17C/Iodd2AmlConverter using System.Xml.Linq; using Iodd2AmlConverter.Library.Aml; using Iodd2AmlConverter.Library.Aml.Elements; using Iodd2AmlConverter.Library.Extensions; namespace Iodd2AmlConverter.Library.Iodd.Elements { public class Name : IoddElement { public string TextId {...
2.262211
00c12a43bdb1fc6c7a154087e8769bd9
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
97554
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "thebeanogamer/starraid", "max_stars_repo_path": "Starraid/Assets/Scripts/bulletController.cs", "provenance": "train-00000-of-00045.jsonl.gz:97555" }
starcoder
using System.Collections; using System.Collections.Generic; using System.Threading; using UnityEngine; public class bulletController : MonoBehaviour { // Create variable using which the rigidbody 2d of the player can be accessed private Rigidbody2D rb2d; // Create variable to store desired speed of bullets publ...
3.010661
f62df6c2260128833c9d2b615fc83409
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
97555
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "michaelcoxon/EnsureFramework", "max_stars_repo_path": "EnsureFramework/Assertions/Nested/StringAssertions.cs", "provenance": "train-00000-of-00045.jsonl.gz:97556" }
starcoder
using EnsureFramework.Assertions; using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using System.Text.RegularExpressions; namespace EnsureFramework { /// <summary> /// Extensions for <see cref="IArgumentAssertionBuilder"/> that provide assertions i...
2.755191
b27ede69afb8ebfd9c5a4b16c5d0d54b
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
97556
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "lanekp/DaysSince", "max_stars_repo_path": "DaysSince/Resources/AppResources.Designer.cs", "provenance": "train-00000-of-00045.jsonl.gz:97557" }
starcoder
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.34014 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
2.316918
4c0cb459b8a71a58047955e032a73bdb
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
97557
{ "extension": "c-sharp", "max_stars_count": "22.0", "max_stars_repo_name": "smellyriver/tank-inspector-pro", "max_stars_repo_path": "src/Smellyriver.TankInspector.Pro.CrewConfigurator/SkillVM.cs", "provenance": "train-00000-of-00045.jsonl.gz:97558" }
starcoder
<gh_stars>10-100 using System.Windows.Input; using System.Windows.Media; using Smellyriver.TankInspector.Pro.Data; using Smellyriver.TankInspector.Pro.Repository; using Smellyriver.TankInspector.Common.Wpf.Input; namespace Smellyriver.TankInspector.Pro.CrewConfigurator { class SkillVM : SkillVMBase { ...
2.079293
ecb27eaf1252c8c097a241e30cd35806
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
97558
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "ucdavis/CaesHelp", "max_stars_repo_path": "src/CaesHelp/Services/EmailService.cs", "provenance": "train-00000-of-00045.jsonl.gz:97559" }
starcoder
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using System.Net.Mail; using System.Net.Mime; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; using CaesHelp.Models; using Microsoft.Extensions.Options; namespace...
2.442354
c9425180b10b6633793d05a84281f586
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
97559
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "kkaraivanov/CCharpDB", "max_stars_repo_path": "EntityFrameworkCore/PetStore/Services/PetSore.Services/Busines/SalesService.cs", "provenance": "train-00000-of-00045.jsonl.gz:97560" }
starcoder
namespace PetSore.Services.Busines { using System; using System.Linq; using Data.Common.Enumerators; using PetStore.Data; using PetStore.Data.Model.StoreModel; using PetStore.Data.Model.ToyModel; public class SalesService { private readonly PetStoreDbContext db; public...
3.064415
fe4deea56513acc0339656cc62760eb1
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
97560
{ "extension": "c-sharp", "max_stars_count": "6.0", "max_stars_repo_name": "mohamdiveten/csharp-nine-cookbook", "max_stars_repo_path": "CSharp9Cookbook/Chapter01/Section-1-5/SingleProject/SimpleApp/View/SignIn.cs", "provenance": "train-00000-of-00045.jsonl.gz:97561" }
starcoder
using SimpleApp.Model; using System; namespace SimpleApp.View { public class SignIn { Greeting greeting = new Greeting(); public void Greet() { Console.Write("Is this your first visit? (true/false): "); string newResponse = Console.ReadLine(); bool...
2.991187
e8185e949af14b1c40edbf73fb02c061
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
97561
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "InsightAppDev/Metron", "max_stars_repo_path": "src/Metron/IModelRepository.cs", "provenance": "train-00000-of-00045.jsonl.gz:97562" }
starcoder
using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; namespace Metron { public interface IModelRepository<TModel> where TModel : Model { Task Add(TModel model, CancellationToken cancellationToken = default); Task<IReadOnlyCollection<TMod...
2.364342
0120f6385e53f871b13c59a1a5c45ee0
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
97562
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "UhBroSeemOff/StupidPupidGame", "max_stars_repo_path": "Arena/Arena.cs", "provenance": "train-00000-of-00045.jsonl.gz:97563" }
starcoder
using MyStupidPupidGame.Character; using System; using System.Collections.Generic; using System.Linq; namespace MyStupidPupidGame.Arena { public abstract class Arena : IArena { #region Properties public IEnumerable<ICharacter> FightersList { get; private set; } #endregion #r...
3.624854
ade95cb6534e63f33a03cf9e5a00032f
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
97563
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "kznts9v-1lya/computer-practice", "max_stars_repo_path": "Third semester/Completed homeworks/Homework 4/Future/Future/Cascade.cs", "provenance": "train-00000-of-00045.jsonl.gz:97564" }
starcoder
<reponame>kznts9v-1lya/computer-practice<gh_stars>0 using System.Collections.Generic; using System.Threading.Tasks; namespace Future { public class Cascade : AModel, IVectorLengthComputer { public double ComputeLength(int[] coordinates) { if(coordinates.Length == 0) ...
2.744729
04b11a57f4e4036eae9263730316e517
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
97564
{ "extension": "c-sharp", "max_stars_count": "18.0", "max_stars_repo_name": "mfkiwl/RayRenderer-dp4a", "max_stars_repo_path": "AnyDock/ObservableCollectionEx.cs", "provenance": "train-00000-of-00045.jsonl.gz:97565" }
starcoder
using System; using System.Collections.Specialized; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Collections; namespace AnyDock { public class ObservableCollectionEx<T> : ObservableCollection<T> { ...
2.426175
7c47591cfe728177bfdb150dca6daf05
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
97565
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "dtuck43/HairSalon", "max_stars_repo_path": "HairSalon/Views/Shared/AllClients.cshtml", "provenance": "train-00000-of-00045.jsonl.gz:97566" }
starcoder
@using HairSalonApp.Models; <!DOCTYPE html> @{ Layout = "_Layout"; } <h1>All Clients</h1> @if (Model != null) { foreach(var client in Client.GetAll()) { <h4><strong><a href="/clients/details/@client.GetId()">@client.GetName()</a></strong> </h4> <br> ...
2.521202
96af272de8bcb56b6f974cbd728fe55e
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
97566
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "alexandrnikitin/google-hashcode-2018", "max_stars_repo_path": "Rides/GreedyProblemSolver.cs", "provenance": "train-00000-of-00045.jsonl.gz:97567" }
starcoder
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; namespace Rides { public class GreedyProblemSolver { public static Solution Solve(Problem problem) { var solution = new Solution(problem.NumberOfCars); var rides = new HashSet<R...
3.084273
0c498fd8698f15ce9555bffdd02a139f
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
97567
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "TiDaGo/ConvertorFormCollectionToClass", "max_stars_repo_path": "tidago.apofc.nunit/UnitTest1.cs", "provenance": "train-00000-of-00045.jsonl.gz:97568" }
starcoder
<filename>tidago.apofc.nunit/UnitTest1.cs using Microsoft.AspNetCore.Http; using NUnit.Framework; using System.IO; using System.Linq; using System.Runtime.Serialization; using tidago.apofc.Helpers; namespace tidago.apofc.nunit { public class Tests { private FormCollection collection; [SetUp] ...
2.340822
2fd0fe52f6eeca4dabed90ab3d893674
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
97568
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "ForrestFalcon/dwdWarning", "max_stars_repo_path": "dwdWarnings/DwdWarnings.cs", "provenance": "train-00000-of-00045.jsonl.gz:97569" }
starcoder
using dwdWarnings.Model; using dwdWarnings.Util; using System; using System.Linq; using System.Threading.Tasks; namespace dwdWarnings { public class Warnings { /// <summary> /// Return a list of warnings from the DWD (Deutscher Wetterdienst) asynchronously. /// </summary> /// <...
2.730297
07f8dba1a13df61342a44288fdfe833b
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
97569
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "ashwani2711/MyBucket", "max_stars_repo_path": "SP.Tools/SP.Tools/Src/Transformation.ConsoleTest/Program.cs", "provenance": "train-00000-of-00045.jsonl.gz:97570" }
starcoder
<reponame>ashwani2711/MyBucket using System; using System.Collections.Generic; using System.Linq; using System.Configuration; using System.Text; using System.Threading.Tasks; using Transformation.PowerShell.MasterPage; using Transformation.PowerShell.PageLayouts; using Transformation.PowerShell.WebPart; using Transfor...
1.61181
2621ad1e70a94df15141f3bb7ec46acb
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
97570
{ "extension": "c-sharp", "max_stars_count": "25.0", "max_stars_repo_name": "luizjoli/blip-sdk-csharp", "max_stars_repo_path": "src/Take.Blip.Client/Activation/Rules/Conditions/EnvelopeReceivedConditionFilter.cs", "provenance": "train-00000-of-00045.jsonl.gz:97571" }
starcoder
using System; using System.Collections.Generic; using System.Text; using System.Threading; using System.Threading.Tasks; using Lime.Protocol; namespace Take.Blip.Client.Activation.Rules.Conditions { public class EnvelopeReceivedConditionFilter { public string Sender { get; set; } public stri...
1.28001
8fa6d0ef617c4a42ec1533b8cf45a2c2
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
97571
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "CloverFox/phalanx", "max_stars_repo_path": "src/WarHub.ArmouryModel.Extensions/LookupResultKind.cs", "provenance": "train-00000-of-00045.jsonl.gz:97572" }
starcoder
namespace WarHub.ArmouryModel; /// <summary> /// Kind of a lookup result. /// </summary> /// <remarks> /// Order is important, higher values take precedence over lower values. /// </remarks> internal enum LookupResultKind { Empty, Unreferenced, NotShared, NotImported, Ambiguous, /// <summary> ...
2.128733
3c9836fbc44feff2d5d13a07bee71591
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
97572
{ "extension": "c-sharp", "max_stars_count": "20.0", "max_stars_repo_name": "burningmyself/microservice", "max_stars_repo_path": "modules/organization/src/OrganizationService.Application/OrganizationService/OrganizationServiceApplicationModule.cs", "provenance": "train-00000-of-00045.jsonl.gz:97573" }
starcoder
<reponame>burningmyself/microservice using Volo.Abp.AutoMapper; using Volo.Abp.Modularity; namespace OrganizationService { [DependsOn( typeof(OrganizationServiceDomainModule), typeof(OrganizationServiceApplicationContractsModule), typeof(AbpAutoMapperModule) )] public class Org...
1.636848
d9db81151af18b6b1986906a71c9d058
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
97573
{ "extension": "c-sharp", "max_stars_count": "3.0", "max_stars_repo_name": "DraxCodes/DisukuBot", "max_stars_repo_path": "Disuku.Core/Discord/IDiscordEvents.cs", "provenance": "train-00000-of-00045.jsonl.gz:97574" }
starcoder
<gh_stars>1-10 using System; namespace Disuku.Core.Discord { public interface IDiscordEvents { event EventHandler ClientReady; } }
1.297261
fa3aeb60ecbdf06056acfb649784aba5
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
97574
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "gmdeniz/My-Unity2D-Games", "max_stars_repo_path": "Snow Boarder/Assets/Editor/SpriteShapeHeightEditor.cs", "provenance": "train-00000-of-00045.jsonl.gz:97575" }
starcoder
<gh_stars>0 using UnityEngine; using UnityEditor; using UnityEngine.UIElements; using UnityEditor.UIElements; public class SpriteShapeHeightEditor : EditorWindow { FloatField floatField; [MenuItem("Custom/Edit Sprite Shape Height")] public static void ShowWindow() { SpriteShapeHeightEditor win...
1.831888
24ec11e453988a0121d219d1ce6001fb
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
97575
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "mifopen/notion-sdk", "max_stars_repo_path": "Notion.SDK/WorkspaceParent.cs", "provenance": "train-00000-of-00045.jsonl.gz:97576" }
starcoder
<filename>Notion.SDK/WorkspaceParent.cs namespace Notion { public class WorkspaceParent : Parent { public WorkspaceParent() { Type = ParentType.Workspace; } } }
1.739253
0548d1135f4d21eadd202e7a2c6c0371
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
97576
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "nzhul/garderob", "max_stars_repo_path": "App/App.Web/Views/Orders/Make.cshtml", "provenance": "train-00000-of-00045.jsonl.gz:97577" }
starcoder
@using App.Models.Orders; @model OrderInputModel @{ ViewBag.Title = "Index"; } <!-- breadcrumbs start--> <section class="breadcrumbs"> <div class="container"> <div class="text-center breadcrumbs-item"> <h1>Заявка</h1><a href="/">Начало</a><i class="fa fa-angle-right"></i><a href="/make">Направи</a><i class="fa...
2.271058
a946bf221d4bd13fdae4cbbe25f7a723
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
97577
{ "extension": "c-sharp", "max_stars_count": "22.0", "max_stars_repo_name": "aidan-g/FoxTunes", "max_stars_repo_path": "FoxTunes.Core.Windows/Utilities/WindowsTaskbarList.cs", "provenance": "train-00000-of-00045.jsonl.gz:97578" }
starcoder
<filename>FoxTunes.Core.Windows/Utilities/WindowsTaskbarList.cs using System; using System.Runtime.InteropServices; namespace FoxTunes { public static class WindowsTaskbarList { public const int WM_COMMAND = 0x0111; public const int THBN_CLICKED = 0x1800; private static re...
2.047709
c988b3533119a381b063b8082e818ab2
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
97578
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "ckarcz/Strata.ConvertedToCSharp", "max_stars_repo_path": "modules/basics/src/main/java/com/opengamma/strata/basics/currency/FxRateProvider.cs", "provenance": "train-00000-of-00045.jsonl.gz:97579" }
starcoder
<gh_stars>0 /* * Copyright (C) 2015 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ namespace com.opengamma.strata.basics.currency { /// <summary> /// A provider of FX rates. /// <para> /// This provides the ability to obtain an FX rate. The interfac...
2.690939
bd82952df15d02bcf30971c39d5a8b2f
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
97579
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "ErenToktas/Arac-Satis-Website", "max_stars_repo_path": "Arac_Satis_Website/Arac_Satis_Website/Models/entity/AracGenelBakis.cs", "provenance": "train-00000-of-00045.jsonl.gz:97580" }
starcoder
<reponame>ErenToktas/Arac-Satis-Website //------------------------------------------------------------------------------ // <auto-generated> // This code was generated from a template. // // Manual changes to this file may cause unexpected behavior in your application. // Manual changes to this file will be...
1.240325
86ad5fc6f4b78a07f69bf1e3e200a8f1
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
97580
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "HelgePlaschke/MahApps.Metro", "max_stars_repo_path": "MahApps.Metro/Converters/ClockDegreeConverter.cs", "provenance": "train-00000-of-00045.jsonl.gz:97581" }
starcoder
<reponame>HelgePlaschke/MahApps.Metro namespace MahApps.Metro.Converters { using System; using System.Globalization; using System.Windows.Data; /// <summary> /// Converts a double representing either hour/minute/second to the corresponding angle. /// </summary> [ValueConversion(typeof(doub...
2.919652
7df81009c56f0f00772f7e40e4076ee4
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
97581
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "missingfragment/scrollingshooterdemo", "max_stars_repo_path": "Assets/Custom/Scripts/Explosion.cs", "provenance": "train-00000-of-00045.jsonl.gz:97582" }
starcoder
using System.Collections; using UnityEngine; using UnityEngine.Experimental.Rendering.Universal; namespace SpaceShooterDemo { /// <summary> /// An explosion effect that uses pooling and adjusts its Light2D. /// </summary> public class Explosion : MonoBehaviour { private const int LIGHT_INT...
2.515602
598aac42c9a1ce535e4fb5f9221a4e3e
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
97582
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "georgidelchev/programemein", "max_stars_repo_path": "src/Web/Programemein.Web.ViewModels/Images/ImageInputModel.cs", "provenance": "train-00000-of-00045.jsonl.gz:97583" }
starcoder
using System.IO; namespace Programemein.Web.ViewModels.Images { public class ImageInputModel { public string Name { get; set; } public string Type { get; set; } public Stream Content { get; set; } public int MemeId { get; set; } } }
1.626202
af71b5905e1f068da8d6cc34fac85b7c
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
97583
{ "extension": "c-sharp", "max_stars_count": "4.0", "max_stars_repo_name": "hamish-milne/Lexico", "max_stars_repo_path": "Lexico/IParser.cs", "provenance": "train-00000-of-00045.jsonl.gz:97584" }
starcoder
using System; namespace Lexico { [Flags] public enum ParserFlags { None = 0, /// <summary> /// Do not push or pop this Parser to ITrace implementations. /// </summary> IgnoreInTrace = 1 << 0, /// <summary> /// Treat this parser as a...
2.919149
fc1c42bd2d9a40a4d8106605456cd701
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
97584
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "moto2002/kaituo_src", "max_stars_repo_path": "src/FullSerializer/fsDataType.cs", "provenance": "train-00000-of-00045.jsonl.gz:97585" }
starcoder
<gh_stars>1-10 using System; namespace FullSerializer { public enum fsDataType { Array, Object, Double, Int64, Boolean, String, Null } }
1.585151
4b549958da5f558f0a5a2357ba362592
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
97585
{ "extension": "c-sharp", "max_stars_count": "30.0", "max_stars_repo_name": "askovsgaard/riak-dotnet-client", "max_stars_repo_path": "src/RiakClient/Commands/TS/GetResponse.cs", "provenance": "train-00000-of-00045.jsonl.gz:97586" }
starcoder
<gh_stars>10-100 namespace RiakClient.Commands.TS { using System.Collections.Generic; using Util; /// <summary> /// Response to a <see cref="Get"/> command. /// </summary> public class GetResponse : Response<Row, IEnumerable<Row>> { private readonly IEnumerable<Column> co...
2.629805
bc68f394e0cfce4f6d4ba509ccd0bc2d
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
97586
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "ksharmaz/Sai-Yoga-Training-Centre-Management-System", "max_stars_repo_path": "SaiYogaTraining/View/AddLoginPage.Designer.cs", "provenance": "train-00000-of-00045.jsonl.gz:97587" }
starcoder
namespace SaiYogaTraining.View { partial class AddLoginPage { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
2.096243
99d76ea0aa2484790189a5ac661ca28e
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
97587
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "ZanduWesaku/WalletWasabi", "max_stars_repo_path": "WalletWasabi/WabiSabi/Client/Decomposer.cs", "provenance": "train-00000-of-00045.jsonl.gz:97588" }
starcoder
using System.Collections.Generic; using System.Linq; namespace WalletWasabi.WabiSabi.Client; /// <summary> /// https://github.com/lontivero/DecompositionsPlayground/blob/master/Notebook.ipynb /// </summary> public static class Decomposer { public static long[] StdDenoms; public static IEnumerable<(long Sum, int Co...
2.797994
1b79cfd9c28c70b47a93c9041dd8e321
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
97588
{ "extension": "c-sharp", "max_stars_count": "7.0", "max_stars_repo_name": "ka4ep/Lexical.FileProvider", "max_stars_repo_path": "Lexical.FileProvider/Common/IBelatedDisposeList.cs", "provenance": "train-00000-of-00045.jsonl.gz:97589" }
starcoder
<filename>Lexical.FileProvider/Common/IBelatedDisposeList.cs // -------------------------------------------------------- // Copyright: <NAME> // Date: 21.12.2018 // Url: http://lexical.fi // -------------------------------------------------------- using System; using System.Collections.Generi...
2.755107
a3db62d7bc17e55354673530a2b0dd17