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
94061
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "nohros/nohros-must", "max_stars_repo_path": "src/base/common/cache/UnsetValueReference.cs", "provenance": "train-00000-of-00045.jsonl.gz:94062" }
starcoder
<filename>src/base/common/cache/UnsetValueReference.cs using System; using System.Collections.Generic; using System.Text; namespace Nohros.Caching { /// <summary> /// Placeholder. Indicates that the value hasn't been set yet. /// </summary> internal sealed class UnsetValueReference<T> : IValueReferen...
2.665038
38bdea5e73b41bd8173e7caf1ae91aeb
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94062
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "anyways-open/vector-tiles-api", "max_stars_repo_path": "src/ANYWAYS.VectorTiles.API/Startup.cs", "provenance": "train-00000-of-00045.jsonl.gz:94063" }
starcoder
<filename>src/ANYWAYS.VectorTiles.API/Startup.cs using System.Linq; using ANYWAYS.Tools.AspNetCore; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.HttpOverrides; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Configuration; using Microsoft.Extensio...
2.074749
acb6073cce3f4c33b9c02b48090349fb
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94063
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "dennispepa/Test-App", "max_stars_repo_path": "TestApp/Controllers/UserAPIController.cs", "provenance": "train-00000-of-00045.jsonl.gz:94064" }
starcoder
<gh_stars>0 using System; using System.Collections.Generic; using System.Data; using System.Data.Entity; using System.Data.Entity.Infrastructure; using System.Linq; using System.Net; using System.Net.Http; using System.Web.Http; using System.Web.Http.Description; using TestApp.DBContext; using FullStackApp.DBContext; ...
2.193563
68051b2acf460be1ab48035a7fe14d53
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94064
{ "extension": "c-sharp", "max_stars_count": "10.0", "max_stars_repo_name": "Albeoris/MMXLegacy", "max_stars_repo_path": "Legacy.Framework/Legacy/Views/SecretView.cs", "provenance": "train-00000-of-00045.jsonl.gz:94065" }
starcoder
using System; using System.Collections; using Legacy.Core.Api; using Legacy.Core.Entities; using Legacy.Core.Entities.InteractiveObjects; using Legacy.Core.EventManagement; using Legacy.Core.NpcInteraction; using Legacy.EffectEngine; using Legacy.EffectEngine.Effects; using UnityEngine; using Object = System.Object; ...
1.612922
1107d0eadb95e06c9987c449c0d84c02
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94065
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "thanhtuanlk11/libraryForm", "max_stars_repo_path": "LibraryManagementSystem/admBookSearch.Designer.cs", "provenance": "train-00000-of-00045.jsonl.gz:94066" }
starcoder
namespace LibraryManagementSystem { partial class admBookSearch { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary>...
1.897114
3fc6006162724291a1e05a1ba907292f
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94066
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "DragoonKiller/ProtaFramework", "max_stars_repo_path": "DataBinding/CommonBindings/DataBindings2D.cs", "provenance": "train-00000-of-00045.jsonl.gz:94067" }
starcoder
<reponame>DragoonKiller/ProtaFramework<gh_stars>0 using UnityEngine; using UnityEditor; namespace Prota.Data { public class DataBindings2D : DataBlock { public new Rigidbody2D rigidbody => this.GetComponent<Rigidbody2D>(); public SpriteRenderer spriteRenderer => this.GetComponent<Spri...
1.863541
b3ddd83e47518fafec12d6ee4aa800e2
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94067
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "BrichfoE/doctor-mangle-2.0", "max_stars_repo_path": "doctor-mangle/controlers/ProgramControl.cs", "provenance": "train-00000-of-00045.jsonl.gz:94068" }
starcoder
using System; namespace doctor_mangle_data.controllers { // Singleton pattern - using this to ensure that the overall game management class // only has one instance which is universally accessible public sealed class ProgramControl { private static readonly ProgramControl instance = new Pr...
2.468431
6edf9335c44196a9aa65a38f2cd2d92d
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94068
{ "extension": "c-sharp", "max_stars_count": "23.0", "max_stars_repo_name": "still-scene/t3", "max_stars_repo_path": "T3/Gui/Windows/Presets/VariationsWindow.cs", "provenance": "train-00000-of-00045.jsonl.gz:94069" }
starcoder
<gh_stars>10-100 using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Numerics; using ImGuiNET; using T3.Core; using T3.Core.IO; using T3.Core.Logging; using T3.Core.Operator; using T3.Gui.Interaction.Variation; using T3.Gui.Interaction.Variation.Model; using T3.G...
1.955481
6ba84d56a3b730736011e3f41e32d43e
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94069
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "balkar20/SibTrain", "max_stars_repo_path": "net-core/Makc2020.Mods.IdentityServer.Base/Resources/Titles/ModIdentityServerBaseResourceTitles.cs", "provenance": "train-00000-of-00045.jsonl.gz:94070" }
starcoder
<filename>net-core/Makc2020.Mods.IdentityServer.Base/Resources/Titles/ModIdentityServerBaseResourceTitles.cs //Author <NAME>//makc// using Microsoft.Extensions.Localization; namespace Makc2020.Mods.IdentityServer.Base.Resources.Titles { /// <summary> /// Мод "IdentityServer". Основа. Ресурсы. Заголовки. ...
2.463066
e90554f7734fdde520a1195d12be5384
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94070
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "GoldenR1618/SoftUni-Projects", "max_stars_repo_path": "05.C#_Advanced/04.FILES_AND_STREAMS/EXERCISE/03.Word_Count/WordCount.cs", "provenance": "train-00000-of-00045.jsonl.gz:94071" }
starcoder
namespace _03.Word_Count { using System; using System.IO; using System.Collections.Generic; using System.Linq; public class WordCount { public static void Main(string[] args) { string[] words = File.ReadAllText("words.txt").ToLower().Split(' '); List<st...
3.579581
29975e97136aa4956be1c404fd7f9415
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94071
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "Sleeya/C-Professional", "max_stars_repo_path": "CSharp-Advanced/Stacks and Queues/Stacks and Queues exercises/Stacks and Queues Exercises/BasicStackOperations/Program.cs", "provenance": "train-00000-of-00045.jsonl.gz:94072" }
starcoder
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Xml.XPath; namespace BasicStackOperations { class Program { static void Main(string[] args) { Stack<int> operations = new Stack<int>(Console.ReadLine().S...
3.321418
c78975e83b3b0298f8a181443aedf77f
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94072
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "MateusC/Seventh", "max_stars_repo_path": "Seventh.DGuard/Seventh.DGuard.Domain/Entities/Video.cs", "provenance": "train-00000-of-00045.jsonl.gz:94073" }
starcoder
<filename>Seventh.DGuard/Seventh.DGuard.Domain/Entities/Video.cs<gh_stars>0 using Seventh.DGuard.Domain.Core; using Seventh.DGuard.Domain.Util; using System; namespace Seventh.DGuard.Domain.Entities { public class Video : Entity { protected Video() { } public Video(String des...
2.276351
22ccf16e1fb19a1e68de87cd7e3b4a44
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94073
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "MingZhuLiu/Hikvision_iSecurePlatform", "max_stars_repo_path": "Hikvision_iSecurePlatform.Lib/Models/Response/Organize.cs", "provenance": "train-00000-of-00045.jsonl.gz:94074" }
starcoder
<gh_stars>1-10 using System; using System.Collections.Generic; using System.Text; using Newtonsoft.Json; using Hikvision_iSecurePlatform.Lib.Commons; using Newtonsoft.Json.Converters; namespace Hikvision_iSecurePlatform.Lib.Models.Response { public class Organize { public string orgIndexCode{get;set;} ...
1.363515
598214284e8a16bedb5015d7378efa3b
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94074
{ "extension": "c-sharp", "max_stars_count": "9.0", "max_stars_repo_name": "OmniSharp/msbuild", "max_stars_repo_path": "src/XMakeTasks/UnitTests/Exec_Tests.cs", "provenance": "train-00000-of-00045.jsonl.gz:94075" }
starcoder
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Collections.Generic; using System.IO; using System.Reflection; using System.Text; using Microsoft.VisualStudio.TestTools.UnitTesting...
2.17194
421b44c88f817ea2bb7d27fca11a3ba7
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94075
{ "extension": "c-sharp", "max_stars_count": "4.0", "max_stars_repo_name": "sesorov/Graveyard-Seeker", "max_stars_repo_path": "Graveyard Seeker/Assets/TubePuzzle/Scripts/GameManager.cs", "provenance": "train-00000-of-00045.jsonl.gz:94076" }
starcoder
using System.Collections; using System.Collections.Generic; using UnityEngine; public class GameManager : MonoBehaviour { public GameObject pipesHolder; public GameObject[] pipes; public GameObject puzzle; [SerializeField] public int totalPipes = 0; [SerializeField] int correctedPipes; ...
2.692403
38f3c0fd2d3f4397a85d1985f8e10f44
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94076
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "nmayeur/OpenSportLog", "max_stars_repo_path": "OSL.Common/model/TrackPointVO.cs", "provenance": "train-00000-of-00045.jsonl.gz:94077" }
starcoder
/* Copyright 2021 <NAME> 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 https://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distri...
2.239022
21eb011dbf3dd30295ce69c4ee58dd0c
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94077
{ "extension": "c-sharp", "max_stars_count": "485.0", "max_stars_repo_name": "ScriptBox99/reaqtor", "max_stars_repo_path": "Nuqleon/Core/JSON/Nuqleon.Json.Serialization/Parser/Parser.Integers.Generated.cs", "provenance": "train-00000-of-00045.jsonl.gz:94078" }
starcoder
<gh_stars>100-1000 // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT License. // See the LICENSE file in the project root for more information. // // Revision history: // // BD - 04/05/2016 - Created fast JSON deserializer functionality. ...
2.670298
abb67fa64a4fb375f9f72ee172762203
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94078
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "andreslon/Pokedex", "max_stars_repo_path": "Pokedex.App/Pokedex.Cross/Pokedex.Cross/Views/PokedexPage.xaml.cs", "provenance": "train-00000-of-00045.jsonl.gz:94079" }
starcoder
using Pokedex.Cross.ViewModels; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Xamarin.Forms; namespace Pokedex.Cross.Views { public partial class PokedexPage : ContentPage { public PokedexPage() { Initiali...
1.423223
e4168ae4ef5bb20afe653e922c3d318f
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94079
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "tortoise10h/Fruit_WareHouse_Management_Api", "max_stars_repo_path": "api/CQRS/Products/Queries/GetProductBySkuQuery.cs", "provenance": "train-00000-of-00045.jsonl.gz:94080" }
starcoder
using api.Contracts.V1.Exceptions; using api.Contracts.V1.ResponseModels.Products; using api.Helpers; using AutoMapper; using LanguageExt.Common; using MediatR; using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; ...
2.469922
adad0e36ac7ecc815b4be4b0b5eed691
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94080
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "krasiymihajlov/Soft-Uni-practices", "max_stars_repo_path": "C# Advanced/07. FuncPrograming/Func Programing - Exer/02. KnightsOfHonor/KnightsOfHonor.cs", "provenance": "train-00000-of-00045.jsonl.gz:94081" }
starcoder
<gh_stars>0 namespace _02.KnightsOfHonor { using System; public class KnightsOfHonor { public static void Main() { string[] input = Console.ReadLine().Split(new char[0], StringSplitOptions.RemoveEmptyEntries); Action<string> print = p => Console.WriteLine($"Sir {p}...
3.160667
4ed995db92a0373c3ebc5f73a5828e06
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94081
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "radekdoulik/wa-info", "max_stars_repo_path": "WasmOpcode.cs", "provenance": "train-00000-of-00045.jsonl.gz:94082" }
starcoder
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace WebAssemblyInfo { enum Opcode : byte { // control Unreachable = 0x00, Nop = 0x01, Block = 0x02, Loop = 0x03, If = 0x04, Else = 0...
2.129643
c8c79bbb8ed67609ad1b8e34261b81e1
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94082
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "Sholtee/primitives", "max_stars_repo_path": "SRC/Public/Threading/SafeEnumerator.cs", "provenance": "train-00000-of-00045.jsonl.gz:94083" }
starcoder
<reponame>Sholtee/primitives /******************************************************************************** * SafeEnumerator.cs * * * * Author: <NAME> ...
2.93205
19eea27f0cc8f1149f00486a618d5bf8
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94083
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "glass3s/KlaviyoDotNet", "max_stars_repo_path": "Services/ListService.cs", "provenance": "train-00000-of-00045.jsonl.gz:94084" }
starcoder
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using KlaviyoDotNet.Util; using KlaviyoDotNet.Components; using KlaviyoDotNet.Exceptions; using KlaviyoDotNet.Services; using System.Web; namespace KlaviyoDotNet.Services { public class...
2.130687
17ed4d15b77552e511a8996304c5f227
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94084
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "amkherad/AMKs-Gear.net", "max_stars_repo_path": "00-Core/Architecture/Modeling/IIdModel.cs", "provenance": "train-00000-of-00045.jsonl.gz:94085" }
starcoder
using System; using AMKsGear.Architecture.Data; namespace AMKsGear.Architecture.Modeling { public interface IIdModel<TId> : IModel { TId Id { get; set; } } public interface IInt32IdModel : IIdModel<int> { } public interface IInt64IdModel : IIdModel<long> { } public interface IGuidIdMod...
1.898441
ac30e7a66eeeec9fe07a45f82d476005
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94085
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "comstyle/eXpand", "max_stars_repo_path": "Demos/Modules/SystemTester/SystemTester.Module.Web/FunctionalTests/PropertyEditors/ASPxTokenListPropertyEditor/ASPxTokenListPropertyEditorUpdater.cs", "provenance": "train-00000-of-00045.jsonl...
starcoder
<reponame>comstyle/eXpand using System; using System.Linq; using DevExpress.ExpressApp; using DevExpress.ExpressApp.Updating; namespace SystemTester.Module.Web.FunctionalTests.PropertyEditors.ASPxTokenListPropertyEditor { public class ASPxTokenListPropertyEditorUpdater :ModuleUpdater{ public ASPxTokenList...
1.588916
32ea6b3b662d2d30aae6a4060f3ad6e7
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94086
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "Alfonso9/registration-mvc-nuget", "max_stars_repo_path": "src/RegistrationMVCNuget/RegistrationMVC/Views/Shared/_PrincipalLayout.cshtml", "provenance": "train-00000-of-00045.jsonl.gz:94087" }
starcoder
<!DOCTYPE html> <html lang="en"> <head> @RenderPage("_MetaInformacionPartial.cshtml") @RenderPage("_EstiloPartial.cshtml") </head> <body> <h1>BASICLAYOUT</h1> @RenderBody() @RenderPage("_ScriptsPartial.cshtml") @RenderSection("scripts", false) </body> </html>
1.602288
166d67d913d9be432237cfa265b73d03
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94087
{ "extension": "c-sharp", "max_stars_count": "106.0", "max_stars_repo_name": "sergey-brutsky/mi-home", "max_stars_repo_path": "MiHomeLib/Transport/IMessageTransport.cs", "provenance": "train-00000-of-00045.jsonl.gz:94088" }
starcoder
using System; using System.Threading.Tasks; using MiHomeLib.Commands; namespace MiHomeLib.Contracts { public interface IMessageTransport: IDisposable { int SendCommand(Command command); int SendWriteCommand(string sid, string type, Command data); Task<string> ReceiveAsync(); ...
1.997635
7b76547b9939bc97fc9921e722c59229
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94088
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "InMobi/sdk-partners-code", "max_stars_repo_path": "partner-adapter-codes/unity/unity-sampleapp/UnityInMobiPluginProject/Assets/InMobiAds/Platforms/Android/InterstitialClient.cs", "provenance": "train-00000-of-00045.jsonl.gz:94089" }
starcoder
<filename>partner-adapter-codes/unity/unity-sampleapp/UnityInMobiPluginProject/Assets/InMobiAds/Platforms/Android/InterstitialClient.cs #if UNITY_ANDROID using System; using UnityEngine; using System.Collections.Generic; using InMobiAds.Api; using InMobiAds.Common; namespace InMobiAds.Platforms.Android { public cla...
2.048571
b9f2381d32a1bea857042395874a64db
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94089
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "zmij/RailNation", "max_stars_repo_path": "cs/RailNation/Helpers.cs", "provenance": "train-00000-of-00045.jsonl.gz:94090" }
starcoder
<reponame>zmij/RailNation using System; using System.Collections.Generic; using System.Linq; using System.Text; using Newtonsoft.Json; using System.IO; using System.Security.Cryptography; namespace RailNation { public static class Helpers { public static string ToJson<T>(this T obj) { ...
2.613152
2e98266557f4125d0cd013cf24356e5c
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94090
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "dax70/MvcApi", "max_stars_repo_path": "MvcApi/Async/AsyncResultWrapper.cs", "provenance": "train-00000-of-00045.jsonl.gz:94091" }
starcoder
<gh_stars>0 namespace MvcApi//System.Web.Mvc.Async { #region Using Directives using System; using System.Diagnostics; using System.Diagnostics.CodeAnalysis; using System.Runtime.CompilerServices; using System.Threading; using System.Web.Mvc; using System.Web.Mvc.Async; using MvcApi;...
2.221967
2cf5ebbfc4368ea1df733b86e8099338
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94091
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "tompostler/fileserve", "max_stars_repo_path": "fileserve/Config/ConfigUse.cs", "provenance": "train-00000-of-00045.jsonl.gz:94092" }
starcoder
namespace Unlimitedinf.Fileserve.Config { using Json; using System; using System.Collections.Generic; using System.IO; using Unlimitedinf.Tools; internal sealed partial class Config { /// <summary> /// Given a username and password, validate that the user exists and has sup...
2.903177
d34070bc126b52a29fc0abaab3ecffb6
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94092
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "jsdelivrbot/SimpleAmmo", "max_stars_repo_path": "Source/SimpleAmmo/JobGiver_OpportunisticReload.cs", "provenance": "train-00000-of-00045.jsonl.gz:94093" }
starcoder
using System; using System.Collections.Generic; using System.Linq; using System.Text; using UnityEngine; using Verse; using Verse.AI; using RimWorld; namespace SimpleAmmo { class JobGiver_OpportunisticReload : ThinkNode_JobGiver { protected override Job TryGiveJob(Pawn pawn) { //L...
2.275531
ba6ea75a3ffe5b83fdb798ca855e47ae
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94093
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "sopcce/sop-dotnet-lib", "max_stars_repo_path": "Sop.Common.Charts/ValueTypes/ArrayNumberValue.cs", "provenance": "train-00000-of-00045.jsonl.gz:94094" }
starcoder
using Newtonsoft.Json; using Sop.Common.Charts.JsonConverter; namespace Sop.Common.Charts.ValueTypes { /// <summary> /// 小数数组 /// </summary> [JsonConverter(typeof(ValueConverter<double[]>))] public class ArrayNumberValue : IValue<double[]>, INumberOrArrayNumberValue { public double[] Va...
1.78983
fd042b801ff11aa9e28d8ea52899b0d8
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94094
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "FauxKiwi/Schneider-Marbles", "max_stars_repo_path": "Assets/Text.cs", "provenance": "train-00000-of-00045.jsonl.gz:94095" }
starcoder
<reponame>FauxKiwi/Schneider-Marbles using System.Collections; using System.Collections.Generic; using UnityEngine; public class Text : MonoBehaviour { public string before; public bool integers = true; public void SetText(float value) { GetComponent<UnityEngine.UI.Text>().text = before + (in...
2.348956
37ead546c17dc1a363c96362247066d5
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94095
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "aleksander-GD/DESCourse", "max_stars_repo_path": "Labs/Lab Week 48/StatePatternHomework/Shipped.cs", "provenance": "train-00000-of-00045.jsonl.gz:94096" }
starcoder
<gh_stars>0 using System; using System.Collections.Generic; using System.Text; namespace StatePatternHomework { public class Shipped : OrderState { public void Handle() { Console.WriteLine("Order shipped"); } } }
1.679716
61566f72bb0eb75bc038fb8fe3910544
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94096
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "squidspirit/MinecraftServerInstaller", "max_stars_repo_path": "MinecraftServerInstaller/Programs/Update.cs", "provenance": "train-00000-of-00045.jsonl.gz:94097" }
starcoder
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Net; using System.Text; using System.Threading; using System.Threading.Tasks; using System.Windows.Forms; namespace MinecraftServerInstaller.Programs { class Update { private static ...
2.463959
6dd331c1b7d70cfe8303f80b337446ad
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94097
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "Vanlightly/for-sharing-code", "max_stars_repo_path": "testing/specflow/MyApp/MyApp.Login/IRateMeasureService.cs", "provenance": "train-00000-of-00045.jsonl.gz:94098" }
starcoder
<reponame>Vanlightly/for-sharing-code using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MyApp.Login { public interface IRateMeasureService { void Increment(string username); bool InsideLimit(string username, int minute...
1.635416
725dfb9c08df2bc4652218983d869478
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94098
{ "extension": "c-sharp", "max_stars_count": "5.0", "max_stars_repo_name": "biobankinguk/biobankinguk", "max_stars_repo_path": "src/Directory/Biobanks.Web/Views/Biobank/_ModalAddFunder.cshtml", "provenance": "train-00000-of-00045.jsonl.gz:94099" }
starcoder
 @using System.Web.Optimization @model Biobanks.Web.Models.Shared.AddFunderModel <div class="modal-dialog" role="document"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span>...
2.113159
82c2bd44d29b5b5de7d7832e91c7010e
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94099
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "SimmGames/com.simmgames.devtools", "max_stars_repo_path": "LogLevel.cs", "provenance": "train-00000-of-00045.jsonl.gz:94100" }
starcoder
public enum LogLevel : int { Off = int.MinValue, Fatal = 1000, Exception = 2000, Error = 3000, Warning = 4000, Console = 4999, Information = 5000, Debug = 6000, All = int.MaxValue }
1.972139
00796a8c2f36aaea561cb9225ba1f0c0
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94100
{ "extension": "c-sharp", "max_stars_count": "6.0", "max_stars_repo_name": "FolkerKinzel/VCards", "max_stars_repo_path": "src/FolkerKinzel.VCards/Intls/Serializers/ParameterSerializer4_0.cs", "provenance": "train-00000-of-00045.jsonl.gz:94101" }
starcoder
using FolkerKinzel.VCards.Intls.Converters; using FolkerKinzel.VCards.Intls.Extensions; using FolkerKinzel.VCards.Intls.Serializers.EnumValueCollectors; using FolkerKinzel.VCards.Models.Enums; using System; using System.Collections.Generic; using System.Diagnostics; using System.Globalization; using FolkerKinzel.VCard...
1.694765
64663c67f5d91ec3b1eb2c4c3d12240c
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94101
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "GinierClasses/teamproject-thyrel-team", "max_stars_repo_path": "thyrel-api/thyrel-api/Models/HolyDrawDbContext.cs", "provenance": "train-00000-of-00045.jsonl.gz:94102" }
starcoder
using System; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Configuration; using Pomelo.EntityFrameworkCore.MySql.Infrastructure; namespace thyrel_api.Models { public class HolyDrawDbContext : DbContext { public HolyDrawDbContext(DbContextOptions<HolyDrawDbContext> options) ...
2.410145
f6fa0c86f14cfaca6463494dff4d8db2
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94102
{ "extension": "c-sharp", "max_stars_count": "5.0", "max_stars_repo_name": "TodorStamenov/GameBox", "max_stars_repo_path": "Server/Users.Service/User.Services/Contracts/IQueueSenderService.cs", "provenance": "train-00000-of-00045.jsonl.gz:94103" }
starcoder
<reponame>TodorStamenov/GameBox using User.Services.Contracts.ServiceTypes; using User.Services.Messages; namespace User.Services.Contracts { public interface IQueueSenderService : IScopedService { void PostQueueMessage(string queueName, string command); void PostQueueMessage<T>(string queueN...
1.145338
d792e35fec245e764ef27e8233107382
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94103
{ "extension": "c-sharp", "max_stars_count": "4.0", "max_stars_repo_name": "PAXSTORE/paxstore-openapi-dotnet-sdk", "max_stars_repo_path": "PaxstoreOpenApiTest/ApiTest/TestMerchantCategoryApi.cs", "provenance": "train-00000-of-00045.jsonl.gz:94104" }
starcoder
<reponame>PAXSTORE/paxstore-openapi-dotnet-sdk using log4net; using Newtonsoft.Json; using NUnit.Framework; using Paxstore.OpenApi; using Paxstore.OpenApi.Model; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Paxstore.Test { [TestFixtu...
2.00662
f2eb48ffa57bd7241f81b621300b2315
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94104
{ "extension": "c-sharp", "max_stars_count": "59.0", "max_stars_repo_name": "createthis/createthis_vr_ui", "max_stars_repo_path": "Assets/CreateThis/Scripts/Example/ColorPicker/Editor/ExampleColorPickerFactoryEditor.cs", "provenance": "train-00000-of-00045.jsonl.gz:94105" }
starcoder
#if COLOR_PICKER using UnityEditor; using CreateThis.Factory.VR.UI.ColorPicker; namespace CreateThis.Example.ColorPicker { [CustomEditor(typeof(ExampleColorPickerFactory))] [CanEditMultipleObjects] public class ExampleColorPickerFactoryEditor : ColorPickerFactoryEditor { } } #endif
0.991772
f8c72a90a24307c20d36d58eee3ea53d
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94105
{ "extension": "c-sharp", "max_stars_count": "5.0", "max_stars_repo_name": "Rander-sun/MoYun-bookshare", "max_stars_repo_path": "origin code/BUAASchoolofSoftwareBookSharingPlatform/BookWarehouse/followbooktable.ascx.cs", "provenance": "train-00000-of-00045.jsonl.gz:94106" }
starcoder
<filename>origin code/BUAASchoolofSoftwareBookSharingPlatform/BookWarehouse/followbooktable.ascx.cs using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.HtmlControls; public partial class BookWareHouse_followbook...
2.293795
8cd1704fbbdc7a26385407a0b48270f5
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94106
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "201019-UiPath/KumarShalei-Project1", "max_stars_repo_path": "TeaStoreApp/TeaAPI/Controllers/ManagerController.cs", "provenance": "train-00000-of-00045.jsonl.gz:94107" }
starcoder
<filename>TeaStoreApp/TeaAPI/Controllers/ManagerController.cs using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using TeaLib; using TeaDB.Models; using Microsoft.Extensions.Logging; namespace TeaAPI.Controllers { [ApiController] [R...
2.425789
406d95e64afa37a112de26a2be2af97b
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94107
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "haraldnagel/ocuda", "max_stars_repo_path": "src/Promenade.Data/Promenade/CarouselItemTextRepository.cs", "provenance": "train-00000-of-00045.jsonl.gz:94108" }
starcoder
<filename>src/Promenade.Data/Promenade/CarouselItemTextRepository.cs using System.Linq; using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Logging; using Ocuda.Promenade.Data.ServiceFacade; using Ocuda.Promenade.Models.Entities; using Ocuda.Promenade.Service.Interfaces.Reposi...
2.339044
d1b579a8009912f77d267623e500cffa
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94108
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "RixianOpenTech/RxWrappers", "max_stars_repo_path": "Source/Wrappers/mscorlib/System.Security.AccessControl.CryptoKeyAccessRule.cs", "provenance": "train-00000-of-00045.jsonl.gz:94109" }
starcoder
<gh_stars>0 using System; using System.Collections.Generic; using System.Reactive.Linq; using System.Reactive.Threading.Tasks; using MS.Core; namespace System.Security.AccessControl { public static class __CryptoKeyAccessRule { public static IObservable<System.Security.AccessControl.CryptoKeyRights> ge...
1.823361
6ee1be477bf9bb89d038daab40e30eb3
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94109
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "bob6664569/HiddenWallet", "max_stars_repo_path": "HiddenWallet/ChaumianCoinJoin/Models/InputProofModel.cs", "provenance": "train-00000-of-00045.jsonl.gz:94110" }
starcoder
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace HiddenWallet.ChaumianCoinJoin.Models { public class InputProofModel { public string Input { get; set; } public string Proof { get; set; } } }
1.446741
07c42b24e4aa38aea7eb9f2b8f42e336
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94110
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "Vladislav-Pushkarev/XT-2018Q4", "max_stars_repo_path": "Epam.Task2/Epam.Task2.SumOfNumbers1.5/Program.cs", "provenance": "train-00000-of-00045.jsonl.gz:94111" }
starcoder
<reponame>Vladislav-Pushkarev/XT-2018Q4 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Epam.Task2.SumOfNumbers1._5 { class Program { public static int Sum(int n, int limit) { int number = n; ...
3.573022
b5fcb463fbd22aa17368ee0133f94d86
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94111
{ "extension": "c-sharp", "max_stars_count": "30.0", "max_stars_repo_name": "GoneUp/GPK_RePack", "max_stars_repo_path": "GPK_RePack.Core/Model/Payload/SoundCue.cs", "provenance": "train-00000-of-00045.jsonl.gz:94112" }
starcoder
<filename>GPK_RePack.Core/Model/Payload/SoundCue.cs<gh_stars>10-100 using System; using System.Collections.Generic; using System.IO; using System.Text; using GPK_RePack.Core.Model.Interfaces; namespace GPK_RePack.Core.Model.Payload { [Serializable] public class SoundCue : IPayload { public List<So...
2.702127
da0afb031a16ce8328698868704373d7
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94112
{ "extension": "c-sharp", "max_stars_count": "37.0", "max_stars_repo_name": "bseltz-cohesity/cohesity-powershell-module", "max_stars_repo_path": "src/Cohesity.Powershell/Cmdlets/ProtectionSource/GetCohesityMSSQLObject.cs", "provenance": "train-00000-of-00045.jsonl.gz:94113" }
starcoder
// Copyright 2018 Cohesity Inc. using System.Collections.Generic; using System.Linq; using System.Management.Automation; using Cohesity.Powershell.Common; namespace Cohesity.Powershell.Cmdlets.ProtectionSource { /// <summary> /// <para type="synopsis"> /// Gets a list of the MS SQL objects known to the Co...
2.421597
8918d9b2b79042798531b8d859af30d0
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94113
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "SNBnani/Xian", "max_stars_repo_path": "ImageViewer/CloningExceptions.cs", "provenance": "train-00000-of-00045.jsonl.gz:94114" }
starcoder
#region License // Copyright (c) 2011, ClearCanvas Inc. // All rights reserved. // http://www.clearcanvas.ca // // This software is licensed under the Open Software License v3.0. // For the complete license, see http://www.clearcanvas.ca/OSLv3.0 #endregion using System; using ClearCanvas.Desktop; using ...
2.45289
307c4530e6968c060a4cc0a4908bfe67
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94114
{ "extension": "c-sharp", "max_stars_count": "3.0", "max_stars_repo_name": "leo-leong/release-helper", "max_stars_repo_path": "Tapas.CICD.ReleaseHelper/TfsRelease.GetDeploymentErrors.cs", "provenance": "train-00000-of-00045.jsonl.gz:94115" }
starcoder
<gh_stars>1-10 using Microsoft.VisualStudio.Services.ReleaseManagement.WebApi.Contracts; using Microsoft.VisualStudio.Services.ReleaseManagement.WebApi; using Newtonsoft.Json; using System.Collections.Generic; using System.Linq; using System.Net; using System.IO; using System; namespace Tapas.CICD.ReleaseHelper { ...
2.176412
73e80347d5d5c70e55db23344afeddca
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94115
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "zachdeibert/decentralized-yggdrasil", "max_stars_repo_path": "Com/GitHub/ZachDeibert/DecentralizedYggdrasil/Apis/ValidateApi.cs", "provenance": "train-00000-of-00045.jsonl.gz:94116" }
starcoder
using System; using System.Collections.Generic; using System.Linq; using System.Net; using Com.GitHub.ZachDeibert.DecentralizedYggdrasil.Model; namespace Com.GitHub.ZachDeibert.DecentralizedYggdrasil.Apis { public class ValidateApi : IApi { private TransientStateData State; private RealYggdrasil Yggdrasil; pu...
2.33154
c99c98e3d0d8673e87edd25e9cbd17af
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94116
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "CryptidSoftware/Iolaus", "max_stars_repo_path": "src/Iolaus.Tests/Utils/OptionUtilsTests.cs", "provenance": "train-00000-of-00045.jsonl.gz:94117" }
starcoder
using static Iolaus.F; using Iolaus.Utils; using System.Collections.Generic; using System.Linq; using Xunit; namespace Iolaus.Tests.Utils { public class OptionUtilsTests { public static IEnumerable<object[]> Options() { yield return new object[]{new Option<string>[]{None, None, None...
2.479218
e076ffe4f7996fef06a047f9b4980605
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94117
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "InvincibleDRT/Algorithmns", "max_stars_repo_path": "Moderate/Classes/SmallestDifference.cs", "provenance": "train-00000-of-00045.jsonl.gz:94118" }
starcoder
using System; using System.Collections.Generic; using System.Text; namespace Moderate.Classes { class SmallestDifference { public static void SmallestDifferenceBetweenArrays() { int[] array1 = new int[] {1, 2, 4, 7, 9}; int[] array2 = new int[] {200,8,206,400,12}; ...
3.755899
5abbc104fa174be9865d38f2af0ab2dc
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94118
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "uon-crissp/IQCare", "max_stars_repo_path": "SourceBase/DataAccess/BusinessProcess.Administration/BLabMst.cs", "provenance": "train-00000-of-00045.jsonl.gz:94119" }
starcoder
using System; using System.Data; using System.Data.SqlClient; using Interface.Administration; using DataAccess.Base; using DataAccess.Common; using DataAccess.Entity; using Application.Common; namespace BusinessProcess.Administration { public class BLabMst : ProcessBase, ILabMst { #region "Constructor"...
1.980712
13beea950f115694cd5bdb175afeebb1
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94119
{ "extension": "c-sharp", "max_stars_count": "5.0", "max_stars_repo_name": "marihachi/misskey-drive-windows", "max_stars_repo_path": "MisskeyDriveSync/Models/MisskeyInstance.cs", "provenance": "train-00000-of-00045.jsonl.gz:94120" }
starcoder
namespace MisskeyDriveSync.Models { public class MisskeyApp { public MisskeyApp(string domain, string clientId, string secret) { this.Domain = domain; this.ClientId = clientId; this.Secret = secret; } public string Domain { get; set; } public string ClientId { get; set; } public string Secret...
2.258915
6bb688924b6b13aeef019f9701ec0125
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94120
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "Tball40/RaynMaker", "max_stars_repo_path": "src/RaynMaker.Entities.Persistancy/DatabaseMigrations.cs", "provenance": "train-00000-of-00045.jsonl.gz:94121" }
starcoder
<reponame>Tball40/RaynMaker<gh_stars>1-10 using System; using System.Collections.Generic; using System.Data.Entity; using System.Linq; using System.Text; using System.Threading.Tasks; namespace RaynMaker.Entities.Persistancy { class DatabaseMigrations { public const int RequiredDatabaseVers...
2.063565
4a5813932a08e1739517301ffda2bc8e
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94121
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "TheRealMichaelWang/TextStudio", "max_stars_repo_path": "TextStudio/TextStudio/MergeLinePrompt.cs", "provenance": "train-00000-of-00045.jsonl.gz:94122" }
starcoder
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace TextStudio { public partial class MergeLinePrompt : Form { public string returnvalue = ""; ...
2.47928
00d5309226c99ff90bfd8d6ede9ccefe
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94122
{ "extension": "c-sharp", "max_stars_count": "125.0", "max_stars_repo_name": "kant/IIS.Administration", "max_stars_repo_path": "src/Microsoft.IIS.Administration.Core/IError.cs", "provenance": "train-00000-of-00045.jsonl.gz:94123" }
starcoder
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.IIS.Administration.Core { public interface IError { // HTTP APIs // application/problem+json // https://t...
1.53339
73e47ef13cf9b048fb374c686e25df0d
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94123
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "Thund3rDev/RavenJam2", "max_stars_repo_path": "Minijuego/Assets/Scripts/PlayerController.cs", "provenance": "train-00000-of-00045.jsonl.gz:94124" }
starcoder
using TMPro; using UnityEngine.UI; using UnityEngine; public class PlayerController : MonoBehaviour { // Singleton public static PlayerController instance; [Header("Movement")] [SerializeField] private GameObject playerCenter; [SerializeField] private float moveSpeed = 100.0f; [Serial...
2.317508
5d77d1a3877fe7a919dd3662116c22da
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94124
{ "extension": "c-sharp", "max_stars_count": "4.0", "max_stars_repo_name": "PearAdmin/pear-admin-abp", "max_stars_repo_path": "src/PearAdmin.AbpTemplate.Admin/Views/Roles/CreateOrUpdateRole.cshtml", "provenance": "train-00000-of-00045.jsonl.gz:94125" }
starcoder
@using Abp.Json @using PearAdmin.AbpTemplate.Authorization.Roles.Dto @model GetRoleForEditOutput @section styles{ <link href="~/css/pear-tree/dtree.css" rel="stylesheet" /> <link href="~/css/pear-tree/font/dtreefont.css" rel="stylesheet" /> <style type="text/css"> .layui-tab { margin-t...
1.880787
4d190010eb9d6775208c839db61b2bc3
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94125
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "kokyiphyocho/Cobra-Web-based-POS-System", "max_stars_repo_path": "CobraFrame/ClassComponentFrame.cs", "provenance": "train-00000-of-00045.jsonl.gz:94126" }
starcoder
using System; using System.Collections.Generic; using System.Collections; using System.Linq; using System.Text; using System.Text.RegularExpressions; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Data; namespace CobraFrame { public class ComponentController { pub...
1.245407
22d17d0c8f6ad21c381b47f4750e32a7
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94126
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "preda7or/CurrencyConverterExercise", "max_stars_repo_path": "CurrencyConverterExercise/Controllers/FxratesController.cs", "provenance": "train-00000-of-00045.jsonl.gz:94127" }
starcoder
using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Web; using System.Web.Http; using System.Web.Http.Description; using CurrencyConverterExercise.Models; namespace CurrencyConverterExercise.Controllers { /// <summary> /// Fx rates API controller ...
1.925815
a5ee1d210e05edd8f165a3fa478fd7ad
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94127
{ "extension": "c-sharp", "max_stars_count": "41.0", "max_stars_repo_name": "commit-n-run/dataobjects-net", "max_stars_repo_path": "Orm/Xtensive.Orm.Tests/Storage/CoreServicesTest.cs", "provenance": "train-00000-of-00045.jsonl.gz:94128" }
starcoder
<filename>Orm/Xtensive.Orm.Tests/Storage/CoreServicesTest.cs // Copyright (C) 2008-2020 Xtensive LLC. // This code is distributed under MIT license terms. // See the License.txt file in the project root for more information. // Created by: <NAME> // Created: 2008.11.03 using System; using System.Linq; using System....
1.800444
49d2d482fc41a443a2e5f6e4ec0b66f4
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94128
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "BlaiseD/LogicBuilder.Samples", "max_stars_repo_path": ".NetCore/CheckMySymptoms/CheckMySymptoms/Screens/Message.xaml.cs", "provenance": "train-00000-of-00045.jsonl.gz:94129" }
starcoder
<gh_stars>1-10 using CheckMySymptoms.Flow.Requests; using CheckMySymptoms.Flow.ScreenSettings.Views; using CheckMySymptoms.Forms.View.Common; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime; using Windows.Foundation; using Windows....
1.624874
68ba8d6a7f850a0cb1da6bcd2ac62fd3
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94129
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "tianlang0704/2BHero", "max_stars_repo_path": "Assets/Scripts/Common/Input/InputController.cs", "provenance": "train-00000-of-00045.jsonl.gz:94130" }
starcoder
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; enum SwipeDirection { Left, Up, Right, Down, NA } public class InputController : MonoInjectable { private float shootPressBeginTime; private bool shootPressed = false; private float detectableAreaSize; p...
2.586278
d64982207f818b46bf90b5dbc5dd1fe1
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94130
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "SnipFernandez/AmongUsReplica", "max_stars_repo_path": "Assets/CableController.cs", "provenance": "train-00000-of-00045.jsonl.gz:94131" }
starcoder
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class CableController : MonoBehaviour { public Vector3 target; public GameObject giro; public GameObject line; public Image indicador; public BoxCollider2D collider2D; public bool isDra...
2.040062
21622ae62e8fbd0e25fe3eb161a0a3ec
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94131
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "AnomalousMedical/Adventure", "max_stars_repo_path": "DiligentEngine.GltfPbr/ShadowMapAttribs.cs", "provenance": "train-00000-of-00045.jsonl.gz:94132" }
starcoder
<filename>DiligentEngine.GltfPbr/ShadowMapAttribs.cs using Engine; using System; using System.Collections.Generic; using System.Linq; using System.Runtime.InteropServices; using System.Text; using System.Threading.Tasks; using BOOL = System.Int32; //The bools for these structs are defined as 4 byte see BasicStructure...
1.646429
25e04fdaea470bf91527a515bfc3d7d2
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94132
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "dracan/TimeTrackR", "max_stars_repo_path": "TimeTrackR.Core/Hotkeys/HotkeyActions.cs", "provenance": "train-00000-of-00045.jsonl.gz:94133" }
starcoder
<gh_stars>0 namespace TimeTrackR.Core.Hotkeys { public enum HotkeyActions { StartTimer, StopTimer, SetTags, ShowReportWindow, ShowQuickTagSelect } }
0.692891
8f45e4e1f8cf34a080db26312947c01f
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94133
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "Olumas/IceCreamJam", "max_stars_repo_path": "IceCreamJam/IceCreamJam/Source/Components/EntitySpringComponent.cs", "provenance": "train-00000-of-00045.jsonl.gz:94134" }
starcoder
<reponame>Olumas/IceCreamJam<gh_stars>0 using Microsoft.Xna.Framework; using Nez; namespace IceCreamJam.Source.Components { /// <summary> /// Moves its entity to follow a target /// </summary> class EntitySpringComponent : Component, IUpdatable { public Entity targetEntity; public Vec...
2.505019
e364086d55ad8234223cb0493045d264
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94134
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "orbital7/orbital7.rapidapp", "max_stars_repo_path": "src/SampleWebApp/Pages/_ViewImports.cshtml", "provenance": "train-00000-of-00045.jsonl.gz:94135" }
starcoder
<filename>src/SampleWebApp/Pages/_ViewImports.cshtml<gh_stars>0 @using Microsoft.AspNetCore.Authorization @using Microsoft.AspNetCore.Identity @using Microsoft.AspNetCore.Mvc @using Orbital7.RapidApp @using Orbital7.RapidApp.Models @namespace SampleWebApp.Pages @addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
1.254964
9417d0306de09d4f67c9b19bc0c66ab8
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94135
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "samaneh11/Thinktecture.IdentityModel.45", "max_stars_repo_path": "Samples/Web API Security/Clients/OAuth2CodeFlow/Views/Callback/Claims.cshtml", "provenance": "train-00000-of-00045.jsonl.gz:94136" }
starcoder
@model Thinktecture.Samples.ViewClaims @{ ViewBag.Title = "Claims"; } <h2>Claims</h2> <br /> @foreach (var claim in Model) { <p> @claim.Type <br /> <strong>@claim.Value</strong> </p> }
2.43516
4f7c12267cc7ae5149a7e3ac52774cef
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94136
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "DAVISOL-GmbH/dracoon-csharp-sdk", "max_stars_repo_path": "DracoonSdk/SdkInternal/Mapper/RoleMapper.cs", "provenance": "train-00000-of-00045.jsonl.gz:94137" }
starcoder
<reponame>DAVISOL-GmbH/dracoon-csharp-sdk using Dracoon.Sdk.Model; using Dracoon.Sdk.SdkInternal.ApiModel; namespace Dracoon.Sdk.SdkInternal.Mapper { internal static class RoleMapper { internal static RoleList FromApiRoleList(ApiRoleList apiRoleList) { return CommonMapper.FromApiRoleList(apiRo...
1.912262
17a14d78aa67e6a98194046455830d49
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94137
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "pbering/SitecorePrometheusMetrics", "max_stars_repo_path": "src/SitecorePrometheusMetrics.Core/SitecorePerformanceCounterLoader.cs", "provenance": "train-00000-of-00045.jsonl.gz:94138" }
starcoder
<reponame>pbering/SitecorePrometheusMetrics using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using Sitecore.Diagnostics.PerformanceCounters; namespace SitecorePrometheusMetrics.Core { public class SitecorePerformanceCounterLoader { public SitecorePerformanceC...
2.159273
efe6cb1eebe08918401f79d5f09fc791
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94138
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "zmrbak/OnlineTranslations", "max_stars_repo_path": "TextTranslation/Utility.cs", "provenance": "train-00000-of-00045.jsonl.gz:94139" }
starcoder
using CsharpHttpHelper; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Security.Cryptography; using System.Text; using System.Threading.Tasks; using System.Web; namespace TextTranslation { public static class Utility { public static string ToParamStrin...
2.945751
8326f3ccc1901fd5c0f7a03798adb96f
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94139
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "DanBeckerich/Csharp-Homework", "max_stars_repo_path": "ex6_1/MD6/Program.cs", "provenance": "train-00000-of-00045.jsonl.gz:94140" }
starcoder
<reponame>DanBeckerich/Csharp-Homework // *********************************************************************** // Assembly : Customer code // Author : <NAME> // Created : 11-21-2018 // // Last Modified By : <NAME> // Last Modified On : 11-21-2018 // ***************************************...
3.289211
bdfe72772b34be0bca9c24d67e618df5
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94140
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "alexandredorea/Livraria", "max_stars_repo_path": "Source/App/Livraria.Dominio/Interfaces/Servico/IServicoLivros.cs", "provenance": "train-00000-of-00045.jsonl.gz:94141" }
starcoder
<gh_stars>0 using Livraria.Dominio.Entidades; using Livraria.Dominio.Interfaces.Servico.Comum; using System.Collections.Generic; namespace Livraria.Dominio.Interfaces.Servico { public interface IServicoLivros : IServicoComum<Livro> { Livro Selecionar(string titulo); IEnumerable<Livro> Selecion...
1.614037
56ac7cee02ff086d9b8ca0bc51316a72
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94141
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "kiyoaki/CookpadMartExam", "max_stars_repo_path": "Q1/Program.cs", "provenance": "train-00000-of-00045.jsonl.gz:94142" }
starcoder
using System; using System.Linq; namespace Q1 { class Program { static void Main(string[] args) { var input = Console.ReadLine(); if (string.IsNullOrEmpty(input)) { throw new ArgumentException($"{nameof(input)}={input}"); } ...
3.410387
6d02934c9c89329ea988a3b244094dd7
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94142
{ "extension": "c-sharp", "max_stars_count": "11.0", "max_stars_repo_name": "dongdapeng110/SharpDevelopTest", "max_stars_repo_path": "src/Tools/Help/source/HelperClasses/MergeNamespaceClass.cs", "provenance": "train-00000-of-00045.jsonl.gz:94143" }
starcoder
// // Help 2.0 Registration Utility // Copyright (c) 2005 <NAME>. All rights reserved. // namespace HtmlHelp2Registration.HelperClasses { using System; using System.Globalization; using HtmlHelp2Registration.ItemClasses; using MSHelpServices; public sealed class MergeNamespace { MergeNamespace() { } pub...
2.43779
a15d2f3a6937b7893a2fbb0f1d15bc3a
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94143
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "lucaslopesx/projeto-crud-cshap", "max_stars_repo_path": "projeto-crud-cshap/frmExcluir.cs", "provenance": "train-00000-of-00045.jsonl.gz:94144" }
starcoder
<gh_stars>0 using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Data.SqlClient; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace projeto_crud_cshap { public partial class frmExcl...
2.142102
2954fd4cf0148d197e8e0cb179336466
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94144
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "dimitrov9/my-projects", "max_stars_repo_path": "Stock Management/AddState.cs", "provenance": "train-00000-of-00045.jsonl.gz:94145" }
starcoder
<gh_stars>0 using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace Karavas_Stock_Management { public partial class AddState : Form { ...
2.0153
e123a90789d556f92883aa82096922a8
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94145
{ "extension": "c-sharp", "max_stars_count": "6.0", "max_stars_repo_name": "dmako/Chromely.Mvc", "max_stars_repo_path": "Chromely.Mvc/DefaultControllerFactory.cs", "provenance": "train-00000-of-00045.jsonl.gz:94146" }
starcoder
using System; using System.Collections.Generic; using System.Text.RegularExpressions; namespace Chromely.Mvc { /// <summary> /// A Controller Factory that uses MVC convention to register Controllers /// </summary> public class DefaultControllerFactory : IControllerFactory { private static...
3.126368
4d8946dda311c7753089aabd58d3c100
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94146
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "MarcosCostaDev/IntegrationTest", "max_stars_repo_path": "IntegrationTest.Domain/Commands/Results/InvoiceCommandResults.cs", "provenance": "train-00000-of-00045.jsonl.gz:94147" }
starcoder
<reponame>MarcosCostaDev/IntegrationTest using IntegrationTest.Core.Command; using IntegrationTest.Domain.Entities; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace IntegrationTest.Domain.Commands.Results { public class InvoiceCommandRes...
1.930464
5b1f063bdad59d196d24e4c661514e3e
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94147
{ "extension": "c-sharp", "max_stars_count": "81.0", "max_stars_repo_name": "endink/Thrifty", "max_stars_repo_path": "samples/Thrifty.Samples.Common/IService.cs", "provenance": "train-00000-of-00045.jsonl.gz:94148" }
starcoder
using System; using Thrift; namespace Thrifty.Samples.Common { [ThriftService("service")] public interface IService { //twoway [ThriftMethod] Entity[] AllEntities(); [ThriftMethod] Entity ChangeDay(Entity input, DayOfWeek day); [ThriftMethod] Entity ...
2.112514
a01f0330ab5144f8c524a94edb4097fb
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94148
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "msuliborski/death-room", "max_stars_repo_path": "Assets/Scripts/Walls.cs", "provenance": "train-00000-of-00045.jsonl.gz:94149" }
starcoder
<reponame>msuliborski/death-room using System.Collections; using System.Collections.Generic; using UnityEngine; public class Walls : MonoBehaviour { PlayerConroller playerController; public GameObject wallUp; public GameObject wallDown; int flag = 0; void OnCollisionEnter2D(Collision2D collision...
2.35077
73b2a8b5103363ffd058a768c514718d
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94149
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "Growney/Eve.Applications.Core", "max_stars_repo_path": "Eve.StaticData.Standard/StaticDataLoader.cs", "provenance": "train-00000-of-00045.jsonl.gz:94150" }
starcoder
 using Gware.Standard.Storage; using Gware.Standard.Storage.Controller; using Gware.Standard.Storage.Command; using System.Collections.Generic; using System.Reflection; using System.Threading.Tasks; namespace Eve.Static.Standard { public static class StaticDataLoader { private static IDataCommand Ge...
2.405635
bfc6384409fecf22b532486e518cd445
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94150
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "florianalexandermoser/OfflineMedia", "max_stars_repo_path": "Famoser.OfflineMedia.Business/Repositories/ThemeRepository.cs", "provenance": "train-00000-of-00045.jsonl.gz:94151" }
starcoder
<reponame>florianalexandermoser/OfflineMedia<gh_stars>1-10 using System.Linq; using System.Threading.Tasks; using Famoser.OfflineMedia.Business.Managers; using Famoser.OfflineMedia.Business.Models.NewsModel; using Famoser.OfflineMedia.Business.Repositories.Base; using Famoser.OfflineMedia.Business.Repositories.Interfa...
2.283755
2de1a8ec8248d5182f2c99bc136de849
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94151
{ "extension": "c-sharp", "max_stars_count": "10.0", "max_stars_repo_name": "martincostello/alexa-london-travel-site", "max_stars_repo_path": "src/LondonTravel.Site/Pages/Terms/Index.cshtml", "provenance": "train-00000-of-00045.jsonl.gz:94152" }
starcoder
<filename>src/LondonTravel.Site/Pages/Terms/Index.cshtml @page "/terms-of-service" @model MartinCostello.LondonTravel.Site.Pages.Terms.Index @{ ViewBag.MetaDescription = SR.TermsOfServiceMetaDescription; ViewBag.Title = SR.TermsOfServiceMetaTitle; } <div> <h1>@SR.TermsOfServiceTitle</h1> <h3>1. Terms</h...
2.589525
7a6825574b46d478c4b743d16af7f8ed
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94152
{ "extension": "c-sharp", "max_stars_count": "20.0", "max_stars_repo_name": "igoreksiz/GemBox.Spreadsheet.Examples", "max_stars_repo_path": "GemBox.Spreadsheet Examples/Export To Image Source/ExportToImageSourceCs/MainWindow.xaml.cs", "provenance": "train-00000-of-00045.jsonl.gz:94153" }
starcoder
<reponame>igoreksiz/GemBox.Spreadsheet.Examples using System.Windows; using System.Windows.Controls; using GemBox.Spreadsheet; partial class MainWindow : Window { public MainWindow() { InitializeComponent(); SetImageSource(this.ImageControl); } private static void SetImageSource(Image...
2.088244
31cbd878f89ba0b27517715080eb1d7d
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94153
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "den-mentiei/mappingu", "max_stars_repo_path": "src/plugins/DummyPlugin/SortedSetWithCreepyComparerCollection.cs", "provenance": "train-00000-of-00045.jsonl.gz:94154" }
starcoder
<gh_stars>1-10 using System; using System.Collections; using System.Collections.Generic; using System.Linq; using Contract; namespace DummyPlugin { internal sealed class SortedSetWithCreepyComparerCollection<T> : IMappedIntervalsCollection<T> { private readonly SortedSet<Hueta> _sortedSet; pu...
2.607622
424dcb588ee22bac0b32ed83781e2473
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94154
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "JorgeLuisMercado/usuario", "max_stars_repo_path": "Program.cs", "provenance": "train-00000-of-00045.jsonl.gz:94155" }
starcoder
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace usuariotwitter { class usuario { //atributo - campos private string nombre; private string correo; private int numerodeseguidores; public void ...
3.383322
4b74950ee8b2eb0e48b5431dd4f5ae5f
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94155
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "Sl0vi/algorithms", "max_stars_repo_path": "Algorithms/Sorting/ISortingAlgorithm.cs", "provenance": "train-00000-of-00045.jsonl.gz:94156" }
starcoder
using System; using System.Collections.Generic; namespace Algorithms.Sorting { /// <summary> /// The base interface that all sorting algorithms must implement /// </summary> public interface ISortingAlgorithm { /// <summary> /// Sorts the specified collection /// </summary>...
3.647718
7dfc5fef7eb4489aba8b09c99b65d6c7
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94156
{ "extension": "c-sharp", "max_stars_count": "9.0", "max_stars_repo_name": "jhasse/vs-trim-line-ends-on-save-plugin", "max_stars_repo_path": "code/trimOnSavePackage.cs", "provenance": "train-00000-of-00045.jsonl.gz:94157" }
starcoder
using System; using System.Diagnostics; using System.Globalization; using System.Runtime.InteropServices; using System.ComponentModel.Design; using Microsoft.Win32; using Microsoft.VisualStudio; using Microsoft.VisualStudio.Shell.Interop; using Microsoft.VisualStudio.OLE.Interop; using Microsoft.VisualStudio.Shell; us...
2.144214
cc68d05262bf8afe0f0a37de42da1717
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94157
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "yschuurmans/ACT_Chat", "max_stars_repo_path": "ACT_Chat/Models/Log/LogLineType.cs", "provenance": "train-00000-of-00045.jsonl.gz:94158" }
starcoder
<filename>ACT_Chat/Models/Log/LogLineType.cs namespace ACT_Chat.Models.Log { public enum LogLineType { Unknown, TellMessage, ChatMessage } }
1.687786
ad891f47d5a4296fc9602b3b64a4a140
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94158
{ "extension": "c-sharp", "max_stars_count": "3268.0", "max_stars_repo_name": "gjy5885/azure-sdk-for-net", "max_stars_repo_path": "sdk/webpubsub/Microsoft.Azure.WebPubSub.Common/src/Internal/WebPubSubClientCertificateJsonConverter.cs", "provenance": "train-00000-of-00045.jsonl.gz:94159" }
starcoder
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.Text.Json; using System.Text.Json.Serialization; namespace Microsoft.Azure.WebPubSub.Common { internal class WebPubSubClientCertificateJsonConverter : JsonConverter<WebPubSubClientCertificat...
2.345969
f5de3350f9ed399944affcc122b95800
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94159
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "ArchimedesXXI/ZORK_intelligent_text_adventure_game_with_SAVE_GAME", "max_stars_repo_path": "Escape_Game_engine_library/Game_Control_Center.cs", "provenance": "train-00000-of-00045.jsonl.gz:94160" }
starcoder
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Diagnostics; using Text_games_input_parser_library_v2; namespace Escape_Game_engine_library { public class Game_Control_Center : ITextGameAction { public Game_Co...
2.862315
c4e13bde0916b13dbc4ee1d8dcccb582
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
94160
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "andrey-leshenko/data-structures", "max_stars_repo_path": "src/Sorting/InsertSort.cs", "provenance": "train-00000-of-00045.jsonl.gz:94161" }
starcoder
using System; namespace DataStructures.Sorting { static class InsertSort { public static void Sort(int[] array) { for (int i = 1; i < array.Length; i++) { int toInsert = array[i]; int j = i - 1; while (j >= 0 && array[j] > toInsert) {...
3.614197
5d910fe9a51defdda6bf1e6cfa932695