added
string
created
string
id
string
metadata
dict
source
string
text
string
code-score
float64
md5
string
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
2937
{ "extension": "c-sharp", "max_stars_count": "3.0", "max_stars_repo_name": "alekdavis/Mailr", "max_stars_repo_path": "MailrLib/MailTemplate.cs", "provenance": "train-00000-of-00045.jsonl.gz:2938" }
starcoder
using System; using System.IO; using System.Net.Mail; using System.Collections.Generic; using System.Collections.Specialized; using System.Dynamic; using System.Runtime.Caching; using System.Text.RegularExpressions; using RazorEngine; using HtmlAgilityPack; namespace Mailr { /// <summary> /// Extends the .NET Fram...
2.747339
4eac2fc60a14a73a23d352ebb649fd73
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
2938
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "ngallo/BDDoc", "max_stars_repo_path": "src/BDDoc.Generator.UnitTest/Core/Arguments/ArgumentParserTests.cs", "provenance": "train-00000-of-00045.jsonl.gz:2939" }
starcoder
using BDDoc.Core.Arguments; using NUnit.Framework; using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; namespace BDDoc.Generator.UnitTest.Core.Arguments { [ExcludeFromCodeCoverage] public class ArgumentParserTests { //Tests [Test] public void Ini...
2.493673
dcdd0ed80c14e64233544a78e70db231
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
2939
{ "extension": "c-sharp", "max_stars_count": "4.0", "max_stars_repo_name": "OmidID/LiteDB.Studio", "max_stars_repo_path": "LiteDB.Studio/ViewModels/ConnectionPageViewModel.cs", "provenance": "train-00000-of-00045.jsonl.gz:2940" }
starcoder
using System.Collections.ObjectModel; using System.IO; using System.Windows.Input; using LiteDB.Studio.ViewServices; namespace LiteDB.Studio.ViewModels; public class ConnectionPageViewModel : ViewModelBase { private string _filePath; public ICommand InvertCloseCommand { get; set; } public ICommand OpenCommand { ...
2.366922
b45318ddeec304953224672d02b99d34
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
2940
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "sinaioutlander/Outward-Dataminer", "max_stars_repo_path": "src/Model/Item/DM_DeployableTrap.cs", "provenance": "train-00000-of-00045.jsonl.gz:2941" }
starcoder
<filename>src/Model/Item/DM_DeployableTrap.cs<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Dataminer { public class DM_DeployableTrap : DM_Item { public List<DM_TrapRecipe> TrapRecipeEffects = new List<DM_TrapRecipe>(); public over...
2.563448
d21d6a4df1f8a7e05d3fbe935d4ed66f
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
2941
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "fluttert/.Net-Utils", "max_stars_repo_path": "src/UtilsTests/MathTests/DivisorTest.cs", "provenance": "train-00000-of-00045.jsonl.gz:2942" }
starcoder
using Fluttert.Utils.Math; using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Collections.Generic; namespace UtilsTests.Math { [TestClass] public class DivisorTest { [TestMethod] public void FactorsTest() { // based on https://en.wikipedia.or...
2.736782
eaae4232c0752910437320891f4cf9a3
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
2942
{ "extension": "c-sharp", "max_stars_count": "6.0", "max_stars_repo_name": "kataru-lang/unity-kataru", "max_stars_repo_path": "Handler/Handler.cs", "provenance": "train-00000-of-00045.jsonl.gz:2943" }
starcoder
<filename>Handler/Handler.cs using System; using UnityEngine; /* The Runner owns dictionary of delegates. All annotated functions are added to the delegates. */ namespace Kataru { /// <summary> /// The Handler class automatically manages subscription and disposal of listeners to the Runner. /// All MonoBeh...
2.783317
26074ffe673eccd70e9110305876e5b7
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
2943
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "kamlesh-microsoft/clear-hl7-net", "max_stars_repo_path": "src/ClearHl7.Codes/V231/CodeCausalityObservations.cs", "provenance": "train-00000-of-00045.jsonl.gz:2944" }
starcoder
<gh_stars>0 namespace ClearHl7.Codes.V231 { /// <summary> /// HL7 Version 2 Table 0252 - Causality Observations. /// </summary> /// <remarks>https://www.hl7.org/fhir/v2/0252</remarks> public enum CodeCausalityObservations { /// <summary> /// AW - Abatement of event after product...
2.14169
eeddcd6e4d41285b19883dfeea8b0487
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
2944
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "Tunski/Birmingham-Parcour", "max_stars_repo_path": "Server/ParcourWebAPI/Areas/HelpPage/Views/Help/DisplayTemplates/ImageSample.cshtml", "provenance": "train-00000-of-00045.jsonl.gz:2945" }
starcoder
<gh_stars>1-10 @using ParcourWebAPI.Areas.HelpPage @model ImageSample <img src="@Model.Src" />
1.230618
9bed468e0cce8e2dd2d9ca5383886ccd
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
2945
{ "extension": "c-sharp", "max_stars_count": "6.0", "max_stars_repo_name": "ericmutta/samples", "max_stars_repo_path": "csharp/tutorials/default-interface-members-versions/starter/customer-relationship/SampleCustomer.cs", "provenance": "train-00000-of-00045.jsonl.gz:2946" }
starcoder
using System; using System.Collections.Generic; namespace customer_relationship { public class SampleCustomer : ICustomer { public SampleCustomer(string name, DateTime dateJoined) => (Name, DateJoined) = (name, dateJoined); private List<IOrder> allOrders = new List<IOrder>(); ...
2.99367
197c0c2019c2df3888ece8b5e4d735d6
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
2946
{ "extension": "c-sharp", "max_stars_count": "24.0", "max_stars_repo_name": "nlhans/SimShift", "max_stars_repo_path": "SimShift/SimShift/Data/Common/MemoryWriter.cs", "provenance": "train-00000-of-00045.jsonl.gz:2947" }
starcoder
<filename>SimShift/SimShift/Data/Common/MemoryWriter.cs using System; namespace SimShift.Data.Common { public class MemoryWriter : MemoryReader { public override bool Open() { m_hProcess = ProcessMemoryReaderApi.OpenProcess(PROCESS_VM_WRITE | PROCESS_VM_READ, 0, (uint)m_ReadProcess....
2.687667
7a16f05bc4ef3696589e4ea381354e50
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
2947
{ "extension": "c-sharp", "max_stars_count": "3.0", "max_stars_repo_name": "jameshuey/CSharp-8.0-and-.NET-Core-3.0-Modern-Cross-Platform-Development-Fourth-Edition", "max_stars_repo_path": "Chapter07/SharedLibrary/StringExtensions.cs", "provenance": "train-00000-of-00045.jsonl.gz:2948" }
starcoder
using System.Text.RegularExpressions; namespace Packt.Shared { public static class StringExtensions { public static bool IsValidXmlTag(this string input) { return Regex.IsMatch(input, @"^<([a-z]+)([^<]+)*(?:>(.*)<\/\1>|\s+\/>)$"); } public static bool IsValidPassword(thi...
2.780809
8e1e86ba92c8562626d3289b30068e82
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
2948
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "alethic/Cogito.ServiceFabric", "max_stars_repo_path": "Cogito.ServiceFabric.Test.TestActorService.NetCore3/Program.cs", "provenance": "train-00000-of-00045.jsonl.gz:2949" }
starcoder
<gh_stars>0 using System.Threading; using System.Threading.Tasks; using Autofac; using Cogito.Autofac; namespace Cogito.ServiceFabric.Test.TestActorService.NetCore3 { public static class Program { /// <summary> /// Main application entry point. /// </summary> /// <param name...
1.407024
3ec526fce92b38a2a699f3a6ecb30494
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
2949
{ "extension": "c-sharp", "max_stars_count": "16.0", "max_stars_repo_name": "weikio/ApiFramework", "max_stars_repo_path": "samples/Weikio.ApiFramework.Samples.PluginLibrary/HelloWorldPostApi.cs", "provenance": "train-00000-of-00045.jsonl.gz:2950" }
starcoder
namespace Weikio.ApiFramework.Samples.PluginLibrary { public class HelloWorldPostApi { public string Create() { return "Hello Api Framework!"; } } }
1.771052
62f4ec91a608d68bdc6e45e5a62694af
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
2950
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "Nikal-Lion/SignalRDemo", "max_stars_repo_path": "src/WS.RealTime.Api/Controllers/ValuesController.cs", "provenance": "train-00000-of-00045.jsonl.gz:2951" }
starcoder
<filename>src/WS.RealTime.Api/Controllers/ValuesController.cs using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using System.Collections.Generic; //using RealTimeChat.Entities; namespace WS.RealTime.Api.Controllers { [Route("api/[controller]")] [ApiController] public class ValuesCo...
2.452031
061e87bc90516fd326755733fe10ae72
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
2951
{ "extension": "c-sharp", "max_stars_count": "3903.0", "max_stars_repo_name": "CK-LinoPro/language-ext", "max_stars_repo_path": "LanguageExt.Core/Class Instances/Hashable/HashableOptionalUnsafe.cs", "provenance": "train-00000-of-00045.jsonl.gz:2952" }
starcoder
using LanguageExt; using LanguageExt.TypeClasses; using System.Diagnostics.Contracts; using System.Threading.Tasks; using static LanguageExt.TypeClass; namespace LanguageExt.ClassInstances { /// <summary> /// Hash of any type in the Optional type-class /// </summary> public struct HashableOptionalUnsa...
2.53298
bc8e841ca2fad1dd5a4cba509fdfc66f
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
2952
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "yangli1128/itextsharp.NetCore", "max_stars_repo_path": "src/core/iTextSharp/text/pdf/PdfName.cs", "provenance": "train-00000-of-00045.jsonl.gz:2953" }
starcoder
/* This file is part of the iText (R) project. Copyright (c) 1998-2019 iText Group NV Authors: iText Software. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Affero General Public License version 3 as published by the Free Software Foundation ...
2.112231
666588f25bfc2ed9d9fbcf4085640fa2
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
2953
{ "extension": "c-sharp", "max_stars_count": "26.0", "max_stars_repo_name": "makampos/c-sharp-design-patterns-data-access-patterns", "max_stars_repo_path": "src/03/Start_Here/MyShop.Web/Controllers/CustomerController.cs", "provenance": "train-00000-of-00045.jsonl.gz:2954" }
starcoder
using System; using Microsoft.AspNetCore.Mvc; using MyShop.Domain.Models; using MyShop.Infrastructure.Repositories; namespace MyShop.Web.Controllers { public class CustomerController : Controller { private readonly IRepository<Customer> repository; public CustomerController(IRepository<Custom...
2.379755
dcfbef76e036c150e85d275233289384
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
2954
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "HiraokaHyperTools/ConvertWLMMessageRule", "max_stars_repo_path": "Models/WLMAction.cs", "provenance": "train-00000-of-00045.jsonl.gz:2955" }
starcoder
using ConvertWLMMessageRule.Enums; using ConvertWLMMessageRule.Interfaces; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConvertWLMMessageRule.Models { public class WLMAction { public ActionType Type { get; set; } public IVerifier Verifier { ge...
1.682462
67a0930b023725f22fc8bcd649cdc3fa
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
2955
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "yasinerduran/BasicGames-Vol-2-SpaceShooter", "max_stars_repo_path": "Assets/Scripts/PlayerControl.cs", "provenance": "train-00000-of-00045.jsonl.gz:2956" }
starcoder
using System.Collections; using System.Collections.Generic; using UnityEngine; public class PlayerControl : MonoBehaviour { public Rigidbody physic; float horizontal = 0; float vertical = 0; Vector3 vec; public float playerFlightSpeed; // Start is called before the first frame update publi...
2.345849
efa87bc4bfe01788347ade331e33c1c5
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
2956
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "gkaragoz/Anonymous-Chat-App", "max_stars_repo_path": "Anonymous Chat App/Assets/MaterialUI/Editor/Custom Inspectors/MaterialRippleEditor.cs", "provenance": "train-00000-of-00045.jsonl.gz:2957" }
starcoder
<reponame>gkaragoz/Anonymous-Chat-App // Copyright 2016 MaterialUI for Unity http://materialunity.com // Please see license file for terms and conditions of use, and more information. using UnityEditor; using UnityEngine; namespace MaterialUI { [CanEditMultipleObjects] [CustomEditor(typeof(MaterialRipple))...
1.829054
f36e36cba79aea9cad801c03668e1411
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
2957
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "pavel-petrenko/bicep", "max_stars_repo_path": "src/Bicep.LangServer.IntegrationTests/HoverTests.cs", "provenance": "train-00000-of-00045.jsonl.gz:2958" }
starcoder
<filename>src/Bicep.LangServer.IntegrationTests/HoverTests.cs // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using Bicep.Core.Extensions; using Bicep.Core.FileSystem; using Bicep.Core.Navigation; using Bicep.Core.Parsing; using Bicep.Core.Samples; using Bicep.Core.Semantics; using Bicep.Cor...
1.733373
196eef85c2c58b70216a4299fc4d1017
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
2958
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "wanglei0/coremvc", "max_stars_repo_path": "02-routing/test/WebApp.Test/HttpClientExtensions.cs", "provenance": "train-00000-of-00045.jsonl.gz:2959" }
starcoder
using System.Net; using System.Net.Http; using System.Threading.Tasks; using Xunit; namespace WebApp.Test { static class HttpClientExtensions { public static async Task<string> AssertStatusAndGetStringAsync( this HttpResponseMessage response, HttpStatusCode expected = HttpStatus...
2.673695
0d68ed46f0b6b78dd0ee172a6a21c9dc
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
2959
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "tiagojsrios/betfair-client-csharp", "max_stars_repo_path": "src/BetfairClient/BetfairClient/Clients/BetfairAccountClient.cs", "provenance": "train-00000-of-00045.jsonl.gz:2960" }
starcoder
using BetfairClient.Clients.Interfaces; using BetfairClient.Helpers; using BetfairClient.Models.Account; using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Net.Mime; using System.Text; using System.Text.Json; using System.Text.Json.Serialization; using System.Threadi...
2.637892
a4b1fd235859ff700708e54ccfe76f73
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
2960
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "keedya/aws-sdk-net", "max_stars_repo_path": "sdk/src/Services/OpsWorksCM/Generated/Model/Backup.cs", "provenance": "train-00000-of-00045.jsonl.gz:2961" }
starcoder
/* * Copyright 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "l...
1.735708
e0fd972a07985b7721299a23d933c35b
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
2961
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "pscho-msft/azure-activedirectory-library-for-dotnet", "max_stars_repo_path": "src/ADAL.PCL.WinRT/DeviceAuthHelper.cs", "provenance": "train-00000-of-00045.jsonl.gz:2962" }
starcoder
//---------------------------------------------------------------------- // // Copyright (c) Microsoft Corporation. // All rights reserved. // // This code is licensed under the MIT License. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentat...
2.174711
776fe34c76816f5a4b2d4c6e912e3689
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
2962
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "ttanatb/in-bed-cant-sleep", "max_stars_repo_path": "Assets/Scripts/UI/MessageListController.cs", "provenance": "train-00000-of-00045.jsonl.gz:2963" }
starcoder
using System.Collections; using System.Collections.Generic; using UnityEngine.Events; using UnityEngine; using UnityEngine.UI; using NaughtyAttributes; using System; public class MessageListController : MonoBehaviour { [SerializeField] [ReorderableList] private List<TextMessageModel> m_models = new List<T...
1.860762
637785c5ebc1ff224dbeb96b5fe18095
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
2963
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "SamArmand/FALKR-SubstitutionCipher", "max_stars_repo_path": "src/FALKR-SubstitutionCipher/Views/Decrypt/Index.cshtml", "provenance": "train-00000-of-00045.jsonl.gz:2964" }
starcoder
@{ ViewData["Title"] = "Decrypt"; } <div class='row text-center'> <div class='col-md-12 '> <!-- col-md-offset-1 // if u want them both alined--> <header> <h1>Decryption</h1> </header> </div> </div> @model Models.Decrypt <div class='row'> <div class='col-md-10 col-md-offset...
2.62203
e90e0a51f81a3cc857afd19584d6a31e
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
2964
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "hahoyer/reni.cs", "max_stars_repo_path": "src/HWBase/hw/Scanner/SourcePart.cs", "provenance": "train-00000-of-00045.jsonl.gz:2965" }
starcoder
<filename>src/HWBase/hw/Scanner/SourcePart.cs using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using hw.DebugFormatter; using hw.Helper; using JetBrains.Annotations; // ReSharper disable CheckNamespace namespace hw.Scanner { [DebuggerDisplay("{" + nameof(NodeDump) + "}"...
2.390409
d9c465f9888dcdaae41645bd6e31b033
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
2965
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "rvelhote/university", "max_stars_repo_path": "chat/src_chat_servidor/src_chat_servidor/frmServidor.Designer.cs", "provenance": "train-00000-of-00045.jsonl.gz:2966" }
starcoder
namespace src_chat_servidor { partial class frmServidor { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summa...
1.658834
3a21350c9377158a69082eb16264f655
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
2966
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "drazvan91/yonder-trainings-ajax", "max_stars_repo_path": "Yonder.Tranings.Ajax/Yonder.Trainings.Ajax.Controls/ClickCounter.cs", "provenance": "train-00000-of-00045.jsonl.gz:2967" }
starcoder
<reponame>drazvan91/yonder-trainings-ajax<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; [assembly: WebResource("Yonder.Trainings.Ajax.Controls.ClickCounter.js", "tex...
2.465547
0a54bbc224a1ef15781a2bdbbe553118
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
2967
{ "extension": "c-sharp", "max_stars_count": "139.0", "max_stars_repo_name": "gitjosephbeer/silverback", "max_stars_repo_path": "src/Silverback.Integration.Kafka/Messaging/Configuration/ErrorPolicyChainBuilderMoveToKafkaTopicExtensions.cs", "provenance": "train-00000-of-00045.jsonl.gz:2968" }
starcoder
<reponame>gitjosephbeer/silverback // Copyright (c) 2020 <NAME> // This code is licensed under MIT license (see LICENSE file for details) using System; using Silverback.Messaging.Configuration.Kafka; using Silverback.Messaging.Inbound.ErrorHandling; using Silverback.Util; namespace Silverback.Messaging.Configuration...
2.043498
41fc32ece32db5c3a55f3e5b42d83888
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
2968
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "PeterMilovcik/Beeffective", "max_stars_repo_path": "Beeffective.Tests/Presentations/MainViewModelTests/TopBarViewModelTests/Created.cs", "provenance": "train-00000-of-00045.jsonl.gz:2969" }
starcoder
<gh_stars>0 using FluentAssertions; using NUnit.Framework; namespace Beeffective.Tests.Presentations.MainViewModelTests.TopBarViewModelTests { public class Created : TestFixture { [Test] public void Title_Beeffective() => SUT.Title.Should().Be("Beeffective"); } }
1.419244
1805c5db919207e6240bec9260b4d0e2
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
2969
{ "extension": "c-sharp", "max_stars_count": "20.0", "max_stars_repo_name": "jessicl-ms/azure-sdk-for-net", "max_stars_repo_path": "sdk/labservices/Microsoft.Azure.Management.LabServices/src/Generated/Models/ListEnvironmentsResponse.cs", "provenance": "train-00000-of-00045.jsonl.gz:2970" }
starcoder
// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // re...
1.985929
5395e831f4a7cf371d9dfbc49ffd887d
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
2970
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "m0sa/KarateSemaphore", "max_stars_repo_path": "KarateSemaphore.Core/Events/KnockdownEvent.cs", "provenance": "train-00000-of-00045.jsonl.gz:2971" }
starcoder
using System; namespace KarateSemaphore.Core.Events { public class KnockdownEvent : TimestampedEvent { private readonly ISemaphore _source; private readonly TimeSpan _initialTime; public KnockdownEvent(ISemaphore source) { _source = source; _...
2.706479
958d813d6552e04944a825e61fe8f3bf
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
2971
{ "extension": "c-sharp", "max_stars_count": "2975.0", "max_stars_repo_name": "hamzarauf007/unity-position-test", "max_stars_repo_path": "Assets/Plugins/UniTask/Runtime/Linq/Min.cs", "provenance": "train-00000-of-00045.jsonl.gz:2972" }
starcoder
using System; using System.Collections.Generic; using System.Threading; using Cysharp.Threading.Tasks.Internal; namespace Cysharp.Threading.Tasks.Linq { public static partial class UniTaskAsyncEnumerable { public static UniTask<TSource> MinAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, C...
2.593443
57816d6bb573bbcc1cabb74291b0ef6b
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
2972
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "mayuki/Iroha", "max_stars_repo_path": "Iroha.WebPages/Iroha.WebPages/Models/Container.cs", "provenance": "train-00000-of-00045.jsonl.gz:2973" }
starcoder
<filename>Iroha.WebPages/Iroha.WebPages/Models/Container.cs using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace Iroha.WebPages.Models { public class Container : Containable { public IEnumerable<Containable> Contents { get; set; } public override Stri...
2.751698
e11904f2517aef7c97bd924475347aca
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
2973
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "tetrodoxin/AdtGekid", "max_stars_repo_path": "src/AdtGekid/Validation/TherapieartValidator.cs", "provenance": "train-00000-of-00045.jsonl.gz:2974" }
starcoder
#region license //MIT License //Copyright(c) 2016 <NAME> //Permission is hereby granted, free of charge, to any person obtaining a copy //of this software and associated documentation files (the "Software"), to deal //in the Software without restriction, including without limitation the rights //to use, copy, modify...
2.205184
4b8677712b932704a99a33f2f1f7defd
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
2974
{ "extension": "c-sharp", "max_stars_count": "89.0", "max_stars_repo_name": "bulentgucuk/dbops", "max_stars_repo_path": "src/dbops-tests/ScriptTypeScenarios.cs", "provenance": "train-00000-of-00045.jsonl.gz:2975" }
starcoder
using System; using System.Collections.Generic; using System.Linq; using DbUp.Builder; //using DbUp.Engine; using DBOps; using DbUp.Engine.Transactions; using DbUp.Support; using DBOps.Tests.TestInfrastructure; using Shouldly; using TestStack.BDDfy; using Xunit; using DbUp; namespace DBOps.Tests { [Story( ...
2.148711
37e33c78044477d9da5cfeb73c77972a
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
2975
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "srihegde/TreasAR-Hunt", "max_stars_repo_path": "Assets/Scripts/GlobalCountDown.cs", "provenance": "train-00000-of-00045.jsonl.gz:2976" }
starcoder
<reponame>srihegde/TreasAR-Hunt using System; using UnityEngine.SceneManagement; public static class GlobalCountDown { static DateTime TimeStarted; static TimeSpan TotalTime; public static void StartCountDown(TimeSpan totalTime) { TimeStarted = DateTime.UtcNow; TotalTime = totalTime; ...
2.15473
e43ae7cd04ecfc91567f359745b3f09c
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
2976
{ "extension": "c-sharp", "max_stars_count": "77.0", "max_stars_repo_name": "chadclair/DLaB.Xrm.XrmToolBoxTools", "max_stars_repo_path": "DLaB.XrmToolBoxCommon/Extensions.cs", "provenance": "train-00000-of-00045.jsonl.gz:2977" }
starcoder
<reponame>chadclair/DLaB.Xrm.XrmToolBoxTools using System; using System.Collections.Generic; using System.Configuration; using System.IO; using System.Linq; using System.Reflection; using System.Security.Cryptography; using System.Text; using System.Windows.Forms; using DLaB.Log; using McTools.Xrm.Connection; using Mi...
2.158702
930029de781f34356c079940e0d3bc97
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
2977
{ "extension": "c-sharp", "max_stars_count": "778.0", "max_stars_repo_name": "jeroen-mostert/CodeContracts", "max_stars_repo_path": "Microsoft.Research/Contracts/MsCorlib/System.Reflection.ExceptionHandlingClause.cs", "provenance": "train-00000-of-00045.jsonl.gz:2978" }
starcoder
// CodeContracts // // Copyright (c) Microsoft Corporation // // All rights reserved. // // MIT License // // 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 wit...
2.138308
a285ea681b390dda78a8dbbacc5e80ca
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
2978
{ "extension": "c-sharp", "max_stars_count": "7.0", "max_stars_repo_name": "Capgemini/xrm-datamigration-xrmtoolbox", "max_stars_repo_path": "Capgemini.Xrm.CdsDataMigrator/Capgemini.Xrm.CdsDataMigratorLibrary.Tests.Unit/Services/DataMigrationServiceTests.cs", "provenance": "train-00000-of-00045.jsonl.gz:2979" ...
starcoder
<gh_stars>1-10 using System; using System.Threading; using Capgemini.DataMigration.Core; using Capgemini.Xrm.CdsDataMigratorLibrary.Enums; using Capgemini.Xrm.CdsDataMigratorLibrary.Models; using Capgemini.Xrm.CdsDataMigratorLibrary.Services; using Capgemini.Xrm.DataMigration.Config; using Capgemini.Xrm.DataMigration....
1.948228
6aabbb7c547b3c097d946e3de9db822b
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
2979
{ "extension": "c-sharp", "max_stars_count": "47.0", "max_stars_repo_name": "siyamandayubi/Orchardcollaboration", "max_stars_repo_path": "src/Orchard.Web/Modules/Orchard.CRM.Project/Drivers/ProjectDashboardEditorDriver.cs", "provenance": "train-00000-of-00045.jsonl.gz:2980" }
starcoder
using Orchard.ContentManagement.Drivers; using Orchard.CRM.Project.Models; using System; using System.Collections.Generic; using System.Linq; using System.Web; using Orchard.ContentManagement; using Orchard.Core.Title.Models; using System.Dynamic; using Orchard.CRM.Project.ViewModels; using Orchard.ContentManagement.Fi...
1.813378
53be9b31a0a3faa74b085cc8f884812c
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
2980
{ "extension": "c-sharp", "max_stars_count": "2311.0", "max_stars_repo_name": "ArsenioInojosa/Serenity", "max_stars_repo_path": "src/Serenity.Net.Web/DynamicScript/PropertyEditor/LookupScriptRegistration.cs", "provenance": "train-00000-of-00045.jsonl.gz:2981" }
starcoder
using Microsoft.Extensions.DependencyInjection; namespace Serenity.Web { public class LookupScriptRegistration { public static void RegisterLookupScripts(IDynamicScriptManager scriptManager, ITypeSource typeSource, IServiceProvider serviceProvider) { if (scrip...
2.22349
301d5f092eba07fe4ba2dbb9cd803f09
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
2981
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "VeeBee91/TextViewer", "max_stars_repo_path": "TextViewer/Classes/Encryptor.cs", "provenance": "train-00000-of-00045.jsonl.gz:2982" }
starcoder
<gh_stars>0 using Microsoft.AspNetCore.DataProtection; namespace TextViewer.Classes { public class Encryptor { private readonly IDataProtector _protector; public Encryptor(IDataProtectionProvider provider) { _protector = provider.CreateProtector("TextViewer.Encryptor.v1"); ...
2.199663
0d7418e670a38c961d35e45f46105948
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
2982
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "D4rkiii/Glass.Mapper", "max_stars_repo_path": "Tests/Unit Tests/Glass.Mapper.Sc.FakeDb/DataMappers/SitecoreChildrenMapperFixture.cs", "provenance": "train-00000-of-00045.jsonl.gz:2983" }
starcoder
<gh_stars>0 using System.Collections.Generic; using System.Linq; using Glass.Mapper.Pipelines.DataMapperResolver; using Glass.Mapper.Sc.Configuration; using Glass.Mapper.Sc.Configuration.Attributes; using Glass.Mapper.Sc.DataMappers; using NSubstitute; using NUnit.Framework; using Sitecore.Data; using Sitecore...
1.9337
a1f4bbf2e3fb6f5b8142b2e6ab7013af
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
2983
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "sabyasachi-basu-i/myrtille", "max_stars_repo_path": "Myrtille.Web/popups/EditHostSession.aspx.cs", "provenance": "train-00000-of-00045.jsonl.gz:2984" }
starcoder
/* Myrtille: A native HTML4/5 Remote Desktop Protocol client. Copyright(c) 2014-2020 <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 http://www.apache.org/licens...
1.966566
c1524cc8f70c9f73d20db98aaa13fc88
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
2984
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "tuandq2711/WebApplicationFashion", "max_stars_repo_path": "FashionGo/Areas/Admin/Controllers/ProductCategoriesController.cs", "provenance": "train-00000-of-00045.jsonl.gz:2985" }
starcoder
<gh_stars>0 using System; using System.Collections.Generic; using System.Data; using System.Data.Entity; using System.Linq; using System.Net; using System.Web; using System.Web.Mvc; using static System.Net.Mime.MediaTypeNames; using FashionGo.Models.Entities; using FashionGo.Models.Dao; namespace FashionGo.Areas.Admi...
1.864273
cbf40a19fdba0ace8300e202a1d4c959
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
2985
{ "extension": "c-sharp", "max_stars_count": "64.0", "max_stars_repo_name": "kmelmon/smallbasic-editor", "max_stars_repo_path": "Source/SmallBasic.Generators/Parsing/GenerateSyntaxNodes.cs", "provenance": "train-00000-of-00045.jsonl.gz:2986" }
starcoder
// <copyright file="GenerateSyntaxNodes.cs" company="MIT License"> // Licensed under the MIT License. See LICENSE file in the project root for license information. // </copyright> namespace SmallBasic.Generators.Parsing { using System; using System.Collections.Generic; using System.Linq; using SmallBa...
2.525625
c4d9c1a1215a46f92266d4623699506a
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
2986
{ "extension": "c-sharp", "max_stars_count": "18.0", "max_stars_repo_name": "areller/RediSharp", "max_stars_repo_path": "src/RediSharp/RedIL/Nodes/Internal/ContinueNode.cs", "provenance": "train-00000-of-00045.jsonl.gz:2987" }
starcoder
<gh_stars>10-100 using RediSharp.RedIL.Enums; namespace RediSharp.RedIL.Nodes.Internal { class ContinueNode : RedILNode { public ContinueNode() : base(RedILNodeType.Continue) { } public override TReturn AcceptVisitor<TReturn, TState>(IRedILVisitor<TReturn, TState> ...
2.409005
bcafef66780c9af1f57938fb2eda0960
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
2987
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "KuduApps/NugetGallery16Fx45-DeleteMe", "max_stars_repo_path": "Website/Services/ICloudBlobContainer.cs", "provenance": "train-00000-of-00045.jsonl.gz:2988" }
starcoder
using Microsoft.WindowsAzure.StorageClient; namespace NuGetGallery { public interface ICloudBlobContainer { void CreateIfNotExist(); void SetPermissions(BlobContainerPermissions permissions); ICloudBlob GetBlobReference(string blobAddressUri); } }
1.64616
0309d0944577db0435b21d44a0171165
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
2988
{ "extension": "c-sharp", "max_stars_count": "13.0", "max_stars_repo_name": "tor4kichi/OpenNiconico2", "max_stars_repo_path": "Mntone.Nico2/Mntone.Nico2.Shared/Live/Tags/TagsClient.cs", "provenance": "train-00000-of-00045.jsonl.gz:2989" }
starcoder
using HtmlAgilityPack; using System; using System.Threading.Tasks; namespace Mntone.Nico2.Live.Tags { internal sealed class TagsClient { public static Task<string> GetTagsDataAsync( NiconicoContext context, string requestId ) { if( !NiconicoRegex.IsLiveId( requestId ) ) { throw new ArgumentException()...
2.299769
0483d01bc7d98b7a13fa2c799d2b4207
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
2989
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "adam223322/Mono-Injection-Template-For-Gamehacking", "max_stars_repo_path": "Utilities/Utility.cs", "provenance": "train-00000-of-00045.jsonl.gz:2990" }
starcoder
using UnityEngine; namespace MonoInjectionTemplate { partial class HackMain : MonoBehaviour { // We setup our console and output log in here DebugConsole m_Console = new DebugConsole(); DebugLog m_Log = new DebugLog(true); } }
1.678781
fb106dd61a34760c778a9d7a3c92fea2
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
2990
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "rubilnik4/VeraBoutique", "max_stars_repo_path": "BoutiqueCommonXUnit/Data/Models/Implementations/TestShortDomain.cs", "provenance": "train-00000-of-00045.jsonl.gz:2991" }
starcoder
<reponame>rubilnik4/VeraBoutique using System.Collections.Generic; using System.Linq; using BoutiqueCommonXUnit.Data.Models.Interfaces; namespace BoutiqueCommonXUnit.Data.Models.Implementations { public class TestShortDomain: TestShortBase, ITestShortDomain { public TestShortDomain(TestEnum testEnum, s...
1.431913
ddaaec856681ac438f1c60f51328d821
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
2991
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "rramhapgb/powershell", "max_stars_repo_path": "src/Commands/Base/PnPSharePointCmdlet.cs", "provenance": "train-00000-of-00045.jsonl.gz:2992" }
starcoder
<filename>src/Commands/Base/PnPSharePointCmdlet.cs using System; using System.Management.Automation; using System.Reflection; using System.Threading; using Microsoft.Online.SharePoint.TenantAdministration; using Microsoft.SharePoint.Client; using PnP.Framework; using PnP.Framework.Utilities; using PnP.PowerShell.Comma...
2.166127
5de5272bc21d6c439d1586df2fb29deb
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
2992
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "BuroHappoldEngineering/RhinoComputeServer", "max_stars_repo_path": "src/RhinoCompute/Endpoints/BHoMEndpoint.cs", "provenance": "train-00000-of-00045.jsonl.gz:2993" }
starcoder
<gh_stars>0 using System; using Nancy; using Newtonsoft.Json; using Nancy.Extensions; using BH.oM.RemoteCompute; using System.Linq; using BH.oM.RemoteCompute.RhinoCompute; using BH.Engine.RemoteCompute.RhinoCompute; namespace compute.geometry { public partial class ResthopperEndpointsModule : Nancy.NancyModule ...
2.134635
c3e9dee77520365d53e4335d7e7595f4
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
2993
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "JeffreyMFarley/Bailiwick", "max_stars_repo_path": "Bailiwick/Analysis/ClassifierNode.cs", "provenance": "train-00000-of-00045.jsonl.gz:2994" }
starcoder
<reponame>JeffreyMFarley/Bailiwick using System; using Bailiwick.Models; namespace Bailiwick.Analysis { public class ClassifierNode { public ClassifierNode(Percentage<WordInstance> head, ISyntax syntax, double denominator) { Instance = head.Value; Syntax = syntax; ...
2.872563
8846f70bddb6f722cf8b6d2638839115
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
2994
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "omajid/linker", "max_stars_repo_path": "test/Mono.Linker.Tests.Cases/Libraries/RootLibraryVisibleForwardersWithoutReference.cs", "provenance": "train-00000-of-00045.jsonl.gz:2995" }
starcoder
using System.Runtime.CompilerServices; using Mono.Linker.Tests.Cases.Expectations.Assertions; using Mono.Linker.Tests.Cases.Expectations.Metadata; #if RootLibraryVisibleForwarders [assembly: TypeForwardedTo (typeof (ExternalPublic))] #endif namespace Mono.Linker.Tests.Cases.Libraries { #if !NETCOREAPP [IgnoreTestCas...
1.586319
76cd718fe9a5493e29f5c7c3a40c73d5
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
2995
{ "extension": "c-sharp", "max_stars_count": "17.0", "max_stars_repo_name": "SOFAgh/CADability", "max_stars_repo_path": "CADability/ConstructDirectionOfSurface.cs", "provenance": "train-00000-of-00045.jsonl.gz:2996" }
starcoder
<gh_stars>10-100 using CADability.GeoObject; using CADability.UserInterface; namespace CADability.Actions { /// <summary> /// Action that constructs a length as a distance between two points. It uses a <see cref="LengthProperty"/> /// to communicate the constructed length to the outside. /// </summa...
2.323617
4d211102507667178a987d4770656f8b
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
2996
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "xueshaoyu/NewLife.Cube", "max_stars_repo_path": "NewLife.Cube.ElementUI/Areas/Admin/Views/User_ElementUI/Login.cshtml", "provenance": "train-00000-of-00045.jsonl.gz:2997" }
starcoder
<gh_stars>0 @model LoginViewModel @using NewLife.Common; @{ Layout = null; ViewBag.Title = "登录"; var res = Model.ResourceUrl; } <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>@ViewBag.Title - @SysCon...
1.956595
c9e926225cacd0d81bd246722e6c5925
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
2997
{ "extension": "c-sharp", "max_stars_count": "210.0", "max_stars_repo_name": "SammyEnigma/MyToolkit", "max_stars_repo_path": "src/MyToolkit.MachineLearning.WinRT/Utilities/ErrorCalculation.cs", "provenance": "train-00000-of-00045.jsonl.gz:2998" }
starcoder
<filename>src/MyToolkit.MachineLearning.WinRT/Utilities/ErrorCalculation.cs using System; namespace MyToolkit.MachineLearning.WinRT.Utilities { public class ErrorCalculation { private double _globalError; private int _setSize; public double CalculateRootMeanSquare() { ...
3.015137
0e3c1b94df4a2c34ea7b72e948078ca0
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
2998
{ "extension": "c-sharp", "max_stars_count": "8.0", "max_stars_repo_name": "MohamedHashish42/Data-Structures-And-Algorithms", "max_stars_repo_path": "1- Big O/BigO/BigO/2-Simplify BigO/Rule2 (Remove Constants).cs", "provenance": "train-00000-of-00045.jsonl.gz:2999" }
starcoder
using System; using System.Collections.Generic; using System.Text; namespace BigO { class RemoveConstants { public static void PrintFromOneToNumberTwiceAndFromOneToTen(int number) { for (int i = 1; i < number; i++) { Console.WriteLine(i); //O(n) ...
3.328382
746aa0da8a7cc6bb36ff8db9d037d7b6
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
2999
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "PopCap/GameIdea", "max_stars_repo_path": "Engine/Source/Programs/UnrealDocTool/UnrealDocTool/MarkdownSharp/EpicMarkdown/Parsers/EMParsingHelper.cs", "provenance": "train-00000-of-00045.jsonl.gz:3000" }
starcoder
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved. using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace MarkdownSharp.EpicMarkdown.Parsers { using System.Text.RegularExpressions; using MarkdownSharp.Preprocessor; public interface ITextFragment { ...
2.467432
ad2fbdcfecc8a73636618520be46a6a5
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
3000
{ "extension": "c-sharp", "max_stars_count": "2542.0", "max_stars_repo_name": "gridgentoo/ServiceFabricAzure", "max_stars_repo_path": "src/prod/src/managed/Api/src/System/Fabric/Management/fabricdeployer/V1FabricFirewallRuleSpecifications.cs", "provenance": "train-00000-of-00045.jsonl.gz:3001" }
starcoder
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ namespace System.Fabric.Fabric...
2.075752
af1b71804cfcca85c010841b825009f2
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
3001
{ "extension": "c-sharp", "max_stars_count": "3.0", "max_stars_repo_name": "JimBobSquarePants/Umbraco.FileSystemAbstractions", "max_stars_repo_path": "src/FileSystem.Abstractions/ValueTaskEx.cs", "provenance": "train-00000-of-00045.jsonl.gz:3002" }
starcoder
// Copyright (c) <NAME>. // See LICENSE for more details. using System.Threading; using System.Threading.Tasks; // This class should really be internal and would be in Umbraco. namespace FileSystem.Abstractions { /// <summary> /// Provides useful extension methods for <see cref="ValueTask"/> that are only pre...
2.689287
4bb22a4442860c147c71de08ee97b01c
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
3002
{ "extension": "c-sharp", "max_stars_count": "6.0", "max_stars_repo_name": "PSW-2020-ORG9/HealthcareIS", "max_stars_repo_path": "User.API.UnitTests/PatientRegistrationTests.cs", "provenance": "train-00000-of-00045.jsonl.gz:3003" }
starcoder
<filename>User.API.UnitTests/PatientRegistrationTests.cs<gh_stars>1-10 using System; using Moq; using User.API.Model.Users.UserAccounts; using User.API.Services.PatientService; using User.API.Services.RegistrationService; using Xunit; namespace User.API.UnitTests { public class PatientRegistrationTests { ...
2.463748
1f7c660906199104233be386a2c46e08
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
3003
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "IGood/Making.Cents", "max_stars_repo_path": "Making.Cents.Wpf.Common/Contracts/IMainWindow.cs", "provenance": "train-00000-of-00045.jsonl.gz:3004" }
starcoder
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Making.Cents.Wpf.Common.Contracts { public interface IMainWindow { void NavigateTab(IMainWindowTab tab); } }
1.674257
bcf68b5992a26970d392a24fcedde68d
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
3004
{ "extension": "c-sharp", "max_stars_count": "9402.0", "max_stars_repo_name": "pyracanda/runtime", "max_stars_repo_path": "src/tests/JIT/opt/Casts/tests.cs", "provenance": "train-00000-of-00045.jsonl.gz:3005" }
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. using System; using System.Runtime.CompilerServices; interface I<T> { int E(T t); } sealed class J : I<string> { public int E(string s) { return...
2.576017
0dbe2c667a396f33ea1d006daf87116c
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
3005
{ "extension": "c-sharp", "max_stars_count": "529.0", "max_stars_repo_name": "PervasiveDigital/netmf-interpreter", "max_stars_repo_path": "Framework/Core/Drivers/802_15_4/Stack/Physical/CC2420/MAC/TaskTypes.cs", "provenance": "train-00000-of-00045.jsonl.gz:3006" }
starcoder
<reponame>PervasiveDigital/netmf-interpreter //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // Copyright (c) Microsoft Corporation. All rights reserved. //////////...
1.608495
04147f19b174b463f31f46939171ab58
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
3006
{ "extension": "c-sharp", "max_stars_count": "2188.0", "max_stars_repo_name": "rjmholt/oneget", "max_stars_repo_path": "src/Microsoft.PowerShell.PackageManagement/Cmdlets/RegisterPackageSource.cs", "provenance": "train-00000-of-00045.jsonl.gz:3007" }
starcoder
<gh_stars>1000+ // // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // /...
1.783819
682243b326c182e6ccf67beb710e753d
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
3007
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "Speedy37/DiskImager", "max_stars_repo_path": "DiskImager/Components/ImageSelection.xaml.cs", "provenance": "train-00000-of-00045.jsonl.gz:3008" }
starcoder
<reponame>Speedy37/DiskImager<filename>DiskImager/Components/ImageSelection.xaml.cs using Microsoft.Win32; using PropertyChanged; using System; using System.Collections.Generic; using System.Windows; using System.Windows.Controls; using System.IO; using System.Threading; using System.Threading.Tasks; using DiskImager....
2.334015
8faf373a4f810f8a64461697b59227b3
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
3008
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "murat1347/ShoppingAppDotnet", "max_stars_repo_path": "HYS.WEBUI/Views/Shop/Details.cshtml", "provenance": "train-00000-of-00045.jsonl.gz:3009" }
starcoder
@model ProductDetailModel <div class="row"> <div class="col-md-3"> <img src="~/img/@Model.Product.ImageUrl" class="img-fluid"> </div> <div class="col-md-9"> <h1 class="mb-3">@Model.Product.Name</h5> <hr> @foreach (var item in Model.Categories) { ...
2.51966
04b8c64fdb25361d19bef7c696c7e98b
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
3009
{ "extension": "c-sharp", "max_stars_count": "1068.0", "max_stars_repo_name": "MikeEye/openssl-net", "max_stars_repo_path": "test/TestSHA512.cs", "provenance": "train-00000-of-00045.jsonl.gz:3010" }
starcoder
// Copyright (c) 2006-2007 <NAME> // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions // are met: // 1. Redistributions of source code must retain the above copyright // notice, this list of conditions...
1.971064
f56f77b77178cddbfb493e9d8eee331d
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
3010
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "tahazayed/qualitymeter", "max_stars_repo_path": "QualityMeter.Infrastructure.Common/Services/DebugLogger.cs", "provenance": "train-00000-of-00045.jsonl.gz:3011" }
starcoder
<gh_stars>0 using QualityMeter.Core.Interfaces; using System; namespace QualityMeter.Infrastructure.Common.Services { public class DebugLogger : ILog { public bool IsDebugEnabled { get; private set; } public bool IsInfoEnabled { get; private set; } public bool IsWarnEnabled { get; priv...
1.958112
f9768cbbdd88ebcf2f26bd38c538a48d
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
3011
{ "extension": "c-sharp", "max_stars_count": "4.0", "max_stars_repo_name": "zce/Micua", "max_stars_repo_path": "Layer/Infrastructure/Micua.Infrastructure.Utility/Helper/EncryptHelper.cs", "provenance": "train-00000-of-00045.jsonl.gz:3012" }
starcoder
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="EncryptExtension.cs" company="Wedn.Net"> // Copyright © 2014 Wedn.Net. All Rights Reserved. // </copyright> // <summary> // 加密拓展方法类 // </summary> // --------------------------...
2.674904
399f92007f3cef0aedc4a4411406686f
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
3012
{ "extension": "c-sharp", "max_stars_count": "619.0", "max_stars_repo_name": "slumtrimpet/Inventory-Pro", "max_stars_repo_path": "Standard Assets/Cameras/Scripts/LookatTarget.cs", "provenance": "train-00000-of-00045.jsonl.gz:3013" }
starcoder
<gh_stars>100-1000 using System; using UnityEngine; namespace Devdog.InventoryPro.UnityStandardAssets { public class LookatTarget : AbstractTargetFollower { // A simple script to make one object look at another, // but with optional constraints which operate relative to // this gameobje...
2.606974
de78ba70297c4799305ad58c99845508
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
3013
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "ZeroPyrozen/Mamendroid", "max_stars_repo_path": "Mamen Project/Assets/Scripts/Typewriter.cs", "provenance": "train-00000-of-00045.jsonl.gz:3014" }
starcoder
using System.Collections; using System.Collections.Generic; using TMPro; using UnityEngine; public class Typewriter : MonoBehaviour { public TextMeshProUGUI displayText; public TextMeshProUGUI inputText; private string outputString = ""; private int i = -1; public bool done; publ...
2.76394
4a93eb0c636e92345ff7ba6c354dd07f
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
3014
{ "extension": "c-sharp", "max_stars_count": "9.0", "max_stars_repo_name": "ephebe/netbpm", "max_stars_repo_path": "src/NetBpm.Web/NetBpmWebContainer.cs", "provenance": "train-00000-of-00045.jsonl.gz:3015" }
starcoder
using System; using System.Collections.Generic; using System.Linq; using System.Web; using Castle.Windsor.Configuration.Interpreters; using NetBpm.Web.Controllers; namespace NetBpm.Web { public class NetBpmWebContainer : NetBpmContainer { public NetBpmWebContainer() : this(new XmlInterpret...
1.617242
e0fc3b2d9f33d373af1b2d5b901f89fd
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
3015
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "VetoPlayer/Tutturu", "max_stars_repo_path": "Okarin/Assets/Scripts/Player/PlayerMovement.cs", "provenance": "train-00000-of-00045.jsonl.gz:3016" }
starcoder
<reponame>VetoPlayer/Tutturu<gh_stars>0 using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityStandardAssets.CrossPlatformInput; public class PlayerMovement : Singleton<PlayerMovement> { private PlayerMovement(){ } private Transform tr; [Header("Player Speed")] public float ...
2.191139
625a1de91b3a68163250c81e4b62338d
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
3016
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "RivenZoo/FullSource", "max_stars_repo_path": "Jx3Full/Source/Source/Tools/GameDesignerEditor/Controls/luaEditor/fireball_src/Fireball.Ssh/Fireball.Ssh/jsch/Channel.cs", "provenance": "train-00000-of-00045.jsonl.gz:3017" }
starcoder
<reponame>RivenZoo/FullSource<filename>Jx3Full/Source/Source/Tools/GameDesignerEditor/Controls/luaEditor/fireball_src/Fireball.Ssh/Fireball.Ssh/jsch/Channel.cs #region Licences // Copyright (C) 2005 <NAME> <<EMAIL>> // // This library is free software; you can redistribute it and/or // modify it under the...
1.834394
02fb4eb6c64cabf4d0fe27ca28441539
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
3017
{ "extension": "c-sharp", "max_stars_count": "11.0", "max_stars_repo_name": "MrIkso/AllInOne", "max_stars_repo_path": "Logic/TaskPool.cs", "provenance": "train-00000-of-00045.jsonl.gz:3018" }
starcoder
<filename>Logic/TaskPool.cs using System; using System.Collections.Generic; using System.Threading.Tasks; using System.Windows.Forms; namespace AllInOne.Logic { class TaskPool { private List<Task> taskList; private int activeTaskLimit; private int activeTaskCount; private Label...
2.688253
1cb90f9e87aa25121e007cca2c69ecb9
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
3018
{ "extension": "c-sharp", "max_stars_count": "5.0", "max_stars_repo_name": "ekfvoddl3536/0SuperComicLibs", "max_stars_repo_path": "0SuperComicLib.Core/Public/__global__/extension/ListExtension.cs", "provenance": "train-00000-of-00045.jsonl.gz:3019" }
starcoder
<filename>0SuperComicLib.Core/Public/__global__/extension/ListExtension.cs using System.Collections.Generic; namespace SuperComicLib { public static class ListExtension { public static string Convert2Str(this List<char> vs) => new string(vs.ToArray()); } }
2.457336
00c1de00ece81c7a9e9393ea7867c5d6
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
3019
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "knollsen/CoAP.NET", "max_stars_repo_path": "WorldDirect.CoAP/Util/ArrayEqualityComparer.cs", "provenance": "train-00000-of-00045.jsonl.gz:3020" }
starcoder
<reponame>knollsen/CoAP.NET /* * Copyright (c) 2011-2014, <NAME> <<EMAIL>>, * SmeshLink Technology Co. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY. * * This file is part of the CoAP.NET, a CoAP framework in C#. * Please see README for more information. */ ...
2.842607
59bfbb803ecfe5115014e92abe81201e
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
3020
{ "extension": "c-sharp", "max_stars_count": "100.0", "max_stars_repo_name": "venuselite/AutoQueryable", "max_stars_repo_path": "test/AutoQueryable.UnitTest/Mock/Entities/Product.cs", "provenance": "train-00000-of-00045.jsonl.gz:3021" }
starcoder
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations.Schema; namespace AutoQueryable.UnitTest.Mock.Entities { public class Product { public Product() { SalesOrderDetail = new HashSet<SalesOrderDetail>(); } public int ProductId...
2.179488
7f0e024e14f21105f84d9a927425426a
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
3021
{ "extension": "c-sharp", "max_stars_count": "125.0", "max_stars_repo_name": "kant/IIS.Administration", "max_stars_repo_path": "src/Microsoft.IIS.Administration.WebServer.UrlRewrite/Configuration/Rule/MatchType.cs", "provenance": "train-00000-of-00045.jsonl.gz:3022" }
starcoder
<gh_stars>100-1000 // 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.WebServer.UrlRewrite { using Microsoft.IIS.Administration.Core; using System; // Kee...
2.349948
324c1b8417b462846fbab9f58a40714f
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
3022
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "econmed/ImageServer20", "max_stars_repo_path": "ImageServer/Web/Application/Pages/Studies/StudyDetails/Controls/WorkQueueGridView.ascx.cs", "provenance": "train-00000-of-00045.jsonl.gz:3023" }
starcoder
#region License // Copyright (c) 2009, ClearCanvas Inc. // All rights reserved. // // Redistribution and use in source and binary forms, with or without modification, // are permitted provided that the following conditions are met: // // * Redistributions of source code must retain the above copyright not...
1.747094
a5f88c5406765be30d764d88d187ddec
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
3023
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "linjiacheng/Admin.Core", "max_stars_repo_path": "Admin.Core.Service/Admin/Dictionary/Input/DictionaryAddInput.cs", "provenance": "train-00000-of-00045.jsonl.gz:3024" }
starcoder
<filename>Admin.Core.Service/Admin/Dictionary/Input/DictionaryAddInput.cs namespace Admin.Core.Service.Admin.Dictionary.Input { /// <summary> /// 添加 /// </summary> public class DictionaryAddInput { /// <summary> /// 字典父级 /// </summary> public long ParentId { get; set; } ...
2.052204
71a948aff7ef62d4c477ce8583c9f337
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
3024
{ "extension": "c-sharp", "max_stars_count": "19.0", "max_stars_repo_name": "Jiwei83/TeamsSticker", "max_stars_repo_path": "StickersTemplate.Configuration/Views/Stickers/Delete.cshtml", "provenance": "train-00000-of-00045.jsonl.gz:3025" }
starcoder
@model StickersTemplate.Configuration.Models.StickerViewModel @{ ViewBag.Title = "Delete"; } <h2>Delete Sticker</h2> <h3>Are you sure you want to delete this sticker?</h3> <p>After you publish the changes, deleted stickers will no longer be returned by the messaging extension in Teams.</p> <p>Messages that were...
2.486499
adea1c3137d5de4d777ce1f93e26f8dd
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
3025
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "InnaBoitsun/BetterRetailGroceryTest", "max_stars_repo_path": "Build/build.cake", "provenance": "train-00000-of-00045.jsonl.gz:3026" }
starcoder
<gh_stars>1-10 #tool "nuget:?package=NUnit.ConsoleRunner&version=3.10.0" #tool "nuget:?package=Microsoft.TypeScript.Compiler&version=3.1.5" #addin "nuget:?package=Cake.MsDeploy&version=0.8.0" #addin "nuget:?package=Cake.CoreCLR&version=0.35.0" #addin "nuget:?package=Cake.Npm&version=0.17.0" #addin "nuget:?package=Cake...
1.977736
ddb884a9b3b4ea86fd8e9805353556e3
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
3026
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "Alexandra-Hermann-BSD/ahbsd.lib", "max_stars_repo_path": "Test_xUnit/ITestClass.cs", "provenance": "train-00000-of-00045.jsonl.gz:3027" }
starcoder
// // Copyright 2021 <NAME> – Beratung, Software, Design // // 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 // // Unles...
2.199043
4bfeb8c504efdde85eae03ad15938f44
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
3027
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "zhenghua75/ynhnTransportManage", "max_stars_repo_path": "ynhnTransportManage/Views/BaseInfo/Lines.cshtml", "provenance": "train-00000-of-00045.jsonl.gz:3028" }
starcoder
<filename>ynhnTransportManage/Views/BaseInfo/Lines.cshtml @using Trirand.Web.Mvc @model ynhnTransportManage.Models.LinesGridModel @{ ViewBag.Title = "运输路线"; } @Html.Trirand().JQGrid(Model.LinesGrid, "LinesGrid")
1.831652
cab53e843e3d0217a145edf18d9aa54a
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
3028
{ "extension": "c-sharp", "max_stars_count": "9.0", "max_stars_repo_name": "speedyalibaba/Dragablz", "max_stars_repo_path": "Dragablz/Trapezoid.cs", "provenance": "train-00000-of-00045.jsonl.gz:3029" }
starcoder
<filename>Dragablz/Trapezoid.cs<gh_stars>1-10 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Baml2006; using System.Windows.Controls; using System.Windows.Media; namespace Dragablz { public class Trapez...
2.648403
565fe93afe3dc9dd30a733c58647b8c6
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
3029
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "kamlesh-microsoft/clear-hl7-net", "max_stars_repo_path": "src/ClearHl7.Codes/V260/CodeDocumentType.cs", "provenance": "train-00000-of-00045.jsonl.gz:3030" }
starcoder
namespace ClearHl7.Codes.V260 { /// <summary> /// HL7 Version 2 Table 0270 - Document Type. /// </summary> /// <remarks>https://www.hl7.org/fhir/v2/0270</remarks> public enum CodeDocumentType { /// <summary> /// AR - Autopsy report. /// </summary> AutopsyReport, ...
2.297681
7647a7eccd61ef970ba1122b352b80c0
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
3030
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "JonAnders/NHtmlUnit", "max_stars_repo_path": "app/NHtmlUnit/Generated/Javascript/Host/Events/MozSmsEvent.cs", "provenance": "train-00000-of-00045.jsonl.gz:3031" }
starcoder
// Generated class v2.19.0.0, don't modify using System; using System.Collections.Generic; using System.Collections.Specialized; using System.Linq; using System.Text; namespace NHtmlUnit.Javascript.Host.Events { public partial class MozSmsEvent : NHtmlUnit.Javascript.Host.Events.Event { static MozSmsEvent...
1.73478
bafca6c375a2a724804893d1953870ba
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
3031
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "da1fanshu/1234ewsd", "max_stars_repo_path": "Assets/Scripts/Game/ttz/BrttzTablePlayer.cs", "provenance": "train-00000-of-00045.jsonl.gz:3032" }
starcoder
<reponame>da1fanshu/1234ewsd<filename>Assets/Scripts/Game/ttz/BrttzTablePlayer.cs using UnityEngine; using System.Collections; using YxFramwork.Framework; using YxFramwork.Common; namespace Assets.Scripts.Game.ttz { public class BrttzTablePlayer : YxBaseGamePlayer { public TweenPosition TweenPos; ...
1.97615
2c6f22475acd85fe813b398e3d39f09d
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
3032
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "bsides44/MARSGeofencing", "max_stars_repo_path": "MARS geofencing/Library/PackageCache/com.unity.mars@1.3.1/Tests/Runtime/Database/NonRequiredGroupMemberUnMatchingTest.cs", "provenance": "train-00000-of-00045.jsonl.gz:3033" }
starcoder
<reponame>bsides44/MARSGeofencing<filename>MARS geofencing/Library/PackageCache/com.unity.mars@1.3.1/Tests/Runtime/Database/NonRequiredGroupMemberUnMatchingTest.cs #if UNITY_EDITOR using NUnit.Framework; using Unity.MARS.Query; using Unity.MARS.Simulation; using Unity.MARS.Tests; using Unity.XRTools.ModuleLoader; usin...
1.616138
b429bc23aeda0c0cadff16f0480a505a
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
3033
{ "extension": "c-sharp", "max_stars_count": "21.0", "max_stars_repo_name": "IceKnight123/StarForce", "max_stars_repo_path": "Assets/GameMain/Scripts/Entity/EntityLogic/Weapon.cs", "provenance": "train-00000-of-00045.jsonl.gz:3034" }
starcoder
//------------------------------------------------------------ // Game Framework // Copyright © 2013-2019 <NAME>. All rights reserved. // Homepage: http://gameframework.cn/ // Feedback: mailto:<EMAIL> //------------------------------------------------------------ using GameFramework; using UnityEngine; using UnityGam...
2.052488
8692474d8b45acbd592241c191846ac4
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
3034
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "rmarinpa/Papiro-Web-2.0.0", "max_stars_repo_path": "papiro.Negocio/Usuario.cs", "provenance": "train-00000-of-00045.jsonl.gz:3035" }
starcoder
using System; using System.Collections.Generic; using System.Linq; using System.Security.Cryptography; using System.Text; using System.Threading.Tasks; using papiro.DALC; namespace papiro.Negocio { public class Usuario { //Se crea instancia de negocio const113_papiroEntities db = new const113_...
2.698785
db6172af41251d77613bb1d3d96bfd5b
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
3035
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "jonaswikstrom/KebaUdpService", "max_stars_repo_path": "KebaUdpService/MessageHandlers/ChargingStateMessageHandler.cs", "provenance": "train-00000-of-00045.jsonl.gz:3036" }
starcoder
using Microsoft.Extensions.Logging; namespace KebaUdpService.MessageHandlers { public class ChargingStateMessageHandler : KebaMessageHandler { public const string Topic = "/chargingstate"; public ChargingStateMessageHandler(IKebaConnector kebaConnector, ILoggerFactory loggerfactory, IMqttClien...
2.493481
004edff9d94da8e3ca279be75b710cd8
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
3036
{ "extension": "c-sharp", "max_stars_count": "8.0", "max_stars_repo_name": "uk-gov-mirror/SkillsFundingAgency.das-employerapprenticeshipsservice", "max_stars_repo_path": "src/SFA.DAS.EmployerAccounts.UnitTests/Commands/CreateOrganisationAddressTests/WhenICreateAnAddress.cs", "provenance": "train-00000-of-0004...
starcoder
using System.Collections.Generic; using Moq; using NUnit.Framework; using SFA.DAS.EmployerAccounts.Commands.CreateOrganisationAddress; using SFA.DAS.Validation; namespace SFA.DAS.EmployerAccounts.UnitTests.Commands.CreateOrganisationAddressTests { class WhenICreateAnAddress { private CreateOrganisati...
2.585891
4fbd94586deb385b037255e1191d6574