added stringclasses 11
values | created stringclasses 11
values | id stringlengths 4 8 | metadata dict | source stringclasses 1
value | text stringlengths 9 1.04M | code-score float64 -0.5 4.71 | md5 stringlengths 32 32 |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93861 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "governmentbg/nacid-visad",
"max_stars_repo_path": "VisaD.Hosting/Infrastructure/Configurations/ReCaptchaConfiguration.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93862"
} | starcoder | namespace VisaD.Hosting.Infrastructure.Configurations
{
public class ReCaptchaConfiguration
{
public string Secret { get; set; }
public string ApiUrl { get; set; }
}
}
| 1.205274 | c12b00c90accf79c455ac71a2bf0ca3a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93862 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "xen-42/outer-wilds-wario",
"max_stars_repo_path": "OuterWario/PatchMesh.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93863"
} | starcoder | <filename>OuterWario/PatchMesh.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UnityEngine;
namespace OuterWario
{
public static class PatchMesh
{
public static GameObject warioPrefab;
public static void ReplacePlaye... | 1.971964 | 191ddff4ff4c2230c171b7eb6d932a5d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93863 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "davidbritch/dotnet-maui-samples",
"max_stars_repo_path": "Fundamentals/Gestures/TapGesture/TapGesture/Views/TapInsideFrame.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93864"
} | starcoder | namespace TapGesture
{
public class TapInsideFrame : ContentPage
{
int tapCount;
readonly Label label;
public TapInsideFrame()
{
Frame frame = new Frame
{
BorderColor = Colors.Gray,
BackgroundColor = Colors.Transparent,
... | 2.833474 | 678560726527bf82cead6614f7530f64 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93864 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gaelgael5/galileo",
"max_stars_repo_path": "src/ApplicationCooperationViewPoint/Black.Beard.Galileo.Tools/Viewpoints/Cooperations/ConceptItem.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93865"
} | starcoder | <filename>src/ApplicationCooperationViewPoint/Black.Beard.Galileo.Tools/Viewpoints/Cooperations/ConceptItem.cs<gh_stars>0
using Bb.Galileo.Files.Schemas;
using Bb.Galileo.Files.Viewpoints;
using System;
using System.Collections.Generic;
using System.Windows.Forms;
namespace Bb.Galileo.Viewpoints.Cooperations
{
p... | 1.993349 | 4fdacbaead5ec4fb7817b630236dfbe9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93865 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "aditya1962/BuyGrand",
"max_stars_repo_path": "Order_Application_Seller/Order_Application_Seller/UserControls/Navigation.ascx.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93866"
} | starcoder | using System;
namespace Order_Application_Seller.UserControls
{
public partial class Navigation : System.Web.UI.UserControl
{
public string user;
protected void Page_Load(object sender, EventArgs e)
{
if (Session["username"] != null)
{
Data.DataA... | 2.171073 | b1520f660dc1e7f36830d64a25c1f5f6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93866 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "carreraSilvio/design-patterns",
"max_stars_repo_path": "Assets/05 - Singleton/Scripts/SingletonExample.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93867"
} | starcoder | <gh_stars>1-10
using System.Collections.Generic;
using UnityEngine;
namespace SingletonDesignPattern
{
public class SingletonExample : MonoBehaviour
{
void Update()
{
if(Input.GetKeyDown(KeyCode.Space))
{
Player.Instance.Health -= 10;
}
... | 2.187179 | 225944c9cd078f0ec20b36e01989797e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93867 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lucky-skebe/Gu.Wpf.NumericInput",
"max_stars_repo_path": "Gu.Wpf.NumericInput.NetCore/Validation/ValidationResults/FormatAndCulture/FormatAndCulture.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93868"
} | starcoder | <reponame>lucky-skebe/Gu.Wpf.NumericInput
namespace Gu.Wpf.NumericInput.NetCore
{
using System;
using System.Collections.Concurrent;
using System.Globalization;
/// <summary>Metadata about a validation error message.</summary>
/// <typeparam name="T">The specific type.</typeparam>
public abstra... | 2.661097 | d4db57d6d89ab1d5cf788d2c0fdd8d61 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93868 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Rain0Ash/NetExtender",
"max_stars_repo_path": "NetExtender.Registry/Registry/Registry.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93869"
} | starcoder | <filename>NetExtender.Registry/Registry/Registry.cs
// This is an independent project of an individual developer. Dear PVS-Studio, please check it.
// PVS-Studio Static Code Analyzer for C, C++, C#, and Java: http://www.viva64.com
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
usin... | 2.171563 | a02d4cc7fc93cc3fc7e4ee505d6cc902 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93869 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "alan1tavares/BankSimulator",
"max_stars_repo_path": "src/BankAccount.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93870"
} | starcoder | <reponame>alan1tavares/BankSimulator
using System;
using System.Collections.Generic;
namespace classes
{
public class BankAccount
{
private static int accountNumberSeed = 123456789;
private readonly decimal minimumBalance;
private List<Transaction> allTransaction = new List<Transaction>();
public s... | 2.870577 | 86afd7bbca7c8c3334d60cc44d6c1f7e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93870 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "ertugrulozcan/ErtisAuth",
"max_stars_repo_path": "ErtisAuth.Infrastructure/Services/RoleService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93871"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using ErtisAuth.Abstractions.Services.Interfaces;
using ErtisAuth.Core.Models.Events;
using ErtisAuth.Core.Models.Identity;
using ErtisAuth.Core.Models.Roles;
using ErtisAuth.Core.Exceptions;
using ErtisAuth.Dao.Repositorie... | 2.152889 | 7fe9ed70c9d9cd91cd0b3fb0f62c8a55 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93871 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vanbungkring/patra",
"max_stars_repo_path": "src/OrchardCore/OrchardCore.Recipes.Abstractions/Services/IRecipeHarvester.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93872"
} | starcoder | <reponame>vanbungkring/patra
using OrchardCore.Recipes.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace OrchardCore.Recipes.Services
{
public interface IRecipeHarvester
{
/// <summary>
/// Returns a collection of all recipes.
... | 1.459571 | 400bb50e1c3ad781bf67100db26ea57a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93872 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "chadqueen/QueensDuel",
"max_stars_repo_path": "QueensDuel.GameBoard/Board.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93873"
} | starcoder | <reponame>chadqueen/QueensDuel<filename>QueensDuel.GameBoard/Board.cs<gh_stars>0
namespace QueensDuel.GameBoard
{
public class Board
{
private const int columnCount = 8;
private const int rowCount = 8;
private const int outerBoarderSquareCount = 2;
public BoardPosition[,] Pos... | 3.268799 | 01a85bd2ed8bf15047848afc7e77062b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93873 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "brager17/Cached-Query",
"max_stars_repo_path": "HabrCacheQueryTests/BaseCacheTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93874"
} | starcoder | <gh_stars>1-10
using System;
using System.Linq;
using System.Reflection;
using HabrCacheQuery;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.AspNetCore.Mvc;
using Moq;
using NUnit.Framework;
using MockRepository = HabrCacheQuery.ExampleQuery.MockRepository;
n... | 2.212082 | 7af7a44ef978fbc11ea2f9b93b5c4ffc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93874 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BigETI/Disaster",
"max_stars_repo_path": "Assets/Disaster/Scripts/Interfaces/IButtonObserverController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93875"
} | starcoder | <filename>Assets/Disaster/Scripts/Interfaces/IButtonObserverController.cs<gh_stars>0
using Disaster.Controllers;
using System.Collections.Generic;
/// <summary>
/// Disaster namespace
/// </summary>
namespace Disaster
{
/// <summary>
/// Button observer controller interface
/// </summary>
public inter... | 1.826678 | 2c930d4c30bfd9785918f161786c2e82 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93875 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "GMihalkow/Csharp-ASP-Web-Apps",
"max_stars_repo_path": "ShopApp/ShopApp.Api/Infrastructure/Filters/LogRequestFIlter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93876"
} | starcoder | using Microsoft.Owin;
using SimpleLogger;
using SimpleLogger.Contracts;
using System.Web.Http.Controllers;
using System.Web.Http.Filters;
namespace ShopApp.Api.Infrastructure.Filters
{
public class LogRequestFIlter : ActionFilterAttribute
{
private readonly ILogManager logManager;
public LogR... | 2.312477 | 63bb2a25358cce464a35d48e36b87f4e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93876 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "MiroslavKisov/FastFooDWorkshop",
"max_stars_repo_path": "app/FastFoodWorkshop.Service/Contracts/IMenuService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93877"
} | starcoder | namespace FastFoodWorkshop.Service.Contracts
{
using Models;
using ServiceModels.Manager;
using System.Collections.Generic;
using System.Threading.Tasks;
public interface IMenuService
{
Task<int> CreateMenuAsync(MenuViewModel model);
Task<Menu> GetMenuAsync(int id);
T... | 1.956359 | d84456694975650a6fbb01da11df31d8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93877 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "pgarbo/dasher",
"max_stars_repo_path": "Dasher/Properties/AssemblyInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93878"
} | starcoder | using System.Runtime.CompilerServices;
[assembly: InternalsVisibleTo("Dasher.Tests")] | 0.825818 | 5353d83c571b768476517a45548bfe0e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93878 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gighen76/gatemq",
"max_stars_repo_path": "src/GateMQ/GateContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93879"
} | starcoder | namespace GateMQ
{
public class GateContext
{
public GateContext(byte[] message, bool isRequest)
{
Message = message;
IsRequest = isRequest;
}
public byte[] Message { get; }
public bool IsRequest { get; }
public byte[] R... | 1.976457 | f61f9e18f6304072e508a76058cd0da0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93879 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "giacomelli/SpecFlowHelper",
"max_stars_repo_path": "SpecFlowHelper/Steps/ButtonSteps.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93880"
} | starcoder | <reponame>giacomelli/SpecFlowHelper<gh_stars>1-10
using SpecFlowHelper.Steps.Localization;
using SpecFlowHelper.Steps.Strategies;
using TechTalk.SpecFlow;
namespace SpecFlowHelper.Steps
{
/// <summary>
/// Buttons
/// steps.
/// </summary>
[Binding]
public sealed class ButtonSteps ... | 2.206607 | 355576fcea06793fa89ce9582ec65a7e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93880 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mirza-developer/bitframework",
"max_stars_repo_path": "src/Client/Web/Bit.Client.Web.BlazorUI/Components/Pickers/CalendarExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93881"
} | starcoder | using System;
using System.Globalization;
namespace Bit.Client.Web.BlazorUI
{
public static class CalendarExtensions
{
public static string GetMonthName(this Calendar calendar, int month)
{
if (calendar is GregorianCalendar)
{
switch (month)
... | 2.989015 | 81815775648e3f9797fdbefa45a21f95 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93881 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "AccelerateX-org/NINE",
"max_stars_repo_path": "Sources/TimeTable/MyStik.TimeTable.Web/Controllers/PlanerController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93882"
} | starcoder | <reponame>AccelerateX-org/NINE
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web.Mvc;
using MyStik.TimeTable.Data;
using MyStik.TimeTable.DataServices;
using MyStik.TimeTable.Web.Models;
using MyStik.TimeTable.Web.Services;
namespace MyStik.TimeTable.Web.Controllers
{
/// <summar... | 2.145083 | 89569febc0ccbeaac53b63e82b664d4b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93882 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "dskprt/nylium",
"max_stars_repo_path": "Starfield.Core/Item/Items/ItemMinecart.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93883"
} | starcoder | // FILE AUTOGENERATED. DO NOT MODIFY
namespace Starfield.Core.Item.Items {
[Item("minecraft:minecart", 663, 1)]
public class ItemMinecart : BlockItem { }
} | 1.090756 | 7d853edaa9a5c93b7b2956a4f98ee837 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93883 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "golfstrom/notifo",
"max_stars_repo_path": "backend/src/Notifo.Domain/UserNotifications/IUserNotificationStore.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93884"
} | starcoder | // ==========================================================================
// Notifo.io
// ==========================================================================
// Copyright (c) <NAME>
// All rights reserved. Licensed under the MIT license.
// ================================================================... | 1.551149 | a3dfd49548a271cfe728253f9a0e2440 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93884 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "morskibg/MVC_Individual_Project",
"max_stars_repo_path": "Opereta/Opereta/Views/Account/Login.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:93885"
} | starcoder | <reponame>morskibg/MVC_Individual_Project
@{
ViewData["Title"] = "Home Page";
Layout = null;
}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="de... | 1.898552 | 918912a70cbf4a5f87c2fa49b6930938 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93885 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Caseyfam/Volleyblocks",
"max_stars_repo_path": "Assets/Scripts/DebugBoard.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93886"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class DebugBoard : MonoBehaviour {
public string targetName;
public static int rows = 12, columns = 6;
public Sprite falseSprite, trueSprite, driveSprite;
GameObject[,] storedObjects = new GameObject[rows, columns]... | 2.396864 | 904e9eadc37ccf7afba13b152777c91a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93886 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dbgate/datadmin",
"max_stars_repo_path": "DatAdmin.Framework/Forms/InputBox.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93887"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace DatAdmin
{
public partial class InputBox : FrameworkFormEx
{
public InputBox()
{
InitializeCompo... | 2.263961 | 2f3fbad3e3f8ebdbf5cb6962850159f8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93887 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "weltkante/clrmd",
"max_stars_repo_path": "src/Microsoft.Diagnostics.Runtime/src/Common/Configuration.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93888"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Microsoft.Diagnostics.Runtime
{
internal class Configuration
{
public const int MaxStackAlloc = 128;
}
}
| 1.294023 | f5d45aaf6afe7bef8c7577377ad6eb32 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93888 | {
"extension": "c-sharp",
"max_stars_count": "2320.0",
"max_stars_repo_name": "riezebosch/AutoFixture",
"max_stars_repo_path": "Src/AutoFakeItEasyUnitTest/TestTypes/TypeWithExplicitlyImplementedProperty.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93889"
} | starcoder | namespace AutoFixture.AutoFakeItEasy.UnitTest.TestTypes
{
public class TypeWithExplicitlyImplementedProperty : IInterfaceWithProperty
{
string IInterfaceWithProperty.Property { get; set; }
}
}
| 2.023189 | d119029df46ef5ec0a02e820240afef4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93889 | {
"extension": "c-sharp",
"max_stars_count": "28.0",
"max_stars_repo_name": "arakis/ProcEngine",
"max_stars_repo_path": "Common/Buffers/BufferData2D{T}.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93890"
} | starcoder | <gh_stars>10-100
// This file is part of Aximo, a Game Engine written in C#. Web: https://github.com/AximoGames
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using Syste... | 2.776878 | c4014266359a035332ad71f88f4b2e70 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93890 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cfe84/kinesis-hammer",
"max_stars_repo_path": "Hammer/Hammer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93891"
} | starcoder | <reponame>cfe84/kinesis-hammer
using System.Collections.Generic;
using System.Threading;
namespace Hammer
{
public class Hammer
{
public uint MessageCount { get; private set; } = 0;
private bool _hammering = false;
private List<Thread> _pool = new List<Thread>();
private IMessageSender _sender;
public Ha... | 2.798163 | a7c379a20fa8cb25bd782250ff67a086 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93891 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "marcusjobb/NET20D",
"max_stars_repo_path": "OOPA/WebbshopProjekt/Jeremy/Bookshop/Bookshop/Views/AdminUsers/ListUsers.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93892"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Bookshop.Views.AdminUsers
{
public static class ListUsers
{
/// <summary>
/// The menu options.
/// </summary>
public static List<string> menuOptions = ... | 2.844252 | d999615a97b4fd9249e8aaf6e94f751f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93892 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "lianggx/perfor.net",
"max_stars_repo_path": "Perfor.Lib/Common/Utilities.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93893"
} | starcoder | <reponame>lianggx/perfor.net
using System;
using System.Collections.Generic;
using System.Data.Common;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Text.RegularExpressions;
using System.Web;
namespace Perfor.Lib.Common
{
/// <summary>
/// ... | 2.450078 | 54aa1f2df1acc1456e2e166080978532 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93893 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ashiquzzaman/AzRUtil.Csharp.Library",
"max_stars_repo_path": "AzRUtil.Csharp.Library/Extensions/StringExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93894"
} | starcoder | using System;
using System.Globalization;
using System.IO;
using System.Numerics;
using System.Security.Cryptography;
using System.Text;
using System.Text.RegularExpressions;
using System.Xml;
using System.Xml.Serialization;
namespace AzRUtil.Csharp.Library.Extensions
{
public static class StringExtensions
{
... | 2.700669 | 2afe70a19c49efa53318ae6704e4aef5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93894 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "MrBenWang/bind-refactor",
"max_stars_repo_path": "Bindding/MainForms/UserControls/UC_SimpleBrower.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93895"
} | starcoder | <reponame>MrBenWang/bind-refactor
using Bindding.ExcuteClasses;
using CefSharp;
using CefSharp.WinForms;
using CefSharp.WinForms.Internals;
using Newtonsoft.Json;
using System;
using System.ComponentModel;
using System.Threading;
using System.Windows.Forms;
namespace Bindding.MainForms.UserControls
{
/// <summary... | 2.286057 | 6e5901692378b79dd3533b568bfdfcb8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93895 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "javamng/GitHUB",
"max_stars_repo_path": "InformedProteomics.Backend/Utils/PeakListUtils.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93896"
} | starcoder | <reponame>javamng/GitHUB
using System;
using System.Collections.Generic;
using System.Linq;
using InformedProteomics.Backend.Data.Spectrometry;
using MathNet.Numerics.Statistics;
namespace InformedProteomics.Backend.Utils
{
public class PeakListUtils
{
public static Peak FindPeak(List<Peak> ... | 2.509029 | 308d305a74b839b86afb299b86ca1df1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93896 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Djohnnie/InvolvedCafe-AzureKubernetesService",
"max_stars_repo_path": "code/Web/Workers/RequestWorker.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93897"
} | starcoder | using System;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using RestSharp;
using Web.Helpers;
namespace Web.Workers
{
public class RequestWorker : BackgroundService
{
private readonly RequestHelper _requestHelper;
... | 2.740332 | 45503cef2a35a809a3ee1ef03b8ce1fc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93897 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "InfectedLibraries/InfectedImGui",
"max_stars_repo_path": "InfectedImGui/#Generated/Internal/ImGuiContextHook.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93898"
} | starcoder | <reponame>InfectedLibraries/InfectedImGui
// <auto-generated>
// This file was automatically generated by Biohazrd and should not be modified by hand!
// </auto-generated>
#nullable enable
using System.Diagnostics;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace InfectedImGui.Int... | 1.740218 | d7e6254531a13f8ad74cc549f4e684db |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93898 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mrayy/TxKit",
"max_stars_repo_path": "Assets/Projects/Shared/Scripts/Renderer/CameraPostRenderer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93899"
} | starcoder | <reponame>mrayy/TxKit
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class CameraPostRenderer : MonoBehaviour {
public ICameraPostRenderer[] Renderers;
List<ICameraPostRenderer> _renderers=new List<ICameraPostRenderer>();
// Use this for initialization
void Start () {
i... | 2.160265 | a57f6ca14a9a6a3936967c84985ef10b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93899 | {
"extension": "c-sharp",
"max_stars_count": "41.0",
"max_stars_repo_name": "bunszr/Mesh_Bender",
"max_stars_repo_path": "Assets/Editor/ModelBenderEditor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93900"
} | starcoder | <filename>Assets/Editor/ModelBenderEditor.cs
using UnityEngine;
using UnityEditor;
[CustomEditor(typeof(Bender), true)]
public class BenderEditor : Editor
{
Bender bender;
private void OnEnable()
{
bender = (Bender)target;
}
public override void OnInspectorGUI()
{
base.OnInspe... | 2.079869 | 7e3bc6d995afec75c7e6a72109adb793 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93900 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "g00dvibe/SoftUni",
"max_stars_repo_path": "Basics/ComplexConditions/Cinema/Cinema.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93901"
} | starcoder | using System;
namespace Cinema
{
class Cinema
{
static void Main(string[] args)
{
var type = Console.ReadLine().ToLower();
var rows = double.Parse(Console.ReadLine());
var columns = double.Parse(Console.ReadLine());
var size = rows * columns;
... | 3.578622 | 424bd978a0d646c1b7af659de36942bb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93901 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jammykam/Sitecore-Instance-Manager",
"max_stars_repo_path": "src/SIM.Instances/InstanceBackup.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93902"
} | starcoder | namespace SIM.Instances
{
using System.IO;
using System.Linq;
using SIM.Adapters.SqlServer;
using Sitecore.Diagnostics.Base;
using JetBrains.Annotations;
#region
#endregion
public class InstanceBackup
{
#region Fields
public readonly bool BackupDataFiles;
public readonly bool BackupD... | 2.177135 | c7c9818909c48b6a19b0c95b8cabdd57 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93902 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "AILight/AILZ80ASM",
"max_stars_repo_path": "AILZ80ASM/InstructionSet/InstructionRegister.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93903"
} | starcoder | <reponame>AILight/AILZ80ASM
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace AILZ80ASM.InstructionSet
{
public class InstructionRegister
{
public enum InstructionRegisterModeEnum
... | 2.052168 | 0607d03966edcbef561679d04dfd86c9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93903 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Aviv-Yaniv/azure-powershell",
"max_stars_repo_path": "src/Websites/Websites.Autorest/generated/api/Models/Api20210201/CustomOpenIdConnectProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93904"
} | starcoder | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
namespace Mi... | 1.630664 | c53b903fe15b9a5e6cdfbc3ce4c5050a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93904 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Nadeem-Hashmi/blazorAntDesign",
"max_stars_repo_path": "src/AntDesign.Pro/Pages/User/Login.razor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93905"
} | starcoder | using System.ComponentModel.DataAnnotations;
using Microsoft.AspNetCore.Components;
namespace AntDesign.Pro.Pages
{
public class User
{
[Required]
public string UserName { get; set; }
[Required]
public string Password { get; set; }
public string Captcha { get; set; }
... | 2.217201 | d9ab04737283a029f93941dd7ef18268 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93905 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wilsonunitedconsult/try",
"max_stars_repo_path": "src/Libraries/CoreNodeModelsWpf/NodeViewCustomizations/Filename.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93906"
} | starcoder | <reponame>wilsonunitedconsult/try
using System.Windows;
using System.Windows.Forms;
using DSCoreNodesUI.Input;
using Dynamo.Wpf;
namespace DSCore.File
{
public class FilenameNodeViewCustomization : FileSystemBrowserNodeViewCustomization, INodeViewCustomization<Filename>
{
private Filename model;
... | 2.209058 | 47a40559ee8340fdfcc82b495c7e788c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93906 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Yqdbbh/Czar.cms",
"max_stars_repo_path": "Czar.Cms.Core/Extensions/IDbConnectionExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93907"
} | starcoder | <reponame>Yqdbbh/Czar.cms
using Czar.Cms.Core.Models;
using System;
using System.Collections.Generic;
using System.Data;
using Dapper;
using System.Text;
using System.Linq;
using System.Data.SqlTypes;
namespace Czar.Cms.Core.Extensions
{
/// <summary>
/// IDbConnection扩展
/// </summary>
public static c... | 2.513866 | d606f1378a9e0ce5611cceef2e838cd2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93907 | {
"extension": "c-sharp",
"max_stars_count": "215.0",
"max_stars_repo_name": "HakamFostok/FineCodeCoverage",
"max_stars_repo_path": "FineCodeCoverage/Output/ProcessWrapper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93908"
} | starcoder | using System.ComponentModel.Composition;
using System.Diagnostics.CodeAnalysis;
namespace FineCodeCoverage.Output
{
[Export(typeof(IProcess))]
[ExcludeFromCodeCoverage]
internal class ProcessWrapper : IProcess
{
public void Start(string fileName)
{
System.Diagnostics.Proces... | 1.959311 | 3c218f40bc17374c8bf66cdd8d438fcb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93908 | {
"extension": "c-sharp",
"max_stars_count": "35.0",
"max_stars_repo_name": "mesta1/DynamicDataDisplay-example",
"max_stars_repo_path": "DynamicDataDisplaySample/DynamicDataDisplay/DataSources/OneDimensional/EnumerableDataSource.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93909"
} | starcoder | <reponame>mesta1/DynamicDataDisplay-example<filename>DynamicDataDisplaySample/DynamicDataDisplay/DataSources/OneDimensional/EnumerableDataSource.cs
using System;
using System.Collections;
using System.Collections.Generic;
using System.Windows;
namespace Microsoft.Research.DynamicDataDisplay.DataSources
{
public clas... | 2.715448 | 8177b85fc21f83c3a4411a9eda758fb7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93909 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Zarathul/DList",
"max_stars_repo_path": "Dlist/Collections/NotifyingCollectionChangedEventArgs.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93910"
} | starcoder | <filename>Dlist/Collections/NotifyingCollectionChangedEventArgs.cs
/*
* Copyright 2019 Zarathul
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licens... | 2.341482 | 854bd63009b03c3e00aa22b476e13cd8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93910 | {
"extension": "c-sharp",
"max_stars_count": "294.0",
"max_stars_repo_name": "charsleysa/MOSA-Project",
"max_stars_repo_path": "Source/Mosa.DeviceSystem/IACPI.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93911"
} | starcoder | // Copyright (c) MOSA Project. Licensed under the New BSD License.
namespace Mosa.DeviceSystem
{
/// <summary>
/// Interface to ACPI
/// </summary>
public interface IACPI
{
BaseIOPortWrite ResetAddress { get; set; } // FIXME - Should not expose I/O ports
BaseIOPortWrite PM1aControlBlock { get; set; } // FIX... | 1.287966 | fab7dd2fed07cd0e1148868f746a5598 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93911 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "mgroves/Hangfire.Couchbase",
"max_stars_repo_path": "Hangfire.Couchbase/CouchbaseMonitoringApi.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93912"
} | starcoder | <gh_stars>1-10
using System;
using System.Linq;
using System.Collections.Generic;
using Couchbase;
using Couchbase.Core;
using Couchbase.Linq;
using Hangfire.Common;
using Hangfire.States;
using Hangfire.Storage;
using Hangfire.Storage.Monitoring;
using Hangfire.Couchbase.Queue;
using Hangfire.Couchbase.Helper;
usin... | 1.930224 | fe248121c8dc36507f337c5c42b894fa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93912 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "Ideia-Boa/diva-distribution",
"max_stars_repo_path": "OpenSim/Region/Framework/Scenes/Scripting/ScriptEngineLoader.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93913"
} | starcoder | /*
* Copyright (c) Contributors, http://opensimulator.org/
* See CONTRIBUTORS.TXT for a full list of copyright holders.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must r... | 2.302028 | 04681e14ebd71ed66066f64821b78c8d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93913 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "t-rolfin/TaskBase",
"max_stars_repo_path": "src/TaskBase.Application/Commands/EliminateNote/EliminateNoteCommandHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93914"
} | starcoder | <gh_stars>0
using MediatR;
using Microsoft.Extensions.Logging;
using Rolfin.Result;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using TaskBase.Application.Services;
using TaskBase.Core.Interfaces;
namespace TaskBase.Applic... | 1.988939 | 466c58992f5a3ebf2506675824b1982e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93914 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "averrunci/UwpMvc",
"max_stars_repo_path": "Templates/ProjectTemplates/Visual C#/Windows UAP/UwpMvcApplication/ApplicationHostController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93915"
} | starcoder | using Charites.Windows.Mvc;
namespace $safeprojectname$
{
[View(Key = nameof(ApplicationHost))]
public class ApplicationHostController
{
}
}
| 0.954375 | ae4eb657372cda1aaaa3078ffa339db1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93915 | {
"extension": "c-sharp",
"max_stars_count": "522.0",
"max_stars_repo_name": "ayanMSFT/azure-cosmos-dotnet-v3",
"max_stars_repo_path": "Microsoft.Azure.Cosmos.Encryption/src/Custom/DecryptionInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93916"
} | starcoder | <filename>Microsoft.Azure.Cosmos.Encryption/src/Custom/DecryptionInfo.cs
// ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// ------------------------------------------------------------
namespace Microsoft.Azure.Cosmos.Encryption.Custom
{
... | 2.387217 | 343e018ad82df86cd61a486d804dcd64 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93916 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "skch/about-time",
"max_stars_repo_path": "src/tm/AppLog.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93917"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
namespace tm
{
public static class AppLog
{
public static string LogFileName = null;
public static void SetLogFile(string fileName) {
//System.Environment.CurrentDirectory
LogFileName = System.Environment.GetF... | 2.952711 | b58c129d6a2f27b1b732187719f65135 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93917 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "txchen/csharp-leet",
"max_stars_repo_path": "solutions/Q232.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93918"
} | starcoder | public class Queue {
private Stack<int> _stk1 = new Stack<int>();
private Stack<int> _stk2 = new Stack<int>();
// Push element x to the back of queue.
public void Push(int x) {
while (_stk2.Count > 0) {
_stk1.Push(_stk2.Pop());
}
_stk1.Push(x);
}
/... | 3.721652 | b0bc37e57aea2e94059ca1c3d0f5b706 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93918 | {
"extension": "c-sharp",
"max_stars_count": "41.0",
"max_stars_repo_name": "illuZion9999/Rzy-Protector-V2-unpacker",
"max_stars_repo_path": "Rzy Protector V2 Unpacker/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93919"
} | starcoder | using System;
using dnlib.DotNet;
using dnlib.DotNet.Writer;
using static Rzy_Protector_V2_Unpacker.Logger;
using Type = Rzy_Protector_V2_Unpacker.Logger.Type;
using System.IO;
using Rzy_Protector_V2_Unpacker.Protections;
using Rzy_Protector_V2_Unpacker.Protections.Antis;
namespace Rzy_Protector_V2_Unpacker
{
cla... | 2.059511 | 43d421b3a91d9756584065a4a1daa1e8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93919 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "krishemenway/krishemenway-svc",
"max_stars_repo_path": "KrisHemenway.TVShows/MazeDataSource/MazeShowEpisodesResponse.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93920"
} | starcoder | using System.Collections.Generic;
namespace KrisHemenway.TVShows.MazeDataSource
{
public class MazeShowEpisodesResponse : List<MazeShowEpisode> { }
}
| 1.127369 | bca2e9248b26425292b79ed5b289c101 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93920 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "AnthonyGiretti/Calzolari-EFCore-Flurl-FakeBearerToken-TestServer",
"max_stars_repo_path": "Calzolari.TestServer.EntityFramework/Database/EF/IntegrationTestBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93921"
} | starcoder | <reponame>AnthonyGiretti/Calzolari-EFCore-Flurl-FakeBearerToken-TestServer
using System;
using Calzolari.TestServer.EntityFramework.Flurl;
using Flurl.Http;
using Microsoft.AspNetCore.Mvc.Testing;
using Microsoft.EntityFrameworkCore;
namespace Calzolari.TestServer.EntityFramework.Database.EF
{
public class Integr... | 1.990778 | ddc2c34e119625ebe96921dfe1d2946c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93921 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sampa-msft/azure-sdk-for-net",
"max_stars_repo_path": "sdk/network/Azure.ResourceManager.Network/src/Generated/Models/GenerateExpressRoutePortsLOAContent.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93922"
} | starcoder | <filename>sdk/network/Azure.ResourceManager.Network/src/Generated/Models/GenerateExpressRoutePortsLOAContent.cs
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
namespace Azure.ResourceManager.Network.Models
{
//... | 2.03599 | fc4a1cbff2f8b1a2a7b2abdc961abcdd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93922 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "monkeyglasses/mdws",
"max_stars_repo_path": "mdws/src/dto/TaggedLabTestArrays.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93923"
} | starcoder | #region CopyrightHeader
//
// Copyright by Contributors
//
// 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.txt
//
// Unless req... | 1.878103 | 3213e88f7cae36a621836c282c0f6ad6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93923 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "MarioGn1/Bookme.WebApp",
"max_stars_repo_path": "Bookme.WebApp/Bookme.Test/Areas/Booking/Controllers/MyBookingsControllerTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93924"
} | starcoder | namespace Bookme.Test.Areas.Booking.Controllers
{
public class MyBookingsControllerTest
{
}
}
| 0.579376 | e895544c9fcd452965d677d3889de56b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93924 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MyCaffe/MyCaffe-Samples",
"max_stars_repo_path": "Seq2Seq/Seq2SeqChatBot/Data.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93925"
} | starcoder | <reponame>MyCaffe/MyCaffe-Samples<filename>Seq2Seq/Seq2SeqChatBot/Data.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Seq2SeqChatBot
{
public class Data
{
Random m_random = new Random((int)DateTime.Now.Ticks);... | 2.683632 | 0cc518705cc6bd4d017321111eeb6154 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93925 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "olepunchy/csharp-challenges",
"max_stars_repo_path": "Pangram/Pangram.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93926"
} | starcoder | using System.Linq;
using System.Text.RegularExpressions;
public static class Pangram {
private const string _alphabet = "abcdefghijklmnopqrstuvwxyz";
private const string _regex = "[^a-zA-Z]+";
public static bool IsPangram(string input) {
input = Regex.Replace(input.ToLower(), _regex, "");
... | 3.486795 | 31e7e85a1bbab50e130cab5ae64a5b50 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93926 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hasanrihawi/leetcode",
"max_stars_repo_path": "leetcode/SherlockandAnagrams.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93927"
} | starcoder | using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace leetcode
{
class SherlockandAnagrams
{
public static int sherlockAndAnagrams(string input)
{
var hashedAnagrams = new ConcurrentDictionary<string, in... | 3.690144 | 1bba0404696e8cce753dd115b70764ad |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93927 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "aamartin2k/AReporte",
"max_stars_repo_path": "ConsoleClient/SystemService_Props.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93928"
} | starcoder | <gh_stars>0
#region Descripción
/*
* Soporte a las operaciones de usuario.
*
* Es el acceso de la capa de presentación a todos los servicios de sistema.
*
* Parcial Propiedades
*/
#endregion
#region Using
using AMGS.Application.Utils.Dialogs;
using AMGS.Application.Utils.Log;
using AReport.... | 0.854687 | 509a24451a5c5e0157dcec723e4f4384 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93928 | {
"extension": "c-sharp",
"max_stars_count": "24.0",
"max_stars_repo_name": "koliva8245/HeroesDataParser",
"max_stars_repo_path": "Tests/HeroesData.Parser.Tests/UnitParserTests/VolskayaVehicleTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93929"
} | starcoder | using Heroes.Models.AbilityTalents;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Collections.Generic;
using System.Linq;
namespace HeroesData.Parser.Tests.UnitParserTests
{
[TestClass]
public class VolskayaVehicleTests : UnitParserBaseTest
{
[TestMethod]
public void Abi... | 2.459723 | 8e77b110352b48261449c8beb637b84e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93929 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "theXappy/PacketStudio",
"max_stars_repo_path": "PacketStudio.NewGUI/ProtocolFactories/SctpPacketFactory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93930"
} | starcoder | <reponame>theXappy/PacketStudio<gh_stars>1-10
using System;
using System.Linq;
using System.Net;
using System.Net.NetworkInformation;
using PacketDotNet;
using PacketDotNet.Sctp.Chunks;
using PacketDotNet.Utils;
using PacketStudio.DataAccess;
namespace PacketStudio.NewGUI.ProtocolFactories
{
public class SctpPack... | 1.962863 | b0e57efc88cda8c3dc43e73937f36ab6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93930 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "dmester/pdftosvg.net",
"max_stars_repo_path": "tests/PdfToSvg.Tests/Drawing/OperationDispatcherTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93931"
} | starcoder | // Copyright (c) PdfToSvg.NET contributors.
// https://github.com/dmester/pdftosvg.net
// Licensed under the MIT License.
using NUnit.Framework;
using PdfToSvg;
using PdfToSvg.DocumentModel;
using PdfToSvg.Drawing;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Thre... | 2.46703 | bd079b9a1f79a2bbd656eedee79cbe89 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93931 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "fokind/gareporter",
"max_stars_repo_path": "GaReporter/App.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93932"
} | starcoder | using System;
using System.Windows;
namespace GaReporter
{
public partial class App : Application {
protected override void OnStartup(StartupEventArgs e)
{
System.IO.Directory.SetCurrentDirectory(Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments));
if (e.Args.Length == 0) {
try... | 2.19558 | 7b53eda50584ae17ff49bfc5fc43268b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93932 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "neurosystemeu/Native-Workflow",
"max_stars_repo_path": "UI/HtmlUIWidgets/UI/Html/Mvc/Extensions/LinkExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93933"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web.Mvc;
using Kendo.Mvc.Infrastructure;
using NeuroSystem.Workflow.UserData.UI.Html.Mvc.UI;
using NeuroSystem.Workflow.UserData.UI.Html.Mvc.Widgets;
namespace NeuroSystem.Workflow.UserData... | 1.863163 | 48a0f43a6b9d5c587ac8b48f868425e3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93933 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "s2quake/Ntreev.Crema",
"max_stars_repo_path": "client/JSSoft.Crema.Presentation.Home/PropertyItems/ViewModels/DomainMembersViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93934"
} | starcoder | // Released under the MIT License.
//
// Copyright (c) 2018 Ntreev Soft co., Ltd.
// Copyright (c) 2020 <NAME>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
// documentation files (the "Software"), to deal in the Software without restriction, inclu... | 1.638285 | 9a906cca74d680b5150b06d149b96e1d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93934 | {
"extension": "c-sharp",
"max_stars_count": "522.0",
"max_stars_repo_name": "essensoft/paymen",
"max_stars_repo_path": "src/Essensoft.Paylink.Alipay/Response/AlipayOpenAppSilanApigraythreeQueryResponse.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93935"
} | starcoder | namespace Essensoft.Paylink.Alipay.Response
{
/// <summary>
/// AlipayOpenAppSilanApigraythreeQueryResponse.
/// </summary>
public class AlipayOpenAppSilanApigraythreeQueryResponse : AlipayResponse
{
}
}
| 0.881216 | bb95b2362b3f53ddcbe2477dcc34cac9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93935 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "opc-cpvp/OPC.PowerApps",
"max_stars_repo_path": "src/Compliance.EarlyBound/OptionSets/opc_pipedafileopc_Findings.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93936"
} | 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.376307 | f799bfd22de594baae4f0575501ec6a3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93936 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "fqkw6/RewriteFrame",
"max_stars_repo_path": "other/Scripts/Gameplay/Battle/CrossSight/Logic/CrossSightLoic_Improve_ConeSquare.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93937"
} | starcoder | <reponame>fqkw6/RewriteFrame<gh_stars>0
/*===============================
* Author: [Allen]
* Purpose: 准星逻辑,改善类,方锥体
* Time: 2020/2/21 3:06:05
================================*/
using EditorExtend;
using System.Collections.Generic;
using UnityEngine;
using Target = CCrossSightLoic.Target;
public class CrossSightLoi... | 1.688503 | d7511644a5fcb626303b174b21a5103a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93937 | {
"extension": "c-sharp",
"max_stars_count": "38.0",
"max_stars_repo_name": "wainwrightmark/MELT",
"max_stars_repo_path": "src/MELT/Helpers/MELTLoggingBuilderExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93938"
} | starcoder | <reponame>wainwrightmark/MELT
using System;
using MELT;
using Microsoft.Extensions.DependencyInjection.Extensions;
namespace Microsoft.Extensions.Logging
{
public static class MELTLoggingBuilderExtensions
{
[Obsolete]
public static ILoggingBuilder AddTestLogger(this ILoggingBuilder builder)
... | 2.064112 | 1c55911e507d90d206a40e62fe50c279 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93938 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "coderrapp/codeRR.Client.NetStd",
"max_stars_repo_path": "src/Coderr.Client.NetStd/Uploaders/UploadDispatcher.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93939"
} | starcoder | <reponame>coderrapp/codeRR.Client.NetStd
using System;
using System.Collections.Generic;
using System.Reflection;
using Coderr.Client.Config;
using Coderr.Client.Contracts;
namespace Coderr.Client.Uploaders
{
/// <summary>
/// Invokes all uploaders for every report.
/// </summary>
/// <... | 2.61342 | 9f3b6a5b2fc4f2e7463daab6588151cc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93939 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Enes04/HandShake",
"max_stars_repo_path": "Assets/ElephantSdkManager/Editor/Util/VersionUtils.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93940"
} | starcoder | <filename>Assets/ElephantSdkManager/Editor/Util/VersionUtils.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Xml;
using System.Xml.Linq;
using UnityEngine;
namespace ElephantSdkManager.Util
{
public static class VersionUtils... | 2.564167 | dbddfccb16371d815b0e077797eadc12 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93940 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gendalf90/AggregateException.Extensions.Handler",
"max_stars_repo_path": "AggregateException.Extensions.Handler/TypedHandlerWithAction.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93941"
} | starcoder | using System;
namespace AggregateExceptionExtensions.Handler
{
internal class TypedHandlerWithAction<T> : TypedHandlerBase<T> where T : Exception
{
private readonly Action<T> action;
public TypedHandlerWithAction(Action<T> action)
{
this.action = action;
}
... | 2.525836 | 8a2ef07939ea666a229469704334b41c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93941 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "LATOKEN/lachain",
"max_stars_repo_path": "src/Lachain.Core/Blockchain/VM/BlockchainInterface.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93942"
} | starcoder | using WebAssembly.Runtime;
namespace Lachain.Core.Blockchain.VM
{
class BlockchainInterface : IBlockchainInterface
{
private ImportDictionary? _functionImports;
public ImportDictionary GetFunctionImports()
{
if (_functionImports != null)
return _functionImp... | 1.84491 | 5828158eb3a2e85a285d49b51d7432df |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93942 | {
"extension": "c-sharp",
"max_stars_count": "572.0",
"max_stars_repo_name": "Wingsky6/mix.coreTest",
"max_stars_repo_path": "src/Mix.Cms.Lib/ViewModels/MixDatabaseDatas/DeleteViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93943"
} | starcoder | using Microsoft.EntityFrameworkCore.Storage;
using Mix.Cms.Lib.Models.Cms;
using Mix.Heart.Infrastructure.ViewModels;
using Mix.Heart.Models;
using Newtonsoft.Json;
namespace Mix.Cms.Lib.ViewModels.MixDatabaseDatas
{
public class DeleteViewModel
: ViewModelBase<MixCmsContext, MixDatabaseData, DeleteViewMode... | 2.081318 | 12d4fc92538b60e18ae5aed60a818abb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93943 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Techosmic/SayIT",
"max_stars_repo_path": "functions/TextToSpeech/TextToSpeech/FunctionGCP.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93944"
} | starcoder | <filename>functions/TextToSpeech/TextToSpeech/FunctionGCP.cs
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Azure.WebJobs;
using Microsoft.Azure.WebJobs.Extensions.Http;
using Microsoft.Extensions.Logging;
using Newtonsoft.Json;
using System;
using System.IO;
using System.Net.Http;
usi... | 2.685494 | c5eb16deef2f14d675edd72825155962 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93944 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Realtao/corefx",
"max_stars_repo_path": "src/System.Composition/tests/CompositionContextExtensionsTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93945"
} | starcoder | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;
namespace System.Composition.UnitTest... | 1.895882 | 9e00b95dcd5b956dcb41b57412d20ebf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93945 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SokolovPavel/gvas-converter",
"max_stars_repo_path": "GvasFormat/Astroneer/Types/Game/Scenarios/POIs/Modern/Actors/ModernPOI_CoalFarm_D-01_Small.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93946"
} | starcoder | <reponame>SokolovPavel/gvas-converter
namespace GvasFormat.Serialization.Game.Scenarios.POIs.Modern.Actors
{
public class ModernPOI_CoalFarm_D_01_Small
{
}
} | 0.731083 | b96e10125b3a7e2e218227232831ca9d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93946 | {
"extension": "c-sharp",
"max_stars_count": "189.0",
"max_stars_repo_name": "TechnologicalPizza/SixLabors.Fonts",
"max_stars_repo_path": "src/SixLabors.Fonts/Unicode/ReadOnlyArraySlice{T}.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93947"
} | starcoder | // Copyright (c) <NAME>.
// Licensed under the Apache License, Version 2.0.
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
namespace SixLabors.Fonts.Unicode
{
/// <summary>
/// ReadOnlyArraySlice represents a contiguous region of arbitrary memo... | 3.135438 | 5d07e52ab67de2a364349bc45ab84cfc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93947 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MicroCoinHU/AirDropBot",
"max_stars_repo_path": "Bot/Utils/ByteString.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93948"
} | starcoder | //-----------------------------------------------------------------------
// This file is part of MicroCoin - The first hungarian cryptocurrency
// Copyright (c) 2019 <NAME>
// ByteString.cs - Copyright (c) 2019 <NAME>
//-----------------------------------------------------------------------
// MicroCoin is free softw... | 2.883455 | d51d9c68fd8f4c5cb1b08b62157a2900 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93948 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "realwayjyc/AssetStudio",
"max_stars_repo_path": "UnityAnalyser/UnityFile/UnityFile.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93949"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
namespace UnityAnalyzer
{
public class UnityFile
{
protected int[] unityFileVersion;
public int[] UnityFileVersion
{
get { return unityFileVersion; }
}
pu... | 2.712556 | f64df45918f08baedd2cf485f9ac48d1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93949 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "joedayz/joerp",
"max_stars_repo_path": "Source/Data Access Layer/JOERP.DataAccess/Implementations/TransaccionDocumentoRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93950"
} | starcoder |
namespace JOERP.DataAccess.Implementations
{
using System.Collections.Generic;
using Business.Entity;
using Interfaces;
public class TransaccionDocumentoRepository : Repository<TransaccionDocumento>, ITransaccionDocumentoRepository
{
public IList<TransaccionDocumento> GetByTrasaccion(int ... | 1.764328 | d2fe2632efc8ad6f34b07a307e22e796 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93950 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "chunlei/FileUltimate",
"max_stars_repo_path": "Examples/Mvc.CS/Views/FileManager/Overview.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:93951"
} | starcoder | @using GleamTech.Web.Mvc
@using GleamTech.FileUltimate
@model FileManager
<!DOCTYPE html>
<html>
<head>
<title>Overview</title>
@Html.RenderCss(Model)
@Html.RenderJs(Model) @*If you choose, JS can also be rendered at the bottom of the page before the closing </body> tag*@
</head>
<body style="margin: 20p... | 2.105144 | db372016f48e8599179d95af7eac2e79 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93951 | {
"extension": "c-sharp",
"max_stars_count": "25.0",
"max_stars_repo_name": "apexsharp/apexsharp",
"max_stars_repo_path": "Apex/Datacloud/MatchRecord.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93952"
} | starcoder | namespace Apex.Datacloud
{
using ApexSharp;
using ApexSharp.ApexAttributes;
using ApexSharp.Implementation;
using global::Apex.System;
/// <summary>
/// https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_class_Datacloud_MatchRecord.htm#apex_class_Datacloud_MatchRecord... | 1.952223 | 1e8d922845c655c65f6519f9a3c177b5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93952 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mikljohansson/syndicate",
"max_stars_repo_path": "core/module/inventory/agent/windows/Agent/XmlFormatter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93953"
} | starcoder | using System;
using System.Xml;
using System.Text;
using System.Collections;
using Inventory.DeviceInfo;
namespace Inventory {
public class XmlFormatter : ComponentVisitor {
private XmlTextWriter _document = null;
public XmlFormatter() {
}
public string ToString(Component device) {
String... | 2.316687 | c489c2bf8039dadbbb6c3a514a4e9c6c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93953 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "davcs86/Highcharts4Net",
"max_stars_repo_path": "Highcharts4Net/Library/Options/AxisBreaks.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93954"
} | starcoder | <reponame>davcs86/Highcharts4Net
using Highcharts4Net.Library.Helpers;
namespace Highcharts4Net.Library.Options
{
public class AxisBreaks
{
/// <summary>
/// A number indicating how much space should be left between the start and the end of the break. The break size is given in axis units, so ... | 2.484917 | 5c8f107559e057eac9fece081192df95 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93954 | {
"extension": "c-sharp",
"max_stars_count": "95.0",
"max_stars_repo_name": "pashcovich/sipserver",
"max_stars_repo_path": "Server/Application.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93955"
} | starcoder | using System.ServiceProcess;
namespace Sip.Server
{
static class Application
{
static void Main(string[] args)
{
bool b = true;
if (args.Length == 1)
switch (char.Parse(args[0]))
{
case 'd':
new Service().Emulate();
b = false;
break;
}
if (b == true)
ServiceBase... | 2.258474 | da92a892ef47bfc68f37509cb7e1b869 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93955 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "psmulovics/ComposeUI",
"max_stars_repo_path": "src/DockManagerCore/DockingHintBlock.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93956"
} | starcoder | <reponame>psmulovics/ComposeUI
/*
* <NAME> makes this available to you under the Apache License,
* Version 2.0 (the "License"). You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0.
*
* See the NOTICE file distributed with this work for additional information
* regarding c... | 1.777577 | ece6475dde2cdfc5b8e42479124feb43 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93956 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Pbone3/CataclysmMod",
"max_stars_repo_path": "CataclysmMod.DirectCalamityDependencies/Main.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93957"
} | starcoder | using CataclysmMod.Common.DirectDependencies;
using CataclysmMod.DirectCalamityDependencies;
using Terraria.ModLoader;
// It MUST be in the namespace "ROOT"
namespace ROOT
{
public class Main : DirectDependency
{
public override string DependsOn => "CalamityMod";
public override void AddConte... | 1.878875 | 3857915e1c98590b5f15f830d972a016 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93957 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tboogh/T-Type",
"max_stars_repo_path": "Assets/Editor/SpawnPointTools.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93958"
} | starcoder | <reponame>tboogh/T-Type
using System.Collections;
using System.Collections.Generic;
using Assets.Script;
using UnityEditor;
using UnityEngine;
[CustomEditor(typeof(SpawnPoint))]
[CanEditMultipleObjects]
public class SpawnPointTool : Editor
{
public override void OnInspectorGUI()
{
base.OnInspectorGUI(... | 2.052241 | d40d3103c000816bbec5b651bd7e174d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93958 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gongchengshi/DotNet-Collections.Generic",
"max_stars_repo_path": "Collections.Generic/ArrayExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93959"
} | starcoder | using Gongchengshi;
using System.Linq;
namespace Gongchengshi.Collections.Generic
{
public static class ArrayExtensions
{
public static T[] GetRange<T>(this T[] @this, int start, int count)
{
return @this.Skip(start).Take(count).ToArray();
}
public static bo... | 3.432491 | 52e41a5d4ca298ca9cb13bc8e6f92fe6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93959 | {
"extension": "c-sharp",
"max_stars_count": "290.0",
"max_stars_repo_name": "chengliang-git/Revo",
"max_stars_repo_path": "Revo.Core/Commands/IPreCommandFilter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93960"
} | starcoder | using System.Threading.Tasks;
namespace Revo.Core.Commands
{
public interface IPreCommandFilter<in T>
where T : ICommandBase
{
Task PreFilterAsync(T command);
}
}
| 1.704185 | c7c551ea85bbdd06192550e0d9d6192e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93960 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kpwags/digital-family-cookbook",
"max_stars_repo_path": "backend/src/DigitalFamilyCookbook/Handlers/Queries/Recipes/GetRecipeById.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93961"
} | starcoder | namespace DigitalFamilyCookbook.Handlers.Queries.Recipes;
public class GetRecipeById
{
public class Handler : IRequestHandler<Query, OperationResult<RecipeApiModel>>
{
private readonly IRecipeRepository _recipeRepository;
private readonly ICategoryRepository _categoryRepostory;
private ... | 2.39443 | 26521134facbb68da651585052850ce1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.