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
8814218
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "evaristocuesta/EspejoAnalysis", "max_stars_repo_path": "EspejoAnalysis/View/EsterolesView.xaml.cs", "provenance": "train-00027-of-00045.jsonl.gz:133438" }
starcoder
namespace EspejoAnalysis.View { /// <summary> /// Interaction logic for EsterolesView.xaml /// </summary> public partial class EsterolesView : System.Windows.Controls.UserControl { public EsterolesView() { InitializeComponent(); } } }
1.297435
47000646f09fb8ca44ec4ffe50fec2bb
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8814219
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "SilvioCressoni/book-store", "max_stars_repo_path": "gateway/src/Gateway.Service/IUserService.cs", "provenance": "train-00027-of-00045.jsonl.gz:133439" }
starcoder
using System; using System.Threading; using System.Threading.Tasks; namespace Gateway.Service { public interface IUserService { Task<IStatusCodeResult> GetAsync(string id, CancellationToken cancellationToken = default); Task<IStatusCodeResult> AddUserAsync(string email, string firstName, strin...
2.252534
1cdc2bd7cabf6638bb9ca0ba1817d9db
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8814220
{ "extension": "c-sharp", "max_stars_count": "4.0", "max_stars_repo_name": "ZackaryCowled/Unity-Blueprints", "max_stars_repo_path": "Assets/Blueprint/Scripts/Source/Helpers/BlueprintVariableHelper.cs", "provenance": "train-00027-of-00045.jsonl.gz:133440" }
starcoder
using System.Collections; using System.Collections.Generic; using UnityEngine; public static class BlueprintVariableHelper { //If running in the Unity Editor #if UNITY_EDITOR //Restores applicable variables from blueprint A into blueprint B public static void RestoreVariables(Blueprint blueprintA, ref Blueprint blu...
2.837846
8e09b22d543dc7dfa858983e70832d97
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8814221
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "SamehMohamedEl-Sayed/elmah", "max_stars_repo_path": "src/Elmah.AspNet/ErrorLogDataSourceAdapter.cs", "provenance": "train-00027-of-00045.jsonl.gz:133441" }
starcoder
<gh_stars>1-10 #region License, Terms and Author(s) // // ELMAH - Error Logging Modules and Handlers for ASP.NET // Copyright (c) 2004-9 <NAME>. All rights reserved. // // Author(s): // // <NAME>, http://www.raboof.com // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not ...
2.171198
0343d6335773724d2f23e3fc903f4ec7
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8814222
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "mmercan/sentinel", "max_stars_repo_path": "Sentinel.UI.STS/DbContexts/TokenDbContext.cs", "provenance": "train-00027-of-00045.jsonl.gz:133442" }
starcoder
using Microsoft.EntityFrameworkCore; using System.IO; using Sentinel.UI.STS.Models; namespace Sentinel.UI.STS.DbContexts { public class TokenDbContext : DbContext { public DbSet<TokenRepoModel> Tokens { get; set; } public TokenDbContext(DbContextOptions<TokenDbContext> options) : base(options) ...
2.066418
186bea884b0d6fb411ecf801c8d21cdb
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8814223
{ "extension": "c-sharp", "max_stars_count": "5.0", "max_stars_repo_name": "brichet/PyCrop2ML", "max_stars_repo_path": "test/Models/energybalance_pkg/src/cs/Conductance.cs", "provenance": "train-00027-of-00045.jsonl.gz:133443" }
starcoder
<gh_stars>1-10 using System; using System.Collections.Generic; using System.Linq; public class Conductance { private double _vonKarman; public double vonKarman { get { return this._vonKarman; } set { this._vonKarman= value; } } private double _heightWeatherMeasurements; public d...
2.291924
12b7af6dce49ca3f76aea3ac631bc3a0
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8814224
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "ImranDoet/ImageProcessor", "max_stars_repo_path": "src/ImageProcessor/Imaging/CropLayer.cs", "provenance": "train-00027-of-00045.jsonl.gz:133444" }
starcoder
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="CropLayer.cs" company="<NAME>"> // Copyright (c) <NAME>. // Licensed under the Apache License, Version 2.0. // </copyright> // <summary> // Encapsulates the properties requi...
3.152658
3b559949b028562e22d5f8bf4c8f81b6
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8814225
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "mecvillarina/TernerAcademy", "max_stars_repo_path": "src/backend/Domain/Enums/UserType.cs", "provenance": "train-00027-of-00045.jsonl.gz:133445" }
starcoder
namespace Domain.Enums { public enum UserType { INSTRUCTOR = 2, STUDENT = 4, } }
1.757466
3462ee1a9ae8f23960b9f7a174244660
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8814226
{ "extension": "c-sharp", "max_stars_count": "791.0", "max_stars_repo_name": "periface/CsQuery", "max_stars_repo_path": "source/CsQuery/CQ_jQuery/Get.cs", "provenance": "train-00027-of-00045.jsonl.gz:133446" }
starcoder
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; using CsQuery.Utility; using CsQuery.ExtensionMethods; using CsQuery.ExtensionMethods.Internal; using CsQuery.Engine; using CsQuery.Implementation; namespace CsQuery { public partial class CQ { ...
2.57764
5ce9012d518b27c2a7a9507e017a81dc
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8814227
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "codywahl/Fallout3HackingMiniGame", "max_stars_repo_path": "Fallout3HackingMiniGame/Fallout3HackingMiniGame/Adapters/TextFileReader.cs", "provenance": "train-00027-of-00045.jsonl.gz:133447" }
starcoder
<reponame>codywahl/Fallout3HackingMiniGame using Fallout3HackingMiniGame.Properties; using System.Collections.Generic; using System.IO; using System.Linq; namespace Fallout3HackingMiniGame.Adapters { public static class TextFileReader { public static IEnumerable<string> GetWordsFromTextFile() ...
1.214792
69e829dc64bd3cf1a2e9d356bd6f632f
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8814228
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "saidel143/DemoApi", "max_stars_repo_path": "Portales/Views/Documentation/Wizard.cshtml", "provenance": "train-00027-of-00045.jsonl.gz:133448" }
starcoder
@model Sistran.Core.Framework.UIF.Web.Controllers.SampleDTO @{ ViewBag.Title = "Wizard"; } @section Breadcrumb { <ol class="breadcrumb global-header-breadcrumb"> <li><a href="/Home">Documentación</a></li> <li class="active">Wizard</li> </ol> } <div class="uif-alert" id="alert"></div> <form...
2.340335
b415e667ed8b8aa9196a60cf7effe246
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8814229
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "LBHackney-IT/tenure-api", "max_stars_repo_path": "TenureInformationApi.Tests/V1/E2ETests/Stories/EditTenureDetailsTests.cs", "provenance": "train-00027-of-00045.jsonl.gz:133449" }
starcoder
<gh_stars>0 using AutoFixture; using Hackney.Core.Testing.DynamoDb; using Hackney.Core.Testing.Sns; using Hackney.Shared.Tenure.Boundary.Requests; using System; using TenureInformationApi.Tests.V1.E2ETests.Fixtures; using TenureInformationApi.Tests.V1.E2ETests.Steps; using TestStack.BDDfy; using Xunit; namespace Tenur...
1.850624
4a821703faef52e24e273fca265a99ef
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8814230
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "efqanZ/cs-case", "max_stars_repo_path": "src/CiSeCase.Core/Enums/CacheKeyTemplate.cs", "provenance": "train-00027-of-00045.jsonl.gz:133450" }
starcoder
namespace CiSeCase.Core.Enums { public static class CacheKeyTemplate { internal const string BASKET_ID_KEY_TEMPLATE = "UserBasket_#UserId#"; } }
1.360171
7d780e819cb5914039b48d21b3568dc3
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8814231
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "SkillsFundingAgency/das-authorization", "max_stars_repo_path": "src/SFA.DAS.Authorization.UnitTests/Services/AuthorizationServiceWithDefaultHandlerTests.cs", "provenance": "train-00027-of-00045.jsonl.gz:133451" }
starcoder
using System.Linq; using System.Threading.Tasks; using FluentAssertions; using Moq; using NUnit.Framework; using SFA.DAS.Authorization.Context; using SFA.DAS.Authorization.EmployerFeatures.Errors; using SFA.DAS.Authorization.EmployerUserRoles.Errors; using SFA.DAS.Authorization.Errors; using SFA.DAS.Authorization.Hand...
1.816151
b756c17c770ba847f35733ffa2d24e1e
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8814232
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "HulinCedric/codin-game", "max_stars_repo_path": "src/Contests/SpringChallenge2021/CaptureCentralPlaceActionStrategy.cs", "provenance": "train-00027-of-00045.jsonl.gz:133452" }
starcoder
<gh_stars>0 using System.Linq; namespace CondinGame.Contests.SpringChallenge2021 { internal class CaptureCentralPlaceActionStrategy : IActionStrategy { public Action SelectAction(Game game) { var possibleSeedActions = game.possibleActions.Where(action => action.type == Actio...
2.534747
42dafb1289efc858d3f2ad1b5d87470f
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8814233
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "Dacke/AutomatedTranslation", "max_stars_repo_path": "src/Translation/Infos/LanguageCode.cs", "provenance": "train-00027-of-00045.jsonl.gz:133453" }
starcoder
<reponame>Dacke/AutomatedTranslation namespace AutomatedTranslation.Infos { public class LanguageCode { public string Code { get; set; } public string Name { get; set; } } }
1.608529
2fba39b9a76e655d4fdc55516faff3dd
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8814234
{ "extension": "c-sharp", "max_stars_count": "5.0", "max_stars_repo_name": "msx752/WindowsForms.Console", "max_stars_repo_path": "src/WindowsForms.Console/Extensions/FConsoleExtensions.cs", "provenance": "train-00027-of-00045.jsonl.gz:133454" }
starcoder
using System; using System.Collections.Generic; using System.Drawing; using System.Linq; using System.Threading.Tasks; using System.Windows.Forms; namespace WindowsForms.Console.Extensions { /// <summary> /// for easy access to properties of FConsole /// </summary> public static class FConsoleExtensio...
3.172567
708d13f7960cc98583971b3feaa73006
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8814235
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "ChristopherButtars/aws-sdk-net", "max_stars_repo_path": "sdk/src/Services/FinSpaceData/Generated/_bcl35/AmazonFinSpaceDataClient.cs", "provenance": "train-00027-of-00045.jsonl.gz:133455" }
starcoder
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fi...
1.365389
4281ee681d8c6cc8c568d6ff795bc18a
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8814236
{ "extension": "c-sharp", "max_stars_count": "4.0", "max_stars_repo_name": "ilyogri/SoftUni", "max_stars_repo_path": "Technology Fundamentals/Programming Fundamentals - May 2017/Homeworks/06. Data Types and Variables - Exercises/17. Print Part of the ASCII Table/Program.cs", "provenance": "train-00027-of-0004...
starcoder
namespace _17.Print_Part_of_the_ASCII_Table { using System; public class Program { public static void Main() { int startNumber = int.Parse(Console.ReadLine()); int endNumber = int.Parse(Console.ReadLine()); for (int i = startNumber; i <= endNumber; i++)...
3.520684
1a8c2ea4f8de935c39e1f4718c13c850
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8814237
{ "extension": "c-sharp", "max_stars_count": "21.0", "max_stars_repo_name": "dolkensp/HoloXPLOR", "max_stars_repo_path": "HoloXPLOR.Data/DataForge/AutoGen/TestArrays.cs", "provenance": "train-00027-of-00045.jsonl.gz:133457" }
starcoder
<filename>HoloXPLOR.Data/DataForge/AutoGen/TestArrays.cs<gh_stars>10-100 using System; using System.Xml.Serialization; namespace HoloXPLOR.Data.DataForge { [XmlRoot(ElementName = "TestArrays")] public partial class TestArrays { [XmlArray(ElementName = "myStringArray")] [XmlArrayItem(Element...
2.062444
6db61fbb5608a7623edd3a216881ad33
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8814238
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "ttat/puzzlewarrior", "max_stars_repo_path": "Unit Tests/GnomeUnitTests/Idky.Tests/SolverTests.cs", "provenance": "train-00027-of-00045.jsonl.gz:133458" }
starcoder
<filename>Unit Tests/GnomeUnitTests/Idky.Tests/SolverTests.cs // ---------------------------------------------- // // Copyright © 2013-2014 IDKY Developments // Authors: <NAME>, <NAME> // // ---------------------------------------------- namespace Idky.Tests { using System; using System.Collections.Generi...
2.90351
ad58f8efe8c9d7c66912cc7d8350c1b1
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8814239
{ "extension": "c-sharp", "max_stars_count": "7.0", "max_stars_repo_name": "dmsl/rayzit", "max_stars_repo_path": "windows/Rayzit/MainPage.xaml.cs", "provenance": "train-00027-of-00045.jsonl.gz:133459" }
starcoder
<gh_stars>1-10 /** * Copyright (c) 2016 Data Management Systems Laboratory, University of Cyprus * * * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files * (the "Software"), to deal in the Software without restriction, including without...
1.645702
c20331ee74cff793899353c9ce738858
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8814240
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "jkoritzinsky/xharness", "max_stars_repo_path": "src/Microsoft.DotNet.XHarness.Apple/DeviceFinder.cs", "provenance": "train-00027-of-00045.jsonl.gz:133460" }
starcoder
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Linq; using System.Threading.Tasks; using Microsoft.DotNet.XHarness.Common.CLI; using Mi...
2.042947
bbfe8f86056e0e7fe965164b18e90df6
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8814241
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "developeramarish/moh-prime", "max_stars_repo_path": "prime-dotnet-webapi/Controllers/DocumentAccessController.cs", "provenance": "train-00027-of-00045.jsonl.gz:133461" }
starcoder
using System; using System.Threading.Tasks; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Prime.Auth; using Prime.Models.Api; using Prime.Services; using Prime.HttpClients; namespace Prime.Controllers { [Produces("application/json")] [Route("ap...
2.180953
eebb5dc002b20d37cf467f4908dcf830
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8814242
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "azraelrabbit/FastGithub", "max_stars_repo_path": "FastGithub.Core/ServiceCollectionExtensions.cs", "provenance": "train-00027-of-00045.jsonl.gz:133462" }
starcoder
<reponame>azraelrabbit/FastGithub using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using System; using System.Linq; using System.Reflection; namespace FastGithub { /// <summary> /// 服务注册扩展 /// </summary> public static class ServiceCollectionExtensions { ...
2.563238
9d6dca90fcb0f3ecddb7e0ca3a8606b8
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8814243
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "marknasr2/hydrologyVR", "max_stars_repo_path": "Unity/Assets/Vr demo/DemoScene/Scripts/PointersControl.cs", "provenance": "train-00027-of-00045.jsonl.gz:133463" }
starcoder
<reponame>marknasr2/hydrologyVR /************************************************************************************ Copyright : Copyright 2014 Oculus VR, LLC. All Rights reserved. Licensed under the Oculus VR Rift SDK License Version 3.2 (the "License"); you may not use the Oculus VR Rift SDK except in complia...
1.505214
9416a92b3f370ab2a451d5810d7cee1b
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8814244
{ "extension": "c-sharp", "max_stars_count": "18.0", "max_stars_repo_name": "dcomms/dcomms", "max_stars_repo_path": "Dcomms.SUBT/P2PTP/LocalLogic/LocalLogicConfiguration.cs", "provenance": "train-00027-of-00045.jsonl.gz:133464" }
starcoder
<reponame>dcomms/dcomms<filename>Dcomms.SUBT/P2PTP/LocalLogic/LocalLogicConfiguration.cs using System; using System.Collections.Generic; using System.Text; namespace Dcomms.P2PTP.LocalLogic { public static class LocalLogicConfiguration { public const ushort IpAndUdpHeadersSizeBytes = 28; // 20 bytes f...
1.936795
03156bbc6682b33f8911ae3504ce92d7
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8814245
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "IvayloGoranov/FamousQuoteQuizWebService", "max_stars_repo_path": "FamousQuoteQuizWebService/FamousQuoteQuiz.Server.Infrastructure/ApplicationRoleManager.cs", "provenance": "train-00027-of-00045.jsonl.gz:133465" }
starcoder
<filename>FamousQuoteQuizWebService/FamousQuoteQuiz.Server.Infrastructure/ApplicationRoleManager.cs using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.EntityFramework; using Microsoft.AspNet.Identity.Owin; using Microsoft.Owin; using FamousQuoteQuiz.Data; namespace TravelAgentAidKit.Server.Infra...
2.04462
20a93e3d119a4e00491f6bb631b6d939
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8814246
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "MrHanKing/UnityHotfixDemoAddressableAndILRuntime", "max_stars_repo_path": "Assets/Model/Module/Duration/DurationHelp.cs", "provenance": "train-00027-of-00045.jsonl.gz:133466" }
starcoder
using System.Collections; using System.Collections.Generic; using UnityEngine; namespace ETModel { public class DurationHelp { private static DurationHelp instance; public static DurationHelp I { get { if (instance == null) ...
2.332214
69ca063ddeed7e22b30c3ad2e7d4d1c0
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8814247
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "alecsg77/ExpressionTreeToolkit", "max_stars_repo_path": "test/ExpressionTreeToolkit.UnitTests/ExpressionEqualityComparerBehaviour.Switch.cs", "provenance": "train-00027-of-00045.jsonl.gz:133467" }
starcoder
<reponame>alecsg77/ExpressionTreeToolkit<gh_stars>1-10 // Copyright (c) 2018 <NAME> // Licensed under the MIT License. See LICENSE file in the project root for full license information. using System.Linq.Expressions; using ExpressionTreeToolkit.UnitTests.Stubs; using Xunit; namespace ExpressionTreeToolkit.UnitTest...
2.327344
201245d189394fe2a37b9ffd1846ab42
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8814248
{ "extension": "c-sharp", "max_stars_count": "68.0", "max_stars_repo_name": "NtreevSoft/Crema", "max_stars_repo_path": "server/Ntreev.Crema.Services.Test/Extensions.cs", "provenance": "train-00027-of-00045.jsonl.gz:133468" }
starcoder
//Released under the MIT License. // //Copyright (c) 2018 Ntreev Soft co., Ltd. // //Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated //documentation files (the "Software"), to deal in the Software without restriction, including without limitation the //rig...
1.770465
2935476b69230026774a9fa04ccfe12a
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8814249
{ "extension": "c-sharp", "max_stars_count": "31.0", "max_stars_repo_name": "TKKChina/Raindrops.UI.WebView", "max_stars_repo_path": "Raindrops.UI.WebView/Miniblink/PInvoke/Handle/mbWebSocketChannel.cs", "provenance": "train-00027-of-00045.jsonl.gz:133469" }
starcoder
<filename>Raindrops.UI.WebView/Miniblink/PInvoke/Handle/mbWebSocketChannel.cs<gh_stars>10-100 using System; namespace Raindrops.UI.WebView.Miniblink.PInvoke.Handle { public struct mbWebSocketChannel : IEquatable<mbWebSocketChannel> { IntPtr _handle; public bool Equals(mbWebSocketChannel other)...
2.233764
24ec5f330f946b327d57b32a61afde50
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8814250
{ "extension": "c-sharp", "max_stars_count": "1142.0", "max_stars_repo_name": "qhdwight/silk-net", "max_stars_repo_path": "src/OpenGL/Silk.NET.OpenGL/Enums/ConditionalRenderMode.gen.cs", "provenance": "train-00027-of-00045.jsonl.gz:133470" }
starcoder
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System; using Silk.NET.Core.Attributes; #pragma warning disable 1591 namespace Silk.NET.OpenGL { [NativeName("Name", "ConditionalRenderMode")] public enum Conditiona...
1.710813
eb8d758f848481b5667045f1717981c9
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8814251
{ "extension": "c-sharp", "max_stars_count": "8.0", "max_stars_repo_name": "kkykkykky/HSPlugins", "max_stars_repo_path": "MoreAccessoriesAI/Patches/CustomAcsCorrectSet.cs", "provenance": "train-00027-of-00045.jsonl.gz:133471" }
starcoder
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Reflection.Emit; using AIChara; using CharaCustom; using HarmonyLib; using ToolBox.Extensions; using UniRx; using UniRx.Triggers; using UnityEngine; using UnityEngine.UI; namespace MoreAccessoriesAI.Patches { ...
1.729504
58a04e1184a9eca1669287cf8c954861
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8814252
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "bazile/Training", "max_stars_repo_path": "CSharp/L02-S06-IEnumerable/04-MyList-Generic-yield/Program.cs", "provenance": "train-00027-of-00045.jsonl.gz:133472" }
starcoder
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace TrainingCenter.EnumerableDemo { class Program { static void Main(string[] args) { var list = new MyList<string>() { "aaa", "bbb", "ccc" }; foreac...
3.016596
5691391342eb11ee3bcac1f6a9bf7421
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8814253
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "niksigouin/GlowFo", "max_stars_repo_path": "Glowstick Forest/Assets/Lux URP Essentials/Scripts/Procedural Texturing/Editor/ProceduralTexture2DEditor.cs", "provenance": "train-00027-of-00045.jsonl.gz:133473" }
starcoder
using System.Collections.Generic; using UnityEngine; using UnityEditor; [CustomEditor(typeof(ProceduralTexture2D)), CanEditMultipleObjects] public class ProceduralTexture2DEditor : Editor { ProceduralTexture2D[] targetAssets; public void OnEnable() { Object[] monoObjects = targets; targe...
2.272283
dfec76f7596d4e37a3f7cd6680766d42
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8814254
{ "extension": "c-sharp", "max_stars_count": "81.0", "max_stars_repo_name": "moonantonio/charon-unity3d", "max_stars_repo_path": "src/GameDevWare.Charon.Unity/Json/JsonArray.cs", "provenance": "train-00027-of-00045.jsonl.gz:133474" }
starcoder
<gh_stars>10-100 using System; using System.Collections; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; namespace GameDevWare.Charon.Unity.Json { internal class JsonArray : JsonValue, IList<JsonValue> { private readonly List<JsonValue> list; public JsonArray(param...
2.785732
fd55cd60cbbf1844c1b72921468dfd72
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8814255
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "sonosun/apollo.net.core", "max_stars_repo_path": "Apollo/Logging/LogManager.cs", "provenance": "train-00027-of-00045.jsonl.gz:133475" }
starcoder
using System; namespace Com.Ctrip.Framework.Apollo.Logging { public static class LogManager { /// <summary> /// Allows the <see cref="ILoggerProvider"/> to be set for this library. <see cref="Provider"/> can /// be set once, and must be set before any other library methods are used. ...
2.584142
7c0c657ea4152d2b71369e1fb75e04c6
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8814256
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "sovietspaceship/BeatSaber_RunCommands", "max_stars_repo_path": "Settings/UI/RunCommandsViewController.cs", "provenance": "train-00027-of-00045.jsonl.gz:133476" }
starcoder
using HMUI; using Zenject; using System.Diagnostics; using BeatSaberMarkupLanguage.Attributes; using BeatSaberMarkupLanguage.Components; using BeatSaberMarkupLanguage.ViewControllers; using RunCommands.Configuration; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using IPA.Utilities....
2.033862
23361dc9881fdefcff29e95ab611d3f2
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8814257
{ "extension": "c-sharp", "max_stars_count": "13.0", "max_stars_repo_name": "z3nth10n/unity-themes", "max_stars_repo_path": "Codebase/Editor/@Unity/Editor/Systems/Themes/ThemeVerticalSpace.cs", "provenance": "train-00027-of-00045.jsonl.gz:133477" }
starcoder
<reponame>z3nth10n/unity-themes namespace Zios.Unity.Editor.Themes{ /*[CustomPropertyDrawer(typeof(object),true)] public class ThemeVerticalSpace : PropertyDrawer{ public override float GetPropertyHeight(SerializedProperty property,GUIContent label){return base.GetPropertyHeight(property,label) * y.Interface.Theme....
1.607641
ea6019463eb06f9859b118682b30ae3a
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8814258
{ "extension": "c-sharp", "max_stars_count": "6.0", "max_stars_repo_name": "xyx0826/Septerra", "max_stars_repo_path": "Septerra.Core/Formats/NativeFormatProvider.cs", "provenance": "train-00027-of-00045.jsonl.gz:133478" }
starcoder
using System; using System.Collections.Generic; using System.IO; using Septerra.Core; using Septerra.Core.Sources; namespace Septerra.Core.DB { public static class NativeFormatProvider { public static readonly TiffImageReader _tiffReader = new TiffImageReader(); public static Byte[] ReadAllBy...
2.591103
9406b1ca88c0006212b8cc0a0e8ff278
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8814259
{ "extension": "c-sharp", "max_stars_count": "21.0", "max_stars_repo_name": "InstantBusinessNetwork/IBN", "max_stars_repo_path": "Source/Server/Business/LocalDiskEntityObjectPlugin.cs", "provenance": "train-00027-of-00045.jsonl.gz:133479" }
starcoder
using System; using System.Collections.Generic; using System.Text; using Mediachase.Ibn.Core.Business; using System.Configuration; using System.IO; using Mediachase.Ibn.Data; using System.Globalization; using System.Web.Hosting; using Mediachase.Ibn.XmlTools; using System.Collections; namespace Mediachase.IBN.Busines...
2.162252
b97d282a5e32590398fdcf4cde9cb142
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8814260
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "d3rail0/mqtt", "max_stars_repo_path": "src/Tests/TcpChannelFactorySpec.cs", "provenance": "train-00027-of-00045.jsonl.gz:133480" }
starcoder
using System; using System.Net; using System.Net.Mqtt; using System.Net.Mqtt.Sdk.Bindings; using System.Net.Sockets; using System.Threading.Tasks; using Xunit; namespace Tests { public class TcpChannelFactorySpec { [Fact] public async Task when_creating_channel_then_succeeds() { var configuration = new Mqt...
2.348384
4d5ccafc8dd439628f6360a2330dd3ea
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8814261
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "GBSEcom/DotNet", "max_stars_repo_path": "src/Org.OpenAPITools/Model/ReceiverInfo.cs", "provenance": "train-00027-of-00045.jsonl.gz:133481" }
starcoder
<reponame>GBSEcom/DotNet<gh_stars>1-10 /* * Payment Gateway API Specification. * * The documentation here is designed to provide all of the technical guidance required to consume and integrate with our APIs for payment processing. To learn more about our APIs please visit https://docs.firstdata.com/org/gateway. * ...
1.821535
ef4593cce5273a5ca593bfc5e9a0c38b
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8814262
{ "extension": "c-sharp", "max_stars_count": "136.0", "max_stars_repo_name": "robvet/dapr-traffic-control", "max_stars_repo_path": "src/TrafficControlService/Startup.cs", "provenance": "train-00027-of-00045.jsonl.gz:133482" }
starcoder
using System; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; using TrafficControlService.Actors; using TrafficControlService.DomainServices; using TrafficControlService....
1.98712
be288b01f8732944773d293f19939d41
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8814263
{ "extension": "c-sharp", "max_stars_count": "58.0", "max_stars_repo_name": "xigadee/Microservice", "max_stars_repo_path": "Src/Xigadee.Abstractions/ServiceHandler/Handlers/Serializers/JsonRawSerializer.cs", "provenance": "train-00027-of-00045.jsonl.gz:133483" }
starcoder
using System; using System.Collections.Generic; using System.IO; using Newtonsoft.Json; namespace Xigadee { /// <summary> /// This is the raw JSON serializer. /// </summary> /// <seealso cref="Xigadee.SerializerBase" /> public class JsonRawSerializer : SerializerBase { private readonly...
2.542144
9c764227547268315bda400511ceb529
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8814264
{ "extension": "c-sharp", "max_stars_count": "3359.0", "max_stars_repo_name": "cnheider/SpaceEngineers", "max_stars_repo_path": "Sources/Sandbox.Game/Game/Entities/MyEntityStat.cs", "provenance": "train-00027-of-00045.jsonl.gz:133484" }
starcoder
using Sandbox.Definitions; using Sandbox.Game.Multiplayer; using System; using System.Collections.Generic; using System.Diagnostics; using VRage.Collections; using VRage.Game; using VRage.Game.Common; using VRage.Game.ObjectBuilders; using VRage.ObjectBuilders; using VRage.Utils; using VRageMath; namespace Sandbox.Ga...
1.979561
635e33defe80ce096777f3e5172554b8
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8814265
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "devinleighsmith/PIMS", "max_stars_repo_path": "backend/Controllers/PlacesController.cs", "provenance": "train-00027-of-00045.jsonl.gz:133485" }
starcoder
<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using BackendApi.Data; using Model = BackendApi.Models; using Entity = BackendApi.Data.Entities; using System.Net; using System.Security.Claims; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCo...
2.187078
c12fb9f68f6cf9f3405e7b553d341990
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8814266
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "samritchie/aws-sdk-net", "max_stars_repo_path": "AWSSDK_DotNet35/Amazon.ElasticTranscoder/Model/Internal/MarshallTransformations/CreateJobOutputMarshaller.cs", "provenance": "train-00027-of-00045.jsonl.gz:133486" }
starcoder
/* * Copyright 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "l...
1.605543
bd3598097a5ea87d0753b07f808fa6dc
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8814267
{ "extension": "c-sharp", "max_stars_count": "18.0", "max_stars_repo_name": "yretenai/UAssetParser", "max_stars_repo_path": "UObjectDeserializer/Serialization/DragonTarget.cs", "provenance": "train-00027-of-00045.jsonl.gz:133487" }
starcoder
using DragonLib.XML; namespace UObjectDeserializer.Serialization { public class DragonTarget : ISerializationTarget { public string Serialize(object? obj) { return DragonML.Print(obj, DragonMLSettings.Slim) ?? string.Empty; } public string Extension { get; } = ".dr...
2.211329
892fd58c93a6e06897f75dd4568a1d81
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8814268
{ "extension": "c-sharp", "max_stars_count": "9.0", "max_stars_repo_name": "kuzyasun/XamarinAndroidSwipeableCardStack", "max_stars_repo_path": "samples/SwipeableCardStackDemoApp/SwipeableCardStackDemoApp/MyCard.cs", "provenance": "train-00027-of-00045.jsonl.gz:133488" }
starcoder
#region using using System; using Android.Content; using Android.Runtime; using Android.Support.V7.Widget; using Android.Util; #endregion namespace Gemslibe.Xamarin.Droid.UI.SwipeCards { public class MyCard : CardView { public MyCard(IntPtr javaReference, JniHandleOwnership transfer) : base(javaRefer...
2.211248
118fcca1783bbc7a5162fd2d0a1892ec
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8814269
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "pointfeev/FireExtinguisher", "max_stars_repo_path": "1.2/WorkGiver_ExtinguishFire.cs", "provenance": "train-00027-of-00045.jsonl.gz:133489" }
starcoder
using RimWorld; using Verse; using Verse.AI; namespace FireExtinguisher { internal class WorkGiver_ExtinguishFire : WorkGiver_Scanner { public override ThingRequest PotentialWorkThingRequest => ThingRequest.ForDef(ThingDefOf.Fire); public override bool HasJobOnThing(Pawn pawn, Thing t, bool f...
1.961741
af02911f2de933bc63def094869c459e
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8814270
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "gshri67/S.i.-Systems---Client-App", "max_stars_repo_path": "source/ConsultantApp/ConsultantApp.Core/ViewModels/RemittanceSummaryViewModel.cs", "provenance": "train-00027-of-00045.jsonl.gz:133490" }
starcoder
<filename>source/ConsultantApp/ConsultantApp.Core/ViewModels/RemittanceSummaryViewModel.cs using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using Shared.Core; using SiSystems.SharedModels; using System.Net.Http; namespace ConsultantApp.Core.ViewModels {...
2.432944
b56ec2c1c27316098c87dbafde6e4d84
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8814271
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "wdpersonal-test/test22", "max_stars_repo_path": "src/MASA.Blazor/Components/Tabs/MTab.cs", "provenance": "train-00027-of-00045.jsonl.gz:133491" }
starcoder
using BlazorComponent; using Microsoft.AspNetCore.Components; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace MASA.Blazor { public class MTab : BTab { [Parameter] public bool Ripple { get; set; } = true; protected override void OnParamet...
2.201773
7d4adddc19b457ec37148a00ee554e47
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8814272
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "rasoulian/roslyn", "max_stars_repo_path": "src/Workspaces/Core/Portable/Workspace/Solution/Checksum.cs", "provenance": "train-00027-of-00045.jsonl.gz:133492" }
starcoder
<gh_stars>1-10 // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; using System.Runtime.InteropServices; u...
2.620128
01170c43d0b19561ec345df1a4120707
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8814273
{ "extension": "c-sharp", "max_stars_count": "143.0", "max_stars_repo_name": "WeihanLi/redis-om-dotnet", "max_stars_repo_path": "src/Redis.OM/Modeling/SearchFieldAttribute.cs", "provenance": "train-00027-of-00045.jsonl.gz:133493" }
starcoder
using System; using Redis.OM.Modeling; namespace Redis.OM.Modeling { /// <summary> /// Decorates a field that you want to index. /// </summary> [AttributeUsage(AttributeTargets.Property, AllowMultiple = true)] public abstract class SearchFieldAttribute : RedisFieldAttribute { /// <summ...
2.736897
b0dca4b1fae721ce85e887b8b8b94264
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8814274
{ "extension": "c-sharp", "max_stars_count": "108.0", "max_stars_repo_name": "circleupx/JsonApiFramework", "max_stars_repo_path": "Source/JsonApiFramework.Core/Properties/CoreErrorStrings.Designer.cs", "provenance": "train-00027-of-00045.jsonl.gz:133494" }
starcoder
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
1.962336
00c1162c6a65e6895e1fd5050a8205be
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8814275
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "stosc/tencentcloud-sdk-dotnet", "max_stars_repo_path": "TencentCloud/Cvm/V20170312/Models/Image.cs", "provenance": "train-00027-of-00045.jsonl.gz:133495" }
starcoder
<reponame>stosc/tencentcloud-sdk-dotnet<gh_stars>0 /* * Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * ...
1.315916
364177d5c9e97381a9909532fed1b409
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8814276
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "PNNL-Comp-Mass-Spec/DMS-Analysis-Manager", "max_stars_repo_path": "Plugins/AM_MSAlign_Histone_Plugin/AnalysisToolRunnerMSAlignHistone.cs", "provenance": "train-00027-of-00045.jsonl.gz:133496" }
starcoder
<filename>Plugins/AM_MSAlign_Histone_Plugin/AnalysisToolRunnerMSAlignHistone.cs //********************************************************************************************************* // Written by <NAME> for the US Department of Energy // Pacific Northwest National Laboratory, Richland, WA // Created 10/12/201...
1.839596
5550b006fb753e19dda0889e9411e707
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8814277
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "nilavanrajamani/ecommerce-microservice", "max_stars_repo_path": "AspnetRun.Services.Checkout/Core/Repositories/IProductRepository.cs", "provenance": "train-00027-of-00045.jsonl.gz:133497" }
starcoder
using AspnetRun.Services.Basket.Core.Entities; using AspnetRun.Services.Basket.Core.Repositories.Base; using System.Threading.Tasks; namespace AspnetRun.Services.Basket.Core.Repositories { public interface IProductRepository : IRepository<Product> { Task<Product> GetProductByIdWithCategoryAsync(int pr...
1.541469
2995236bd6f0e404f032fe6039f6e115
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8814278
{ "extension": "c-sharp", "max_stars_count": "6.0", "max_stars_repo_name": "42skillz/talk-AMDDD19", "max_stars_repo_path": "code/TicketOffice/TicketOffice.Tests/ShowSuggestionsMadeShould.cs", "provenance": "train-00027-of-00045.jsonl.gz:133498" }
starcoder
<reponame>42skillz/talk-AMDDD19<filename>code/TicketOffice/TicketOffice.Tests/ShowSuggestionsMadeShould.cs using System.Collections.Generic; using NFluent; using NUnit.Framework; using TicketOffice.Api.Domain; using TicketOffice.Api.Infra.LeftSideAdapters; using TicketOffice.Api.Infra.RightSideAdapters; using TicketOf...
2.040349
90be6d1867063b26ad722ebab8638108
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8814279
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "ClydeDz/folder-inspector", "max_stars_repo_path": "FolderInspector/FolderInspector.cs", "provenance": "train-00027-of-00045.jsonl.gz:133499" }
starcoder
<reponame>ClydeDz/folder-inspector /* * Author: <NAME> * Project: Folder Inspector * Twitter: @ClydeDz * GitHub: @ClydeDz */ using System; using System.Configuration; using System.Diagnostics; using FolderInspector.Constants; using FolderInspector.Helper; using FolderInspector.Model; using FolderInspector.Uti...
2.867181
c0c3bc0806482c1629e44397f60d6403
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8814280
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "thelad43/Programming-Fundamentals-SoftUni", "max_stars_repo_path": "18. Files, Directories and Exceptions - Exercises/10. Book Library Modification/StartUp.cs", "provenance": "train-00027-of-00045.jsonl.gz:133500" }
starcoder
<filename>18. Files, Directories and Exceptions - Exercises/10. Book Library Modification/StartUp.cs namespace _10.Book_Library_Modification { using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Linq; public class StartUp { publ...
3.375167
a71bad7cbd2658dbbfd0b3cfac49450e
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8814281
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "WazzaMo/UnityComponents", "max_stars_repo_path": "ActorKit/Scripts/Tools.Common/ShaderExt.cs", "provenance": "train-00027-of-00045.jsonl.gz:133501" }
starcoder
<filename>ActorKit/Scripts/Tools.Common/ShaderExt.cs /* * ShaderExt Unity Component * (c) Copyright 2017, <NAME> * GitHub repo WazzaMo/UnityComponents * Provided under the terms of the MIT License. */ using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Tools.Common { ...
2.690078
ac6c4b78cb785841e97a81115dfef045
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8814282
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "merijndejonge/WebApiGenerator", "max_stars_repo_path": "example/MyService/ValuesService.cs", "provenance": "train-00027-of-00045.jsonl.gz:133502" }
starcoder
<reponame>merijndejonge/WebApiGenerator<gh_stars>1-10 using System; using System.Threading.Tasks; using Microsoft.Extensions.Configuration; using OpenSoftware.WebApiClient; namespace MyService { public class ValuesService { private readonly IStringUtils _stringUtils; public ValuesService(IStr...
2.583291
d26c347a48d3a25ef076ec01b3aae0a0
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8814283
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "blee-usa/BlogEngine28", "max_stars_repo_path": "Custom/PostList.ascx.cs", "provenance": "train-00027-of-00045.jsonl.gz:133503" }
starcoder
<reponame>blee-usa/BlogEngine28 using System; using System.Collections.Generic; using System.Web.UI; using BlogEngine.Core; using BlogEngine.Core.Web.Controls; namespace BlogEngine.Web.Custom { /// <summary> /// The post list user control. /// </summary> public partial class PostList : Us...
2.254855
3c257d07f5546e83bd5aed225924348c
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8814284
{ "extension": "c-sharp", "max_stars_count": "10.0", "max_stars_repo_name": "CoditEU/lunchorder", "max_stars_repo_path": "backend/WebApi/Lunchorder.Domain/Dtos/UserBalanceAuditItem.cs", "provenance": "train-00027-of-00045.jsonl.gz:133504" }
starcoder
<gh_stars>1-10 using System; namespace Lunchorder.Domain.Dtos { /// <summary> /// Represents a balance audit item /// </summary> public class UserBalanceAuditItem { public DateTime Date { get; set; } public string OriginatorName { get; set; } public decimal Amount { get; set...
1.636315
6b78be70fe637a4fed8119b1cf12aaa1
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8814285
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "msotiroff/Softuni-learning", "max_stars_repo_path": "C# Fundamentals Module/CSharp-OOP-Advanced/March 2018 instance/00.ExamPreparations/Minedraft_07.09.2017/Solution/Core/Commands/ShutdownCommand.cs", "provenance": "train-00027-of-000...
starcoder
<filename>C# Fundamentals Module/CSharp-OOP-Advanced/March 2018 instance/00.ExamPreparations/Minedraft_07.09.2017/Solution/Core/Commands/ShutdownCommand.cs using System; using System.Collections.Generic; public class ShutdownCommand : BaseCommand { private IHarvesterController harvesterController; private IPr...
2.413914
91770077ba6e4d1512ff62a915ffe40a
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8814286
{ "extension": "c-sharp", "max_stars_count": "15.0", "max_stars_repo_name": "vkvenkat/corefx", "max_stars_repo_path": "src/Common/src/System/Net/NetworkInformation/StartIPOptions.cs", "provenance": "train-00027-of-00045.jsonl.gz:133506" }
starcoder
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. namespace System.Net.NetworkInformation { [Flags] internal enum StartIPOptions { None = 0, ...
1.601825
21af2f184f49df502078170563db8faa
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8814287
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "GrapeCity/Spread.Services-for-.NET", "max_stars_repo_path": "Examples/Features/Formulas/UseArrayFormula.cs", "provenance": "train-00027-of-00045.jsonl.gz:133507" }
starcoder
<reponame>GrapeCity/Spread.Services-for-.NET using System; using System.Collections.Generic; using System.Text; namespace GrapeCity.Documents.Spread.Examples.Features.Formulas { public class UseArrayFormula : ExampleBase { public override void Execute(GrapeCity.Documents.Spread.Workbook workbook) ...
2.680636
6b77a48d59ab03ce025789c07a42cc3e
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8814288
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "SebastianStehle/graphql-dotnet", "max_stars_repo_path": "src/GraphQL/Validation/BasicVisitor.cs", "provenance": "train-00027-of-00045.jsonl.gz:133508" }
starcoder
<gh_stars>1-10 using System.Collections; using System.Collections.Generic; using GraphQL.Language.AST; namespace GraphQL.Validation { /// <summary> /// Walks an AST node tree executing <see cref="INodeVisitor.Enter(INode)"/> and <see cref="INodeVisitor.Leave(INode)"/> methods for each node. /// </summary> ...
2.884233
1616470beef5909f09581acd1f89c44b
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8814289
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "drakon660/IBM.Data.DB2", "max_stars_repo_path": "IBM.Data.DB2/DB2Command.cs", "provenance": "train-00027-of-00045.jsonl.gz:133509" }
starcoder
// // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or ...
2.106523
69a4f4ed564b07a7053d2fa9cba6a424
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8814290
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "wdolek/random-stuff", "max_stars_repo_path": "MineField/MineField/IFieldSolver.cs", "provenance": "train-00027-of-00045.jsonl.gz:133510" }
starcoder
<reponame>wdolek/random-stuff<gh_stars>0 using MineField.Entities; namespace MineField { /// <summary> /// Mine field solver /// </summary> public interface IFieldSolver { /// <summary> /// Gets representation of solved mine field /// </summary> /// <param name="fie...
2.337552
fb488a69e6a2d6bca548ea0acbcb533a
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8814291
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "kibmcz/SharpIRC", "max_stars_repo_path": "SharpIRC/SharpIRC/Cognize.GoogleSearchAPIIntegration/GoogleSearchObjects/Pages.cs", "provenance": "train-00027-of-00045.jsonl.gz:133511" }
starcoder
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; namespace Cognize.GoogleSearchAPIIntegration { [DataContract] public class Pages { [DataMember] public int start { get; set; } [DataMember] public int label { get; set; } } }
1.669119
8ad3f4926661e910eca07f40d303d16c
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8814292
{ "extension": "c-sharp", "max_stars_count": "128.0", "max_stars_repo_name": "SyllabusGames/DSMapStudio", "max_stars_repo_path": "HKX2/Autogen/hkbGeneratorSyncInfoActiveInterval.cs", "provenance": "train-00027-of-00045.jsonl.gz:133512" }
starcoder
using SoulsFormats; using System.Collections.Generic; using System.Numerics; namespace HKX2 { public partial class hkbGeneratorSyncInfoActiveInterval : IHavokObject { public virtual uint Signature { get => 692550698; } public hkbGeneratorSyncInfoSyncPoint m_syncPoints_0; public...
2.068876
b5bff706cef1e4d0b7da4dc7f0662e57
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8814293
{ "extension": "c-sharp", "max_stars_count": "5.0", "max_stars_repo_name": "mingyouzhu/Retrofit.Net", "max_stars_repo_path": "src/Retrofit.Net.Core/Params/ParamKind.cs", "provenance": "train-00027-of-00045.jsonl.gz:133513" }
starcoder
<filename>src/Retrofit.Net.Core/Params/ParamKind.cs namespace Retrofit.Net.Core.Params { public enum ParamKind { Path,Form,Body,Query } }
1.627735
b35f5e588aa4ffa68bb7be4dd407c8ec
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8814294
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "elvogel/b2c", "max_stars_repo_path": "b2c/Data/PolicyError.cs", "provenance": "train-00027-of-00045.jsonl.gz:133514" }
starcoder
<reponame>elvogel/b2c<gh_stars>1-10 using System; using System.Text.Json.Serialization; namespace b2c.Data; // Root myDeserializedClass = JsonSerializer.Deserialize<Root>(myJsonResponse); public class InnerError { [JsonPropertyName("correlationId")] public string CorrelationId { get; set; } [JsonPropert...
1.712361
a4cc1ae55d95a5113c533b67bf44894f
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8814295
{ "extension": "c-sharp", "max_stars_count": "309.0", "max_stars_repo_name": "denis417/rd", "max_stars_repo_path": "rd-net/Lifetimes/Util/BitHacks.cs", "provenance": "train-00027-of-00045.jsonl.gz:133515" }
starcoder
<filename>rd-net/Lifetimes/Util/BitHacks.cs using System; namespace JetBrains.Util { /// <summary> /// Inspired by http://graphics.stanford.edu/~seander/bithacks.html /// </summary> public static class BitHacks { private static readonly int[] ourLogFloor2Lookup = new int[256]; static BitHacks() ...
3.316836
50bbd9e32912933f037fa480e68e6e39
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8814296
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "Aurochses/Aurochses.Runtime", "max_stars_repo_path": "test/Aurochses.Runtime.Tests/ObjectHelpersTests.cs", "provenance": "train-00027-of-00045.jsonl.gz:133516" }
starcoder
using System; using System.Collections.Generic; using System.Linq; using Aurochses.Runtime.Tests.Fakes; using Xunit; namespace Aurochses.Runtime.Tests { public class ObjectHelpersTests { public static IEnumerable<object[]> ValueEqualsMemberData => new[] { new object[] {null, null, ...
2.042945
9d8c88bff4cea85f9fb77b2dfe0d931f
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8814297
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "ih8ih8sn0w/Smash-Forge", "max_stars_repo_path": "Smash Forge/GUI/Editors/LVD Editor/LVDEditor.cs", "provenance": "train-00027-of-00045.jsonl.gz:133517" }
starcoder
<gh_stars>0 using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Diagnostics; using System.Windows.Forms; using WeifenLuo.WinFormsUI.Docking; using OpenTK; namespace Smash_...
1.843202
b2dc5973638cf7837b5f936797506cd6
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8814298
{ "extension": "c-sharp", "max_stars_count": "11.0", "max_stars_repo_name": "koczkatamas/apihooker", "max_stars_repo_path": "WindowsController/ApiDefinitions.cs", "provenance": "train-00027-of-00045.jsonl.gz:133518" }
starcoder
<reponame>koczkatamas/apihooker using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using ApiHooker.Model; using ApiHooker.Model.StructSerialization; namespace ApiHooker { public static class ApiDefinitions { public static Api...
1.8487
65dc40754a194e8ed25c83c436de4338
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8814299
{ "extension": "c-sharp", "max_stars_count": "28.0", "max_stars_repo_name": "MahyTim/LuceneNetSqlDirectory", "max_stars_repo_path": "LuceneNetSqlDirectory.Tests/Tests_from_Lucene/TestTermScorer.cs", "provenance": "train-00027-of-00045.jsonl.gz:133519" }
starcoder
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
2.335455
beb6ea5da51ecf6b9ef6db71a7023e98
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8814300
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "clean-code-craft-tcq-1/add-variety-cs-ucancallmeomi", "max_stars_repo_path": "TypewiseAlert/IFakeALerter.cs", "provenance": "train-00027-of-00045.jsonl.gz:133520" }
starcoder
using System; using System.Collections.Generic; using System.Text; namespace TypewiseAlert { public interface IFakeALerter { bool TriggerAlert(BMS_Constants.BreachType breachType); } }
1.906426
5a632c1e4a5607b6848b4d69f204e19a
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8814301
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "roodfluweel/csharp-sdk", "max_stars_repo_path": "PAYNLSDK/API/Statistics/GetManagement/Request.cs", "provenance": "train-00027-of-00045.jsonl.gz:133521" }
starcoder
<gh_stars>1-10 using PayNLSdk.ExtentionMethods; using PAYNLSDK.API; using PAYNLSDK.Exceptions; using PAYNLSDK.Utilities; using System; using System.Collections.Generic; using System.Collections.Specialized; using System.Diagnostics.CodeAnalysis; namespace PayNLSdk.API.Statistics.GetManagement { /// <summary> ...
2.500526
0141938b0c5dc837e5fcbd55cbf60223
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8814302
{ "extension": "c-sharp", "max_stars_count": "3.0", "max_stars_repo_name": "reductech/Nuix", "max_stars_repo_path": "Nuix/Enums/PrintPreviewState.cs", "provenance": "train-00027-of-00045.jsonl.gz:133522" }
starcoder
namespace Reductech.Sequence.Connectors.Nuix.Enums; /// <summary> /// The state of print previews in the production set. /// </summary> public enum PrintPreviewState { /// <summary> /// All documents have a print preview. /// </summary> All, /// <summary> /// Some documents have ...
2.113709
f0cd9d68082ad603a0385144c963d0b7
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8814303
{ "extension": "c-sharp", "max_stars_count": "1929.0", "max_stars_repo_name": "jakubqwe/CommandLineUtils", "max_stars_repo_path": "src/CommandLineUtils/Internal/CommandOptionTypeMapper.cs", "provenance": "train-00027-of-00045.jsonl.gz:133523" }
starcoder
<gh_stars>1000+ // Copyright (c) <NAME>. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections; using McMaster.Extensions.CommandLineUtils.Abstractions; namespace McMaster.Extensions.CommandLineUtils { internal class...
2.374851
7570870feeff61924f3650c2fff3ff32
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8814304
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "nihatalim/AuthManager", "max_stars_repo_path": "AuthManager.DTO/Request/Logic/GetUserPermissionsRequest.cs", "provenance": "train-00027-of-00045.jsonl.gz:133524" }
starcoder
<reponame>nihatalim/AuthManager<filename>AuthManager.DTO/Request/Logic/GetUserPermissionsRequest.cs using System; using System.Collections.Generic; using System.Text; namespace AuthManager.DTO.Request.Logic { public class GetUserPermissionsRequest : BaseRequest { } }
1.329014
2d0029b5277637237b8d60ab842723fc
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8814305
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "Elders/Cronus.Migration.Middleware", "max_stars_repo_path": "src/Elders.Cronus.Migration.Middleware/OverwriteAggregateCommitMigrationMiddleware.cs", "provenance": "train-00027-of-00045.jsonl.gz:133525" }
starcoder
using System; using Elders.Cronus.EventStore; using Elders.Cronus.Middleware; using Elders.Cronus.Migration.Middleware.Logging; namespace Elders.Cronus.Migration.Middleware { public class OverwriteAggregateCommitMigrationMiddleware : GenericMigrationMiddleware<AggregateCommit, AggregateCommit> { stati...
2.088125
ee5d059671606a59ceb2ddca3d1ac1eb
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8814306
{ "extension": "c-sharp", "max_stars_count": "12.0", "max_stars_repo_name": "jianxuanbing/Hangfire.Redis.CSRedis", "max_stars_repo_path": "src/Hangfire.Redis.CSRedisCore/RedisSubscription.cs", "provenance": "train-00027-of-00045.jsonl.gz:133526" }
starcoder
using System; using System.Threading; using CSRedis; using Hangfire.Server; using static CSRedis.CSRedisClient; namespace Hangfire.Redis { /// <summary> /// Redis订阅 /// </summary> internal class RedisSubscription : IServerComponent { /// <summary> /// 手动重置事件 /// </summary> ...
2.51365
10c1fc6c7f9475e468b3cef053a647c3
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8814307
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "Dheerajcode2016/opentelemetry-elk-exporter", "max_stars_repo_path": "OpenTelemetry.Exporter.ElasticCache/OpenTelemetry.Exporter.ElasticCache/ElasticsearchExporterHelperExtensions.cs", "provenance": "train-00027-of-00045.jsonl.gz:13352...
starcoder
<filename>OpenTelemetry.Exporter.ElasticCache/OpenTelemetry.Exporter.ElasticCache/ElasticsearchExporterHelperExtensions.cs using OTel.Exporter.Elasticsearch.Options; using System; namespace OpenTelemetry.Trace { public static class ElasticsearchExporterHelperExtensions { [System.Diagnostics.CodeAnalysis.Suppr...
1.93481
60f86ba7407050f86c94624adbdb78e8
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8814308
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "mr5z/XamarinUtility", "max_stars_repo_path": "src/Commands/AdaptiveCommand.cs", "provenance": "train-00027-of-00045.jsonl.gz:133528" }
starcoder
using Prism.Commands; using System; using System.Threading.Tasks; namespace XamarinUtility.Commands { public class AdaptiveCommand : DelegateCommand { private const double DefaultInvocationDelay = 0.7; public double InvocationDelayInSeconds { get; set; } private DateTime lastInvokeTi...
2.891491
ce5f0a75a93639969b452b9d2d6daba1
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8814309
{ "extension": "c-sharp", "max_stars_count": "132.0", "max_stars_repo_name": "MirrorNG/MirrorNG", "max_stars_repo_path": "Assets/Mirage/Samples~/AssemblyInfo.cs", "provenance": "train-00027-of-00045.jsonl.gz:133529" }
starcoder
using System.Reflection; [assembly: AssemblyVersion("107.1.3")]
0.541337
f5f61036188140e06a2bf5a9971e7757
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8814310
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "chrispepper1989/xunit", "max_stars_repo_path": "src/xunit.v3.runner.common/Sinks/DelegatingSinks/DelegatingXmlCreationSink.cs", "provenance": "train-00027-of-00045.jsonl.gz:133530" }
starcoder
<reponame>chrispepper1989/xunit using System; using System.Collections.Generic; using System.Globalization; using System.Text; using System.Threading; using System.Xml.Linq; using Xunit.Internal; using Xunit.Sdk; using Xunit.v3; namespace Xunit.Runner.Common { /// <summary> /// A delegating implementation of <see c...
2.003083
d769f83aeac04ab58560c608c769043c
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8814311
{ "extension": "c-sharp", "max_stars_count": "7.0", "max_stars_repo_name": "kexxxfeng/learning-schedule", "max_stars_repo_path": "src/Infrastructure/Cnblogs.Academy.ServiceAgent/BlogApi/BlogApiService.cs", "provenance": "train-00027-of-00045.jsonl.gz:133531" }
starcoder
using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Cnblogs.Academy.DTO; namespace Cnblogs.Academy.ServiceAgent.BlogApi { public class BlogApiService : IBlogApiService { private readonly IBlogApi _blogApi; public BlogApiService(IBlogApi blogApi) { ...
2.655122
6d3d266415d9f2b2e34fae5d08c85cbb
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8814312
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "Grischenkov/OS_CP", "max_stars_repo_path": "OS_CP.Presenter/RegistryFunctions.cs", "provenance": "train-00027-of-00045.jsonl.gz:133532" }
starcoder
<reponame>Grischenkov/OS_CP<gh_stars>0 using Microsoft.Win32; using System.IO; namespace OS_CP.Presenter { /// <summary> /// /// </summary> public static class RegistryFunctions { public static readonly string CurrentPath = Directory.GetCurrentDirectory(); /// <summary> /...
2.489487
ac2d732f333c4c4aef8af1faa31811a8
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8814313
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "KorzunAV/steepshot-mobile", "max_stars_repo_path": "Sources/Steepshot/Steepshot.Core/Models/Requests/CreateOrEditCommentModel.cs", "provenance": "train-00027-of-00045.jsonl.gz:133533" }
starcoder
using Newtonsoft.Json; using Steepshot.Core.Authority; using Steepshot.Core.Services; using Steepshot.Core.Models.Common; using Ditch.Core.Helpers; namespace Steepshot.Core.Models.Requests { [JsonObject(MemberSerialization.OptIn)] public class CreateOrEditCommentModel : CommentModel { public bool ...
1.841746
9c3e9513d06666d26c47e713fb1de7d9
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8814314
{ "extension": "c-sharp", "max_stars_count": "1629.0", "max_stars_repo_name": "aTiKhan/CommunityServer", "max_stars_repo_path": "module/ASC.Api/ASC.Api.Community/Bookmarks/BookmarkApi.cs", "provenance": "train-00027-of-00045.jsonl.gz:133534" }
starcoder
<gh_stars>1000+ /* * * (c) Copyright Ascensio System Limited 2010-2021 * * 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 ...
1.63207
d6fea3662127314d3ef415ebd2fafb06
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8814315
{ "extension": "c-sharp", "max_stars_count": "7.0", "max_stars_repo_name": "yc-l/yc.boilerplate", "max_stars_repo_path": "src/MicroService/YC.Micro.Consul/LoadBalance/AbstractLoadBalance.cs", "provenance": "train-00027-of-00045.jsonl.gz:133535" }
starcoder
 using System; using System.Collections.Generic; namespace YC.Micro.Consul { /// <summary> /// 负载均衡抽象实现 /// </summary> public abstract class AbstractLoadBalance : ILoadBalance { static int CalculateWarmupWeight(int uptime, int warmup, int weight) { int ww = (int)((float...
2.73831
d0cd3cc92fedb336f91c42ba8a96a7f3
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8814316
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "keremakbal/ProjectMars", "max_stars_repo_path": "Domain/Extension/ExceptionExtension.cs", "provenance": "train-00027-of-00045.jsonl.gz:133536" }
starcoder
<filename>Domain/Extension/ExceptionExtension.cs using System; using System.Text; namespace Domain { public static class ExceptionExtension { public static string CreateExceptionString(this Exception exception) { var sb = new StringBuilder(); CreateExceptionString(sb, e...
3.280805
b8d7a996358a0c3507d732ca92843595
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8814317
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "jannesen/Jannesen.FileFormat.Pdf", "max_stars_repo_path": "Font/PdfFontFamily.cs", "provenance": "train-00027-of-00045.jsonl.gz:133537" }
starcoder
<reponame>jannesen/Jannesen.FileFormat.Pdf using System; using System.Collections.Generic; using System.Text; namespace Jannesen.FileFormat.Pdf { public abstract class PdfFontFamily { public abstract string FamilyName { get ; } public abstract PdfFont ...
2.659837
9b4eb71d2cbffb6814e0adabdaafcd46