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 | 8842212 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dmarkovitch/stateless",
"max_stars_repo_path": "Stateless/DynamicTriggerBehaviour.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161432"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Stateless
{
public partial class StateMachine<TState, TTrigger>
{
internal class DynamicTriggerBehaviour : TriggerBehaviour
{
readonly Func<object[], TState> _destination;
public DynamicT... | 2.673004 | 2f9afd066341afbe1ce16bd3ab95bcbf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842213 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "oldschool-otaku/osu",
"max_stars_repo_path": "osu.Game.Rulesets.Catch/Skinning/Legacy/LegacyHitExplosion.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161433"
} | starcoder | <gh_stars>0
// Copyright (c) p<NAME> <<EMAIL>>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Sprites;
using ... | 1.656595 | e45e87ffe1764ff9d58e23e791c149e1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842214 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "csc414/Dapper.Easies",
"max_stars_repo_path": "Dapper.Easies/Abstractions/IGeneralDbQuery.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161434"
} | starcoder | <reponame>csc414/Dapper.Easies<filename>Dapper.Easies/Abstractions/IGeneralDbQuery.cs
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Text;
namespace Dapper.Easies
{
public interface IGeneralDbQuery<T> : IDbQuery, ISelectedDbQuery<T>, IAggregateDbQuery<T>
{
... | 2.273818 | d0008eed9dfbe73e81c130edf7af38e7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842215 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "forki/dedilib",
"max_stars_repo_path": "src/app/DediLib/Net/IPRangeDictionary.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161435"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Sockets;
using System.Numerics;
namespace DediLib.Net
{
public class IPRangeDictionary<T>
{
private readonly SortedList<ulong, SortedList<ulong, T>> _dictIpv4;
private readonly SortedList<BigI... | 2.558219 | 8fc338e0cdd0b31edf9f658cbdbe2e0d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842216 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "corvus-dotnet/Corvus.Retry",
"max_stars_repo_path": "Solutions/Corvus.Retry/Corvus/Retry/RetryTask{T}.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161436"
} | starcoder | <reponame>corvus-dotnet/Corvus.Retry
// <copyright file="RetryTask{T}.cs" company="Endjin Limited">
// Copyright (c) Endjin Limited. All rights reserved.
// </copyright>
namespace Corvus.Retry
{
using System.Threading.Tasks;
using Corvus.Retry.Async;
using Corvus.Retry.Policies;
/// <summary>
///... | 2.566266 | 83621de9408f7f8e3aeb9e3e470690e5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842217 | {
"extension": "c-sharp",
"max_stars_count": "30.0",
"max_stars_repo_name": "joaofbantunes/OOPsIDidItAgain",
"max_stars_repo_path": "src/OOPsIDidItAgain.02.SuperService.Web/Controllers/CartsController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161437"
} | starcoder | using System;
using System.Linq;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using OOPsIDidItAgain._02.SuperService.Web.Data;
using OOPsIDidItAgain._02.SuperService.Web.Exceptions;
using OOPsIDidItAgain._02.SuperService.Web.Models;
using OOPsIDidItAgain._02.SuperService.Web.Services;
namespace... | 2.287046 | 4486618d8c52356fd67b9d788012741d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842218 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Karlyshev/AvalonStudio",
"max_stars_repo_path": "AvalonStudio/AvalonStudio.Debugging/MemoryBytesViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161438"
} | starcoder | namespace AvalonStudio.Debugging
{
using MVVM;
using System.Threading.Tasks;
public abstract class MemoryBytesViewModel : ViewModel
{
public abstract Task InvalidateAsync(IDebugger2 debugger);
}
} | 1.348487 | 7cd7adabfe886d26b585e1435295f072 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842219 | {
"extension": "c-sharp",
"max_stars_count": "113.0",
"max_stars_repo_name": "exrin/exrin",
"max_stars_repo_path": "Exrin/Exrin.Framework/Abstraction/IMultiView.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161439"
} | starcoder | <gh_stars>100-1000
namespace Exrin.Abstraction
{
using System.Collections.Generic;
public interface IMultiView: IView
{
IList<IView> Views { get; }
}
}
| 1.610764 | 176916293f0b338d381a708c03a22e70 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842220 | {
"extension": "c-sharp",
"max_stars_count": "38.0",
"max_stars_repo_name": "JSkimming/abioc",
"max_stars_repo_path": "src/Abioc/Registration/IRegistration.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161440"
} | starcoder | // Copyright (c) 2017 <NAME>. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
namespace Abioc.Registration
{
using System;
using System.Collections.Generic;
using System.Linq;
/// <summary>
/// The interface that all... | 2.302473 | 82056ace94920952a1239fc7b17d74f1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842221 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ankeshdave/BetterMembership.Net",
"max_stars_repo_path": "Source/BetterMembership/Facades/WebSecurityFacade.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161441"
} | starcoder | <reponame>ankeshdave/BetterMembership.Net
namespace BetterMembership.Facades
{
using CuttingEdge.Conditions;
using WebMatrix.WebData;
internal sealed class WebSecurityFacade : IWebSecurityFacade
{
public void InitializeDatabaseConnection(
string connectionStringName,
... | 1.745245 | a6229552cc1412af3977e571bf5a739c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842222 | {
"extension": "c-sharp",
"max_stars_count": "793.0",
"max_stars_repo_name": "dguder/wixsharp",
"max_stars_repo_path": "Source/src/WixSharp/PermissionEx.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161442"
} | starcoder | <gh_stars>100-1000
namespace WixSharp
{
/// <summary>
/// Sets ACLs on File, Registry, CreateFolder, or ServiceInstall. When under a Registry element, this cannot be used if the Action attribute's value is remove or removeKeyOnInstall. This element has no Id attribute. The table and key are taken from the paren... | 2.162941 | 4903279b47f25ddf93577ffee195fc7f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842223 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pocheshire/AppRopio.Mobile",
"max_stars_repo_path": "src/app-ropio/AppRopio.Payments/YandexKassa/iOS/YandexKassaViewController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161443"
} | starcoder | using AppRopio.Base.iOS;
using AppRopio.Base.iOS.Views;
using AppRopio.Payments.YandexKassa.Core.ViewModels.YandexKassa;
using MvvmCross.Binding.BindingContext;
namespace AppRopio.Payments.YandexKassa.iOS
{
public partial class YandexKassaViewController : CommonViewController<IYandexKassaViewModel>
{
... | 1.759496 | d1529fd7bd7ed77b7799b79a5c124366 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842224 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "Gfi-Innovation/UMI3D-Desktop-Browser",
"max_stars_repo_path": "UMI3D-Browser-Desktop/Assets/UMI3D SDK/Common/Core/Runtime/Dto/Utils/SerializableColor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161444"
} | starcoder | /*
Copyright 2019 - 2021 Inetum
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
... | 2.584394 | 35fa1bd602e34fba10194546406b7c1b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842225 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "NulledLabs/Microshell",
"max_stars_repo_path": "src/Microshell/Expression.Parser/Variable.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161445"
} | starcoder | <reponame>NulledLabs/Microshell
using System;
using Microsoft.SPOT;
namespace Microshell.Expression.Parser
{
//public class Variable
//{
// public string Name;
// public Type Type;
// public bool ReadOnly;
//}
}
| 1.071467 | 5bd67c543abf4b7cc539ffaf9ef47e7c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842226 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Jandev/CustomBindings",
"max_stars_repo_path": "MyFirstCustomBindingLibrary/MySimpleBindingStartup.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161446"
} | starcoder | <gh_stars>1-10
using Microsoft.Azure.WebJobs;
using Microsoft.Azure.WebJobs.Hosting;
using MyFirstCustomBindingLibrary;
[assembly: WebJobsStartup(typeof(MySimpleBindingStartup))]
namespace MyFirstCustomBindingLibrary
{
public class MySimpleBindingStartup : IWebJobsStartup
{
public void Configure(IWebJ... | 1.683181 | 2baec4072d8605344f597aef0d4ed7b4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842227 | {
"extension": "c-sharp",
"max_stars_count": "650.0",
"max_stars_repo_name": "dariabokareva/vk",
"max_stars_repo_path": "VkNet/Model/TokenPermission.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161447"
} | starcoder | using System;
using Newtonsoft.Json;
namespace VkNet.Model
{
/// <summary>
/// Настройка
/// </summary>
[Serializable]
public class TokenPermission
{
/// <summary>
/// Битовая маска права доступа
/// </summary>
[JsonProperty("setting")]
public long Setting { get; set; }
/// <summary>
/// Название ... | 2.282605 | 633354763d2d9fa4f7dea932b4ead782 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842228 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TheFallender/Game_AI_Thesis",
"max_stars_repo_path": "Assets/Scripts/AI/BT/Composites/ConditionalBranch.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161448"
} | starcoder | using BehaviorDesigner.Runtime.Tasks;
[TaskDescription("Branch to the left or right based on if it is true or false (true: left and false: right)")]
[TaskIcon("{SkinColor}Conditional.png")]
public class ConditionalBranch : Composite {
//The index will be modified based on the result of
//the conditional.
/... | 2.968395 | edb82df707be08eb0620dbcc3b1b8fe2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842229 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "musictopia2/GamingPackXV3",
"max_stars_repo_path": "CP/Games/XactikaCP/ViewModels/XactikaShellViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161449"
} | starcoder | namespace XactikaCP.ViewModels;
public class XactikaShellViewModel : BasicTrickShellViewModel<XactikaPlayerItem>
{
public XactikaShellViewModel(IGamePackageResolver mainContainer,
CommandContainer container,
IGameInfo gameData,
BasicData basicData,
IMultiplayerSaveState save,
... | 1.788765 | dce9eda91c2ca3992383e60867c31ff5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842230 | {
"extension": "c-sharp",
"max_stars_count": "21.0",
"max_stars_repo_name": "InstantBusinessNetwork/IBN",
"max_stars_repo_path": "Source/Server/Mediachase.Net.Mail/Pop3Message.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161450"
} | starcoder | using System;
using System.IO;
using System.Collections;
using System.Globalization;
namespace Mediachase.Net.Mail
{
/// <summary>
/// Summary description for Pop3Message.
/// </summary>
public class Pop3Message
{
private MemoryStream _EMailBinaryData = null;
private Rfc822HeaderCollection _headers = new... | 2.466719 | bfab74f9cdd7fed7ed0e573417c61373 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842231 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "leo-pimenta/aws-test",
"max_stars_repo_path": "Startup/CustomActionFilterAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161451"
} | starcoder | using aws_test.Dto;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Filters;
using Microsoft.AspNetCore.Mvc.ModelBinding;
namespace aws_test.Startup
{
public class CustomActionFilterAttribute : ActionFilterAttribute
{
public override void OnActionExecuting(ActionExecutingContext context)... | 2.431042 | b7417778fc8ea3a52eec483fdbd3ed65 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842232 | {
"extension": "c-sharp",
"max_stars_count": "28.0",
"max_stars_repo_name": "kalilistic/Kapture",
"max_stars_repo_path": "src/Aetherbridge/Model/PluginUpdateSettings.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161452"
} | starcoder | <filename>src/Aetherbridge/Model/PluginUpdateSettings.cs
using System.Net.Http;
namespace ACT_FFXIV.Aetherbridge
{
public class PluginUpdaterSettings
{
public string AuthorName;
public string FailureMessage;
public HttpClient HTTPClient;
public bool IncludePreRelease;
public string PluginPath;
public st... | 1.739545 | 03724e5297a4a47a9d14380cb991d4dc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842233 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "0xCM/z0",
"max_stars_repo_path": "native/mkl/src/imports/lapack/getrf.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161453"
} | starcoder | //-----------------------------------------------------------------------------
// Copyright : (c) <NAME>, 2020
// License : MIT
//-----------------------------------------------------------------------------
namespace Z0.Mkl
{
using System;
using System.Runtime.CompilerServices;
using System.Runtim... | 2.126988 | cbc8fc993cd52d1affb8a564971ca12e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842234 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "anzwdev/az-al-dev-tools-server",
"max_stars_repo_path": "AZALDevToolsServer/Shared.AnZwDev.ALTools/ALLanguageInformation/ApplicationAreaCaseInformation.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161454"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace AnZwDev.ALTools.ALLanguageInformation
{
public static class ApplicationAreaCaseInformation
{
private static CaseInformationCollection _values = null;
public static CaseInformationCollection Values
{
... | 2.150342 | d4a7b0f730fd11c98a67b6d493450a2c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842235 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Icenium/XDMessaging.Net",
"max_stars_repo_path": "Source/XDMessaging.Transport.IOStream/Properties/AssemblyInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161455"
} | starcoder | <reponame>Icenium/XDMessaging.Net
using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("XDMessaging.Transport.IOStream")]
[assembly: AssemblyProduct("XDMessaging.Transport.IOStream")]
[assembly: ComVisible(false)]
[assembly: Guid("20d1b1bb-0f63-4c6d-9b69-b5357e9dad26")] | 1.051542 | b8261efc769f8f62d2843dcdb7aa0a7a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842236 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "jefersonsv/ChromeRemoteSharp",
"max_stars_repo_path": "src/ChromeRemoteSharp/NetworkDomain/SetCookieAsync.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161456"
} | starcoder | <filename>src/ChromeRemoteSharp/NetworkDomain/SetCookieAsync.cs
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json.Linq;
namespace ChromeRemoteSharp.NetworkDomain
{
public partial class NetworkDomain
{
/// <summary>
/// Sets a ... | 2.778514 | acdd0647d0a3d352362a9b17e519642b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842237 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "angusbeef93/screen-access",
"max_stars_repo_path": "ScreenAssistant/Games/ApLeg/Weapons/Alternator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161457"
} | starcoder | namespace TiqSoft.ScreenAssistant.Games.ApLeg.Weapons
{
internal sealed class Alternator : UniqueLogicWeapon
{
public Alternator(string name, double burstSeconds, string recognizedName, int numOfMods)
: base(name, burstSeconds, recognizedName, numOfMods)
{
}
... | 2.50765 | d2c5441b1219dd4e807451a5b6bc6bfd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842238 | {
"extension": "c-sharp",
"max_stars_count": "18.0",
"max_stars_repo_name": "daramkun/DaramRenamer",
"max_stars_repo_path": "DaramRenamer.Commands/RenameMode.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161458"
} | starcoder | namespace DaramRenamer
{
public enum RenameMode
{
Move,
Copy,
}
}
| 1.481935 | 2d95afebc584730723e7476009ac4961 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842239 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "vishalishere/remi",
"max_stars_repo_path": "ReMi.Api/Tests/ReMi.CommandHandlers.Tests/ReleasePlan/UpdateTicketLabelsCommandHandlerTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161459"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using AutoMapper;
using FizzWare.NBuilder;
using Moq;
using NUnit.Framework;
using ReMi.BusinessEntities.ReleasePlan;
using ReMi.CommandHandlers.ReleasePlan;
using ReMi.Commands.ReleaseExecution;
using ReMi.TestUtils.UnitTests;
using ReMi.Contracts.Plug... | 2.153389 | c506294363148bf9a49bcf898516fe3d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842240 | {
"extension": "c-sharp",
"max_stars_count": "28.0",
"max_stars_repo_name": "greymind/WebApiToTypeScript",
"max_stars_repo_path": "src/WebApiToTypeScript/WebApi/WebApiAction.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161460"
} | starcoder | using Mono.Cecil;
using System.Collections.Generic;
using System.Linq;
using WebApiToTypeScript.Types;
namespace WebApiToTypeScript.WebApi
{
public class WebApiAction : ServiceAware
{
public string Name { get; set; }
public string Route { get; set; }
public string Endpoint { get; set; ... | 2.160437 | 8f01f43e1fd942352777186f62e304ad |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842241 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tanzimsiddiqee/StudyMaterialsSharingSystem",
"max_stars_repo_path": "StudyMaterialsSharingSystem/Views/Books/Details.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:161461"
} | starcoder | @model StudyMaterialsSharingSystem.Models.Book
@{
ViewData["Title"] = "Details";
}
<div class="container">
<div class="card o-hidden border-0 shadow-lg my-5">
<div class="card-body p-0">
<!-- Nested Row within Card Body -->
<div class="row">
<div class="col-lg-... | 2.132421 | 26e7e1bc3e8bed0eef83ec557b1b84e5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842242 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "clmrosey/tictac",
"max_stars_repo_path": "Tictac/Assets/Standard Assets/2D/Scripts/WeaponScript.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161462"
} | starcoder | <gh_stars>0
using UnityEngine;
/// <summary>
/// Crée des projectiles
/// </summary>
public class WeaponScript : MonoBehaviour
{
//--------------------------------
// 1 - Designer variables
//--------------------------------
/// <summary>
/// Prefab du projectile
/// </summary>
public Transform shotPrefab;
... | 2.451799 | 6c0f0a3fe815ec83f933848bd76559a9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842243 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "elastic/elastic-stack-installers",
"max_stars_repo_path": "src/build/BullseyeTargets/CompileMsiTarget.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161463"
} | starcoder | <reponame>elastic/elastic-stack-installers
using System.IO;
using System.Threading.Tasks;
using ElastiBuild.Commands;
using ElastiBuild.Extensions;
using Elastic.Installer;
namespace ElastiBuild.BullseyeTargets
{
public class CompileMsiTarget : BullseyeTargetBase<CompileMsiTarget>
{
public static asyn... | 1.665439 | 110e08d54f210bb6749631cade3c961f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842244 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DrBibop/EnforcerMod",
"max_stars_repo_path": "EnforcerMod_VS/Components/TearGasComponent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161464"
} | starcoder | <gh_stars>0
using Modules;
using RoR2;
using System;
using UnityEngine;
namespace EnforcerPlugin {
public class TearGasComponent : MonoBehaviour
{
private int count;
private int lastCount;
private uint playID;
public static event Action<int> CheckImpairedCount = delegate { };
... | 2.071344 | 31ecb2f3667921fb1f4b8d31d4a0def6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842245 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "devntofficial/CloudConsultRC",
"max_stars_repo_path": "UI/Blazor/CloudConsult.UI.Data/Authentication/RoleData.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161465"
} | starcoder | namespace CloudConsult.UI.Data.Authentication
{
public class RoleData
{
public int Id { get; set; }
public string RoleName { get; set; }
public DateTime Timestamp { get; set; }
}
}
| 1.550434 | dbd6c943998a50473479358b4e1cdee9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842246 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SuperZloyUser/Botyara",
"max_stars_repo_path": "Botyara.Core/Response/Response.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161466"
} | starcoder | using System.Collections.Generic;
using Newtonsoft.Json;
namespace Botyara.Core.Response
{
/// <summary>
/// Представляет ответ, полученный LongPoll-запросом.
/// </summary>
[JsonObject]
public class Response
{
/// <summary>
/// Получает TimeStamp.
/// </summary>
[JsonProperty("ts")]
public int? Time... | 2.312684 | 226b8b8118974e4fb76198c65bacf789 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842247 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sprzeng/Trackily",
"max_stars_repo_path": "Trackily/Validation/EditTicketAssignedAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161467"
} | starcoder | <filename>Trackily/Validation/EditTicketAssignedAttribute.cs
using Microsoft.EntityFrameworkCore;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Diagnostics;
using System.Linq;
using Trackily.Areas.Identity.Data;
using Trackily.Models.Binding.Ticket;
namespace Trackily.Val... | 2.626899 | a0146a5803dfcb8634aee89f6e65c0ea |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842248 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "anvoro/ULocalize",
"max_stars_repo_path": "Assets/Plugins/UnityLocalize/Data/Config/LocalizationConfig.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161468"
} | starcoder | <gh_stars>0
namespace UnityLocalize.DataStorage
{
public class LocalizationConfig
{
public const string LOCALIZATION_CONFIG = "LOCALIZATION_CONFIG";
public const string DATA_STORAGE_DIRECTORY = "Localization";
public Culture DefaultCulture = Culture.en_GB;
}
}
| 1.161881 | 8c53c014b2bf83f31ae00d2ecadb24ab |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842249 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "thovip119/JL",
"max_stars_repo_path": "JL/GUI/EditDictionaryWindow.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161469"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Windows;
using System.Windows.Forms;
using System.Windows.Media;
using JL.Dicts;
using JL.Utilities;
using Path = System.IO.Path;
using OpenFileDialog = Microsoft.Win32.OpenFileDialog;
namespace JL.GUI
{
/// <summary>
/// Interactio... | 2.39775 | afd5faccd969ad338056c707135ac219 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842250 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "coolcode/MonkeyOthello",
"max_stars_repo_path": "MonkeyOthello.Colosseum/IColosseum.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161470"
} | starcoder | using MonkeyOthello.Engines;
using System;
using System.Collections.Generic;
namespace MonkeyOthello.Colosseum
{
public interface IColosseum
{
IEnumerable<IEngine> FindGladiators();
void Fight(IEnumerable<IEngine> engines, int count = 1);
}
}
| 2.073671 | 7a76e43288dda785ebc20efdd726cc83 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842251 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Cuber01/FakeOS",
"max_stars_repo_path": "FakeOS/General/FontLoader.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161471"
} | starcoder | using System.Collections.Generic;
using System.IO;
using System.Runtime.InteropServices;
using ImGuiNET;
namespace FakeOS.General;
public class FontLoader
{
private readonly Dictionary<string, ImFontPtr> fonts = new Dictionary<string, ImFontPtr>();
private ImGuiIOPtr io;
public FontLoader(string font... | 2.467995 | f0ac0e53e93023e63c48801b21315683 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842252 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wdengtf/Framework",
"max_stars_repo_path": "Cookies/CookUtils.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161472"
} | starcoder | <filename>Cookies/CookUtils.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Web;
namespace Framework.Cookies
{
/// <summary>
/// Cookie帮助类
/// </summary>
public class CookUtils
{
#region 添加Cookie
/// <summary>
/// 添加Cookie
... | 2.875072 | c480b5483659a7caee7f2b6117933588 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842253 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Cadulox/aceleradev-codenation-csharp",
"max_stars_repo_path": "Desafios/csharp-7/Source/Migrations/20200323173749_SecondMigration.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161473"
} | starcoder | using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
namespace Source.Migrations
{
public partial class SecondMigration : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropForeignKey(
... | 1.67775 | 2a16ac95900eb86e84f10a5ba65f63d5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842254 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "andy-h-nguyen/NitoriWare",
"max_stars_repo_path": "Assets/Microgames/_Finished/FlanGrab/Scripts/FlanGrab_FlandreBehaviour.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161474"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class FlanGrab_FlandreBehaviour : MonoBehaviour {
private GameObject rightArmObject;
//private float xRightLimit;
[SerializeField]
private float bodyRotationMult;
// Use this for initialization
void Start () {
... | 2.083068 | 8f693982965c511bcdcf9cf5e5db25e4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842255 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "peterson1/DailyBilling",
"max_stars_repo_path": "DailyBilling.Common.Lib11/DTOs/Stubs/PropertyGroupStub.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161475"
} | starcoder | <gh_stars>0
using DailyBilling.Common.Lib11.Abstractions;
namespace DailyBilling.Common.Lib11.DTOs.Stubs
{
public class PropertyGroupStub : IPropertyGroup
{
public ulong Id { get; set; }
public string Label { get; set; }
public override string ToString() => Label;
}
}
| 1.544335 | 96e01a8fc1fcac02b97949e29f8cfbdc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842256 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "openxc/openxc-azure-webserver",
"max_stars_repo_path": "OpenXC.Web/App_Start/IdentityConfig.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161476"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Security.Claims;
using System.Threading.Tasks;
using System.Web;
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.EntityFramework;
using Microsoft.AspNet.Identity.Owin;
using Microso... | 1.981521 | 93577a7045dbf81ea5f0cc881573c5e8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842257 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "stikhonov/linq2ldap.core",
"max_stars_repo_path": "Linq2Ldap.Core.Tests/FilterCompiler/_CallExprToStringTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161477"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Text;
using Linq2Ldap.Core.Models;
using Xunit;
using Linq2Ldap.Core.ExtensionMethods;
using Linq2Ldap.Core.FilterCompiler;
namespace Linq2Ldap.Core.Tests.FilterCompiler
{
public class _CallExprToStringTests
{
... | 2.517428 | 80c3e691ff54b530aae90a28a8e3b9cb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842258 | {
"extension": "c-sharp",
"max_stars_count": "68.0",
"max_stars_repo_name": "radi-bow/HoloTweet",
"max_stars_repo_path": "Holotweet/Assets/Twity-master/DataModels/StreamMessages/TrackLimit.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161478"
} | starcoder | using System;
namespace Twity.DataModels.StreamMessages
{
[Serializable]
public class TrackLimit
{
public int track;
}
}
| 1.415845 | 4f095af791c919629ba814e5076fa847 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842259 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jimmychang94/JJCommerce",
"max_stars_repo_path": "JandJCommerce/JandJCommerce/Startup.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161479"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using JandJCommerce.Data;
using JandJCommerce.Models;
using JandJCommerce.Models.Handlers;
using JandJCommerce.Models.Interfaces;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Builder;
using Microsof... | 2.089849 | 87b557be3b0582d0621e9cae675565fd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842260 | {
"extension": "c-sharp",
"max_stars_count": "48.0",
"max_stars_repo_name": "nclient/nclient",
"max_stars_repo_path": "src/NClient/NClient.Abstractions/Invocation/IMethodInvocation.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161480"
} | starcoder | <filename>src/NClient/NClient.Abstractions/Invocation/IMethodInvocation.cs
using NClient.Invocation;
// ReSharper disable once CheckNamespace
namespace NClient
{
public interface IMethodInvocation
{
/// <summary>
/// Gets method information.
/// </summary>
public IMethod Method... | 2.131817 | 44f3e660898aad968ca158f3f4973b15 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842261 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ericweiss63/justinpong",
"max_stars_repo_path": "Assets/Scripts/UI/Menus/GameOverMenu.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161481"
} | starcoder | using Constants;
using Controllers;
using TMPro;
using UI.Menus;
using UnityEngine;
using UnityEngine.UI;
public class GameOverMenu : GameMenu
{
[SerializeField] private TMP_Text txtWinText;
[SerializeField] private Button btnPlayAgain;
private void Awake()
{
btnPlayAgain.onClick.AddListener(P... | 2.087354 | 08fbba5a31e7ca501ba6d828bb4d50f4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842262 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vasuag29/SystemProcessMonitor",
"max_stars_repo_path": "System Process Monitor/PMS.UI/Form1.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161482"
} | starcoder | <reponame>vasuag29/SystemProcessMonitor
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.Diagnostics;
using System.Windows.Forms;
using System.IO;
using Proce... | 2.649291 | 804dd49dc8dff4fc77e2880a97f0e4c8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842263 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vmmitev/Specificity2",
"max_stars_repo_path": "Specificity2/Constraints/CollectionConstraints.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161483"
} | starcoder | <reponame>vmmitev/Specificity2
// <copyright file="CollectionConstraints.cs" company="<NAME>">
// Copyright (c) <NAME>.
// </copyright>
namespace Testing.Specificity2
{
using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
... | 2.425944 | 4df905718a8b3447cc4f5e8b5a3808e7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842264 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "willrawls/NHotPhrase-pre-defork",
"max_stars_repo_path": "src/NHotPhrase.WindowsForms.Tests/WildcardTriggerTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161484"
} | starcoder | <reponame>willrawls/NHotPhrase-pre-defork<filename>src/NHotPhrase.WindowsForms.Tests/WildcardTriggerTests.cs
using System;
using System.Collections.Generic;
using System.Windows.Forms;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using NHotPhrase.Keyboard;
using NHotPhrase.Phrase;
namespace NHotPhrase.WindowsF... | 2.184079 | 5e8bac1c24637cfa544ec5ef7922592f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842265 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "DrBarnabus/DacTools",
"max_stars_repo_path": "build/Common/BuildLifetimeBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161485"
} | starcoder | // Copyright (c) 2021 DrBarnabus
using Cake.Common;
using Cake.Common.Build;
using Cake.Common.Diagnostics;
using Cake.Core;
using Cake.Frosting;
using Cake.Incubator.LoggingExtensions;
using Common.Addins.GitVersion;
using Common.Extensions;
using Common.Models;
using System;
using System.Collections.Gen... | 1.952313 | 0a3938c3ef7e0ceb72f3bcad8040df46 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842266 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "eltra-ch/eltra-common",
"max_stars_repo_path": "EltraCommon/Contracts/Parameters/ParameterUpdate.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161486"
} | starcoder | <gh_stars>0
using System.Runtime.Serialization;
using EltraCommon.ObjectDictionary.Common.DeviceDescription.Profiles.Application.Parameters;
namespace EltraCommon.Contracts.Parameters
{
/// <summary>
/// ParameterUpdate
/// </summary>
[DataContract]
public class ParameterUpdate
{
/// <... | 1.273521 | a422d3accebd468720195629501177f5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842267 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dbgate/datadmin",
"max_stars_repo_path": "DatAdmin.Core/DbStruct/Sql/SqlFmt_Constraint.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161487"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using System.Collections;
namespace DatAdmin
{
partial class SqlDumper
{
public virtual void CreateConstraint(IConstraint constraint)
{
var caps = m_dialect.DialectCaps;
if (constraint is IPrimaryKey && ... | 2.317792 | 5140aa76d8863ffd9b60468f29dd64de |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842268 | {
"extension": "c-sharp",
"max_stars_count": "176.0",
"max_stars_repo_name": "grrrrinaldi/SystemWrapper",
"max_stars_repo_path": "SystemWrapper/Security/Certificate/X509ChainElementWrap.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161488"
} | starcoder | namespace SystemWrapper.Security.Certificate
{
using System.Security.Cryptography.X509Certificates;
using SystemInterface.Security.Certificate;
/// <summary>
/// Wrapper for <see cref="X509ChainElement"/>
/// </summary>
public class X509ChainElementWrap : IX509ChainElement
{
#regi... | 2.625327 | 46dc6e68459b1ee79520c7a0f8f44ca9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842269 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "nataren/mono",
"max_stars_repo_path": "mcs/tests/test-8.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161489"
} | starcoder | class X {
static public int Main (string [] args)
{
int a, b, c, d;
a = b = 10;
c = d = 14;
if ((a + b) != 20)
return 1;
if ((a + d) != 24)
return 2;
if ((c + d) != 28)
return 3;
if ((b + c) != 24)
return 4;
if (a++ != 10)
return 5;
if (++a != 12)
return 6;
if (b-- != 10)
r... | 2.774535 | 2fc7c731a943ec97b61a40a258d01625 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842270 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "ilkerogutcu/.Net-Core-5-Starter-Project",
"max_stars_repo_path": "src/Core/Aspects/Autofac/Logger/LogAspect.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161490"
} | starcoder | <reponame>ilkerogutcu/.Net-Core-5-Starter-Project
using System;
using System.Collections.Generic;
using System.Linq;
using Castle.DynamicProxy;
using Core.CrossCuttingConcerns.Logging;
using Core.CrossCuttingConcerns.Logging.Serilog;
using Core.Utilities.Interceptors;
using Core.Utilities.IoC;
using Core.Utilities.Mes... | 2.347537 | e441733f226bae97fa0e375f62b0a852 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842271 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "616b2f/Athene",
"max_stars_repo_path": "src/Athene.Inventory/Abstractions/Inventory/Models/StockLocation.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161491"
} | starcoder | using System.Collections.Generic;
namespace Athene.Inventory.Abstractions.Models
{
public class StockLocation
{
public StockLocation()
{
this.InventoryItems = new HashSet<InventoryItem>();
}
public int Id { get; set; }
public string Hall { get; set; }
... | 2.681264 | 3744e4e18a61238c1f63577cf3172fff |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842272 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ceztko/CodeBinder",
"max_stars_repo_path": "CodeBinder.Common/SolutionConverter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161492"
} | starcoder | // Copyright (c) 2017-2018 ICSharpCode
// Copyright(c) 2018 <NAME>
// This file is subject to the MIT license
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text.RegularExpressions;
using CodeBinder.Shared;
using Microsoft.CodeAnalysis;
namespace CodeBinder... | 2.362262 | 3a32fd5e0c995396cff80337ed11f64f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842273 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "cantte/Rusell.Api",
"max_stars_repo_path": "src/Routes/Application/SearchAllByCompany/SearchAllRoutesByCompanyQueryHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161493"
} | starcoder | using Mapster;
using Rusell.Shared.Domain.Bus.Query;
namespace Rusell.Routes.Application.SearchAllByCompany;
public class
SearchAllRoutesByCompanyQueryHandler : IQueryHandler<SearchAllRoutesByCompanyQuery, IEnumerable<RouteResponse>>
{
private readonly RoutesByCompanySearcher _searcher;
public SearchAllR... | 2.04166 | a421c7a048bbb8051253797345910dba |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842274 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Muraad/MimeKit",
"max_stars_repo_path": "UnitTests/AssortedTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161494"
} | starcoder | //
// AssortedTests.cs
//
// Author: <NAME> <<EMAIL>>
//
// Copyright (c) 2013-2014 Xamarin Inc. (www.xamarin.com)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, i... | 2.305896 | 5dec592e979e034ff1bc61e7fe0476b0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842275 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Vikaskumargd/TSMS",
"max_stars_repo_path": "src/TSMS.ViewModels/CreateUserViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161495"
} | starcoder | <filename>src/TSMS.ViewModels/CreateUserViewModel.cs
using System.ComponentModel.DataAnnotations;
namespace TSMS.ViewModels
{
public class CreateUserViewModel
{
[Required]
[Display(Name = "Customer Name")]
public string Name { get; set; }
[Required]
[Display(Name = "Ad... | 2.548565 | cfdd8fd74eea15d26e769f5644e410cb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842276 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "ElectNewt/Programacion-avanzada",
"max_stars_repo_path": "ProgramacionAvanzada.Test/Test_Yield.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161496"
} | starcoder | <reponame>ElectNewt/Programacion-avanzada
using Microsoft.VisualStudio.TestTools.UnitTesting;
using PA.Yield;
using System;
using System.Collections.Generic;
using System.Text;
namespace ProgramacionAvanzada.Test
{
[TestClass]
public class Test_Yield
{
[TestMethod]
public void TestMethod1(... | 1.855972 | d0646ee8acbf4b716faae78619880c9b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842277 | {
"extension": "c-sharp",
"max_stars_count": "47.0",
"max_stars_repo_name": "threenine/swcapi",
"max_stars_repo_path": "src/Threenine.Diogel.Database.Entity/Threats/Status.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161497"
} | starcoder | <reponame>threenine/swcapi<gh_stars>10-100
using System.Collections.Generic;
namespace Threenine.Diogel.Database.Entity.Threats
{
public class Status
{
public Status()
{
}
public int Id { get; set; }
public string Name { get; set; }
public string Descrip... | 1.614174 | 7003fbaffd770a158617aa8a70ad8fe2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842278 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lvendrame/kemel-orm",
"max_stars_repo_path": "Kemel.Orm/NQuery/Storage/Function/StoredFunction.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161498"
} | starcoder | <reponame>lvendrame/kemel-orm
using Microsoft.VisualBasic;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Data;
using System.Diagnostics;
using Kemel.Orm.NQuery.Storage.Value;
using Kemel.Orm.Schema;
using Kemel.Orm.NQuery.Storage.Column;
using Kemel.Orm.Entity;
using Kemel.Orm.N... | 1.823446 | 29a8a3b9b9597aa4072ba170144fdd8f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842279 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "b-slavov/Telerik-Software-Academy",
"max_stars_repo_path": "07.High-Quality Code/05.Control-Flow-Conditional-Statements-and-Loops/04.RefactorCSharp1ExamTask5/BitsToBits.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161499"
} | starcoder | namespace CSharp1ExamTask5
{
using System;
class BitsToBits
{
private const int BitsToExtractCount = 30;
public static void Main()
{
int numbersCount = int.Parse(Console.ReadLine());
char[] allBits = new char[numbersCount * BitsToExtractCount];
... | 3.817031 | be34ad72a554c80697bf5b59db6e61cd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842280 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "WinTenDev/ZiziBot.NET",
"max_stars_repo_path": "src/WinTenDev.Zizi.Services/Internals/HangfireJobsService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161500"
} | starcoder | <gh_stars>10-100
using Hangfire;
using Telegram.Bot;
using WinTenDev.Zizi.Models.Configs;
namespace WinTenDev.Zizi.Services.Internals;
public static class HangfireJobsService
{
[AutomaticRetry(Attempts = 2, LogEvents = true, OnAttemptsExceeded = AttemptsExceededAction.Fail)]
public static void SendGroot()
... | 1.451649 | 138596c01b4ee413401a0d489c374a49 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842281 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "pasn/azure-data-lake-store-net",
"max_stars_repo_path": "AdlsDotNetSDK/ExpiryOption.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161501"
} | starcoder | <reponame>pasn/azure-data-lake-store-net
namespace Microsoft.Azure.DataLake.Store
{
/// <summary>
/// Different types of expiry options
/// </summary>
public enum ExpiryOption
{
/// <summary>
/// File will never expire. ExpiryTime is ignored.
/// </summary>
NeverExp... | 2.22445 | c1897f2da9eabbdeecc67d97dbbddfe9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842282 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "efonsecab/BlazorRestaurant",
"max_stars_repo_path": "src/BlazorRestaurantSln/BlazorRestaurant/Client/Pages/User/Orders/List.razor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161502"
} | starcoder | <gh_stars>1-10
using BlazorRestaurant.Client.Services;
using BlazorRestaurant.Shared.Global;
using BlazorRestaurant.Shared.Orders;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Components;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Net.... | 1.923735 | 19f6b81f69d5952e167dc208d56ae047 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842283 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Soyvolon/WorldHeightmapForFAF",
"max_stars_repo_path": "WorldHeightmap.Core/Extensions/GlobalPositionExtenstions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161503"
} | starcoder | using System;
using WorldHeightmap.Core.Models;
namespace WorldHeightmap.Core.Extensions
{
public static class GlobalPositionExtenstions
{
public static GlobalPosition[,] Round(this GlobalPosition[,] dat, int decimalPlaces)
{
var w = dat.GetLength(0);
var h = dat.GetLe... | 3.140245 | 1d75479d2291cd906311c56a91b8446e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842284 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "brian-reichle/TypeNameInterpretation",
"max_stars_repo_path": "src/TypeNameInterpretation/Tree/InsTypeKind.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161504"
} | starcoder | namespace TypeNameInterpretation
{
public enum InsTypeKind
{
Array,
ByRef,
Generic,
Named,
Pointer,
SZArray,
}
}
| 1.42809 | 3f36397353d72227d1eeb9b37f20e922 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842285 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "spotware/pitchfork-drawing",
"max_stars_repo_path": "Pitchfork Drawing/ChartObjectModels/ChartObjectsSerializer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161505"
} | starcoder | <reponame>spotware/pitchfork-drawing
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Xml.Serialization;
namespace cAlgo.ChartObjectModels
{
public static class ChartObjectsSerializer
{
public static void Serialize(IChartObjectModel[] chartObjectModels, string fileNam... | 2.686574 | 372601ee5f3442fffd91dbe4aab5a512 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842286 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "larryeedwards/openyan",
"max_stars_repo_path": "Assembly-CSharp/Pathfinding/RecastGraph.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161506"
} | starcoder | using System;
using System.Collections.Generic;
using Pathfinding.Recast;
using Pathfinding.Serialization;
using Pathfinding.Util;
using Pathfinding.Voxels;
using UnityEngine;
namespace Pathfinding
{
// Token: 0x020000B2 RID: 178
[JsonOptIn]
public class RecastGraph : NavmeshBase, IUpdatableGraph
{
// Token: 0x... | 1.896409 | 7e8c296f92d202456f306dc062a5f8ae |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842287 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "B-V-Vulkov/StudentSystem",
"max_stars_repo_path": "StudentSystem/StudentSystem.Common/ExceptionMessage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161507"
} | starcoder | <filename>StudentSystem/StudentSystem.Common/ExceptionMessage.cs
namespace StudentSystem.Common
{
using static GlobalConstants;
using static DataValidations;
public static class ExceptionMessage
{
public static string INVALID_WINDOW_COMMAND_EXCEPTION =
"The window command must be M... | 2.641593 | 9df7607731183f38c8d4d6fc63d43d09 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842288 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "selcukyavuz/craftgate-dotnet-client",
"max_stars_repo_path": "Craftgate/Response/Dto/PayoutBouncedTransaction.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161508"
} | starcoder | using System;
namespace Craftgate.Response.Dto;
public class PayoutBouncedTransaction
{
public long Id;
public string? Iban;
public DateTime CreatedDate;
public DateTime UpdatedDate;
public long PayoutId;
public decimal PayoutAmount;
public string? ContactName;
public string? ContactSu... | 1.420732 | 24f8cc23e53bafeda10a5f718086aa43 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842289 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "KhloeLeclair/StardewMods",
"max_stars_repo_path": "Common/SpriteInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161509"
} | starcoder | <filename>Common/SpriteInfo.cs<gh_stars>1-10
#nullable enable
using System;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using StardewValley;
namespace Leclair.Stardew.Common;
public class SpriteInfo {
public Texture2D Texture;
public Rectangle BaseSource;
public Color? BaseColor;
pu... | 2.404843 | 69e58743d8544609a1226207bb2fe782 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842290 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "John1900/G-Cam",
"max_stars_repo_path": "The Source/Gui/ViewGCode.aspx.designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161510"
} | starcoder | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//----------------------------------------... | 1.424377 | f61578a676d1d8161c6b4f9dfb1ea242 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842291 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SlidyDev/MelonLoader",
"max_stars_repo_path": "Dependencies/CompatibilityLayers/Demeo/Extensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161511"
} | starcoder | using Boardgame.Modding;
using System.Reflection;
using HarmonyLib;
namespace MelonLoader.CompatibilityLayers
{
internal static class Extensions
{
private static FieldInfo name_field;
private static MethodInfo name_get_method;
private static MethodInfo name_set_method;
internal... | 2.486103 | f66df652afd7138d2a3b3dd0682f06ca |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842292 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nesta-bg/HootPin",
"max_stars_repo_path": "HootPin/Persistence/UnitOfWork.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161512"
} | starcoder | <gh_stars>0
using HootPin.Core;
using HootPin.Core.Repositories;
using HootPin.Persistence.Repositories;
namespace HootPin.Persistence
{
public class UnitOfWork : IUnitOfWork
{
private readonly ApplicationDbContext _context;
public IHootRepository Hoots { get; private set; }
public IA... | 1.777309 | 86c6f009c26a208fbbf7ddfe246c850d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842293 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "HandLeVR/client",
"max_stars_repo_path": "Assets/Scripts/Util/ZipUtil.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161513"
} | starcoder | using System.IO;
using System.IO.Compression;
using UnityEngine.Events;
/// <summary>
/// Util functions to compress files into an archive or to unpack an archive.
/// </summary>
public static class ZipUtil
{
/// <summary>
/// Creates a zip containing the given files. The name is removed from the files.
//... | 2.988616 | f7e1e566883a5fff7790906cabfa0096 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842294 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LykkeCity/Lykke.OneSky",
"max_stars_repo_path": "OneSky.CSharp/OneSky.CSharp/Json/Objects/IProjectDetails.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161514"
} | starcoder | <gh_stars>0
namespace Lykke.OneSky.Json
{
public interface IProjectDetails : IProjectNew
{
int StringCount { get; }
int WordCount { get; }
}
}
| 0.690612 | 485594cefdfebd3dced819edd2d7bde8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842295 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GAlex7/TA",
"max_stars_repo_path": "01. CSharpPart1/3. Operators and Expressions/Problem8-PrimeNumberCheck/PrimeNumberCheck.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161515"
} | starcoder | <filename>01. CSharpPart1/3. Operators and Expressions/Problem8-PrimeNumberCheck/PrimeNumberCheck.cs
// Problem 8. Prime Number Check
// Write an expression that checks if given positive integer number n (n <= 100) is prime
// (i.e. it is divisible without remainder only to itself and 1).
// Note: You should check if... | 4.070647 | 16c3374b4558aa86d2f5b1025ee3fb4a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842296 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GeminiLab/Autoproj",
"max_stars_repo_path": "Autoproj/IO/ILineAcceptor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161516"
} | starcoder | namespace GeminiLab.Autoproj.IO {
public interface ILineAcceptor {
void AcceptLine(string line);
}
}
| 1.647218 | 3f68edc810ba5b88e3afef17343ebe0e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842297 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ANamelessWolf/NamelessAPI",
"max_stars_repo_path": "src/Core/Asuna/XData.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161517"
} | starcoder | using Nameless.Libraries.Yggdrasil.Aerith;
using Nameless.Libraries.Yggdrasil.Exceptions;
using Nameless.Libraries.Yggdrasil.Lilith;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Xml.Linq;
using static Nameless.Libraries.Yggdrasil.Assets.Strings;
namespace Nameless.Libraries.Yggdrasil... | 2.956394 | 51d38c62045954734d779d4ceb7722a5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842298 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "edsondewes/RabbitMQ.PubSub",
"max_stars_repo_path": "examples/SignalrNotification/Report/Extensions/ServiceCollectionExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161518"
} | starcoder | <reponame>edsondewes/RabbitMQ.PubSub
using SignalrNotification.HostedServices;
using SignalrNotification.Report;
namespace Microsoft.Extensions.DependencyInjection
{
public static class ServiceCollectionExtensions
{
public static IServiceCollection AddReportListener<TObj, TService>(this IServiceCollec... | 1.654738 | aa9056c40522bee1f1730d50bf2c03e7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842299 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "uk-gov-mirror/SkillsFundingAgency.das-recruit",
"max_stars_repo_path": "src/Shared/Recruit.Shared.Web/Orchestrators/AlertsOrchestrator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161519"
} | starcoder | using System.Threading.Tasks;
using Esfa.Recruit.Vacancies.Client.Application.Commands;
using Esfa.Recruit.Vacancies.Client.Application.Providers;
using Esfa.Recruit.Vacancies.Client.Domain.Entities;
using Esfa.Recruit.Vacancies.Client.Domain.Messaging;
using Esfa.Recruit.Vacancies.Client.Infrastructure.Client;
names... | 1.832959 | a44fb23b9e47899e576ef35328f7777c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842300 | {
"extension": "c-sharp",
"max_stars_count": "172.0",
"max_stars_repo_name": "Kinimiwar/KoiVM-Virtualization",
"max_stars_repo_path": "dnlib/src/HandleProcessCorruptedStateExceptionsAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161520"
} | starcoder | <gh_stars>100-1000
#pragma warning disable 1591 // XML doc warning
namespace System.Runtime.ExceptionServices
{
[AttributeUsage(AttributeTargets.Method, Inherited = false)]
internal sealed class HandleProcessCorruptedStateExceptionsAttribute : Attribute
{
}
} | 1.405436 | 07a70019c99135d45cef43060eb176b7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842301 | {
"extension": "c-sharp",
"max_stars_count": "18.0",
"max_stars_repo_name": "leancodepl/corelibrary",
"max_stars_repo_path": "src/Domain/LeanCode.CQRS/Security/AllowUnauthorizedAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161521"
} | starcoder | using System;
namespace LeanCode.CQRS.Security
{
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface, AllowMultiple = false, Inherited = true)]
public class AllowUnauthorizedAttribute : Attribute { }
}
| 1.963579 | dd1ab2ec208e25a3d81e92b8c1977f92 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842302 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Minstreams/FloorBlaster",
"max_stars_repo_path": "Assets/Scripts/SubSystem/NetworkSystem/Operator/LobbyManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161522"
} | starcoder | <reponame>Minstreams/FloorBlaster
using GameSystem.Networking;
using System.Collections;
using System.Collections.Generic;
using System.Net;
using System.Net.Sockets;
using UnityEngine;
namespace GameSystem.Operator
{
/// <summary>
/// 大厅的UI控制
/// </summary>
[AddComponentMenu("[NetworkSystem]/Operator/... | 1.961953 | 5ff4d99e294b3430018b04d9c7ce9747 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842303 | {
"extension": "c-sharp",
"max_stars_count": "35.0",
"max_stars_repo_name": "NMFCode/NMF",
"max_stars_repo_path": "IntegrationTests/ComponentBasedSoftwareArchitectures/Pcm/Seff/ForkedBehaviour.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161523"
} | starcoder | <reponame>NMFCode/NMF<filename>IntegrationTests/ComponentBasedSoftwareArchitectures/Pcm/Seff/ForkedBehaviour.cs
//------------------------------------------------------------------------------
// <auto-generated>
// Dieser Code wurde von einem Tool generiert.
// Laufzeitversion:4.0.30319.42000
//
// Änderun... | 1.362257 | 30ed70a25425e1c66c22f0335666155f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842304 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "JTOne123/LdifHelper",
"max_stars_repo_path": "src/LdifHelper/AttributeTypeComparer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161524"
} | starcoder | // -----------------------------------------------------------------------
// <copyright file="AttributeTypeComparer.cs" company="Active Netwerx">
// Copyright (c) Active Netwerx. All rights reserved.
// </copyright>
// <author><NAME></author>
// ---------------------------------------------------------------... | 3.290561 | 49ec9a70d1be84c89b9887ed82d13e8b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842305 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "RotterAxel/modular-monolith-with-ddd",
"max_stars_repo_path": "src/Modules/Meetings/Domain/MeetingMemberCommentLikes/MeetingMemberCommentLike.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161525"
} | starcoder | <filename>src/Modules/Meetings/Domain/MeetingMemberCommentLikes/MeetingMemberCommentLike.cs
using System;
using CompanyName.MyMeetings.BuildingBlocks.Domain;
using CompanyName.MyMeetings.Modules.Meetings.Domain.Comments;
using CompanyName.MyMeetings.Modules.Meetings.Domain.MeetingMemberCommentLikes.Events;
using Compa... | 2.359454 | c5e891138310f456245371c17e177198 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842306 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "chandusekhar/gViewGisOS",
"max_stars_repo_path": "gView.OGC/Framework/OGC/XML/Globals.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161526"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace gView.Framework.OGC.XML
{
public class Globals
{
public static string TypeWithoutPrefix(string type)
{
if (type.Contains(":"))
{
return type.Substring(type.IndexOf(":") + 1, type... | 2.45399 | a65436144ff81beb0e9df58f70c14c04 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842307 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "anadale/hotchocolate",
"max_stars_repo_path": "src/HotChocolate/Data/src/Data/Filters/Visitor/FilterCombinator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161527"
} | starcoder | <filename>src/HotChocolate/Data/src/Data/Filters/Visitor/FilterCombinator.cs
namespace HotChocolate.Data.Filters;
/// <summary>
/// Specifies the supported filter combinators.
/// </summary>
public enum FilterCombinator
{
And,
Or
}
| 1.695511 | 074a1f223ad38e173831e9f423f1b226 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842308 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "chris-weekes/atrium",
"max_stars_repo_path": "LawMate/Properties/Settings.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161528"
} | starcoder | <reponame>chris-weekes/atrium
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.34014
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenera... | 1.849202 | ae98f9d468a0b7d6ed74404e60eece8a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842309 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "johannesdominik/quandl",
"max_stars_repo_path": "Quandl.UI/LinearLeastSquaresFitting.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161529"
} | starcoder | using System.Linq;
namespace Quandl.UI {
public class LinearLeastSquaresFitting {
public static void Calculate(double[] dataPoints, out double a1, out double a0) {
int n = dataPoints.Length;
double sx = ((n - 1) * n) / 2.0;
double sy = 0.0;
double sxy = 0.0;
double sxx = 0.0;
... | 3.13998 | 148f5d14a0251c873b76c8255a4203f3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842310 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "junmendoza/DesignScriptStudio",
"max_stars_repo_path": "UIs/Editor/DesignScriptEditor/DesignScriptEditorUi/InspectionWindow/OutputMessage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161530"
} | starcoder | <reponame>junmendoza/DesignScriptStudio<filename>UIs/Editor/DesignScriptEditor/DesignScriptEditorUi/InspectionWindow/OutputMessage.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Media.Imaging;
namespace DesignScript.Editor
{
class OutputMessage
{
... | 2.266828 | d1d5a1a2b734dc54b0ab9e48f492045f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842311 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "weixian-zhang/FluentKusto",
"max_stars_repo_path": "src/Tables/SynapseSqlPoolRequestSteps.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161531"
} | starcoder | <gh_stars>0
using System;
using System.Linq.Expressions;
namespace FluentKusto
{
public class SynapseSqlPoolRequestSteps : TableBase<SynapseSqlPoolRequestSteps>
{
///
public string TenantId {get; set;}
/// The logical server name of the SQL DW.
pu... | 1.570536 | aa74a28773a8da7886f35f44bf372458 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.