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 | 8840712 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "antonijn/bohc-intermediate",
"max_stars_repo_path": "bohc/parsing/TokenRange.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159932"
} | starcoder | using System;
using System.Collections.Generic;
using Bohc.General;
namespace Bohc.Parsing
{
public class TokenRange
{
public readonly Token first;
public readonly Token last;
public readonly string str;
public TokenRange(Token first, Token last, string str)
{
this.first = first;
this.last = last;
... | 2.810433 | 7463fa4f7b4ca040dd093f5111babea4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840713 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "vieiradiego/LDAPNetCore",
"max_stars_repo_path": "LDAPNetCore/AgentNetCore/Service/GroupService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159933"
} | starcoder | using AgentNetCore.Context;
using AgentNetCore.Data.Converters;
using AgentNetCore.Data.VO;
using AgentNetCore.Model;
using System;
using System.Collections.Generic;
namespace AgentNetCore.Service
{
public class GroupService : IGroupService
{
private readonly MySQLContext _mySQLContext;
privat... | 2.450638 | 65e86fdd371e45fc7b3ffd75e497cd56 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840714 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kingapili/GreenHouse",
"max_stars_repo_path": "API/Configuration/RabbitMqOptions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159934"
} | starcoder | <gh_stars>0
namespace API.Configuration
{
public class RabbitMqOptions
{
public const string RabbitMq = "RabbitMQ";
public string ServerAddress { get; set; }
public string Username { get; set; }
public string Password { get; set; }
}
}
| 0.981864 | 05991dae24f00a03a4a6d855ef2793b2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840715 | {
"extension": "c-sharp",
"max_stars_count": "209.0",
"max_stars_repo_name": "Ultrawipf/actools",
"max_stars_repo_path": "AcTools.Render/Base/BaseRenderer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159935"
} | starcoder | using System;
using System.ComponentModel;
using System.Diagnostics;
using System.Drawing;
using System.IO;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Windows.Forms;
using AcTools.Render.Base.PostEffects;
using AcTools.Render.Base.Sprites;
using AcTools.Render.Base.TargetTextures;
usin... | 1.930357 | 465632f2445bd81f14d0de1b92b60fe1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840716 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "robnvd/Findit.API",
"max_stars_repo_path": "src/Findit.DTO/PlaceDto.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159936"
} | starcoder | using Findit.DTO.Base;
namespace Findit.DTO
{
public class PlaceDto : Dto
{
public string PlaceId { get; set; }
public string Name { get; set; }
public string Address { get; set; }
public string Location { get; set; }
}
} | 1.660158 | 258c0c9a1a8c517f4036ccd21c29f553 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840717 | {
"extension": "c-sharp",
"max_stars_count": "54.0",
"max_stars_repo_name": "shadowchamber/SolidCP",
"max_stars_repo_path": "SolidCP/Sources/SolidCP.WebDav.Core/Security/Authentication/FormsAuthenticationService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159937"
} | starcoder | using System;
using System.DirectoryServices.AccountManagement;
using System.Threading;
using System.Web;
using System.Web.Script.Serialization;
using System.Web.Security;
using SolidCP.EnterpriseServer.Base.HostedSolution;
using SolidCP.Server.Utils;
using SolidCP.WebDav.Core.Config;
using SolidCP.WebDav.Core.Interfa... | 1.859028 | b61e934116d27b167bbe49366008b3a0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840718 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dingxiaowei/UMP",
"max_stars_repo_path": "Assets/UniversalMediaPlayer/Scripts/Sources/Wrappers/WrapperStandalone.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159938"
} | starcoder | <filename>Assets/UniversalMediaPlayer/Scripts/Sources/Wrappers/WrapperStandalone.cs
using System;
using System.Runtime.InteropServices;
namespace UMP.Wrappers
{
internal class WrapperStandalone : IWrapperNative, IWrapperPlayer, IWrapperSpu, IWrapperAudio
{
private IntPtr _libVLCHandler = Int... | 1.774933 | 3c518cf2752d108feb667056dd617d3e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840719 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "liufajian/aautil",
"max_stars_repo_path": "csharp/aautil.UnitTest/TestModules/TestTraceWrap.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159939"
} | starcoder | using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace AAUtil.UnitTest.TestModules
{
[TestClass]
public class TestTraceWrap
{
[TestMethod]
public void Test()
{
var wrap = new AAUtil.TraceWrap("单元测试");
wrap.WriteLine(null);
wrap.WriteData(n... | 1.706218 | cebc4f26757fd2b7f389a2c942a98214 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840720 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zvet80/TelerikAcademy",
"max_stars_repo_path": "08.High Quality Code/06.ControlFlowConditionalStatementsLoops/Task1.ClassChef/Bowl.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159940"
} | starcoder | namespace Task1.ClassChef
{
public class Bowl
{
internal void Add(Vegetable carrot)
{
}
}
}
| 1.858221 | 03eb925d61b31c69c2d6f41897cc74f8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840721 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "BloodARG/tModLoaderTShock",
"max_stars_repo_path": "TShock-general-devel/TerrariaServerAPI/Terraria/Gore.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159941"
} | starcoder | <gh_stars>1-10
//
//using System;
//using Terraria.GameContent;
//namespace Terraria
//{
// public class Gore
// {
// public static int goreTime;
// public Vector2 position;
// public Vector2 velocity;
// public float rotation;
// public float scale;
// public int alpha;
// public int ... | 2.225318 | ec888068592cace32a6455e0a9bc5879 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840722 | {
"extension": "c-sharp",
"max_stars_count": "27.0",
"max_stars_repo_name": "leeohalloran/encog-dotnet-core",
"max_stars_repo_path": "encog-core-cs/ML/Data/Versatile/MatrixMLDataSet.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159942"
} | starcoder | //
// Encog(tm) Core v3.3 - .Net Version
// http://www.heatonresearch.com/encog/
//
// Copyright 2008-2014 Heaton Research, Inc.
//
// 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
//
// htt... | 2.484608 | 2126f8b8b499cb9e47b1bb2128625790 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840723 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MvRens/MassiveKnob",
"max_stars_repo_path": "Windows/MassiveKnob/ViewModel/Settings/SettingsLoggingViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159943"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.IO;
using System.Linq;
using System.Runtime.CompilerServices;
using MassiveKnob.Core;
using MassiveKnob.Settings;
using Serilog.Events;
namespace MassiveKnob.ViewModel.Settings
{
public class SettingsLoggingViewM... | 2.169592 | 8c783c38584012d9efdc75cafa32c0fb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840724 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "JonasSyrstad/stardust",
"max_stars_repo_path": "Stardust.Core/Core/FrameworkInitializer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159944"
} | starcoder | using System.Activities.Expressions;
using System.Diagnostics;
using System.Web;
using Microsoft.Web.Infrastructure.DynamicModuleHelper;
using Stardust.Core.Security;
using Stardust.Nucleus;
using Stardust.Nucleus.Configuration;
using Stardust.Particles;
namespace Stardust.Core
{
public class FrameworkInitializer
... | 2.060584 | f84f10925acb649e6a8b4089e775d479 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840725 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "Prastiwar/ForgeModGenerator",
"max_stars_repo_path": "ForgeModGenerator/app/ForgeModGenerator.Core/Source/FileSystem/FoldersFinder/FoldersFinder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159945"
} | starcoder | <reponame>Prastiwar/ForgeModGenerator
using ForgeModGenerator.Utility;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
namespace ForgeModGenerator
{
public abstract class FoldersFinder<TFolder, TFile> : IFolder... | 2.64679 | 111aa1a0293b968cb1a3775c64537009 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840726 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "keymind/Epi-Info-Community-Edition",
"max_stars_repo_path": "Epi.Windows.MakeView/Dialogs/PreviewTableDialog.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159946"
} | starcoder | <reponame>keymind/Epi-Info-Community-Edition
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;
using System.Data.Common;
using System.Collections.Generic;
using Epi;
using Epi.Fields;
using Epi.Collections;
using Epi.Wind... | 2.168644 | ad74bb0a65384ee634d7c7466e96d5cb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840727 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "dreamcode0824/netcore-wpf-demos-master",
"max_stars_repo_path": "src/DevExpress.OutlookInspiredApp.Wpf/Views/Customer/CustomerCollectionView.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159947"
} | starcoder | <reponame>dreamcode0824/netcore-wpf-demos-master<filename>src/DevExpress.OutlookInspiredApp.Wpf/Views/Customer/CustomerCollectionView.xaml.cs
using System.Windows.Controls;
namespace DevExpress.DevAV.Views {
public partial class CustomerCollectionView : UserControl {
public CustomerCollectionView() {
... | 1.10512 | 6c07dc530acb12380455f728532ebb4e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840728 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "emipa606/UtilitySupplements",
"max_stars_repo_path": "Source/USToxins/Pawn_DraftController_GetGizmos_Patch.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159948"
} | starcoder | <reponame>emipa606/UtilitySupplements<filename>Source/USToxins/Pawn_DraftController_GetGizmos_Patch.cs<gh_stars>0
using System.Collections.Generic;
using System.Linq;
using HarmonyLib;
using RimWorld;
using Verse;
namespace USToxins
{
// Token: 0x02000013 RID: 19
[HarmonyPatch(typeof(Pawn_DraftController), "G... | 1.715765 | 6df16442de7aed99cd88c4621d59fa82 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840729 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SimeonRaykov/TechModule",
"max_stars_repo_path": "Exams/Retake Exam 25 April Part II/MobaChallenger/MobaChallenger.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159949"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
namespace ConsoleApp3
{
class MobaChallenge
{
static void Main(string[] args)
{
try
{
string input = Console.ReadLine()
var playerOne = "";
v... | 3.172804 | ccf32e35e0659551c634f2eb9cfc203d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840730 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "besirgunduz/RentACar-Backend",
"max_stars_repo_path": "WebAPI/Controllers/CarsController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159950"
} | starcoder | <gh_stars>1-10
using Business.Abstract;
using Entities.Concrete;
using Microsoft.AspNetCore.Mvc;
namespace WebAPI.Controllers
{
[Route("api/[controller]")]
[ApiController]
public class CarsController : ControllerBase
{
private readonly ICarService _carService;
public CarsController(IC... | 2.330961 | 0ab7790e4e21619c36514e3dceaeed06 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840731 | {
"extension": "c-sharp",
"max_stars_count": "31.0",
"max_stars_repo_name": "ModerRAS/nsonic",
"max_stars_repo_path": "NSonic/Assembly.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159951"
} | starcoder | <reponame>ModerRAS/nsonic
using System.Runtime.CompilerServices;
[assembly: InternalsVisibleTo("DynamicProxyGenAssembly2")]
[assembly: InternalsVisibleTo("NSonic.TerminalApp")]
[assembly: InternalsVisibleTo("NSonic.Tests")] | 0.815045 | 8c18e6a6f6faf0739b07332e638e58e8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840732 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dev-nm/CommunityServer",
"max_stars_repo_path": "module/ASC.Mail.Autoreply/ASC.Mail.Core/Net/SIP/Stack/SIP_Response.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159952"
} | starcoder | <reponame>dev-nm/CommunityServer<filename>module/ASC.Mail.Autoreply/ASC.Mail.Core/Net/SIP/Stack/SIP_Response.cs
/*
*
* (c) Copyright Ascensio System Limited 2010-2020
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may o... | 2.364804 | aa174de0b052c97e595acf23f2a2d5b9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840733 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "BigEggStudy/LeetCode-CS",
"max_stars_repo_path": "LeetCode.Test/0201-0250/0203-RemoveLinkedListElements-Test.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159953"
} | starcoder | <reponame>BigEggStudy/LeetCode-CS
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace LeetCode.Test
{
[TestClass]
public class _0203_RemoveLinkedListElements_Test
{
[TestMethod]
public void RemoveElements_1()
{
var head = TestHelper.GenerateList(new int[] { 1, ... | 2.364571 | 625ce538d9892b99e57f4bf2d692edd4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840734 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zackliu/azure-signalr",
"max_stars_repo_path": "src/Microsoft.Azure.SignalR.Protocols/GroupMessage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159954"
} | starcoder | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.Azure.SignalR.Protocol
{
/// <summary>
/// A join-group message.
/// </summary>
public class JoinGroupMessage : ServiceMessage
{... | 2.461222 | fd46d870cc90957c493bee9b84eeb56d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840735 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "SkillsFundingAgency/das-recru",
"max_stars_repo_path": "src/Employer/Employer.Web/ViewModels/VacancyPreview/ApproveJobAdvertViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159955"
} | starcoder | using Esfa.Recruit.Employer.Web.RouteModel;
using System.ComponentModel.DataAnnotations;
namespace Esfa.Recruit.Employer.Web.ViewModels.VacancyPreview
{
public class ApproveJobAdvertViewModel : VacancyRouteModel
{
[Required(ErrorMessage = "Select if you want to submit this job advert")]
public... | 1.63557 | d0282e4a0d60b7313b5e05b091c6e6f6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840736 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "CornelSora/TeamsExtensions",
"max_stars_repo_path": "Source/Microsoft.Teams.Apps.CompanyCommunicator.Prep.Func/PreparingToSend/SetNotificationMetadataActivity.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159956"
} | starcoder | <reponame>CornelSora/TeamsExtensions<filename>Source/Microsoft.Teams.Apps.CompanyCommunicator.Prep.Func/PreparingToSend/SetNotificationMetadataActivity.cs<gh_stars>1-10
// <copyright file="SetNotificationMetadataActivity.cs" company="Microsoft">
// Copyright (c) Microsoft. All rights reserved.
// </copyright>
namespa... | 2.280514 | 2d473852e37c50d68c44e2b409c6c8fa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840737 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "OlivierGagnon/GatherBuddy",
"max_stars_repo_path": "Managers/AetheryteManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159957"
} | starcoder | using Serilog;
using System.Collections.Generic;
using Dalamud.Plugin;
using Otter;
using System.Linq;
namespace Gathering
{
public class AetheryteManager
{
public readonly HashSet<Aetheryte> aetherytes = new();
private static double GetMapScale(DalamudPluginInterface pi, uint row... | 2.445434 | 99d375865408ed9aefc8a1d1a343fe57 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840738 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LumiteDubbz/Nuko-Bot",
"max_stars_repo_path": "src/Modules/Moderator/Kick.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159958"
} | starcoder | <gh_stars>0
using Discord;
using Discord.Commands;
using NukoBot.Common;
using System.Threading.Tasks;
namespace NukoBot.Modules.Moderator
{
public partial class Moderator
{
[Command("Kick")]
[Alias("boot")]
[Summary("Kick any player from the server.")]
[Remarks("\"@Magnesium O... | 2.098387 | 2ff3be9d006a0623049426e29f56932e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840739 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "IT-Academy-Kyrgyzstan/cs2001-ewallet",
"max_stars_repo_path": "Web/Views/Home/Index.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:159959"
} | starcoder | <reponame>IT-Academy-Kyrgyzstan/cs2001-ewallet
@using DataAccess
@model CardAccount[]
@{
ViewData["Title"] = "Home Page";
}
<div class="text-center">
<p style="font-size: xx-large"> <b>Welcome to eWallet</b></p>
</div>
<h2 class="text-center"> Cards and bills:</h2>
<p>Total cards: @Model.Length</... | 2.650681 | d5701e9af8e9a8718ace36be745891bd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840740 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "NilavPatel/Todo.CQRS",
"max_stars_repo_path": "Framework/Events/EventMetadata.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159960"
} | starcoder | using System;
namespace Framework.Events
{
public class EventMetadata
{
public string FullName { get; set; }
}
}
| 1.554319 | 16713ec1f769c87d11bb64e84b43ab9c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840741 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "forsbergsskola-se/cred",
"max_stars_repo_path": "Assets/00_Game/Scripts/Clothing/Upgrade/MessageUpCycleClothes.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159961"
} | starcoder | <gh_stars>0
namespace Clothing.Upgrade {
public class MessageUpCycleClothes {
public Wearable Wearable1 { get; }
public Wearable Wearable2 { get; }
public MessageUpCycleClothes(Wearable firstwearable, Wearable secondwearable) {
Wearable1 = firstwearable;
Wearable2 = ... | 1.57787 | 2fe2c2d1936419c991bb71fea0acded4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840742 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "vc3/Amnesia",
"max_stars_repo_path": "NullAsyncActivity.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159962"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Amnesia
{
class NullAsyncActivity : IAsyncActivity
{
public static IAsyncActivity Instance = new NullAsyncActivity();
private NullAsyncActivity() { }
public void Starting() { }
public void Ended() { }
public v... | 2.18417 | 58dd46539f23af06a298c12cfd9a4294 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840743 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hamzashoukat94/NCache-Samples",
"max_stars_repo_path": "dotnetcore/RefresherSample/TestingApp/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159963"
} | starcoder | <reponame>hamzashoukat94/NCache-Samples<filename>dotnetcore/RefresherSample/TestingApp/Program.cs
using RefresherSample;
using System;
using System.Collections.Generic;
namespace TestingApp
{
class Program
{
static void Main(string[] args)
{
IDictionary<string, string> parameters =... | 2.321926 | a239170a1f6c17a6d8ecca5b73106426 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840744 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "koliva8245/Heroes.Models",
"max_stars_repo_path": "Heroes.Models.Tests/UnitTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159964"
} | starcoder | <filename>Heroes.Models.Tests/UnitTests.cs
namespace Heroes.Models.Tests;
[TestClass]
public class UnitTests
{
private readonly Unit _unit = new();
private readonly Unit _nullUnit = new();
public UnitTests()
{
AddAbilities();
AddWeapons();
AddArmor();
}
[TestMethod]
... | 2.413744 | 12a2f81151deb18e2a938af8519839fc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840745 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "israelprofeasy/Ebook-Library-MVC",
"max_stars_repo_path": "EBookLibrary/EBookLibrary.DTOs/RatingDTOs/AddRatingResponseDto.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159965"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace EBookLibrary.DTOs.RatingDTOs
{
public class AddRatingResponseDto
{
public string Id { get; set; }
public string UserId { get; set; }
public string BookId { get; set; }
public int Ratings { get; set; ... | 1.589485 | 59995bb6647efd4eb47ef6940d1cc280 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840746 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "w3arthur/ReferenceCSharp",
"max_stars_repo_path": "ewmsCsharpUnDevelopVersion/ewmsCsharp/Interfaces/IItemInOrder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159966"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
//using Tergol_Classes.Interfaces;
using ewmsCsharp.Classes;
namespace ewmsCsharp.Interfaces
{
public interface IItemInOrder
{
Item Item { get; set; }
double Quanti... | 1.507885 | 83d40545fe1d019d5dc9251bc276e228 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840747 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "ChristopheDEBOVE/OpenHSK",
"max_stars_repo_path": "src/OpenHSK.Domain/Commands/UnitResult.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159967"
} | starcoder | <reponame>ChristopheDEBOVE/OpenHSK
namespace OpenHSK.Domain.Commands
{
public sealed class UnitResult
{
}
} | 0.731638 | dad8a112aa8b8bcd56e19820c0aab761 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840748 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jonasSchrGD/TerrainGenerator",
"max_stars_repo_path": "Assets/Scripts/ProceduralGeneration/Noise.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159968"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public static class Noise
{
//reference:
//https://www.youtube.com/watch?v=MRNFcywkUSA
public static float PerlinNoise(float x, float y, float scale, int octaves = 1, float persistence = 1, float lacunarity = 1)
{
f... | 2.978863 | 9cdee0c3ed3fdc19b080b41df0764db4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840749 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Unisol/Medical-System-Expansion---Revived",
"max_stars_repo_path": "1.1/Source/MedicalSystemExpansion/Harmony/MSE_SafeReflections.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159969"
} | starcoder | <filename>1.1/Source/MedicalSystemExpansion/Harmony/MSE_SafeReflections.cs
using System;
using System.Reflection;
using HarmonyLib;
namespace OrenoMSE.Harmony2
{
/*
// The code devrived from Zombieland mod by pardeike.
// The license : Free. As in free beer. Copy, learn and be respectful.
// --- githu... | 2.711259 | 30b066195477b3b74eaa4ceb6f926763 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840750 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "mprise-indigo/UncommonSense.CBreeze",
"max_stars_repo_path": "CBreeze/UncommonSense.CBreeze.Core/XmlPortNode.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159970"
} | starcoder | <filename>CBreeze/UncommonSense.CBreeze.Core/XmlPortNode.cs
using System;
using System.Linq;
using System.Collections;
using System.Collections.Generic;
using UncommonSense.CBreeze.Common;
namespace UncommonSense.CBreeze.Core
{
public abstract class XmlPortNode : KeyedItem<Guid>, IHasProperties, INode
{
... | 2.545578 | 1d9a08711634bf70f0ccd32e3ee7ca4b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840751 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dotsudo/plus-clean",
"max_stars_repo_path": "Communication/Packets/Incoming/GameCenter/GetPlayableGamesEvent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159971"
} | starcoder | <filename>Communication/Packets/Incoming/GameCenter/GetPlayableGamesEvent.cs
namespace Plus.Communication.Packets.Incoming.GameCenter
{
using HabboHotel.GameClients;
using Outgoing.GameCenter;
internal class GetPlayableGamesEvent : IPacketEvent
{
public void Parse(GameClient session, ClientPac... | 2.000061 | 975d8789cd8149c27abd46a2dc336c60 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840752 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nyf16/Bootcamp-Repeat-",
"max_stars_repo_path": "DotNetCoreIdentity/src/DotNetCoreIdentity.Web/Areas/CMS/Controllers/CategoryController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159972"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
using System.Security.Cryptography.X509Certificates;
using System.Threading.Tasks;
using DotNetCoreIdentity.Application;
using DotNetCoreIdentity.Application.CategoryServices.Dtos;
using Microsoft.AspNetCore.Authorization;... | 2.089196 | c55f53192ff84b0121e21f907fd6bea5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840753 | {
"extension": "c-sharp",
"max_stars_count": "22.0",
"max_stars_repo_name": "InformappNL/informapp-api-dotnet-client",
"max_stars_repo_path": "src/WebApi.Models/Version1/Errors/BadRequestV1Response.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159973"
} | starcoder | using Informapp.InformSystem.WebApi.Models.ExampleValues;
using Informapp.InformSystem.WebApi.Models.Version1.Constants;
using System.Collections.Generic;
using System.Runtime.Serialization;
namespace Informapp.InformSystem.WebApi.Models.Version1.Errors
{
/// <summary>
/// Version 1 bad request response
/... | 2.172644 | 5e99b51949393fed10a508bc42be664c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840754 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "SanguPackage/TWTactics",
"max_stars_repo_path": "TribalWars/Maps/AttackPlans/AttackPlanFrom.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159974"
} | starcoder | using System;
using System.Diagnostics;
using TribalWars.Villages;
using TribalWars.Villages.Units;
using TribalWars.Worlds;
namespace TribalWars.Maps.AttackPlans
{
/// <summary>
/// An attacking/defending village
/// </summary>
public class AttackPlanFrom
{
#region Properties
/// ... | 2.929497 | b1246087c89a766a664d6853b7b9d1c6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840755 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "solarisn/dropview",
"max_stars_repo_path": "3DModelImporter/Assets/SimpleObj/OrbCreationExtensions/FloatExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159975"
} | starcoder | <reponame>solarisn/dropview<filename>3DModelImporter/Assets/SimpleObj/OrbCreationExtensions/FloatExtensions.cs
/* OrbCreationExtensions 1.0 */
/* By Orbcreation BV */
/* <NAME> */
/* <EMAIL> */
/* March 31, 2015 */
/* games, co... | 2.520551 | 44cf36ba895017ea9c85b9f6036c714a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840756 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "plainionist/Plainion.GraphViz",
"max_stars_repo_path": "src/Plainion.GraphViz/Algorithms/RemoveNodesNotConnectedOutsideCluster.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159976"
} | starcoder | <reponame>plainionist/Plainion.GraphViz
using System;
using System.Collections.Generic;
using System.Linq;
using Plainion.GraphViz.Model;
using Plainion.GraphViz.Presentation;
namespace Plainion.GraphViz.Algorithms
{
/// <summary>
/// Generates "hide mask" removing all visible nodes from the given cluster wit... | 2.59934 | 501f214d2bbd8248c43bbe3f317abcff |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840757 | {
"extension": "c-sharp",
"max_stars_count": "68.0",
"max_stars_repo_name": "feO2x/Light.GuardClauses",
"max_stars_repo_path": "Code/Light.GuardClauses.Tests/CollectionAssertions/MustNotContainTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159977"
} | starcoder | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using FluentAssertions;
using Light.GuardClauses.Exceptions;
using Light.GuardClauses.FrameworkExtensions;
using Xunit;
namespace Light.GuardClauses.Tests.CollectionAssertions;
public static class MustNotContainTests
{
[Theory]... | 2.651114 | 2a4b267145604a645ec4b9889d40ef1e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840758 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zawupf/aoc",
"max_stars_repo_path": "2020/csharp/Aoc2020/Day14.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159978"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
namespace Aoc2020
{
public class Day14 : IDay
{
public override string Day { get; } = nameof(Day14)[3..];
public override string Result1() =>
new Computer().R... | 2.85227 | ae129223d8dc7e9db4ac260257b38a32 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840759 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "VictorSantosReis/CarenRengine",
"max_stars_repo_path": "Tests/CoreAudio/Enumerador Dispositivos/EnumerdorDispostiivos.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159979"
} | starcoder |
namespace CoreAudio_EnumeradorDispositivos
{
partial class EnumerdorDispostiivos
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
... | 2.18348 | 0adb6be1a5e7561e4e5794ffbe300746 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840760 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "XuPeiYao/XWidget.SwaggerUI",
"max_stars_repo_path": "XWidget.SwaggerUI.Test/UnitTest1.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159980"
} | starcoder | <filename>XWidget.SwaggerUI.Test/UnitTest1.cs
using System;
using Xunit;
namespace XWidget.SwaggerUI.Test {
public class UnitTest1 {
[Fact]
public void Test1() {
}
}
}
| 1.311462 | c33c797f7037358df70a04a4093720e0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840761 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "KatoTek/Gar",
"max_stars_repo_path": "Gar.Client.Bootstrapper/Registries/ClientUiRegistry.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159981"
} | starcoder | using Gar.Client.Ui.ViewModels;
using Gar.Root;
using Gar.Root.Contracts;
using StructureMap;
namespace Gar.Client.Bootstrapper.Registries
{
public class ClientUiRegistry : Registry
{
#region constructors
public ClientUiRegistry() =>
Scan(_ =>
{
... | 1.330088 | 4f0bce92dfff9ebdc9bfaebef2d91412 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840762 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Lelouch99/bot_cc",
"max_stars_repo_path": "Discord.Net/src/Discord.Net.WebSocket/Audio/Opus/OpusEncoder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159982"
} | starcoder | using System;
using System.Runtime.InteropServices;
namespace Discord.Audio
{
internal unsafe class OpusEncoder : OpusConverter
{
[DllImport("opus", EntryPoint = "opus_encoder_create", CallingConvention = CallingConvention.Cdecl)]
private static extern IntPtr CreateEncoder(int Fs, int ... | 2.499306 | 9a8aba5d40cdca94713fa76e12dfb350 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840763 | {
"extension": "c-sharp",
"max_stars_count": "19.0",
"max_stars_repo_name": "maiconheck/krafted",
"max_stars_repo_path": "src/Krafted/Krafted.Extensions/EnumerableExtension.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159983"
} | starcoder | using System.Linq;
namespace System.Collections.Generic
{
/// <summary>
/// Provides extension methods to <see cref="IEnumerable{T}"/>.
/// </summary>
public static class EnumerableExtension
{
/// <summary>
/// Verifies if the enumerable contains all the values.
/// </summar... | 3.763736 | 72ae73c0ad1ef9dc3c7b1e63f8596681 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840764 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wangweinjcn/deploySys",
"max_stars_repo_path": "deploySys.Server/lib/Middlewares/ApiAuthorizedOptions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159984"
} | starcoder | <gh_stars>0
namespace Ace.Web.Mvc.Middlewares
{
using FrmLib.Interface;
public class ApiAuthorizedOptions
{
public string Name { get; set; }
public string EncryptKey { get; set; }
public int ExpiredSecond { get; set; }
public bool isWeb { get; set; }
public... | 1.080337 | 2e55dee5c573c05c7b2b6f79f5022f6f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840765 | {
"extension": "c-sharp",
"max_stars_count": "44.0",
"max_stars_repo_name": "PotentialGames/Cal-tEspa-l",
"max_stars_repo_path": "BRGAME/Assets/Devdog/General/UI/Editor/Pickers/UnityEngineObjectPickerEditor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159985"
} | starcoder | using System;
using Object = UnityEngine.Object;
namespace Devdog.General.Editors
{
[CustomObjectPicker(typeof(UnityEngine.Object), -10)]
public class UnityEngineObjectPickerEditor : ObjectPickerBaseEditor
{
public override bool IsSearchMatch(Object asset, string searchQuery)
{
... | 2.324015 | 77e8a0b99312b303910fd9512f6d4051 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840766 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "kekyo/Fluorite",
"max_stars_repo_path": "Fluorite.Build/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159986"
} | starcoder | ////////////////////////////////////////////////////////////////////////////
//
// Fluorite - Simplest and fully-customizable RPC standalone infrastructure.
// Copyright (c) 2021 <NAME> (@kozy_kekyo, @kekyo2)
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in c... | 2.343069 | 53f7695867d75ec08b99311c62e8fea9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840767 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "skeyll/BlogSample",
"max_stars_repo_path": "Unity/TouchInput/SingleClick.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159987"
} | starcoder | using UnityEngine;
public class SingleClick : MonoBehaviour{
void Update(){
if (Input.GetMouseButton(0)){
Debug.Log("Punch");
}
}
}
| 1.987951 | 3c1a43cce8d024c658d7b4069a797f78 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840768 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sqeezy/ggj2019",
"max_stars_repo_path": "Ggj2019/Assets/Scripts/FogRevealArea.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159988"
} | starcoder | using UnityEngine;
namespace DefaultNamespace
{
[RequireComponent(typeof(Rigidbody))]
[RequireComponent(typeof(SphereCollider))]
public class FogRevealArea : MonoBehaviour
{
private Rigidbody _rigidBody;
private void Start()
{
_rigidBody = GetComponent<Rigidbody>();
_rigidBody.useGravity = false;
}
... | 2.182389 | 10814d63b4f08e62a7a3a570f2b4f01a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840769 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LBHackney-IT/housing-resident-information-api",
"max_stars_repo_path": "HousingResidentInformationAPI.Tests/V1/UseCase/GetAllResidentsUseCaseTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159989"
} | starcoder | using System.Collections.Generic;
using System.Linq;
using AutoFixture;
using FluentAssertions;
using Moq;
using NUnit.Framework;
using HousingResidentInformationAPI.V1.Boundary.Requests;
using HousingResidentInformationAPI.V1.Factories;
using HousingResidentInformationAPI.V1.Gateways;
using HousingResidentInformationA... | 2.424477 | 7b8c95413940e46fb3bdf08d2d2b0af4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840770 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "FreyaFreed/mordheim",
"max_stars_repo_path": "Assembly-CSharp/AmplifyColorTriggerProxy2D.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159990"
} | starcoder | using System;
using UnityEngine;
[global::UnityEngine.AddComponentMenu("")]
[global::UnityEngine.RequireComponent(typeof(global::UnityEngine.CircleCollider2D))]
[global::UnityEngine.RequireComponent(typeof(global::UnityEngine.Rigidbody2D))]
public class AmplifyColorTriggerProxy2D : global::AmplifyColorTriggerProxyBas... | 1.769742 | ea73da39bd530afdb0db0b18059e5d32 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840771 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "csharmath/SignalR",
"max_stars_repo_path": "SignalR/Infrastructure/DependencyResolverExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159991"
} | starcoder | <filename>SignalR/Infrastructure/DependencyResolverExtensions.cs
using System;
namespace SignalR.Infrastructure
{
public static class DependencyResolverExtensions
{
public static T Resolve<T>(this IDependencyResolver resolver)
{
return (T)resolver.GetService(typeof(T));
}
... | 2.361222 | 680e41dfca2c1baeaad4a03582b66d5b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840772 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rubilnik4/GadzhiResurrected",
"max_stars_repo_path": "GadzhiCommon/Models/Enums/LoggerLevel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159992"
} | starcoder | <reponame>rubilnik4/GadzhiResurrected<gh_stars>0
namespace GadzhiCommon.Models.Enums
{
/// <summary>
/// Уровни логгирования
/// </summary>
public enum LoggerLevel
{
Trace,
Debug,
Info
}
} | 1.501376 | df566463511e626c742f67e10c415b44 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840773 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "suncoast-software/SilkBot",
"max_stars_repo_path": "Commands/Miscellaneous/Nickname.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159993"
} | starcoder | <reponame>suncoast-software/SilkBot
using DSharpPlus.CommandsNext;
using DSharpPlus.CommandsNext.Attributes;
using DSharpPlus.Entities;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace SilkBot.Commands.Miscellaneous
{
public class Nickname : BaseCommandMod... | 2.48761 | b05902231f67b842bd14f9aec429fe46 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840774 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "guiportooo/chat-app",
"max_stars_repo_path": "backend/src/ChatApp.Api/HttpIn/Authentication/AuthenticationSettings.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159994"
} | starcoder | namespace ChatApp.Api.HttpIn.Authentication
{
public class AuthenticationSettings
{
public const string Name = "Authentication";
public AuthenticationSettings(string secret, int hoursToExpire)
{
Secret = secret;
HoursToExpire = hoursToExpire;
}
p... | 1.985702 | 7abe340ebd92de5848bbfb4aa795c7c7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840775 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "patrickCode/AutofacOnFunctions",
"max_stars_repo_path": "AutofacOnFunctions/Services/Ioc/ModuleCollector.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159995"
} | starcoder | <filename>AutofacOnFunctions/Services/Ioc/ModuleCollector.cs
using System;
using System.Collections.Generic;
using System.Linq;
using Autofac;
using AutofacOnFunctions.Exceptions;
using AutofacOnFunctions.Services.Modules;
namespace AutofacOnFunctions.Services.Ioc
{
public class ModuleCollector
{
publ... | 2.581213 | c1e517886fa1088dea5d2beebfe166fb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840776 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jonfee/Tiandao.CoreLibrary",
"max_stars_repo_path": "src/Tiandao.CoreLibrary/Services/IServiceBuilder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159996"
} | starcoder | using System;
using System.Collections.Generic;
namespace Tiandao.Services
{
public interface IServiceBuilder
{
object Build(ServiceEntry entry);
}
} | 1.384307 | 9eb64e24d5c183be99fc78b14c038b77 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840777 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "aaasoft/Quick.Blazor.Bootstrap",
"max_stars_repo_path": "Quick.Blazor.Bootstrap/Pagination.razor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159997"
} | starcoder | <gh_stars>0
using Microsoft.AspNetCore.Components;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Quick.Blazor.Bootstrap
{
public partial class Pagination
{
[Parameter]
public RenderFragment ChildContent { get; set;... | 2.08608 | 922224bc60995e9733a367e0066d4912 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840778 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Palomino34/jacdac-dotnet",
"max_stars_repo_path": "Jacdac/Constants/LedpixelConstants.g.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159998"
} | starcoder | namespace Jacdac {
public static partial class ServiceClasses
{
public const uint LedPixel = 0x126f00e0;
}
public enum LedPixelLightType: byte { // uint8_t
WS2812B_GRB = 0x0,
APA102 = 0x10,
SK9822 = 0x11,
}
public enum LedPixelVariant: byte { // uint8_t
... | 2.485402 | a347aeb8d6873020a9032d3f9d8c5a86 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840779 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "developersworkspace/EPONS",
"max_stars_repo_path": "SourceCode/EPONS/EPONS.Teddy.Application/Enums/UserType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159999"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EPONS.Teddy.Application.Enums
{
public enum UserType
{
SuperAdmin, CaseManager, Administrator, Other
}
}
| 1.406761 | 3f91fe1087e9db9551b26ed719aa24c7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840780 | {
"extension": "c-sharp",
"max_stars_count": "40.0",
"max_stars_repo_name": "openrasta/openrasta-core",
"max_stars_repo_path": "src/OpenRasta/Pipeline/KnownStages.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160000"
} | starcoder | <gh_stars>10-100
namespace OpenRasta.Pipeline
{
/// <summary>
/// Contains all the known stages
/// </summary>
public static class KnownStages
{
/// <summary>
/// Represents the first stage in the pipeline.
/// </summary>
public interface IBegin : IPipelineContributor
{
}
... | 2.307493 | 2931f2ca37799b5deff05529d5100f91 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840781 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "huamouse/Bank",
"max_stars_repo_path": "src/Bank.Services.ICBC/Business/Request/MybankPayCpayMemberapplyRequestV1.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160001"
} | starcoder | using System;
namespace Icbc.Business
{
public class MybankPayCpayMemberapplyRequestV1 : IcbcRequest<MybankPayCpayMemberapplyResponseV1>
{
public override HttpMethod Method => HttpMethod.Post;
public override string ServiceUrl => "https://gw.open.icbc.com.cn/api/mybank/pay/cpay/memberapply/V1... | 1.346001 | a53ac46f3bf8bfcc78b8b3895140549f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840782 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nurullahmeral/HesapKitap",
"max_stars_repo_path": "HesapKitapAnaDizin/HesapKitap/obj/Debug/netcoreapp3.1/Razor/Views/Home/Giderekle.cshtml.g.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160002"
} | starcoder | #pragma checksum "C:\Users\w10\Desktop\HesapKitapAnaDizin\HesapKitap\Views\Home\Giderekle.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "950a213c69994b4b771b7373246af79a5420f139"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(... | 1.266726 | f7ffa086ef6fe986bd961234614b38f3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840783 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Jubilein666/PermissionChanger",
"max_stars_repo_path": "PermissionChanger/PermissionChanger/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160003"
} | starcoder | <filename>PermissionChanger/PermissionChanger/Program.cs
using System;
using System.Windows.Forms;
using System.IO;
using System.Diagnostics;
namespace PermissionChanger
{
static class Program
{
/// <summary>
/// Der Haupteinstiegspunkt für die Anwendung.
/// </summary>
[STAThr... | 2.802931 | b9626944d17b910659092340de1286d5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840784 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "thisishuzaifa/a01-csharp",
"max_stars_repo_path": "AssignmentOne_Muhammad_Huzaifa_Khalid/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160004"
} | starcoder | <gh_stars>0
using System;
using System.IO;
using static AssignmentOne.Menu;
using static AssignmentOne.StoreData;
using static AssignmentOne.StoreStatistics;
namespace AssignmentOne
{
class MainClass
{
public static void Main(string[] args)
{
Menu mainMenu = new Menu();
... | 1.535661 | c5a53b4ca9f978134dd12da9c920fa57 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840785 | {
"extension": "c-sharp",
"max_stars_count": "211.0",
"max_stars_repo_name": "csmarvz/couchbase-net-client",
"max_stars_repo_path": "src/Couchbase/Core/Diagnostics/Metrics/MetricsRegistry.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160005"
} | starcoder | <gh_stars>100-1000
using App.Metrics;
using App.Metrics.ReservoirSampling.SlidingWindow;
using App.Metrics.Timer;
namespace Couchbase.Core.Diagnostics.Metrics
{
/// <summary>
/// A registry for metrics definitions
/// </summary>
public static class MetricsRegistry
{
public static TimerOptio... | 1.422147 | bb7d5341f8c45e4628522c04ec42bea0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840786 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "tommasobertoni/log4net.Elasticsearch.Async",
"max_stars_repo_path": "tests/log4net.AsyncAppender.HttpEndpoint.Tests/HttpEndpointTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160006"
} | starcoder | <reponame>tommasobertoni/log4net.Elasticsearch.Async<gh_stars>1-10
using Xunit;
using Xunit.Abstractions;
using static Tests.MockFactory;
namespace Tests
{
public class HttpEndpointTests
{
private readonly TestableHttpEndpointAsyncAppender _appender;
private readonly MockErrorHandler _eh;
... | 1.745595 | 2b4ffdb5ca7016560edf308efbc4751f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840787 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "AtaTrkgl/Unity-UI-Library",
"max_stars_repo_path": "Assets/DartCore/UI/Scripts/Editor/ButtonPlusEditor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160007"
} | starcoder | using UnityEditor;
using UnityEditor.UI;
using UnityEngine;
namespace DartCore.UI
{
[CustomEditor(typeof(ButtonPlus))]
public class ButtonPlusEditor : ButtonEditor
{
public override void OnInspectorGUI()
{
base.OnInspectorGUI();
EditorGUILayout.PropertyField(serial... | 1.707693 | 4f18915eefb1020b5ae5641d0f68fb04 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840788 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "merieskelinen/SolidPrinciplesWorkshop",
"max_stars_repo_path": "SOLID.Principles.Workshop/SRP/Entities/Order.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160008"
} | starcoder | <filename>SOLID.Principles.Workshop/SRP/Entities/Order.cs
using System.Collections.Generic;
namespace SRP.Entities
{
public class Order : object
{
public string orderEmail { get; set; }
public KeyValuePair<string, decimal> pizza { get; set; }
public List<string> toppings { get; set; }
... | 2.074178 | 8bb1931b574b776a478b0372897509f5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840789 | {
"extension": "c-sharp",
"max_stars_count": "607.0",
"max_stars_repo_name": "AIHZP/andysworkshop-stm32plus",
"max_stars_repo_path": "utils/bm2rgbi/bm2rgbi/HX8347AConverter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160009"
} | starcoder | <reponame>AIHZP/andysworkshop-stm32plus
using System;
namespace bm2rgbi {
/// <summary>
/// Convert to HX8347A internal format
/// </summary>
abstract public class HX8347AConverter {
/// <summary>
/// Get an instance of the converter
/// </summary>
static public IBitmapConverter creat... | 2.485059 | 2f21ddf5841d81ef80a1490e4537d47f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840790 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "darkeght/SQLWEBSITEMANAGER",
"max_stars_repo_path": "usys.site.officer.responder/SiteResponder/RegistrosConsulta.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160010"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SiteResponder
{
public class RegistrosConsulta
{
}
}
| 0.737527 | 1976fd845c2d65abe4e6256684dc6172 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840791 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rmacfie/Fixera",
"max_stars_repo_path": "Fixera.NSubstitute/Fixture.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160011"
} | starcoder | namespace Fixera
{
public abstract class Fixture : FixtureBase
{
protected Fixture() : base(new NSubstituteFakeFactory())
{
}
}
}
| 1.334589 | fbd47da2e6ef36988f6df196014372eb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840792 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "hmehr/OSS",
"max_stars_repo_path": "MemoryLifter/Development/Current/MLifter.DAL/XML/XmlQueryDirections.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160012"
} | starcoder | <reponame>hmehr/OSS
/***************************************************************************************************************************************
* Copyright (C) 2001-2012 LearnLift USA *
* Contact: Learnlift USA, 12 Greenway Plaza, Suite 1510, Houston, Texas 77046, <EMAIL> *
* ... | 1.993861 | 07a44ba93f05ad925aac17502d8e591a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840793 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "PassKit/passkit-csharp-grpc-sdk",
"max_stars_repo_path": "src/PassKit/Grpc/ARpcOthersGrpc.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160013"
} | starcoder | <filename>src/PassKit/Grpc/ARpcOthersGrpc.cs
// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: io/core/a_rpc_others.proto
// </auto-generated>
#pragma warning disable 0414, 1591
#region Designer generated code
using grpc = global::Grpc.Core;
namespace PassKit.Grpc {
... | 1.590853 | f817b96bbb0748e7e547e953ad8409f5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840794 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "nrjohnstone/AmbientContext.LogService.Serilog",
"max_stars_repo_path": "src/AmbientContext.LogService.Serilog/AmbientLogService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160014"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using Serilog;
namespace AmbientContext.LogService.Serilog
{
public class AmbientLogService : AmbientService<ILogger>, ILogger
{
protected static readonly List<LogHandlerBase> Handlers = new List<... | 2.615343 | 0ea2581ca93fca41a88ddf85eee3eacc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840795 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sandrohanea/Unoversal.MediaPlayer",
"max_stars_repo_path": "src/Unoversal.MediaPlayer.Wasm/UnoversalMediaPlayer.Wasm.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160015"
} | starcoder | <reponame>sandrohanea/Unoversal.MediaPlayer
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Unoversal.MediaPlayer.Wasm;
using Windows.Media.Core;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Media;
namespace Unoversal.MediaPlayer
{
#pr... | 1.763849 | af4f2a833ccafc74ba3f38280c321e69 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840796 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "niklaslundberg/Arbor.KVConfiguration",
"max_stars_repo_path": "test/Arbor.KVConfiguration.Tests.Unit/when_serializing_and_deserializing_two_keys.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160016"
} | starcoder | using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using Arbor.KVConfiguration.Core.Metadata;
using Arbor.KVConfiguration.Schema.Json;
using Machine.Specifications;
namespace Arbor.KVConfiguration.Tests.Unit
{
[Subject(typeof(JsonConfigurationSerializer))]
p... | 2.301264 | a39105e0b1eaf30ff8434d9eb0276e83 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840797 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "dsalunga/mPortal",
"max_stars_repo_path": "Portal/WebSystem/WebSystem-MVC/Content/Admin/WebLogs.aspx.designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160017"
} | starcoder | <reponame>dsalunga/mPortal
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.3074
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.... | 1.201843 | a725a520a777e17686285d3f4d39ad85 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840798 | {
"extension": "c-sharp",
"max_stars_count": "140.0",
"max_stars_repo_name": "punker76/Biaui",
"max_stars_repo_path": "Biaui/source/Biaui/Controls/BiaFilteringComboBox.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160018"
} | starcoder | <filename>Biaui/source/Biaui/Controls/BiaFilteringComboBox.xaml.cs
using System;
using System.Diagnostics;
using System.Linq;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
using Biaui.Internals;
namespace Biaui.Controls
{
public class BiaFilteringComboBox : ComboBox
{
... | 2.349668 | 90fe11c728f28de933663730f71b91bb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840799 | {
"extension": "c-sharp",
"max_stars_count": "141.0",
"max_stars_repo_name": "christianvozar/pablodraw",
"max_stars_repo_path": "Source/Pablo/Formats/Character/Actions/Block/FlipY.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160019"
} | starcoder | using Eto.Forms;
using Eto.Drawing;
using System;
using Pablo.Formats.Character.Tools;
namespace Pablo.Formats.Character.Actions.Block
{
public class FlipY : Command
{
Selection tool;
public FlipY(Selection tool)
{
this.tool = tool;
ID = "character_FlipY";
MenuText = "Flip &Y";
ToolBarText = "Flip ... | 2.475524 | 2ff11cc162aaa66e6b429cade0b239be |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840800 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "lukaspj/T3DSharp-Sample",
"max_stars_repo_path": "t3dsharp/T3DSharpFramework/Generated/Classes/Sim/WaterPlane.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160020"
} | starcoder | <filename>t3dsharp/T3DSharpFramework/Generated/Classes/Sim/WaterPlane.cs
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using T3DSharpFramework.Engine;
using T3DSharpFramework.Engine.Util;
using T3DSharpFramework.Generated.Classes.Global;
using T3DSharpFramework.Generated.Classes.... | 2.207177 | d69c913c6a5b8db7791f1c0f37256285 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840801 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GitHarr/SoftUni",
"max_stars_repo_path": "Homework/C#Fundamentals/C#Advanced/CSharpAdvancedExam11Feb2018/04. Hit List/StartUp.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160021"
} | starcoder | <reponame>GitHarr/SoftUni<filename>Homework/C#Fundamentals/C#Advanced/CSharpAdvancedExam11Feb2018/04. Hit List/StartUp.cs
using System;
using System.Collections.Generic;
using System.Linq;
namespace _04._Hit_List
{
public class StartUp
{
public static void Main()
{
var allInfo = ne... | 3.323909 | 017378ec66072ac405153b81ea4fe401 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840802 | {
"extension": "c-sharp",
"max_stars_count": "835.0",
"max_stars_repo_name": "PieterJanVR/fo-dicom",
"max_stars_repo_path": "Tests/FO-DICOM.Benchmark/ParseDatasetBenchmark.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160022"
} | starcoder | // Copyright (c) 2012-2021 fo-dicom contributors.
// Licensed under the Microsoft Public License (MS-PL).
using BenchmarkDotNet.Attributes;
using System.IO;
using System.Reflection;
namespace FellowOakDicom.Benchmark
{
[MemoryDiagnoser]
public class ParseDatasetBenchmark
{
private readonly string... | 2.231429 | 654ac0afb70fbdddab03a7359ad5e758 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840803 | {
"extension": "c-sharp",
"max_stars_count": "128.0",
"max_stars_repo_name": "vishal1009/winforms-datavisualization",
"max_stars_repo_path": "src/System.Windows.Forms.DataVisualization/Annotation/RectangleAnnotation.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160023"
} | starcoder | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
//
// Purpose: Rectangle, Ellipse and 3DBorder annotation classes.
//
using System.ComponentModel;
using System... | 2.456133 | 35386d2b18fea53a683c546a561ea0ff |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840804 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "YShimon/WPFSample",
"max_stars_repo_path": "WPFSample/Util/Behaviour/MouseOver.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160024"
} | starcoder | using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
using System.Windows.Interactivity;
namespace WPFSample.Util.Behaviour
{
/// <summary>
/// Buttonに対して適用可能なBehavior
/// </summary>
public class MouseOver : Behavior<Button>
{
/// <summary>
/// メッセージ
... | 2.845041 | 599c66630167f4fa6f571b7dabcc50c2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840805 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "k0uta/K10",
"max_stars_repo_path": "Common/Utils/GUIEnabledManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160025"
} | starcoder | <reponame>k0uta/K10<filename>Common/Utils/GUIEnabledManager.cs<gh_stars>1-10
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class GUIEnabledManager
{
static List<bool> _enables = new List<bool>();
public static void New( bool enabled )
{
_enables.Add( GUI.enabled );
GUI.... | 2.305776 | fc4201fbebb32e26b7c84b5648998f5b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840806 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "yonifra/lineman2d",
"max_stars_repo_path": "Assets/Scripts/Erik Clean-Up/DialogueTrigger.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160026"
} | starcoder | <filename>Assets/Scripts/Erik Clean-Up/DialogueTrigger.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/*Triggers a dialogue conversation, passing unique commands and information to the dialogue box and inventory system for fetch quests, etc.*/
public class DialogueTrigger : MonoBeh... | 2.397606 | 85d1dd4ece97e4ec7954c93e2155b209 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840807 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "madiantech/tkcore",
"max_stars_repo_path": "Data/YJC.Toolkit.Razor/_Razor/EmbeddedRazorProject.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160027"
} | starcoder | <reponame>madiantech/tkcore<filename>Data/YJC.Toolkit.Razor/_Razor/EmbeddedRazorProject.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using YJC.Toolkit.Sys;
namespace YJC.Toolkit.Razor
{
internal class EmbeddedRazorProject : TkRazorPro... | 2.110816 | 0f37d48a577258dfb631461cbb3172ae |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840808 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "Crab-Wave/ora",
"max_stars_repo_path": "ORA.Core.Tests/Managers/ClusterManagerTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160028"
} | starcoder | using System;
using FluentAssertions;
using ORA.API;
using Xunit;
namespace ORA.Core.Tests.Managers
{
public class ClusterManagerTests : IClassFixture<CoreInitializationFixture>
{
private readonly Random _random;
public ClusterManagerTests()
{
this._random = n... | 2.26916 | 1cc67a69bd9f4e7b06e9d40a698cdcbe |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840809 | {
"extension": "c-sharp",
"max_stars_count": "212.0",
"max_stars_repo_name": "AgFlore/vocadb",
"max_stars_repo_path": "VocaDbModel/Mapping/Albums/AlbumPictureFileMap.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160029"
} | starcoder | #nullable disable
using FluentNHibernate.Mapping;
using VocaDb.Model.Domain.Albums;
namespace VocaDb.Model.Mapping.Albums
{
public class AlbumPictureFileMap : ClassMap<AlbumPictureFile>
{
public AlbumPictureFileMap()
{
Id(m => m.Id);
Map(m => m.Created).Not.Nullable();
Map(m => m.Mime).L... | 1.888627 | 9954449af7e8dce7d739b9b6f3283b17 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840810 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "josemnbcamacho/higher-lower",
"max_stars_repo_path": "HigherOrLower.API/Models/Entities/Mappings/RankMapping.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160030"
} | starcoder | namespace HigherOrLower.API.Models.Entities.Mappings;
public static class RankMapping
{
public static readonly Dictionary<Rank, string> CardRankNames = new()
{
{Rank.Ace, "Ace"},
{Rank.Two, "Two"},
{Rank.Three, "Three"},
{Rank.Four, "Four"},
{Rank.Five, "Five"},
... | 2.482841 | 90b1cbc1a8064bb21c51aecdf82a0420 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840811 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AzureDay/2016-WebSite",
"max_stars_repo_path": "TeamSpark.AzureDay.WebSite.Host/Controllers/Api/PriceController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160031"
} | starcoder | <reponame>AzureDay/2016-WebSite
using System.Collections.Generic;
using System.Threading.Tasks;
using System.Web.Http;
using Kaznachey.KaznacheyPayment;
using Microsoft.ApplicationInsights;
using TeamSpark.AzureDay.WebSite.App;
using TeamSpark.AzureDay.WebSite.Data.Enum;
using TeamSpark.AzureDay.WebSite.Notification;
... | 1.831002 | c3f6cfa9b23ece9855b59f65afea30c7 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.