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 | 8842912 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "sergiomcalzada/sereno",
"max_stars_repo_path": "src/Sereno.Domain/Entity/STS/ApiResourceClaim.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162132"
} | starcoder | namespace Sereno.Domain.Entity
{
public class ApiResourceClaim : BaseClaim
{
public int ApiResourceId { get; set; }
public ApiResource ApiResource { get; set; }
}
} | 1.581981 | 4e5de8b7234a8932eb038011597a5d8a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842913 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "martin-repo/zwaveserialapi",
"max_stars_repo_path": "src/ZWaveSerialApi/CommandClasses/Management/ZWavePlusInfo/SlaveRoleType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162133"
} | starcoder | // -------------------------------------------------------------------------------------------------
// <copyright file="SlaveRoleType.cs" company="<NAME>">
// Copyright (c) <NAME>. All rights reserved.
// </copyright>
// -----------------------------------------------------------------------------------------------... | 1.660908 | 9dcc7368df8373c61d79b3c04f70417f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842914 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Virtual-World-RE/HSDLib",
"max_stars_repo_path": "HSDRawViewer/Converters/ModelTangentUtils.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162134"
} | starcoder | <reponame>Virtual-World-RE/HSDLib
using IONET.Core.Model;
using OpenTK;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HSDRawViewer.Converters
{
public static class ModelTangentUtils
{
public static Vector3 defaultTangent =... | 2.472124 | 9c83a94cffeed57220c7035fd5bf88ee |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842915 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "k-schneider/scrummy-dapr",
"max_stars_repo_path": "src/WebBlazor/WebBlazor.Client/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162135"
} | starcoder | var builder = WebAssemblyHostBuilder.CreateDefault(args);
builder.RootComponents.Add<App>("#app");
builder.RootComponents.Add<HeadOutlet>("head::after");
builder.Services.AddScoped(sp =>
new HttpClient { BaseAddress = new Uri(builder.HostEnvironment.BaseAddress) });
builder.Services.AddRestEaseClient<IAppApi>(bui... | 1.515472 | d79ed126f3489a4e6a7708d459949333 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842916 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DxDBlackRock/WitchBot",
"max_stars_repo_path": "WitchBot/Extensions/LinqExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162136"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WitchBot.Extensions
{
public static class LinqExtensions
{
public static T NextOf<T>(this IList<T> list, T item)
{
return list[(list.IndexOf(item) + 1) == l... | 2.70929 | 738fcd04bca41c35f1274410e9689175 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842917 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "SkaillZ/ubernet",
"max_stars_repo_path": "Assets/Plugins/Ubernet/Scripts/Core/DefaultSerializers/Unity/UnityDefaultTypes.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162137"
} | starcoder | <filename>Assets/Plugins/Ubernet/Scripts/Core/DefaultSerializers/Unity/UnityDefaultTypes.cs
namespace Skaillz.Ubernet.DefaultSerializers.Unity
{
/// <summary>
/// Default types used by the entity manager. Custom events should not be sent with any of those codes.
/// </summary>
public static class UnityD... | 1.941918 | 7345e199c03d17abcbcd66581e298658 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842918 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ssfcultra/Katas",
"max_stars_repo_path": "KeithKatas.Tests/UnkownDateTests/PyramidSlideDownTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162138"
} | starcoder | using System;
using NUnit.Framework;
using Kata;
namespace Sandbox
{
[TestFixture]
public class PyramidSlideDownTests
{
[Test]
public void SmallPyramidTest()
{
var smallPyramid = new[]
{
new[] {3},
new[] {7, 4},
... | 2.678677 | 70e907f4f99a7ae56903013dd2d33019 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842919 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "codkies/Darkest-Swamp---Unity-Game",
"max_stars_repo_path": "Assets/Scripts/Managers/Input/ManagerInput.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162139"
} | starcoder | using System;
using System.Collections.Generic;
using TD.Comandos;
using TD.Enums;
using TD.Interfaces;
using TD.Items;
using TD.Managers.Input.Botones;
using TD.Managers.Input.Mouse;
using TMPro;
using UnityEngine;
namespace TD.Managers
{
/// <summary>
/// 3rd gen of the input bb
/// </summary>
publi... | 2.237668 | fd3962272385eddda882aff7d546c7ab |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842920 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "smdx24/CPI-Source-Code",
"max_stars_repo_path": "Disney.Mix.SDK/IGetLinkedUsersFailedNotAdultResult.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162140"
} | starcoder | <filename>Disney.Mix.SDK/IGetLinkedUsersFailedNotAdultResult.cs
// IGetLinkedUsersFailedNotAdultResult
using Disney.Mix.SDK;
public interface IGetLinkedUsersFailedNotAdultResult : IGetLinkedUsersResult
{
}
| 0.936031 | a2276f9c9a90e8c19270691a84919d2e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842921 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "patrickCode/C-Sharp",
"max_stars_repo_path": "ODataSample/ODataSample/Services/ODataConverter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162141"
} | starcoder | <gh_stars>0
using System;
using Microsoft.Data.Edm;
using System.Web.Http.OData;
using ODataSample.Interfaces;
using Microsoft.Data.OData.Query;
using System.Web.Http.OData.Query;
using Microsoft.Data.OData.Query.SemanticAst;
namespace ODataSample.Services
{
public class ODataConverter : IODataExpressionConverter... | 2.167272 | 13fd39b3f5a5b17b4e3187434a059c24 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842922 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "utka-dll/GucciGangMod",
"max_stars_repo_path": "Source/NetworkingPeer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162142"
} | starcoder | using ExitGames.Client.Photon;
using ExitGames.Client.Photon.Lite;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Reflection;
using GGM;
using UnityEngine;
using Hashtable = ExitGames.Client.Photon.Hashtable;
using Object = UnityEngine.Object;
internal class NetworkingPeer : Lo... | 1.512828 | 13836d60ed2bd93fd52644cca8114b07 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842923 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ahmedmatem/schooldiary",
"max_stars_repo_path": "SchoolDiary.Api/Areas/HelpPage/Views/Help/DisplayTemplates/SimpleTypeModelDescription.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:162143"
} | starcoder | <filename>SchoolDiary.Api/Areas/HelpPage/Views/Help/DisplayTemplates/SimpleTypeModelDescription.cshtml
@using SchoolDiary.Api.Areas.HelpPage.ModelDescriptions
@model SimpleTypeModelDescription
@Model.Documentation | 1.718258 | 325f1c69d7bbf61619916bd1e1a74c25 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842924 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "a-kozhanov/codewars_csharp",
"max_stars_repo_path": "CodeWarsTests/8kyu/FilterOutGeeseTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162144"
} | starcoder | <gh_stars>10-100
using System.Collections.Generic;
using CodeWars;
using NUnit.Framework;
namespace CodeWarsTests
{
[TestFixture]
public class FilterOutGeeseTests
{
[Test]
public void SampleTest()
{
Assert.AreEqual(new string[] { "Mallard", "Hook Bill", "Crested", "Blue... | 2.250231 | bbc9c1e5df698279dadc9c3ce53355af |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842925 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "fuemocheng/UGFDemo",
"max_stars_repo_path": "UGFDemo/Assets/UnityTechnologies/TowerDefenseTemplate/Scripts/Core/Health/HealthVisualizer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162145"
} | starcoder | <gh_stars>1-10
using UnityEngine;
namespace Core.Health
{
/// <summary>
/// Class to visualizer the health of a damageable
/// </summary>
public class HealthVisualizer : MonoBehaviour
{
/// <summary>
/// The DamageableBehaviour that will be used to assign the damageable
/// </summary>
[Tooltip("This fiel... | 2.87151 | aced7fc38bc146807d6cdb44d01f292f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842926 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SimonPrinz/DotNetOpenGL",
"max_stars_repo_path": "GLFW/GLFW.Input.Joysticks.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162146"
} | starcoder | public partial class GLFW
{
#region Macros
public const int JOYSTICK_1 = 0;
public const int JOYSTICK_2 = 1;
public const int JOYSTICK_3 = 2;
public const int JOYSTICK_4 = 3;
public const int JOYSTICK_5 = 4;
public const int JOYSTICK_6 = 5;
public const int JOYSTICK_7 = 6;
public const int JOYSTICK_8 ... | 1.548323 | 8d1a5bb8e1512100a72b7bc86946b044 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842927 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "amritdumre10/Kachuwa",
"max_stars_repo_path": "Core/Kachuwa.Web/Controller/KachuwPageController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162147"
} | starcoder | <reponame>amritdumre10/Kachuwa<gh_stars>0
using System.Threading.Tasks;
using Kachuwa.Configuration;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Infrastructure;
using Microsoft.Extensions.Options;
using System.Linq;
using Microsoft.AspNetCore.Routing;
namespace Kachuwa.Web
{
public class Kachuwa... | 1.757792 | c92e07b37e6078615dcfe089d40a67cd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842928 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "JTOne123/Kugar.Core",
"max_stars_repo_path": "Kugar.Core/Serialization/JSONCustomDateConverter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162148"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Kugar.Core.ExtMethod;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace Kugar.Core.Serialization
{
public class JSONCustomDateConverter : DateTimeConverterBase
{
private string _dateFormat;
... | 2.938905 | 6a10fdb67818ba050073881572030020 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842929 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "indeavr/favour-api",
"max_stars_repo_path": "TypingsGeneratorCore/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162149"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
namespace TypingsGenerator
{
public class Program
{
public static void Main(string[] args)
{
var rawAssemblyPath = GetArgumentValue("AssemblyPath", args);
var ge... | 2.73759 | c6913737f827cb8c682fbf28a349dead |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842930 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "juankakode/Drone",
"max_stars_repo_path": "src/Drone/Drone.Lib/Compilers/CSharpCompilerArgs.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162150"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Drone.Lib.Compilers
{
public class CSharpCompilerArgs
{
public string WorkDir { get; set; }
public string OutputFilepath { get; set; }
public IList<string> SourceFiles { get; set; }
public IList<string> Reference... | 2.612135 | 32b7eda24d303383aa8ed083f7b25d8d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842931 | {
"extension": "c-sharp",
"max_stars_count": "55.0",
"max_stars_repo_name": "minesworld/PDI",
"max_stars_repo_path": "Source/EWSPDIData/PDIProperties/SoundProperty.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162151"
} | starcoder | <gh_stars>10-100
//===============================================================================================================
// System : Personal Data Interchange Classes
// File : SoundProperty.cs
// Author : <NAME> (<EMAIL>)
// Updated : 12/18/2019
// Note : Copyright 2004-2019, <NAME>, All rights rese... | 2.6038 | 8ddfdf3137d040fbfaf5cc69131b1934 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842932 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "robbaman/Umbraco-CMS",
"max_stars_repo_path": "src/Umbraco.Core/Models/TaggedEntity.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162152"
} | starcoder | using System.Collections.Generic;
namespace Umbraco.Core.Models
{
public class TaggedEntity
{
public TaggedEntity(int entityId, IEnumerable<TaggedProperty> taggedProperties)
{
EntityId = entityId;
TaggedProperties = taggedProperties;
}
public int Entity... | 2.227285 | 9a8175647ed43ea5bf56cfbee258cf1b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842933 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "dabintang/IOSysV4_NetCore",
"max_stars_repo_path": "IOSysNetCore/IOSys.BLL/MysqlBLL.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162153"
} | starcoder | using IOSys.Helper;
using IOSys.Helper.Config;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using TDB.DB;
namespace IOSys.BLL
{
/// <summary>
/// mysql
/// </summary>
public class MysqlBLL : BaseBLL
{
#region 公开方法
/// <summary>
... | 1.946361 | 9a1822f8e7ae5e9a9dbc6d7c55308b3d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842934 | {
"extension": "c-sharp",
"max_stars_count": "222.0",
"max_stars_repo_name": "dermeister/nevod",
"max_stars_repo_path": "Source/Negrep/NegrepMatcher.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162154"
} | starcoder | <gh_stars>100-1000
//--------------------------------------------------------------------------------------------------
// Copyright © Nezaboodka™ Software LLC. All rights reserved.
// Licensed under the Apache License, Version 2.0.
//------------------------------------------------------------------------------------... | 2.34151 | a47ef5285457b4da3c3e0bf979945ba9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842935 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jakobharder/mythmaker",
"max_stars_repo_path": "MythMakerWPF/UI/Controls/MonsterAttacksTab.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162155"
} | starcoder | using MythMaker.Myth.Cards;
using MythMaker.Myth.Elements;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
usi... | 2.593843 | 5ad53e12384b076564f8cefeb2251206 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842936 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "r2d2m/Chisel.Prototype",
"max_stars_repo_path": "Packages/com.chisel.components/Chisel/Components/API.public/Components/Base/ChiselBrushContainerAssetManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162156"
} | starcoder | using System;
using System.Collections.Generic;
using UnityEngine;
using Chisel.Core;
using UnityEngine.Profiling;
using System.Linq;
namespace Chisel.Components
{
public delegate void OnBrushContainerAssetDelegate(ChiselBrushContainerAsset brushContainerAsset);
public static class ChiselBrushContainerAssetM... | 1.941349 | ed7fa6f26e03f6a52b44d43b7e75c374 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842937 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "fremag/pbrt",
"max_stars_repo_path": "pbrt/Pbrt.Tests/Lights/VisibilityTesterTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162157"
} | starcoder | using NFluent;
using NSubstitute;
using NUnit.Framework;
using pbrt.Core;
using pbrt.Lights;
using pbrt.Materials;
using pbrt.Media;
using pbrt.Samplers;
using pbrt.Spectrums;
namespace Pbrt.Tests.Lights
{
[TestFixture]
public class VisibilityTesterTests
{
private Interaction interaction0;
... | 2.278313 | 31c6688934ff065178d3448a49474e82 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842938 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ertay/board-game-aid",
"max_stars_repo_path": "BoardGameAid/BoardGameAid.Core/Services/IPopupService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162158"
} | starcoder | <filename>BoardGameAid/BoardGameAid.Core/Services/IPopupService.cs
using System;
namespace BoardGameAid.Core.Services
{
/// <summary>
/// Interface for creating popups / alerts
/// </summary>
public interface IPopupService
{
/// <summary>
/// Show a simple popup with a single dismi... | 2.697754 | 832fda89f08e6cb707182b5dc32ef4f7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842939 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "trmcnealy/Vulkan",
"max_stars_repo_path": "Vulkan/Structs/VkPhysicalDeviceShaderIntegerDotProductPropertiesKHR.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162159"
} | starcoder | using System.Runtime.InteropServices;
namespace Vulkan
{
[StructLayout(LayoutKind.Sequential)]
public struct VkPhysicalDeviceShaderIntegerDotProductPropertiesKHR
{
public VkStructureType SType;
[NativeTypeName("void *")] public nuint PNext;
[NativeTypeName("Bool32")] public uint I... | 1.659656 | 06b9360b1babd390d6bb67053c4c81b8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842940 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sashafromlibertalia/reports-backend",
"max_stars_repo_path": "Reports.BLL/Services/IEmployeesService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162160"
} | starcoder | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Reports.BLL.Models;
using Reports.DAL.DTO.Body;
using Reports.DAL.DTO.Query;
namespace Reports.BLL.Services
{
public interface IEmployeesService
{
Task<EmployeeModel> Create(AddEmployee addEmployee);
Task<Employ... | 1.959634 | 10b081da5228a035cf19214966946cd8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842941 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "ctripcorp/caravan.net",
"max_stars_repo_path": "Src/Caravan.Metric/Null/NullStatusMetric.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162161"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Com.Ctrip.Soa.Caravan.Metric.Null
{
public class NullStatusMetric<T> : IStatusMetric<T>
{
public static NullStatusMetric<T> Instance { get; private set; }
private string metricId = "null_status_met... | 2.205206 | a291e2c130b44fd7e59f8b2b73bc8b56 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842942 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zhouweiaccp/MySQL.Data",
"max_stars_repo_path": "Authentication/NativePasswordPlugins.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162162"
} | starcoder | // Copyright ?2012, 2018, Oracle and/or its affiliates. All rights reserved.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License, version 2.0, as
// published by the Free Software Foundation.
//
// This program is also distributed with certa... | 1.939723 | 169a907ee316a4c215eac797987a2909 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842943 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sharadkrsingh3687/CusJoSolution",
"max_stars_repo_path": "CusJoSolution/CubJo.WebAPIPortal/Repositories/IUnsubscription.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162163"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using CubJo.WebAPIPortal.Models;
namespace CubJo.WebAPIPortal.Repositories
{
interface IUnsubscription
{
bool SendMailToSubscribeUser(Constants.EmailType emailType);
}
}
| 1.155704 | c377f06a413d47c67d47cedb0b6850a6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842944 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "skyprolk/Clash-Of-SL",
"max_stars_repo_path": "Clash SL Server [UCS 7.4.0]/Packets/Messages/Server/AvatarProfileMessage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162164"
} | starcoder | <filename>Clash SL Server [UCS 7.4.0]/Packets/Messages/Server/AvatarProfileMessage.cs
using System;
using CSS.Helpers.List;
using CSS.Logic;
namespace CSS.Packets.Messages.Server
{
// Packet 24334
internal class AvatarProfileMessage : Message
{
internal Level Level;
public AvatarProfileMes... | 2.074986 | 0f558216ef7545c175e637a7340f7e9e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842945 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jcoddaire/SchoolService",
"max_stars_repo_path": "WebAPI/StudentService.Data/OfficeAssignment.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162165"
} | starcoder | <filename>WebAPI/StudentService.Data/OfficeAssignment.cs
namespace StudentService.Data
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.Spatial;
[Table("OfficeAssignment")]... | 2.293305 | f9fcae01d3c91ed78a1af1281c54d862 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842946 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Electrogamer58/FoodFight",
"max_stars_repo_path": "Assets/_Game/Scripts/FF_Commands/Spells/PlayerAttack.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162166"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerAttack : ICommand
{
private Animator _animator;
private int _damage;
private float _accuracyRoll;
private GameObject _missText;
private Health _enemyHealth;
public PlayerAttack(Anim... | 2.619607 | d3c03e03623eaeb0260d259207bf1ff0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842947 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pospanet/MagicMirror",
"max_stars_repo_path": "MirrorManager.Web/Views/Home/Index.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:162167"
} | starcoder | <gh_stars>0
<h2 class="win-h2">Magic Mirror</h2>
<div class="alert-area picture-info">
For the best result, please take at least 3 different pictures of your face from different angles.
</div>
<div class="webcam-div">
<button id="switchCamera" data-win-control="WinJS.UI.AppBarCommand" data-win-options="{label:... | 1.931493 | 1a59d28cd67b557f27319d040933311e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842948 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "erik1066/cs-sdk-dotnet",
"max_stars_repo_path": "src/CS.Sdk/Services/IMmgService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162168"
} | starcoder | <filename>src/CS.Sdk/Services/IMmgService.cs
using CS.Mmg;
namespace CS.Sdk.Services
{
/// <summary>
/// Interface for interacting with an MMG service that can be
/// used to aid in message content validation.
/// </summary>
public interface IMmgService
{
/// <summary>
/// Gets... | 2.312791 | e308ba1e317e84acee1cd5ea616aecc9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842949 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sclarke81/Meziantou.Framework",
"max_stars_repo_path": "src/Meziantou.Framework.CodeDom/Declarations/PropertyDeclaration.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162169"
} | starcoder | namespace Meziantou.Framework.CodeDom
{
public class PropertyDeclaration : MemberDeclaration, IModifiers
{
private PropertyAccessorDeclaration _setter;
private PropertyAccessorDeclaration _getter;
private TypeReference _type;
private TypeReference _privateImplementationType;
... | 2.637082 | 159b1bb2e4eeeeaf473aec5f5d7bf28b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842950 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "PolarbearDK/Miracle.Settings",
"max_stars_repo_path": "Source/Miracle.Settings.Tests/InlineTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162170"
} | starcoder | <filename>Source/Miracle.Settings.Tests/InlineTests.cs
using System;
using System.Collections.Generic;
using Miracle.Settings.Properties;
using NUnit.Framework;
using Is = NUnit.DeepObjectCompare.Is;
namespace Miracle.Settings.Tests
{
[TestFixture]
public class InlineTests : LoadTestBase
{
... | 2.262628 | 84e89248361ed4b6361f2747c0378def |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842951 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jerrytang67/SCORM-LearningManagementSystem",
"max_stars_repo_path": "SCORM_XMLObjects/V1_2/adlcp_rootv1p2/adlcp_itemType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162171"
} | starcoder | using System;
using System.Collections;
using System.Xml;
using Altova.Types;
namespace adlcp_rootv1p2
{
/// <summary>
/// Inherits from the imscp_itemType class in order to add the SCORM additions to ItemType
/// Adds adlcp types to the ims types for itemType
/// </summary>
public class adlcp_item... | 2.391006 | 7968e0271c72eebbb101739950db1d71 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842952 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vostok/context",
"max_stars_repo_path": "Vostok.Context/Serializers/TimeSpanSerializer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162172"
} | starcoder | using System;
using System.Globalization;
namespace Vostok.Context.Serializers
{
internal class TimeSpanSerializer : IContextSerializer<TimeSpan>
{
public string Serialize(TimeSpan value) =>
value.ToString("G", CultureInfo.InvariantCulture);
public TimeSpan Deserialize(string inpu... | 2.767457 | 2cbc95c75c5dd42c662bb8a45f590916 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842953 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mvaganov/NonStandardDataSheet",
"max_stars_repo_path": "Scripts/NonStandard/Data/DataSheetBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162173"
} | starcoder | // code by <NAME>, released to the public domain via the unlicense (https://unlicense.org/)
using NonStandard.Data.Parse;
using NonStandard.Extension;
using System;
using System.Collections.Generic;
using System.Reflection;
using System.Text;
namespace NonStandard.Data {
public class ColumnData {
/// <summary>
/... | 2.445897 | c3a4e3ecedff0e5fecfb4131f371b854 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842954 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "kaby76/lsp-types",
"max_stars_repo_path": "Protocol/LinkedEditingRangeClientCapabilities.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162174"
} | starcoder | using Newtonsoft.Json;
using System.Runtime.Serialization;
namespace LspTypes
{
[DataContract]
public class LinkedEditingRangeClientCapabilities
{
public LinkedEditingRangeClientCapabilities() { }
/**
* Whether implementation supports dynamic registration.
* If this is set to ... | 1.920483 | d44824d7f95b2492990625cad20acbc3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842955 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "HakanL/Qlue",
"max_stars_repo_path": "Qlue.Client/Pipeline/Component/OverflowGet.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162175"
} | starcoder | using System;
using System.IO;
using System.Threading.Tasks;
using Qlue.Logging;
namespace Qlue.Pipeline.Component
{
public class OverflowGet : IPipelineComponent
{
private ILog log;
private BlobRepository blobRepository;
public OverflowGet(ILog log, BlobRepository blobRepository)
... | 2.62788 | e0739a2cb90b1f4d76bd071224a86392 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842956 | {
"extension": "c-sharp",
"max_stars_count": "34.0",
"max_stars_repo_name": "PoofImaFox/MultiAdmin",
"max_stars_repo_path": "MultiAdmin.Tests/ServerIO/StringSectionsTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162176"
} | starcoder | <filename>MultiAdmin.Tests/ServerIO/StringSectionsTests.cs<gh_stars>10-100
using System;
using MultiAdmin.ConsoleTools;
using MultiAdmin.ServerIO;
using Xunit;
using Xunit.Abstractions;
namespace MultiAdmin.Tests.ServerIO
{
public class StringSectionsTests
{
private readonly ITestOutputHelper output;
public Str... | 2.797227 | 87d19b6a02ab56b6d151354ce43a9a3f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842957 | {
"extension": "c-sharp",
"max_stars_count": "30.0",
"max_stars_repo_name": "iAJTin/iSMBIOS",
"max_stars_repo_path": "src/lib/net/iTin.Logging/iTin.Logging/ComponentModel/Logs/ColoredConsoleLog.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162177"
} | starcoder | <gh_stars>10-100
namespace iTin.Logging
{
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using ComponentModel;
using EventArgs;
/// <summary>
/// Specialization of the <see cref="ILog"/> interface. Writes messages to a colored con... | 2.889243 | 53db00d44e306e864de23fba81efba76 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842958 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Infosys/Script-Control-Center",
"max_stars_repo_path": "ScriptDevelopmentTool/ActivityDesigners/Common.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162178"
} | starcoder | /****************************************************************
Copyright 2021 Infosys Ltd.
Use of this source code is governed by Apache License Version 2.0 that can be found in the LICENSE file or at
http://www.apache.org/licenses/
***************************************************************/
using System;
u... | 1.990856 | d5767245908e8b8d7ffca3ad40bfecd7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842959 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jlahteen/juhta.net",
"max_stars_repo_path": "src/Juhta.Net.Services/ServiceId.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162179"
} | starcoder |
//
// Juhta.NET, Copyright (c) 2017 <NAME>
//
// This source code may be used, modified and distributed under the terms of
// the MIT license. Please refer to the LICENSE.txt file for details.
//
using Juhta.Net.Helpers;
namespace Juhta.Net.Services
{
/// <summary>
/// Defines an identifier class for depend... | 2.865817 | a78000fc33fb639d7f78551104c111ea |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842960 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "c3rebro/EventMessenger",
"max_stars_repo_path": "EventMessenger/ViewModel/ResponseConfigurationDialogEmailResponseSMTPSettingsViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162180"
} | starcoder | /*
* Created by SharpDevelop.
* Date: 03/09/2017
* Time: 22:43
*
*/
using EventMessenger.Model.ResponseObjects;
using GalaSoft;
using GalaSoft.MvvmLight;
using GalaSoft.MvvmLight.Command;
using GalaSoft.MvvmLight.Messaging;
using MvvmDialogs.ViewModels;
using System;
using System.ComponentModel;
using System.... | 1.825694 | a2c5fb1508e394b0445739c8db64e1ad |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842961 | {
"extension": "c-sharp",
"max_stars_count": "25.0",
"max_stars_repo_name": "jonkeda/Plastic",
"max_stars_repo_path": "Plastic.University/Views/Student/Delete.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:162181"
} | starcoder | <!-- Delete -->
| 1.50414 | 1d7cc31fabe42032ca7d795373bde886 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842962 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gowerlin/TheIdServer",
"max_stars_repo_path": "src/BlazorApp/Aguacongas.TheIdServer.BlazorApp.Infrastructure/Validators/UriValidator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162182"
} | starcoder | // Project: Aguafrommars/TheIdServer
// Copyright (c) 2021 @<NAME>
using FluentValidation.Validators;
using System.Text.RegularExpressions;
namespace Aguacongas.TheIdServer.BlazorApp.Validators
{
public class UriValidator : PropertyValidator
{
private static readonly Regex _urlRegex = new Regex("^(htt... | 2.661471 | d924ff9a294f9ab734de9f3e6b216739 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842963 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "WinterStudios/MeioMundo.Ferramentas",
"max_stars_repo_path": "MeioMundo.Ferramentas/Barcode/Barcode.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162183"
} | starcoder | <gh_stars>0
using MeioMundo.Ferramentas.Barcode.Internal;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Media;
using System.Windows.Media.Imaging;
namespace MeioMundo.Ferramentas.Barcod... | 2.48662 | dafbf007c7240b38e484ecf4bd9e3f49 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842964 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JanneMattila/chess",
"max_stars_repo_path": "src/MyChess.Functions/SecurityValidator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162184"
} | starcoder | <filename>src/MyChess.Functions/SecurityValidator.cs
using System.IdentityModel.Tokens.Jwt;
using System.Security.Claims;
using Microsoft.AspNetCore.Authentication.JwtBearer;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using Microsoft.IdentityModel.Protocols;
using Microsoft.IdentityM... | 2.367101 | 8294ac3714938ae77a1c4cbaf67b0721 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842965 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "FubuMvcArchive/storyteller",
"max_stars_repo_path": "src/StoryTeller.UserInterface/Editing/HTML/TestEditorTag.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162185"
} | starcoder | using HtmlTags;
using HtmlTags.Extended.TagBuilders;
using StoryTeller.Html;
using StoryTeller.Model;
using System.Linq;
namespace StoryTeller.UserInterface.Editing.HTML
{
public class TestEditorTag : HtmlTag
{
private readonly HtmlTag _container;
public TestEditorTag(Fixtu... | 2.097151 | 0aedce050c2cbe69b952085938fb4aaf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842966 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "hiro80/SqlAccessor",
"max_stars_repo_path": "Src/SqlAccessor/SqlBuilder/ResultInfoAST/ResultInfo/TableResultInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162186"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
namespace MiniSqlParser
{
[System.Diagnostics.DebuggerDisplay(
"TableAliasName: {TableAliasName}, ColumnAliasName: {ColumnAliasName}")]
public class TableResultInfo: IResultInfo, IResultInfoInternal
{
public string Serve... | 2.553997 | e2c67fb5f87afda04b1c89cc48059acf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842967 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Traberg/vaccine-please",
"max_stars_repo_path": "Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162187"
} | starcoder | <reponame>Traberg/vaccine-please
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Threading.Tasks;
using HtmlAgilityPack;
using Serilog;
namespace vaccine_please
{
class Program
... | 2.381722 | d4f110d6262ea98267490a2e5cd15ec8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842968 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "alexneblett/storage",
"max_stars_repo_path": "test/Storage.Net.Tests.Integration/Azure/LeakyDatabricksStorageTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162188"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Azure.Databricks.Client;
using Storage.NetCore.Blobs;
using Storage.NetCore.Databricks;
using Xunit;
namespace Storage.NetCore.Tests.Integration.Azure
{
#if DEBUG
[Trait("Category", "... | 2.18325 | c532b0c427a59942de236240e0219bab |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842969 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tannudaral/CityRush",
"max_stars_repo_path": "Assets/Scripts/Player/PlayerCollisionControl.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162189"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class PlayerCollisionControl : MonoBehaviour
{
void OnTriggerEnter(Collider collision) {
if(collision.gameObject.tag == "Enemy")
{
PlayerManager.gameOver = true;
... | 2.132579 | 48134d96d572f54c19902eea85e56f47 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842970 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Dreamarchs/MCCEditor",
"max_stars_repo_path": "Blamite/Serialization/PokingCollection.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162190"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
namespace Blamite.Serialization
{
public class PokingCollection
{
private readonly SortedDictionary<Version, PokingInformation> _collection = new SortedDictionary<Version, PokingInformation>();
/// <summary>
/// Adds a builder version to ... | 3.139551 | 5b009ea95ee910cfc7ed80cc4d3db36a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842971 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "captain-radko/Project-Defense",
"max_stars_repo_path": "src/Web/IdeGames.Web/Controllers/MessageController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162191"
} | starcoder | using System.Collections.Generic;
using System.Linq;
using IdeGames.Data;
using IdeGames.Data.Models;
using IdeGames.Services.Models.Models.Chat;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Configuration;
using PusherServer;
namespace IdeGames.Web.Controllers
{
... | 2.16703 | 7bb8c2bac15be7766f82241ef2a7fae1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842972 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "droconnel22/CompetitiveCoding_DotNetCore",
"max_stars_repo_path": "Graphing.Review.Core/DijkstrasShortestPath2.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162192"
} | starcoder | <reponame>droconnel22/CompetitiveCoding_DotNetCore
namespace Graphing.Review.Core
{
using System;
using System.Collections.Generic;
using System.Linq;
public class DijkstrasShortestPath2<TValue>
where TValue : IComparable<TValue>
{
private static PriorityQueue2<INode<TValue>, int> ... | 3.300102 | e17a49f1ee8b7d1bce546d3054a7ee86 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842973 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "200Tigersbloxed/NeosXS",
"max_stars_repo_path": "NeosXS_Headless/MainForm.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162193"
} | starcoder | using System;
using System.Timers;
using System.Windows.Forms;
using NeosXS;
namespace NeosXS_Headless
{
public partial class MainForm : Form
{
NeosXSAPI nsxapi = new NeosXSAPI();
System.Timers.Timer aTimer;
public int XSOPortGlobal = 42069;
public MainForm()
... | 2.385621 | c94b3c075ed8e4e95c576ba12c6ecab6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842974 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "joeduffy/pulumi-chart-cert-manager",
"max_stars_repo_path": "sdk/dotnet/CertManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162194"
} | starcoder | // *** WARNING: this file was generated by Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Kubernet... | 1.726482 | c1f1289e940d3276835097db8976560c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842975 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jeffjulian/Meadow.Foundation",
"max_stars_repo_path": "Source/Meadow.Foundation.Peripherals/Sensors.Distance.Sfsr02/Driver/Sensors.Distance.SFSR02/SFSR02.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162195"
} | starcoder | <reponame>jeffjulian/Meadow.Foundation
using Meadow.Hardware;
using Meadow.Peripherals.Sensors.Distance;
using System;
using System.Threading;
namespace Meadow.Foundation.Sensors.Distance
{
public class Sfsr02 : IRangeFinder
{
/// <summary>
/// Returns current distance detected in cm... | 2.587789 | 7dc8a49bbe31a5777449a2427d8e9df0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842976 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Silvergriffon/SolastaCommunityExpansion",
"max_stars_repo_path": "SolastaCommunityExpansion/Patches/Multiclass/RitualCasting/RulesetCharacterPatcher.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162196"
} | starcoder | <gh_stars>0
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using HarmonyLib;
namespace SolastaCommunityExpansion.Patches.Multiclass.RitualCasting
{
// ensures ritual spells work correctly when MC
[HarmonyPatch(typeof(RulesetCharacter), "CanCastAnyRitualSpell")]
[SuppressMessage("... | 2.097548 | 47cec47f872e5357c2bba3f4b0a9090f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842977 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "EmiyaSyahriel/PSW.BinarySave",
"max_stars_repo_path": "BinaryCodec.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162197"
} | starcoder | <filename>BinaryCodec.cs
using System;
using System.Text;
namespace PSW.BinarySave
{
// Terminology :
// Decoder = Decodes byte array to a class
// Encoder = Encodes class a to byte array
// Generic delegates make it very extensible for any developer to define
// how their app treat bytes into d... | 3.2566 | b29e78873aba11e298ff2fd730b80565 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842978 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "thenitro/cracking-coding-interview",
"max_stars_repo_path": "CrackingCodingInterview/CrackingCodingInterview/GraphsAndTrees/Task45.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162198"
} | starcoder | <filename>CrackingCodingInterview/CrackingCodingInterview/GraphsAndTrees/Task45.cs
using System;
using System.Xml.Schema;
namespace CrackingCodingInterview.GraphsAndTrees
{
public class Task45
{
public Task45()
{
var validRoot = new BinaryTreeNode(5)
{
... | 3.322995 | 007b260904a39d831a2503250c82ce72 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842979 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "Aghyad-Khlefawi/Coddee",
"max_stars_repo_path": "src/Coddee.Windows/Mapper/ILObjectMapper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162199"
} | starcoder | // Copyright (c) <NAME>. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Reflection.Emit;
namespace Coddee.... | 2.641574 | 046519fb2736bf4f73f202ee1b454230 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842980 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "fabiangothman/xamarinApp",
"max_stars_repo_path": "SURA/SURA/Services/ServicioCambiarContrasena.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162200"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace SURA.Services
{
class ServicioCambiarContrasena
{
public void CambiarContrasena(string viejaContrasena, string nuevaContrasena, string confirmarContra)
{
try
{
var client = new ... | 2.567461 | 1a5cbb44b2aaf35bedca7ba0bc6d6fd9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842981 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "shizn/gov-paas-sample",
"max_stars_repo_path": "InventoryApp/Services/ITrafficCaseRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162201"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using TrafficCaseApp.Models;
namespace TrafficCaseApp.Services
{
public interface ITrafficCaseRepository
{
Task Initialize();
List<TrafficCase> GetCases();
Task<List<Status>> GetStatuses();... | 1.974912 | 09559605f6dcdbfc0cf37ac940bea14a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842982 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "riktothepast/FSM",
"max_stars_repo_path": "Assets/FSM/BehaviourState.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162202"
} | starcoder | <gh_stars>1-10
using UnityEngine;
namespace FiveOTwoStudios.StateMachine
{
[RequireComponent(typeof(BehaviourFSM))]
public abstract class BehaviourState : MonoBehaviour
{
public bool defaultState;
public Transition[] transitions;
protected BehaviourFSM fsm;
protected virtua... | 2.395934 | 1b2eae5c0ddfeb397f85fb56624e633d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842983 | {
"extension": "c-sharp",
"max_stars_count": "87.0",
"max_stars_repo_name": "MiftahurRidho/tugas",
"max_stars_repo_path": "test/2.0/FindName/MyPanel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162203"
} | starcoder | <filename>test/2.0/FindName/MyPanel.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Wind... | 1.812908 | 07e1ee1d8addc715209a097c4d60081d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842984 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "mxashlynn/Scribe",
"max_stars_repo_path": "Scribe/Forms/SelectFunctionBox.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162204"
} | starcoder | using System;
using System.Windows.Forms;
using Parquet;
namespace Scribe.Forms
{
/// <summary>
/// A modal dialogue that enables the user to select a function-themed <see cref="ModelTag"/> for a <see cref="Model"/>.
/// </summary>
internal partial class SelectFunctionBox : Form
{
/// <summ... | 2.707596 | d7daf2acf0471b38f1bee5f7e0258ae0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842985 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "QualiSystems/Toscana",
"max_stars_repo_path": "Toscana.Tests/ToscaServiceTemplateMetadataTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162205"
} | starcoder |
using System;
using FluentAssertions;
using NUnit.Framework;
namespace Toscana.Tests
{
[TestFixture]
public class ToscaServiceTemplateMetadataTests
{
[Test]
public void Should_Be_Possible_To_Get_And_Set_Value_Of_TemplateName()
{
var toscaSimpleProfileMetadata = new To... | 2.456577 | 73877f63cae37f40972fa7e67d50bbe0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842986 | {
"extension": "c-sharp",
"max_stars_count": "204.0",
"max_stars_repo_name": "raminmjj/DNTPersianUtils.Core",
"max_stars_repo_path": "src/DNTPersianUtils.Core.Tests/DateTimeUtilsTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162206"
} | starcoder | <gh_stars>100-1000
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace DNTPersianUtils.Core.Tests
{
[TestClass]
public class DateTimeUtilsTests
{
[TestMethod]
public void Test_GetAge_Returns_Correct_Age()
{
var now = DateTime.UtcNow;
... | 2.536182 | 6cbab942a644b04dbb3e4d021dced9b2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842987 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "JamesFaix-Utilities/ExcelBrowser",
"max_stars_repo_path": "ExcelBrowser.View/App.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162207"
} | starcoder | <filename>ExcelBrowser.View/App.xaml.cs
using System.Windows;
using ExcelBrowser.Controller;
using ExcelBrowser.View;
namespace ExcelBrowser {
/// <summary>
/// Interaction logic for App.xaml
/// </summary>
public partial class App : Application {
protected override void OnStartup(StartupEven... | 1.992654 | 62cd4c85cd90a9e490c4c8b3ff63acad |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842988 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "toolgood/ToolGood.TextFilter.Api",
"max_stars_repo_path": "csharp/ToolGood.TextFilter.Api/Impl/ProviderBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162208"
} | starcoder | using System;
using System.IO;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
namespace ToolGood.TextFilter.Api.Impl
{
public abstract class ProviderBase
{
private readonly TextFilterConfig _textFilterConfig;
public ProviderBase(TextFilterConfig ... | 2.602234 | 8fc5cfa198319325d068e08ec2f3067f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842989 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "jparks1/NJsonApi",
"max_stars_repo_path": "Util-JsonApiSerializer/Serialization/Error.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162209"
} | starcoder | namespace UtilJsonApiSerializer.Serialization
{
public class Error
{
public string Id { get; set; }
public string Status { get; set; }
public string Title { get; set; }
public string Detail { get; set; }
public string Href { get; set; }
}
} | 1.70845 | bcb9826e02b5ba9b89fab79430d4b66c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842990 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "michael-wolfenden/WebApiMovieRest",
"max_stars_repo_path": "src/Core/Resources/Genres/Get/GetGenreRequest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162210"
} | starcoder | <reponame>michael-wolfenden/WebApiMovieRest
using System;
using WebApiMovieRest.Infrastructure;
namespace WebApiMovieRest.Core.Resources.Genres.Get
{
public class GetGenreRequest : IRequest<GenresResponse>
{
public Guid GenreId { get; set; }
}
} | 1.286479 | 41d09e9c3a99a2265e222099f4ca4be9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842991 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "intensifier/NeoAxisEngine",
"max_stars_repo_path": "Sources/Engine/NeoAxis.Core/MathEx/SimpleMeshGenerator/Arch.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162211"
} | starcoder | // Copyright (C) NeoAxis Group Ltd. 8 Copthall, Roseau Valley, 00152 Commonwealth of Dominica.
using System;
using System.Collections.Generic;
using System.Linq;
namespace NeoAxis
{
public static partial class SimpleMeshGenerator
{
//ToDo : Логичнее когда главное направление для оси, в направлении входа. При axi... | 2.323253 | caea094ae76624aeff0f5f05d8ad0722 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842992 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "AllenWorker/HertiageWalks-XamarinForm",
"max_stars_repo_path": "HertiageWalks/Views/StopListPage.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162212"
} | starcoder | <reponame>AllenWorker/HertiageWalks-XamarinForm
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
using HertiageWalks.ViewModel;
namespace HertiageWalks.Views
{
[XamlCompilati... | 2.046322 | 79fac5513f9ec3bb6c286be7971f6d6a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842993 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "koskedk/LiveSeeder",
"max_stars_repo_path": "test/LiveSeeder.Tests/Core/LiveIDbConnectionExtensionsTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162213"
} | starcoder | <gh_stars>0
using System.Linq;
using Dapper;
using LiveSeeder.Core;
using LiveSeeder.Tests.TestArtifacts;
using NUnit.Framework;
namespace LiveSeeder.Tests.Core
{
[TestFixture]
public class LiveIDbConnectionExtensionsTests
{
[OneTimeSetUp]
public void Init()
{
TestInitia... | 2.11892 | 2f85b42825c1d95765d6c1786b9a6560 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842994 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Amr116/challenges",
"max_stars_repo_path": "Reviso/RegisterTime/Controllers/FreelancerController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162214"
} | starcoder | <filename>Reviso/RegisterTime/Controllers/FreelancerController.cs<gh_stars>0
using System;
using System.Linq;
using System.Text;
using AutoMapper;
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Authorization;
using RegisterTime.Entities;
using... | 2.200675 | dfd71188d109b9b76dc5c1292e4cc18a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842995 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "koalakit-org/koalakit-core",
"max_stars_repo_path": "src/persistence/KoalaKit.Persistence.EntityFramework.Core/Stores/EntityFrameworkStore.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162215"
} | starcoder | <reponame>koalakit-org/koalakit-core
using System.Linq.Expressions;
using EFCore.BulkExtensions;
using KoalaKit.Persistence.Specifications;
using KoalaKit.Specifications;
using Microsoft.EntityFrameworkCore;
namespace KoalaKit.Persistence.EFCore
{
public abstract class EntityFrameworkStore<TEntity, TContext> : IS... | 2.278324 | d8a5ff858207889ecd69e09d80ee814b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842996 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sailingchannels/data",
"max_stars_repo_path": "Presentation.API/GraphQL/Types/ChannelCustomLinkType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162216"
} | starcoder | using GraphQL.Types;
using Infrastructure.API.Models;
namespace Presentation.API.GraphQL.Types
{
public sealed class ChannelCustomLinkType
: ObjectGraphType<ChannelCustomLinkModel>, IGraphQLType
{
public ChannelCustomLinkType()
{
Name = "ChannelCustomLink";
Fie... | 1.898809 | d54c9c59486004e83f085844c83b12e1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842997 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Raimusoft/FoxDb",
"max_stars_repo_path": "FoxDb.SqlCe/SqlCeQueryParameter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162217"
} | starcoder | <filename>FoxDb.SqlCe/SqlCeQueryParameter.cs
namespace FoxDb
{
public class SqlCeQueryParameter
{
public const string Identity = "@IDENTITY";
}
}
| 1.451833 | 280d353c67cce9bf300b4f6e2b976f71 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842998 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "OrionsSystems/CrossModules",
"max_stars_repo_path": "Orions.Systems.CrossModules.Components/Components/Workflow/WorkflowInstanceListVm.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162218"
} | starcoder | using Microsoft.AspNetCore.Components;
using Orions.Infrastructure.HyperMedia;
using Orions.Node.Common;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Orions.Systems.CrossModules.Components
{
public class WorkflowInstanceListVm : BlazorVm
{
public bool IsLoadedDat... | 1.976445 | 083941853cf05fdf23ea4dc58a3777bf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842999 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Miggleness/DotNetJsonBenchmarks",
"max_stars_repo_path": "src/JsonBenchmarks/AsyncBenchmarks.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162219"
} | starcoder | <filename>src/JsonBenchmarks/AsyncBenchmarks.cs
using System;
using System.Collections.Generic;
using BenchmarkDotNet.Attributes;
using NetJS = System.Text.Json.Serialization.JsonSerializer;
using SpanJS = SpanJson.JsonSerializer.Generic.Utf16;
using SpanJS8 = SpanJson.JsonSerializer.Generic.Utf8;
using JsonNet = Newto... | 2.205241 | 2e45e24dcf2d34caac3a7b244423cd68 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843000 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gngable/OneSmallStep",
"max_stars_repo_path": "OneSmallStep.Database/Migrations/20210108013617_StepTimer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162220"
} | starcoder | using Microsoft.EntityFrameworkCore.Migrations;
namespace OneSmallStep.Database.Migrations
{
public partial class StepTimer : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<string>(
name: "NextButtonText",
... | 2.112311 | 2785c890b0a3417d1d0f7ff657d0a3b9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843001 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "samukasantos/smokeball",
"max_stars_repo_path": "src/UI/Smokeball.WPF/Presentation/ViewModel/SearchViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162221"
} | starcoder |
using FluentValidation.Results;
using Smokeball.WPF.Presentation.ViewModel.Base;
namespace Smokeball.WPF.Presentation.ViewModel
{
public class SearchViewModel : BaseRequestViewModel
{
#region Fields
private string keyword;
#endregion
#region Properties
public strin... | 2.30724 | 2bdc6288594b4f6741d4bb16025bb886 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843002 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tugberkugurlu/Logging",
"max_stars_repo_path": "src/Microsoft.Framework.Logging/DiagnosticsLogger.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162222"
} | starcoder | // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
#if NET45 || ASPNET50 || ASPNETCORE50
using System;
using System.Diagnostics;
namespace Microsoft.Framework.Logging
{
internal cla... | 2.284607 | 6b57bd004e6776202350e8df16490904 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843003 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "elcorbs/academy-resident-information-api",
"max_stars_repo_path": "AcademyResidentInformationApi/V1/UseCase/GetAllTaxPayersUseCase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162223"
} | starcoder | <gh_stars>0
using AcademyResidentInformationApi.V1.Boundary.Requests;
using AcademyResidentInformationApi.V1.Boundary.Responses;
using AcademyResidentInformationApi.V1.Factories;
using AcademyResidentInformationApi.V1.Gateways;
using AcademyResidentInformationApi.V1.UseCase.Interfaces;
namespace AcademyResidentInforma... | 1.858956 | 27abcaf378827892f97c570fe15a51d0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843004 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "742PM/Quiz",
"max_stars_repo_path": "Quiz/QuizBotCore/ProgressBar/CircleProgressBar.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162224"
} | starcoder | namespace QuizBotCore.ProgressBar
{
internal class CircleProgressBar : IProgressBar
{
public string GenerateProgressBar(int solved, int total)
{
return new string(ButtonNames.ProgressFilled, solved)
.PadRight(total, ButtonNames.ProgressEmpty);
}
}
} | 2.280946 | 6185fdf8bb34da8da3c0e322d924b9c0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843005 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "batuhan-yilmaz/Computer-Service-company-ntier-full-crud-operation-netcore-webapp-project",
"max_stars_repo_path": "General/General.WebUI/Views/ControlCenter/Index.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:162225"
} | starcoder | <reponame>batuhan-yilmaz/Computer-Service-company-ntier-full-crud-operation-netcore-webapp-project<gh_stars>1-10
@model General.WebUI.Models.ControlCenterModel
@{
ViewData["Title"] = "Index";
Layout = "~/Views/Shared/ControlCenter/_ControlCenterLayout.cshtml";
}
<section id="content">
<div class="col-md-... | 2.157936 | 0961cfd96cdd51db7b3abb77cb3dc150 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843006 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "0x727/metasploit-framework",
"max_stars_repo_path": "external/source/Scanner/share/LumiSoft.Net/SIP/Proxy/SIP_Registration.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162226"
} | starcoder | using System;
using System.Collections.Generic;
using LumiSoft.Net.SIP.Message;
using LumiSoft.Net.SIP.Stack;
namespace LumiSoft.Net.SIP.Proxy
{
// Token: 0x020000AA RID: 170
public class SIP_Registration
{
// Token: 0x0600069C RID: 1692 RVA: 0x000273B0 File Offset: 0x000263B0
public SIP_Registratio... | 2.000565 | bd7e942b2a013e62bbf4d9187d217fb2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843007 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "panosen/panosen-elasticsearch",
"max_stars_repo_path": "Panosen.ElasticSearch.Java/DocFields.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162227"
} | starcoder | using Panosen.Reflection.Model;
namespace Panosen.ElasticSearch.Java
{
/// <summary>
/// DocFields
/// </summary>
public class DocFields
{
/// <summary>
/// RootNamespace
/// </summary>
public string RootNamespace { get; set; }
/// <summary>
/// Jav... | 1.546502 | 5e99a4b0f6825c4f1a65438e3cb5927e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843008 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "fencingelf/LadderCalculator",
"max_stars_repo_path": "LadderCalculator/Form1.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162228"
} | starcoder | <reponame>fencingelf/LadderCalculator<gh_stars>0
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.IO;
namespace LadderCalculator
{
publi... | 2.612853 | 9c8d00776f5fae96292338f138e668f7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843009 | {
"extension": "c-sharp",
"max_stars_count": "18.0",
"max_stars_repo_name": "0xStuart/Meadow.CLI",
"max_stars_repo_path": "Meadow.CLI/Commands/Trace/TraceLevelCommand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162229"
} | starcoder | <gh_stars>10-100
using System.Threading.Tasks;
using CliFx.Attributes;
using CliFx.Infrastructure;
using Meadow.CLI.Core;
using Meadow.CLI.Core.DeviceManagement;
using Microsoft.Extensions.Logging;
namespace Meadow.CLI.Commands.Trace
{
[Command("trace level", Description = "Enable trace logging on the Meadow")]
... | 2.328336 | adbd24f4a68718f5db76bc5452fbd38f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843010 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "cofl/SnipeSharp",
"max_stars_repo_path": "SnipeSharp/Models/OnlySubmittable/AccessoryCheckOutRequest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162230"
} | starcoder | using SnipeSharp.Serialization;
namespace SnipeSharp.Models
{
/// <summary>
/// A request to associate an Accessory with a User.
/// </summary>
public sealed class AccessoryCheckOutRequest : ApiObject
{
/// <value>The Accessory that will be checked out.</value>
/// <remarks>This pro... | 2.976215 | 9ed4c426aa9eae60d9025c52f7a4fb23 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843011 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jmkni/textmagic-rest-csharp",
"max_stars_repo_path": "TextmagicRest.Tests/ContactsTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162231"
} | starcoder | using System;
using System.Collections.Generic;
using Moq;
using NUnit.Framework;
using RestSharp;
using TextmagicRest.Model;
namespace TextmagicRest.Tests
{
[TestFixture]
public class ContactsTests
{
[SetUp]
public void Setup()
{
mockClient = new Mock<Client>(Common.Us... | 2.39507 | a64573835d703a5ffa9e92e9b712bbeb |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.