added
string
created
string
id
string
metadata
dict
source
string
text
string
code-score
float64
md5
string
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8818018
{ "extension": "c-sharp", "max_stars_count": "10.0", "max_stars_repo_name": "couchbaselabs/Chatbase", "max_stars_repo_path": "src/Client/Chatbase/Chatbase.Repositories/DatabaseManager.cs", "provenance": "train-00027-of-00045.jsonl.gz:137238" }
starcoder
using System; using Couchbase.Lite; using Couchbase.Lite.Sync; namespace Chatbase.Repositories { public class DatabaseManager : IDisposable { // Note: User 'localhost' when using a simulator //readonly Uri _remoteSyncUrl = new Uri("ws://192.168.3.11:4985"); readonly Uri _remoteSyncUrl...
2.465238
810d572e67f633593a8ed1180a881142
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8818019
{ "extension": "c-sharp", "max_stars_count": "3.0", "max_stars_repo_name": "EXASOL/powerbi-exasol", "max_stars_repo_path": "UIAutomationTests/TestsAuthenticationUsernamePassword.cs", "provenance": "train-00027-of-00045.jsonl.gz:137239" }
starcoder
using System; using System.IO; using Xunit; namespace UIAutomationTests { //https://xunit.net/docs/running-tests-in-parallel //We don't want to run them in parallel (since we're doing automation UI testing) so we add the tests to the same test collection [Collection("VisualStudioUIAutomationTestCollection...
2.33915
cb9a8b2bb5afac9a07d1b3b3aa310e02
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8818020
{ "extension": "c-sharp", "max_stars_count": "14.0", "max_stars_repo_name": "ScriptBox99/VideoBrowser", "max_stars_repo_path": "src/VideoBrowser/VideoBrowser/Controls/CefSharpBrowser/ViewModels/WebBrowserTabControlViewModel.cs", "provenance": "train-00027-of-00045.jsonl.gz:137240" }
starcoder
<filename>src/VideoBrowser/VideoBrowser/Controls/CefSharpBrowser/ViewModels/WebBrowserTabControlViewModel.cs<gh_stars>10-100 namespace VideoBrowser.Controls.CefSharpBrowser.ViewModels { using Dragablz; using Dragablz.Dockablz; using System; using System.Collections.Generic; using System.Collections...
2.091782
d61d2244eecfc684bce9313d5240a650
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8818021
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "tapend/tebe-cms", "max_stars_repo_path": "backend/tests/Squidex.Web.Tests/Pipeline/AppResolverTests.cs", "provenance": "train-00027-of-00045.jsonl.gz:137241" }
starcoder
// ========================================================================== // Squidex Headless CMS // ========================================================================== // Copyright (c) Squidex UG (haftungsbeschraenkt) // All rights reserved. Licensed under the MIT license. // ===========================...
1.666908
ed9691677477da2a01beb7033c57583b
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8818022
{ "extension": "c-sharp", "max_stars_count": "4.0", "max_stars_repo_name": "mts398/2020-spring-cs211", "max_stars_repo_path": "milestones/milestone 4/code_cs/GenericGameExamples/TreeBuilder.cs", "provenance": "train-00027-of-00045.jsonl.gz:137242" }
starcoder
using System; using System.Collections.Generic; using System.Text; namespace code_cs { public class TreeBuilder { /// <summary> /// Grabs all tree nodes from the file. The resulting list will have to be post processed into an actual /// tree using recursion with another function. ...
3.490341
130856d765311077d4efb7f2c49b242b
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8818023
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "ourobouros/ImageDownloader", "max_stars_repo_path": "src/DataAccess/OAuth/RedditAcquirer.cs", "provenance": "train-00027-of-00045.jsonl.gz:137243" }
starcoder
<filename>src/DataAccess/OAuth/RedditAcquirer.cs using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Net; using System.Net.Http; using System.Text; using System.Threading.Tasks; using Newtonsoft.Json; namespace DataAccess.OAuth { /// <summary> /// Acquires...
2.830441
2add39b724fea2a914da72b2a0c28c95
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8818024
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "galich/SharpDevelop", "max_stars_repo_path": "src/Main/Base/Project/Src/Internal/ConditionEvaluators/CompareProjectPropertyConditionEvaluator.cs", "provenance": "train-00027-of-00045.jsonl.gz:137244" }
starcoder
// Copyright (c) 2014 AlphaSierraPapa for the SharpDevelop Team // // 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, co...
2.368909
f1b744da38803f49e90a0bad160883c7
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8818025
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "TheAlexLight/SignalR_Chat", "max_stars_repo_path": "ChatClient/Services/Stores/NavigationStore.cs", "provenance": "train-00027-of-00045.jsonl.gz:137245" }
starcoder
using ChatClient.Interfaces.BaseConfiguration; using SharedItems.ViewModels; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ChatClient.Services.Stores { public class NavigationStore : INavigator { public event Action Curre...
2.237683
ab46bff8b31b43b9a3bf6a03309e5c2b
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8818026
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "qtxasjo/Foundation", "max_stars_repo_path": "src/Foundation.Demo/ImageHelper.cs", "provenance": "train-00027-of-00045.jsonl.gz:137246" }
starcoder
using EPiServer.Core; using Foundation.Cms.Media; using Microsoft.Azure.CognitiveServices.Vision.ComputerVision; using Microsoft.Azure.CognitiveServices.Vision.ComputerVision.Models; using System.Collections.Generic; using System.Configuration; using System.Linq; using System.Threading.Tasks; namespace Foundation.Dem...
2.282434
edc7f6d1439ada628432291bdbe618a6
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8818027
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "arthuraasantos/advreal", "max_stars_repo_path": "AdvRealSl/Web/Views/User/New.cshtml", "provenance": "train-00027-of-00045.jsonl.gz:137247" }
starcoder
 @{ Layout = null; } <!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width" /> <title>Criar conta</title> <!-- Dependencias CSS --> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="<KEY>" crossorigin="anonymo...
2.322063
e9891a47a70deb7fbc056d831d527e1f
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8818028
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "IntelliTect/IntelliTect", "max_stars_repo_path": "IntelliTect.IntelliWait.Tests/ExpectedExceptionsTests.cs", "provenance": "train-00027-of-00045.jsonl.gz:137248" }
starcoder
using System; using System.Threading.Tasks; using Xunit; namespace IntelliTect.IntelliWait.Tests { public class ExpectedExceptionsTests : BaseTest { [Fact] public async Task CheckActionsParamsForBaseTypeChecking() { AggregateException ae = await Assert.ThrowsAsync<Aggregate...
2.186218
f5bfbdfea87b2103408e3778aec70e4b
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8818029
{ "extension": "c-sharp", "max_stars_count": "486.0", "max_stars_repo_name": "ZavierHenry/LinqToTwitter", "max_stars_repo_path": "Samples/LinqToTwitter6/Console/ConsoleDemo.CSharp/ConsoleDemo.CSharp/StreamDemos.cs", "provenance": "train-00027-of-00045.jsonl.gz:137249" }
starcoder
using System; using System.Linq; using System.Threading; using System.Threading.Tasks; using LinqToTwitter; using System.IO; using LinqToTwitter.Common; using System.Collections.Generic; using System.Net; namespace ConsoleDemo.CSharp { class StreamDemos { internal static async Task RunAsync(TwitterCon...
2.769615
6cf0cc1689f2fab54f1967258af22ff7
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8818030
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "etuncay/kugim-genc-yazilimcilar-egitim-programi", "max_stars_repo_path": "Haber/Haber.MVC/Views/Shared/Components/MansetHaber/Default.cshtml", "provenance": "train-00027-of-00045.jsonl.gz:137250" }
starcoder
@model List<Haber.Models.ViewModels.Response.IcerikResponseViewModel> <div id="carousel-captions" st class="carousel slide" data-bs-ride="carousel"> <div class="carousel-inner"> @{var activeClass = "active"; } @foreach (var item in Model) { <div class="caro...
2.482479
2cc06aa7a137d6d2cf948fdbb1626bbf
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8818031
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "Tricept/System.Linq.Dynamic", "max_stars_repo_path": "Src/System.Linq.Dynamic.Tests/InternalTests.cs", "provenance": "train-00027-of-00045.jsonl.gz:137251" }
starcoder
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Linq; using System.Linq.Dynamic; using System.Linq.Dynamic.Tests.Helpers; using System.Collections; using System.Collections.Generic; #if !NET35 using System.Threading.Tasks; #endif namespace System.Linq.Dynamic.Tests { [TestClass] ...
2.439162
94c3b0cb80d3715c9ac555ff9099de57
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8818032
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "swythan/showlist-tivo", "max_stars_repo_path": "Src/TivoConnectionTest/Discovery/DnsEnums.cs", "provenance": "train-00027-of-00045.jsonl.gz:137252" }
starcoder
namespace TivoAhoy.Common.Discovery { using System; public enum Qr { Query = 0, Answer = 1 } public enum OpCode { Query, IQuery, Status } public enum ResponseCode { NoError = 0, FormatRequestError = 1, ...
2.290231
c628cfefb0ea038efa2a9e3a26e66348
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8818033
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "felladrin/head-of-state", "max_stars_repo_path": "Assets/Scripts/Views/StateView.cs", "provenance": "train-00027-of-00045.jsonl.gz:137253" }
starcoder
using UnityEngine; using UnityEngine.UI; public class StateView : MvcBehaviour { public StateModel Model; public Image HealthBar, CultureBar, HabitationBar, EducationBar, EnvironmentBar, SecurityBar; void Update() { HealthBar.fillAmount = Model.Health;...
2.315057
ab5c3f084d47d574c0ffe9baa24309f2
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8818034
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "deccer/GameArchitectureExperiments", "max_stars_repo_path": "Demos/GameDemo/ECS/TransformComponent.cs", "provenance": "train-00027-of-00045.jsonl.gz:137254" }
starcoder
<reponame>deccer/GameArchitectureExperiments namespace GameDemo.ECS { public sealed class TransformComponent : Component { } }
1.070003
2c11e4eeb9d171e0ea9a47997baac8f6
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8818035
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "thinkingmedia/gems", "max_stars_repo_path": "NodeTest/DataSet1.Designer.cs", "provenance": "train-00027-of-00045.jsonl.gz:137255" }
starcoder
<reponame>thinkingmedia/gems //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:2.0.50727.5446 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerate...
2.106051
4b2413e3455cce87a8acfd5a921792db
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8818036
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "EvilMindz/cake", "max_stars_repo_path": "src/Cake.Common.Tests/Fixtures/Build/AppVeyorInfoFixture.cs", "provenance": "train-00027-of-00045.jsonl.gz:137256" }
starcoder
<gh_stars>1-10 using Cake.Common.Build.AppVeyor.Data; using Cake.Core; using NSubstitute; namespace Cake.Common.Tests.Fixtures.Build { internal sealed class AppVeyorInfoFixture { public ICakeEnvironment Environment { get; set; } public AppVeyorInfoFixture() { Environment =...
1.88389
4be2791a7ad2d21376cb549e63ef6b93
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8818037
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "skor98/DtWPF", "max_stars_repo_path": "speechKit/speechKit/Program.cs", "provenance": "train-00027-of-00045.jsonl.gz:137257" }
starcoder
/* * Created by SharpDevelop. * User: User * Date: Вт 27.06.17 * Time: 13:18 * * To change this template use Tools | Options | Coding | Edit Standard Headers. */ using System; using System.IO; using System.Collections.Generic; using NAudio.Wave; using System.Net; using System.Net.Sockets; using System.Text; us...
2.085565
89d3a19b21c32c000312dbba5086507a
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8818038
{ "extension": "c-sharp", "max_stars_count": "269.0", "max_stars_repo_name": "raver99/SFTreeView_Binding_Issue", "max_stars_repo_path": "Android/SampleBrowser/Samples/TreeMap/Hierarchical.cs", "provenance": "train-00027-of-00045.jsonl.gz:137258" }
starcoder
#region Copyright Syncfusion Inc. 2001-2021. // Copyright Syncfusion Inc. 2001-2021. All rights reserved. // Use of this code is subject to the terms of our license. // A copy of the current license can be obtained at any time by e-mailing // <EMAIL>. Any infringement will be prosecuted under // applicable laws. #endr...
2.263663
147be757a356c7fecd9a65128b89bedd
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8818039
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "iNeverSleeeeep/NPOI-For-Unity", "max_stars_repo_path": "NPOI.OpenXmlFormats.Wordprocessing/ST_Wrap.cs", "provenance": "train-00027-of-00045.jsonl.gz:137259" }
starcoder
using System; using System.Xml.Serialization; namespace NPOI.OpenXmlFormats.Wordprocessing { [Serializable] [XmlType(Namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main")] public enum ST_Wrap { auto, notBeside, around, tight, through, none } }
1.869138
b8062f5987a29261c8deb1481a309e5b
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8818040
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "Blananas2/ktane-insaIlo", "max_stars_repo_path": "Assets/InsaIloScript.cs", "provenance": "train-00027-of-00045.jsonl.gz:137260" }
starcoder
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; using UnityEngine; using KModkit; public class InsaIloScript : MonoBehaviour { public KMBombInfo Bomb; public KMAudio Audio; public KMSelectable[] Buttons; public GameObj...
1.956544
058d59442bccf4c51951b21e2af3d599
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8818041
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "Visin1991/Role-playing-Game-Framework", "max_stars_repo_path": "FrameWork/Assets/Plugins/ExampleDialogSystem_Fixed/Core/Nodes/BaseDialogNode.cs", "provenance": "train-00027-of-00045.jsonl.gz:137261" }
starcoder
using System; using NodeEditorFramework; using UnityEngine; using UnityEngine.Serialization; [Node(true, "Dialog/Base Dialog Node", new Type[]{typeof(DialogNodeCanvas)})] public abstract class BaseDialogNode : Node { public override bool AllowRecursion { get { return true; } } public abstract Type GetObjectType { g...
2.156584
bab240e5bafefa57fb8023220ec27bba
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8818042
{ "extension": "c-sharp", "max_stars_count": "12.0", "max_stars_repo_name": "thanakritTW/hip-service", "max_stars_repo_path": "src/In.ProjectEKA.HipService/Discovery/Ranker/Rank.cs", "provenance": "train-00027-of-00045.jsonl.gz:137262" }
starcoder
<reponame>thanakritTW/hip-service<filename>src/In.ProjectEKA.HipService/Discovery/Ranker/Rank.cs<gh_stars>10-100 namespace In.ProjectEKA.HipService.Discovery.Ranker { using System; public struct Rank : IEquatable<Rank> { public int Score { get; } public Rank(int score) { ...
2.445164
79c48f5f933ddb57abf74ba5a14170f1
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8818043
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "justinyoo/25dos", "max_stars_repo_path": "week-4/challenge-22/src/FunctionApp/Startup.cs", "provenance": "train-00027-of-00045.jsonl.gz:137263" }
starcoder
<reponame>justinyoo/25dos<gh_stars>1-10 using System; using Microsoft.Azure.Functions.Extensions.DependencyInjection; using Microsoft.Azure.KeyVault; using Microsoft.Azure.Services.AppAuthentication; using Microsoft.Extensions.DependencyInjection; using Microsoft.WindowsAzure.Storage; using Microsoft.WindowsAzure.Stor...
1.95057
adca5ec96206b5d3270f12923e708202
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8818044
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "Kriskooo/InheritanceLab", "max_stars_repo_path": "StackOfStrings/Program.cs", "provenance": "train-00027-of-00045.jsonl.gz:137264" }
starcoder
using System; namespace CustomStack { public class StartUp { static void Main(string[] args) { StackOfStrings stack = new StackOfStrings(); Console.WriteLine(stack.IsEmpty()); stack.Push("1"); stack.Push("17"); stack.Push("7"); ...
2.872707
b212a0ae83fe0b1ef00890200cb163c9
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8818045
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "nongnoobjung/Legendary-Garena", "max_stars_repo_path": "LegendaryClient/Logic/JSON/InvitationRequest.cs", "provenance": "train-00027-of-00045.jsonl.gz:137265" }
starcoder
using LegendaryClient.Logic.SQLite; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Web.Script.Serialization; namespace LegendaryClient.Logic.JSON { public static class InvitationRequest { public static L...
2.45461
ace4405a166d906b916f5d51fa7cf884
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8818046
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "seljmov/Semantic-IDE", "max_stars_repo_path": "Semantic/Solution/Items/Folder.cs", "provenance": "train-00027-of-00045.jsonl.gz:137266" }
starcoder
using System; using System.Collections.Generic; namespace Semantic.Solution { public class Folder : IProjectItem { public Folder(string name, bool isSystem) { } public List<IProjectItem> Items { get; private set; } public string Name { get; internal set; } pub...
2.815542
b404b9fb687bcab6c8125304bee9899a
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8818047
{ "extension": "c-sharp", "max_stars_count": "8.0", "max_stars_repo_name": "crowchirp/aspnet-docs", "max_stars_repo_path": "aspnetcore/fundamentals/configuration/sample/src/UsingOptions/Controllers/HomeController.cs", "provenance": "train-00027-of-00045.jsonl.gz:137267" }
starcoder
<reponame>crowchirp/aspnet-docs #define First #if First using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Options; namespace UsingOptions.Controllers { #region snippet1 public class HomeController : Controller { private readonly MyOptions _optionsAccessor; public HomeController(I...
2.151
d3d97cdf53e790703e6e7e713123ff45
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8818048
{ "extension": "c-sharp", "max_stars_count": "30.0", "max_stars_repo_name": "dreamsilver/HotUpdateSolution", "max_stars_repo_path": "Assets/Scripts/Core/TlqQ8WlQQXAj5en4bT7JgDgZ8QbIC2ovH_C2G.cs", "provenance": "train-00027-of-00045.jsonl.gz:137268" }
starcoder
class TlqQ8WlQQXAj5en4bT7JgDgZ8QbIC2ovH_C2G { public string zeMZmf5dOcy2kocM = null; private int PuliMSmvtCsqKDw = 0; string CSR50VqCh8Vqgy6FHxngLGaEPAY = null; public string wuggy2VSnC5rtO8Y1LxUBZEf8uokfE = null; float BSKbHuQIn2mz6RfjlLoI_csPWM = 0.0f; int iT3RfpRtRJtZ4buo002aTCUUXwfvn = 0...
0.917435
d79f21a785973405742305771f5c9f80
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8818049
{ "extension": "c-sharp", "max_stars_count": "6.0", "max_stars_repo_name": "Lc3586/Microservice", "max_stars_repo_path": "src/Applications/SimpleApi/Model/Utils/Config/SoapType.cs", "provenance": "train-00027-of-00045.jsonl.gz:137269" }
starcoder
 namespace Model.Utils.Config { /// <summary> /// Soap类型 /// </summary> public enum SoapType { /// <summary> /// 客户端 /// </summary> Client, /// <summary> /// 服务 /// </summary> Server } }
2.040525
c9ab3606224cd9eb24c1c8473fb9e9c3
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8818050
{ "extension": "c-sharp", "max_stars_count": "26.0", "max_stars_repo_name": "cjstevenson/hotchocolate", "max_stars_repo_path": "src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/EnumGeneratorTests.cs", "provenance": "train-00027-of-00045.jsonl.gz:137270" }
starcoder
using System.Text; using System.Threading.Tasks; using Snapshooter.Xunit; using Xunit; namespace StrawberryShake.CodeGeneration.CSharp { public class EnumGeneratorTests { [Fact] public async Task Generate() { // arrange var sb = new StringBuilder(); v...
2.552888
0dd896663fa94c2a8193371a93abca83
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8818051
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "Wobling/valkyrie-package", "max_stars_repo_path": "Assets/Valkyrie/Tests/Editor/Source/ColorExtensionTests.cs", "provenance": "train-00027-of-00045.jsonl.gz:137271" }
starcoder
using NUnit.Framework; using UnityEditor.VersionControl; using UnityEngine; using Valkyrie.Extensions; namespace Tests { /* Naming your tests The name of your test should consist of three parts: The name of the method being tested. The scenario under which it's being tested. The expected beh...
2.7482
9ec550a3d01d8f8710b8daf12d516649
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8818052
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "XelaNimed/metadata-extractor-dotnet", "max_stars_repo_path": "MetadataExtractor/Formats/Bmp/BmpHeaderDescriptor.cs", "provenance": "train-00027-of-00045.jsonl.gz:137272" }
starcoder
<reponame>XelaNimed/metadata-extractor-dotnet #region License // // Copyright 2002-2019 <NAME> // Ported from Java to C# by <NAME> for Imazen LLC in 2014 // // 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...
2.138526
58cb5fade86e58c4f1eac12fec7aaf01
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8818053
{ "extension": "c-sharp", "max_stars_count": "37103.0", "max_stars_repo_name": "rdtechie/PowerShell", "max_stars_repo_path": "src/System.Management.Automation/engine/CommandCompletion/ExtensibleCompletion.cs", "provenance": "train-00027-of-00045.jsonl.gz:137273" }
starcoder
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System.Collections; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Linq; using System.Management.Automation.Language; namespace System.Management.Automation { /// <summary> /// This attribut...
2.741175
3ea1f358fe9c51175db98ae1f1ef9b8f
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8818054
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "Ted0-F/SecretSaanta", "max_stars_repo_path": "SecretSaanta/DataAccess/DataAPI/UsersRepo.cs", "provenance": "train-00027-of-00045.jsonl.gz:137274" }
starcoder
using SecretSantaa.Models; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SecretSantaa.DataAccess { public interface UsersRepo { Task<List<User>> getUsers(string aSkip, string aTake, string aSortOrder, string aFilter); ...
1.998795
6ff42d8191b6b51bfd7af3f1d19fcc41
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8818055
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "Phil-Holdorf/ros-sharp-extension", "max_stars_repo_path": "Unity/Proof of Concept/Project 1/Assets/RosSharp/Scripts/RosBridgeClient/RosCommuncation/FibonacciActionClient.cs", "provenance": "train-00027-of-00045.jsonl.gz:137275" }
starcoder
<reponame>Phil-Holdorf/ros-sharp-extension /* © Siemens AG, 2019 Author: <NAME> (<EMAIL>) Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at <http://www.apache.org/licenses/LICENSE-2.0>. Unless requir...
2.013969
6119e4d400525dc960725f893607c2fb
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8818056
{ "extension": "c-sharp", "max_stars_count": "205.0", "max_stars_repo_name": "wbalbo/dicom-server", "max_stars_repo_path": "src/Microsoft.Health.Dicom.Api/Features/Routing/KnownRoutes.cs", "provenance": "train-00027-of-00045.jsonl.gz:137276" }
starcoder
<gh_stars>100-1000 // ------------------------------------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See LICENSE in the repo root for license information. // ----------------------------------------...
1.245852
6edbe33dffed9149cda469b3626cf129
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8818057
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "razsilev/TelerikAcademy_Homework", "max_stars_repo_path": "Algorithms data structures/02_Linear-Data-Structures/Linear_Data_Structures/07_NumbersCountsInArray/NumbersCountsInArray.cs", "provenance": "train-00027-of-00045.jsonl.gz:1372...
starcoder
<gh_stars>0 namespace _07_NumbersCountsInArray { using System.Collections.Generic; using System.Linq; public class NumbersCountsInArray { public static void Main() { List<int> numbers = new List<int>() { 3, 4, 4, 2, 3, 3, 4, 3, 2 }; var numbersOccurs = FindNumbe...
3.555717
fc94832b2f3ba0c25625388579a846ef
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8818058
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "miryamGSM/hogwarts", "max_stars_repo_path": "Assets/Scripts/UI/Menu.cs", "provenance": "train-00027-of-00045.jsonl.gz:137278" }
starcoder
using UnityEngine; using UnityEngine.UI; using System.Collections; using System.Collections.Generic; using UnityEngine.SceneManagement; public class Menu : MonoBehaviour { public List<GameObject> Menus; public GameObject ItemTooltipPanel; public GameObject SkillTooltip; public static string defaultLevel = "Hogw...
2.189941
dddf8d95c6d1bfc6b14262def4245844
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8818059
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "pirocorp/Data-Structures-with-CSharp-", "max_stars_repo_path": "02. STACKS AND QUEUES/EXERCISE/03. Array Stack/ArrayStack.cs", "provenance": "train-00027-of-00045.jsonl.gz:137279" }
starcoder
using System; using System.Collections.Generic; using System.Text; public class ArrayStack<T> { private const int INITIAL_CAPACITY = 4; private T[] elements; public int Count { get; private set; } public int Capacity => this.elements.Length; public ArrayStack(int capacity = INITIAL_CAPACITY) ...
3.592922
c1e82e8fd196f950272161181b2b2e83
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8818060
{ "extension": "c-sharp", "max_stars_count": "19.0", "max_stars_repo_name": "MaxDehn/Zammad.Client", "max_stars_repo_path": "samples/Zammad.Connector/Core/IO/IFileService.cs", "provenance": "train-00027-of-00045.jsonl.gz:137280" }
starcoder
<filename>samples/Zammad.Connector/Core/IO/IFileService.cs<gh_stars>10-100 using System.IO; namespace Zammad.Connector.Core.IO { public interface IFileService { Stream CreateFile(string fileName); Stream OpenReadFile(string fileName); } }
1.930012
d20b12fffef6f00864da0949298283c7
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8818061
{ "extension": "c-sharp", "max_stars_count": "6901.0", "max_stars_repo_name": "Atom-Saleb-Tech/Notepads", "max_stars_repo_path": "src/Notepads.Controls/MarkdownTextBlock/Markdown/MarkdownBlock.cs", "provenance": "train-00027-of-00045.jsonl.gz:137281" }
starcoder
<gh_stars>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. // Source: https://github.com/windows-toolkit/WindowsCommunityToolkit/tree/master/Microsoft.Toolki...
2.82479
e3ffedfc55c77d9a6914c99babd8d6ae
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8818062
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "VontineDev/ProjectA", "max_stars_repo_path": "Dev/AlphaTest/Assets/Scripts/Effect/KnifeThrowing.cs", "provenance": "train-00027-of-00045.jsonl.gz:137282" }
starcoder
<reponame>VontineDev/ProjectA<filename>Dev/AlphaTest/Assets/Scripts/Effect/KnifeThrowing.cs using System.Collections; using System.Collections.Generic; using UnityEngine; public class KnifeThrowing : MonoBehaviour { private List<GameObject> findMonster = new List<GameObject>(); public System.Action<List<GameO...
2.441517
8477f06ac236e4201e9e7ae76d44a877
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8818063
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "Panda0903/TechShare", "max_stars_repo_path": "Design-Patterns/Structural/Adapter/Structuralcode/Adaptee.cs", "provenance": "train-00027-of-00045.jsonl.gz:137283" }
starcoder
<reponame>Panda0903/TechShare using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Design_Patterns.Structural.Adapter.Structuralcode { public class Adaptee { public void SpecificRequest() { Console.WriteLine("...
2.028302
6196386c6343d9329446ad5667a4612e
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8818064
{ "extension": "c-sharp", "max_stars_count": "3.0", "max_stars_repo_name": "Sundhedsdatastyrelsen/Coronapas.Mobile", "max_stars_repo_path": "SSICPAS.Tests/TestMocks/MockBrightnessService.cs", "provenance": "train-00027-of-00045.jsonl.gz:137284" }
starcoder
using SSICPAS.Services.Interfaces; using Xamarin.Forms; namespace SSICPAS.Tests.TestMocks { public class MockBrightnessService: IBrightnessService { public MockBrightnessService() { } public void ResetBrightness() { } public void SetBrightness(float fa...
1.868728
01516d0261dec5bcc8612e8bcf9580aa
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8818065
{ "extension": "c-sharp", "max_stars_count": "3.0", "max_stars_repo_name": "dfc643/pppoed", "max_stars_repo_path": "src/DotRas/Internal/Services/Connections/RasGetConnectStatusService.cs", "provenance": "train-00027-of-00045.jsonl.gz:137285" }
starcoder
using System; using System.Net; using DotRas.Internal.Abstractions.Factories; using DotRas.Internal.Abstractions.Policies; using DotRas.Internal.Abstractions.Services; using DotRas.Internal.Interop; using static DotRas.Internal.Interop.NativeMethods; using static DotRas.Internal.Interop.WinError; namespace DotRas.Int...
2.066777
39a55a5c5fd83fc54a3cbf9b94c90334
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8818066
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "Aaronontheweb/azure-sdk-tools", "max_stars_repo_path": "AzureDeploymentCmdlets/src/AzureDeploymentCmdlets/Model/DeploymentSettings.cs", "provenance": "train-00027-of-00045.jsonl.gz:137286" }
starcoder
<filename>AzureDeploymentCmdlets/src/AzureDeploymentCmdlets/Model/DeploymentSettings.cs<gh_stars>1-10 // ---------------------------------------------------------------------------------- // // Copyright 2011 Microsoft Corporation // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use th...
2.115712
f70d13e1e2b81ada68f8aa5e2cf6d6f7
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8818067
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "Impertatore/trados-studio-api-samples", "max_stars_repo_path": "TranslationStudioAutomation/Sdl.View.Sample/StudioTracking.cs", "provenance": "train-00027-of-00045.jsonl.gz:137287" }
starcoder
using System; using System.Collections.Generic; using System.Diagnostics; using Sdl.Desktop.IntegrationApi; namespace Sdl.View.Sample { public sealed class StudioTracking { #region Singleton implementation private StudioTracking() { } public static Studi...
2.394486
0fc9ab07c6e2b814142716fa10e979cf
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8818068
{ "extension": "c-sharp", "max_stars_count": "5.0", "max_stars_repo_name": "ldybyz/Oxite", "max_stars_repo_path": "Oxite/Oxite.Mvc.Tests/Fakes/FakePostService.cs", "provenance": "train-00027-of-00045.jsonl.gz:137288" }
starcoder
// -------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. // This source code is made available under the terms of the Microsoft Public License (Ms-PL) // http://www.codeplex.com/oxite/license // --------------------------------- using System; using System.Collections.Generi...
1.935413
df5e5b17a90ed60bc523ef26bea26bc9
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8818069
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "smw3/SpacePew", "max_stars_repo_path": "Assets/Scripts/PostProcessing.cs", "provenance": "train-00027-of-00045.jsonl.gz:137289" }
starcoder
using UnityEngine; using System.Collections; public class PostProcessing : MonoBehaviour { public Shader compositeShader; private Material compositeMaterial; public Material CompositeMaterial { get { if (compositeMaterial == null) { compositeMaterial = new Material(compositeShader); compositeMateria...
2.029841
f363e9a73a39757b8c685315386a5e96
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8818070
{ "extension": "c-sharp", "max_stars_count": "4.0", "max_stars_repo_name": "bluebackblue/fee", "max_stars_repo_path": "Script/DebugConsole/Window.cs", "provenance": "train-00027-of-00045.jsonl.gz:137290" }
starcoder
/** * Copyright (c) blueback * Released under the MIT License * https://github.com/bluebackblue/fee/blob/master/LICENSE.txt * @brief デバッグコンソール。ウィンドウ。 */ /** Fee.DebugConsole */ #if(UNITY_EDITOR) namespace Fee.DebugConsole { /** Window */ public class Window : UnityEditor.EditorWindow { /** constructor *...
2.203726
ecc3167626aa1a5e8e91f5de791e12ff
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8818071
{ "extension": "c-sharp", "max_stars_count": "1391.0", "max_stars_repo_name": "jcs-PR/omnisharp-roslyn", "max_stars_repo_path": "src/OmniSharp.Shared/Utilities/CachedStringBuilder.cs", "provenance": "train-00027-of-00045.jsonl.gz:137291" }
starcoder
<reponame>jcs-PR/omnisharp-roslyn<filename>src/OmniSharp.Shared/Utilities/CachedStringBuilder.cs using System; using System.Text; namespace OmniSharp.Utilities { public struct CachedStringBuilder { [ThreadStatic] private static StringBuilder g_builder; public StringBuilder Acquire() ...
2.343058
6dc9b6e285af342145c29d9c540e2d70
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8818072
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "src-pratik/countries", "max_stars_repo_path": "Basics.Countries.MongoStorage/ProjectionTypeEnum.cs", "provenance": "train-00027-of-00045.jsonl.gz:137292" }
starcoder
namespace Basics.Countries.MongoStorage { /// <summary> /// Enum defines the type for ProjectionDefinition /// </summary> public enum ProjectionTypeEnum { /// <summary> /// Include the fields in the output /// </summary> Include = 1, /// <summary> ///...
2.238396
34a9890e0c7c65f0bdaa1b814d3307f9
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8818073
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "xedoc/MultiMonitorSwitcher", "max_stars_repo_path": "MultiMonitorSwitcher/Model/NativeMethods.cs", "provenance": "train-00027-of-00045.jsonl.gz:137293" }
starcoder
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Runtime.InteropServices; //to DllImport namespace MultiMonitorSwitcher.Model { public class NativeMethods { public const int CDS_UPDATEREGISTRY = 0x00000001; public ...
1.829486
b2c37260264bc6ade2cc86ca2d0fe335
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8818074
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "atiq-shumon/DotNetProjects", "max_stars_repo_path": "Hospital_ERP_VS13-WCF_WF/AH.ModuleController/UI/FNB/Forms/frmSetmenu.cs", "provenance": "train-00027-of-00045.jsonl.gz:137294" }
starcoder
<filename>Hospital_ERP_VS13-WCF_WF/AH.ModuleController/UI/FNB/Forms/frmSetmenu.cs using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using System.Linq; using AH.ModuleController.FNBSR; using AH.DUtility; ...
1.849465
2b9ff545623640541f44d4b56b2c3656
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8818075
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "samcragg/Crest", "max_stars_repo_path": "src/Crest.Host/Diagnostics/ExecutingAssembly.cs", "provenance": "train-00027-of-00045.jsonl.gz:137295" }
starcoder
<filename>src/Crest.Host/Diagnostics/ExecutingAssembly.cs // Copyright (c) <NAME>. // // Licensed under the MIT license. See LICENSE file in the project root for // full license information. namespace Crest.Host.Diagnostics { using System; using System.Collections.Generic; using System.Diagnostics; us...
2.521074
bfb39e08e9ac1fb5ebaae94348f6ff2d
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8818076
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "sevgin0954/SoftUni-Projects", "max_stars_repo_path": "Databases Advanced - Entity Framework/Advanced Relations/P01_BillsPaymentSystem.Data/EntityConfig/CreditCardConfig.cs", "provenance": "train-00027-of-00045.jsonl.gz:137296" }
starcoder
<reponame>sevgin0954/SoftUni-Projects using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; using P01_BillsPaymentSystem.Models; namespace P01_BillsPaymentSystem.Data.EntityConfig { class CreditCardConfig : IEntityTypeConfiguration<CreditCard> { public void Config...
2.129533
8c7cc683718e1115e67d16b38ba15bfd
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8818077
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "l3kov9/CSharpWebBasic", "max_stars_repo_path": "NetCoreAndEFCoreExercises/SocialNetwork.Data/EntityConfig/AlbumConfig.cs", "provenance": "train-00027-of-00045.jsonl.gz:137297" }
starcoder
<gh_stars>0 namespace SocialNetwork.Data.EntityConfig { using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; using SocialNetwork.Models; public class AlbumConfig : IEntityTypeConfiguration<Album> { public void Configure(EntityTypeBuilder<Album> builde...
1.919936
3ec76e40aff6399689cd74eb855f8f22
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8818078
{ "extension": "c-sharp", "max_stars_count": "6.0", "max_stars_repo_name": "kaviteshsingh/DuplicateFileDetectorMVVM", "max_stars_repo_path": "DuplicateFileDetectorMVVM/ValueConverters/FileSizeInBytesToKiloBytes.cs", "provenance": "train-00027-of-00045.jsonl.gz:137298" }
starcoder
<reponame>kaviteshsingh/DuplicateFileDetectorMVVM using System; using System.Windows.Data; using System.Globalization; namespace DuplicateFileDetectorMVVM.ValueConverters { [ValueConversion(typeof(UInt64), typeof(UInt64))] public class FileSizeInBytesToKiloBytes : IValueConverter { public object...
2.151682
29b1c0c235dfb8f614b292cdbf9bd4e7
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8818079
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "rxcle/notifying-property-toolkit", "max_stars_repo_path": "src/NotifyingPropertyToolkit.Examples.Uwp/UserFormViewModel.cs", "provenance": "train-00027-of-00045.jsonl.gz:137299" }
starcoder
// Copyright (c) 2021 Rxcle. Rxcle licenses this file to you under the MIT license. using System.Diagnostics; using Windows.UI.Popups; namespace NotifyingPropertyToolkit.Examples.Uwp { public class UserFormViewModel : ViewModelDebugBase { public UserFormViewModel() { FirstName = ...
2.457996
22b309c1444dda4a9a226750b0be0457
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8818080
{ "extension": "c-sharp", "max_stars_count": "6.0", "max_stars_repo_name": "crmtogether/Titan-ASP.Net-for-Sage-CRM", "max_stars_repo_path": "SageCRM/SageCRM/SaveCRMButtonSave.cs", "provenance": "train-00027-of-00045.jsonl.gz:137300" }
starcoder
using System; using System.Collections.Generic; using System.ComponentModel; using System.Text; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Security; using System.Security.Permissions; using System.IO; using System.Net; using System.Configuration; using System.Web.UI...
1.957387
8e06b8aadeedfd5af031a7fc4eb99452
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8818081
{ "extension": "c-sharp", "max_stars_count": "676.0", "max_stars_repo_name": "studentutu/VContainer", "max_stars_repo_path": "VContainer/Assets/VContainer/Tests/Unity/PlayerLoopRunnerTest.cs", "provenance": "train-00027-of-00045.jsonl.gz:137301" }
starcoder
<filename>VContainer/Assets/VContainer/Tests/Unity/PlayerLoopRunnerTest.cs using System; using NUnit.Framework; using VContainer.Unity; namespace VContainer.Tests.Unity { class OneshotLoopItem : IPlayerLoopItem { public int Called { get; private set; } public bool MoveNext() { ...
2.869125
a66a176cdf51f32397d4eae154e47abe
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8818082
{ "extension": "c-sharp", "max_stars_count": "14.0", "max_stars_repo_name": "jeremyVignelles/OnvifEventsReceiver", "max_stars_repo_path": "Common/Events/DeviceEvent.cs", "provenance": "train-00027-of-00045.jsonl.gz:137302" }
starcoder
using System; namespace Common.Events { public class DeviceEvent { public DateTime Timestamp { get; } = DateTime.UtcNow; public string Message { get; } public DeviceEvent(string message) { Message = message; } } }
2.368632
a27c9c203eab624e8399dfc33dbfa6a5
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8818083
{ "extension": "c-sharp", "max_stars_count": "3.0", "max_stars_repo_name": "NTaylorMullen/csharp-language-server-protocol", "max_stars_repo_path": "src/Protocol/Serialization/Converters/LocationOrLocationsConverter.cs", "provenance": "train-00027-of-00045.jsonl.gz:137303" }
starcoder
<reponame>NTaylorMullen/csharp-language-server-protocol<gh_stars>1-10 using System; using System.Collections.Generic; using System.Linq; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using OmniSharp.Extensions.LanguageServer.Protocol.Models; namespace OmniSharp.Extensions.LanguageServer.Protocol.Serialization.Con...
2.516056
901ca987776670f6acd41f0f985c0d1a
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8818084
{ "extension": "c-sharp", "max_stars_count": "288.0", "max_stars_repo_name": "syberside/CMS", "max_stars_repo_path": "Kooboo.CMS/Kooboo.CMS.Web/Areas/Contents/Controllers/ReceivingSettingController.cs", "provenance": "train-00027-of-00045.jsonl.gz:137304" }
starcoder
<gh_stars>100-1000 #region License // // Copyright (c) 2013, Kooboo team // // Licensed under the BSD License // See the file LICENSE.txt for details. // #endregion using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using Kooboo.Globalization; using Kooboo.CM...
1.6206
45b801202a7606f234079a1d13c47e8f
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8818085
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "Tvede-dk/c-winforms-componets-collection", "max_stars_repo_path": "winforms-collection/SharedFunctionalities/drawing/layers/CenterText.cs", "provenance": "train-00027-of-00045.jsonl.gz:137305" }
starcoder
<reponame>Tvede-dk/c-winforms-componets-collection using System.Drawing; namespace SharedFunctionalities.drawing.layers { public class CenterText : TextBaseLayer { public CenterText() { this.StringFormat.LineAlignment = StringAlignment.Center; this.StringFormat.Alignment = StringA...
1.545848
ed6b23354c2c766f12b4c9da56b0f525
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8818086
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "drogojan/DddInPractice", "max_stars_repo_path": "DddInPractice.Logic/Slot.cs", "provenance": "train-00027-of-00045.jsonl.gz:137306" }
starcoder
<reponame>drogojan/DddInPractice<gh_stars>0 namespace DddInPractice.Logic { public class Slot : Entity { public virtual SnackPile SnackPile { get; set; } public virtual SnackMachine SnackMachine { get; protected set; } public virtual int Position { get; protected set; } protect...
2.423178
f846e17c171d23a0f9aa13c8ea1fe16b
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8818087
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "Lelouch99/bot_cc", "max_stars_repo_path": "Discord.Net/src/Discord.Net.Rpc/API/Rpc/VoiceMode.cs", "provenance": "train-00027-of-00045.jsonl.gz:137307" }
starcoder
using Newtonsoft.Json; namespace Discord.API.Rpc { internal class VoiceMode { [JsonProperty("type")] public Optional<string> Type { get; set; } [JsonProperty("auto_threshold")] public Optional<bool> AutoThreshold { get; set; } [JsonProperty("threshold")] ...
1.829193
56c1c309d80755cf7b3f3a5e3cf9c42d
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8818088
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "ErikEJ/SqlClient", "max_stars_repo_path": "src/Microsoft.Data.SqlClient/tests/tools/Microsoft.Data.SqlClient.TestUtilities/Config.cs", "provenance": "train-00027-of-00045.jsonl.gz:137308" }
starcoder
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.IO; using Newtonsoft.Json; namespace Microsoft.Data.SqlClient.TestUtilities { public...
1.882164
60505b6eefb780ce6f7f36cb69375866
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8818089
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "Supertext/Supertext.Base", "max_stars_repo_path": "Supertext.Base/Extensions/StringBuilderExtensions.cs", "provenance": "train-00027-of-00045.jsonl.gz:137309" }
starcoder
using System; namespace Supertext.Base.Extensions { public static class StringBuilderExtensions { /// <summary> /// Reports the zero-based index of the first occurrence of the specified string within the content of this StringBuilder. /// </summary> /// <param name="sb"></para...
3.560726
f7d4c8cb30e0ff47d5037b765293738c
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8818090
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "qing-rain/qingstack", "max_stars_repo_path": "QingStack/Services/DeviceCenter/QingStack.DeviceCenter.Domain/Specifications/Builder/IncludeAggregator.cs", "provenance": "train-00027-of-00045.jsonl.gz:137310" }
starcoder
using System.Collections.Generic; namespace QingStack.DeviceCenter.Domain.Specifications { public class IncludeAggregator : IIncludeAggregator { private readonly List<string> navigationPropertyNames = new List<string>(); public IncludeAggregator(string? navigationPropertyName) { ...
2.520648
c707ef4909b99caa3a3a2b859912068b
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8818091
{ "extension": "c-sharp", "max_stars_count": "59.0", "max_stars_repo_name": "MicroWorldwide/BGC_Tools", "max_stars_repo_path": "Audio/Filters/CarlileShuffler.cs", "provenance": "train-00027-of-00045.jsonl.gz:137311" }
starcoder
<gh_stars>10-100 using System; using System.Collections.Generic; using BGC.Mathematics; namespace BGC.Audio.Filters { /// <summary> /// A Decorator class for BGCAudioClips that applies the Carlile noise-generation technique /// </summary> public class CarlileShuffler : SimpleBGCFilter { pu...
2.409873
d3586f3313b08f6dba2d7d9052e710f2
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8818092
{ "extension": "c-sharp", "max_stars_count": "188.0", "max_stars_repo_name": "fly1n/triggernometry-pro", "max_stars_repo_path": "Source/Triggernometry/Forms/UpdateForm.Designer.cs", "provenance": "train-00027-of-00045.jsonl.gz:137312" }
starcoder
namespace Triggernometry.Forms { partial class UpdateForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
1.956269
e92478c765950a11307f95bbe06810e9
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8818093
{ "extension": "c-sharp", "max_stars_count": "1767.0", "max_stars_repo_name": "alongthepike/jwt", "max_stars_repo_path": "src/JWT.Extensions.Owin/JwtAuthenticationMiddleware.cs", "provenance": "train-00027-of-00045.jsonl.gz:137313" }
starcoder
using System; using System.Threading.Tasks; using Microsoft.Owin; namespace JWT { public sealed class JwtAuthenticationMiddleware : OwinMiddleware { public JwtAuthenticationMiddleware(OwinMiddleware next) : base(next) { } public override async Task Invoke(IOwinCont...
2.23781
e7de5b98dfe6edb7e4b7b9091b6215f2
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8818094
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "codrut51/protoactor-dotnet", "max_stars_repo_path": "src/Proto.Actor/Router/HashRing.cs", "provenance": "train-00027-of-00045.jsonl.gz:137314" }
starcoder
<reponame>codrut51/protoactor-dotnet // ----------------------------------------------------------------------- // <copyright file="HashRing.cs" company="Asynkron AB"> // Copyright (C) 2015-2022 Asynkron AB All rights reserved // </copyright> // --------------------------------------------------------------------...
2.501992
30cd04be56d78c9430564ab4d87bfc7d
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8818095
{ "extension": "c-sharp", "max_stars_count": "206.0", "max_stars_repo_name": "zutjmx/EfCoreinAction-SecondEdition", "max_stars_repo_path": "Test/UnitTests/TestDataLayer/Ch03_Delete.cs", "provenance": "train-00027-of-00045.jsonl.gz:137315" }
starcoder
// Copyright (c) 2016 <NAME>, GitHub: JonPSmith, web: http://www.thereformedprogrammer.net/ // Licensed under MIT licence. See License.txt in the project root for license information. using System.Linq; using DataLayer.EfClasses; using DataLayer.EfCode; using Microsoft.EntityFrameworkCore; using Test.TestHelpers; usi...
2.564565
0513710d65832d4a1654f83d4c69fdd1
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8818096
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "onepiecehung/hbase-on-windowns", "max_stars_repo_path": "Samples/CSharp/C# MapReduce Samples/Samples/WordCount Demo/CS/Helper/HadoopConfiguration.cs", "provenance": "train-00027-of-00045.jsonl.gz:137316" }
starcoder
using Newtonsoft.Json; using Newtonsoft.Json.Linq; using System; using System.Collections.Generic; using System.Configuration; using System.DirectoryServices; using System.IO; using System.Linq; using System.Net; using System.Net.Security; using System.Security.Cryptography.X509Certificates; using System.Text; using Sy...
2.120131
c4a0a624210e796b474e99ad1becfb41
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8818097
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "sandeepbarua/Project", "max_stars_repo_path": "MiddleLayer/MlCPScreenData.cs", "provenance": "train-00027-of-00045.jsonl.gz:137317" }
starcoder
<filename>MiddleLayer/MlCPScreenData.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MiddleLayer { public class MlCPScreenData { public int CPScreenDataID { get; set; } public int FaxID { get; set; } publi...
1.776106
f033759dad93dd37325642aaf8ecd0f8
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8818098
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "Kharzette/GrogLibs", "max_stars_repo_path": "MeshLib/StaticArch.cs", "provenance": "train-00027-of-00045.jsonl.gz:137318" }
starcoder
using System; using System.Diagnostics; using System.Collections.Generic; using System.IO; using SharpDX; using SharpDX.DXGI; using SharpDX.Direct3D11; using UtilityLib; //ambiguous stuff using Color =SharpDX.Color; using Device =SharpDX.Direct3D11.Device; using MatLib =MaterialLib.MaterialLib; namespace MeshLib {...
2.48874
d7c3047cba9cbe2ef136a5c599c78e5a
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8818099
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "phillipweinstock/PHP-SRePS", "max_stars_repo_path": "PHP-SRePs-Frontend/LogIn.cs", "provenance": "train-00027-of-00045.jsonl.gz:137319" }
starcoder
<reponame>phillipweinstock/PHP-SRePS using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; namespace PHP_SRePS_Frontend { public partial class LogIn : Form { MainMenu frmMainMenu = new MainMe...
2.179724
2a3558bc312afbd6775be26d6b78a0a3
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8818100
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "yoowonyoung/TizenFX", "max_stars_repo_path": "src/Tizen.NUI/src/internal/Interop/Interop.EventThreadCallback.cs", "provenance": "train-00027-of-00045.jsonl.gz:137320" }
starcoder
<reponame>yoowonyoung/TizenFX using System; using System.Collections.Generic; using System.Text; namespace Tizen.NUI { internal static partial class Interop { internal static partial class EventThreadCallback { [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, En...
1.470442
ec67f06a40d4f47e28a00e4eb14df678
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8818101
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "NilavPatel/ERP-Sample", "max_stars_repo_path": "src/ERP.Application/Modules/Employees/Commands/EmployeeBankDetailCommandHandlers.cs", "provenance": "train-00027-of-00045.jsonl.gz:137321" }
starcoder
<filename>src/ERP.Application/Modules/Employees/Commands/EmployeeBankDetailCommandHandlers.cs<gh_stars>1-10 using ERP.Application.Core; using ERP.Domain.Core.Repositories; using ERP.Domain.Core.Services; using ERP.Domain.Exceptions; using ERP.Domain.Modules.Employees; using MediatR; namespace ERP.Application.Modules.E...
2.376837
b6abe6c0e6b6155ca2c9c870c444f272
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8818102
{ "extension": "c-sharp", "max_stars_count": "421.0", "max_stars_repo_name": "hamarb123/dotnet-api-docs", "max_stars_repo_path": "samples/snippets/csharp/VS_Snippets_ADO.NET/DataWorks SqlCommand.BeginExecuteReader/CS/source.cs", "provenance": "train-00027-of-00045.jsonl.gz:137322" }
starcoder
<filename>samples/snippets/csharp/VS_Snippets_ADO.NET/DataWorks SqlCommand.BeginExecuteReader/CS/source.cs using System; using System.Data; // <Snippet1> using System.Data.SqlClient; class Class1 { static void Main() { // This is a simple example that demonstrates the usage of the //...
3.37909
ef7f5c121ac6a03e462d2c29d3df894d
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8818103
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "PhucDo122001/G8-GARAGE-Projiect-CS4273", "max_stars_repo_path": "QuanLyGara/QLGR/BLL/ChiTietBaoCaoTonBLL.cs", "provenance": "train-00027-of-00045.jsonl.gz:137323" }
starcoder
using System; using System.Collections.Generic; using System.Linq; using System.Text; using QLGR.DataLayer; using QLGR.Entities; using System.Data; namespace QLGR.BusinessLayer { class ChiTietBaoCaoTonBLL { public static string getMaCTBCT(string maBCT, string tenPhuTung) { return C...
1.92676
5d7309b5573c118385d42c5cf748222a
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8818104
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "RixianOpenTech/RxWrappers", "max_stars_repo_path": "Source/Wrappers/mscorlib/System.Security.Claims.ClaimsPrincipal.cs", "provenance": "train-00027-of-00045.jsonl.gz:137324" }
starcoder
<reponame>RixianOpenTech/RxWrappers<gh_stars>0 using System; using System.Collections.Generic; using System.Reactive.Linq; using System.Reactive.Threading.Tasks; using MS.Core; namespace System.Security.Claims { public static class __ClaimsPrincipal { public static IObservable<System.Reactive.Unit> Add...
2.296602
1710dadeb06f3561ff0965bdf21e18fe
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8818105
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "groozin/ServiceBusExplorer", "max_stars_repo_path": "src/ServiceBus/Helpers/ServiceBusPurger.cs", "provenance": "train-00027-of-00045.jsonl.gz:137325" }
starcoder
#region Copyright //======================================================================================= // Microsoft Azure Customer Advisory Team // // This sample is supplemental to the technical guidance published on my personal // blog at http://blogs.msdn.com/b/paolos/. // // Author: <NAME> //==============...
2.119816
1a5c390ff68da2dceda75050d52b51fa
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8818106
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "SpleefDinamix/SoftuniCSFundamentalsExtended", "max_stars_repo_path": "StringsAndTextProcessing/SentenceSplit/Program.cs", "provenance": "train-00027-of-00045.jsonl.gz:137326" }
starcoder
using System; namespace SentenceSplit { public class Program { public static void Main() { var sentence = Console.ReadLine(); string delimiter = Console.ReadLine(); var parts = sentence .Split(new[] { delimiter }, StringSplitOptions.None); ...
3.181594
30f68cad61e2b961c3b96a49965d13e8
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8818107
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "OTG-Accounts/Time-and-Billing-Software", "max_stars_repo_path": "TimeCapture/TimeStatistics.aspx.designer.cs", "provenance": "train-00027-of-00045.jsonl.gz:137327" }
starcoder
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //----------------------------------------...
1.450158
498e6797063252a6886041353a64be6f
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8818108
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "xzenon/soundfingerprinting", "max_stars_repo_path": "src/SoundFingerprinting/FingerprintService.cs", "provenance": "train-00027-of-00045.jsonl.gz:137328" }
starcoder
<filename>src/SoundFingerprinting/FingerprintService.cs<gh_stars>0 namespace SoundFingerprinting { using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using SoundFingerprinting.Audio; using SoundFingerprinting....
2.307104
f352493eaf2e5a82e0ad735058284c05
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8818109
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "Lombiq/Open-Source-Orchard-Extensions", "max_stars_repo_path": "src/Orchard.Web/Modules/Orchard.AuditTrail/Views/AuditTrailEvent-ContentType-PartRemoved.cshtml", "provenance": "train-00027-of-00045.jsonl.gz:137329" }
starcoder
@using Orchard.AuditTrail.Helpers @{ var eventData = (IDictionary<string, object>) Model.EventData; var contentTypeName = eventData.Get<string>("ContentTypeName"); var contentPartName = eventData.Get<string>("ContentPartName"); } <section class="audittrail-contenttype-eventsummary"> @T("The cont...
1.84023
e9dacd0628aa558ddc89afce2aa91269
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8818110
{ "extension": "c-sharp", "max_stars_count": "13.0", "max_stars_repo_name": "stimulsoft/Stimulsoft.Controls.Net", "max_stars_repo_path": "Stimulsoft.Base/Drawing/StiImageFromURL.cs", "provenance": "train-00027-of-00045.jsonl.gz:137330" }
starcoder
#region Copyright (C) 2003-2016 Stimulsoft /* {*******************************************************************} { } { Stimulsoft Reports } { } { Copyright (C) 2003-2016 Stimulsoft } { ALL RIGHTS RESERVED } { } { The entire contents of ...
1.791146
dc1e19eda6854f212a307ceff73d7564
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8818111
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "Damien-The-Unbeliever/Linq.AsyncEnumerable", "max_stars_repo_path": "DamienTheUnbeliever.System.Linq.Tests/OrderBy.cs", "provenance": "train-00027-of-00045.jsonl.gz:137331" }
starcoder
<filename>DamienTheUnbeliever.System.Linq.Tests/OrderBy.cs<gh_stars>1-10 using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; using Xunit; namespace DamienTheUnbeliever.System.Linq.Tests { public class OrderBy { [Fact] public async Task Simple_Sorting() { ...
3.040472
06e22cd677a5674d0ef286b8871238e0
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8818112
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "comfydeveloper/comfybot", "max_stars_repo_path": "Source/ComfyBot.Bot/Points/PointsRewardJob.cs", "provenance": "train-00027-of-00045.jsonl.gz:137332" }
starcoder
<filename>Source/ComfyBot.Bot/Points/PointsRewardJob.cs namespace ComfyBot.Bot.Points { using System; using System.Collections.Generic; using System.Timers; using ComfyBot.Bot.ChatBot.Chatters; using ComfyBot.Common.Initialization; public class PointsRewardJob : IInitializerJob, ICompletableJ...
2.707615
baba5fe2b135e662b3f230094687acdf
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8818113
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "marlonajgayle/NetCoreWebTemplate", "max_stars_repo_path": "NetCoreWebTemplate.Infrastructure/Identity/JwtSettings.cs", "provenance": "train-00027-of-00045.jsonl.gz:137333" }
starcoder
<reponame>marlonajgayle/NetCoreWebTemplate using System; namespace NetCoreWebTemplate.Infrastructure.Identity { public class JwtSettings { public string Secret { get; set; } public TimeSpan Expiration { get; set; } public bool ValidateIssuerSigningKey { get; set; } public bool ...
1.620319
07f9ee4163e8e24694eb6bf6d136dd86
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8818114
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "supernevi/Play", "max_stars_repo_path": "UltraStar Play/Assets/Common/R/RUxmlNames.cs", "provenance": "train-00027-of-00045.jsonl.gz:137334" }
starcoder
<gh_stars>0 // GENERATED CODE. To update this file use the corresponding menu item in the Unity Editor. public static partial class R { public static class UxmlNames { public const string aboutButton = "aboutButton"; public const string aboutText = "aboutText"; public const string addBu...
0.309934
d6db237f1769543c717992c6a78e8dc7
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8818115
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "adeotek/dBASE.NET", "max_stars_repo_path": "dBASE.NET.Tests/CustomEncoding.cs", "provenance": "train-00027-of-00045.jsonl.gz:137335" }
starcoder
using System; using System.Collections.Generic; using System.Text; using Xunit; namespace dBASE.NET.Tests; public class CustomEncoding { private readonly List<DbfField> fields; private readonly Dictionary<string, object> data; private readonly Encoding encoding; private readonly Dbf standardDbf; ...
2.22401
88d7d878e5dd446663e8532d2890ac1f
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8818116
{ "extension": "c-sharp", "max_stars_count": "11.0", "max_stars_repo_name": "CslaGenFork/CslaGenFork", "max_stars_repo_path": "trunk/Samples/DeepLoad/DAL-DR/SelfLoad.DataAccess/ERLevel/IC09_CityCollDal.cs", "provenance": "train-00027-of-00045.jsonl.gz:137336" }
starcoder
namespace SelfLoad.DataAccess.ERLevel { public partial interface IC09_CityCollDal { } }
1.042881
e1e6f4c9a198bb43f2985ecf4f5da907
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8818117
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "Vladislav-Lukyanuk/pet-saver-.netCore-backend", "max_stars_repo_path": "animalFinder/DTO/API/Animal.cs", "provenance": "train-00027-of-00045.jsonl.gz:137337" }
starcoder
namespace animalFinder.DTO.API { public class Animal { public string Id { get; set; } public string Image { get; set; } public string Title { get; set; } public string Description { get; set; } public string PhoneNumber { get; set; } public Coordinate[] Coordinat...
1.87023
0a4714b12ff9bc710b801d6138e4de23