added
string
created
string
id
string
metadata
dict
source
string
text
string
code-score
float64
md5
string
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4537
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "RadimNedela/WebGallery", "max_stars_repo_path": "Core/InfrastructureInterfaces/Base/IRepository.cs", "provenance": "train-00000-of-00045.jsonl.gz:4538" }
starcoder
namespace WebGalery.Core.InfrastructureInterfaces.Base { public interface IRepository<T> where T : IPersistable { T Get(string hash); } }
1.844021
4ff3334ff2c2c5118ff7f234d54d0da8
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4538
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "SamKirkiles/Unreal-Game", "max_stars_repo_path": "Source/ShooterGame/ShooterGame.Build.cs", "provenance": "train-00000-of-00045.jsonl.gz:4539" }
starcoder
// Copyright Epic Games, Inc. All Rights Reserved. using UnrealBuildTool; public class ShooterGame : ModuleRules { public ShooterGame(ReadOnlyTargetRules Target) : base(Target) { PrivatePCHHeaderFile = "Public/ShooterGame.h"; PublicDefinitions.Add("HOST_ONLINE_GAMEMODE_ENABLED=" + HostOnlineGameEnabl...
1.60787
f8d2e540962ec3db272386236b759cba
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4539
{ "extension": "c-sharp", "max_stars_count": "6.0", "max_stars_repo_name": "PacktPublishing/C-8-and-.NET-Core-3.1-Recipes-2nd-Edition", "max_stars_repo_path": "Section 3/3.1_Events and Delegates/EventsAndDelegates/EventsAndDelegates/Car.cs", "provenance": "train-00000-of-00045.jsonl.gz:4540" }
starcoder
<gh_stars>1-10 using System; using System.Collections.Generic; using System.Text; namespace EventsAndDelegates { public delegate void CarSpeedChanged(int prevSpeed, int currentSpeed); public class CarSpeedChangedEventArgs : EventArgs { public int PrevSpeed { get; private set; } public int...
3.43412
5ee57466095d3265f081991ffa9cab74
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4540
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "santedb/santedb-api", "max_stars_repo_path": "SanteDB.Core.Api.Test/ExtendedQueryFilterTest.cs", "provenance": "train-00000-of-00045.jsonl.gz:4541" }
starcoder
<reponame>santedb/santedb-api /* * Copyright (C) 2021 - 2021, SanteSuite Inc. and the SanteSuite Contributors (See NOTICE.md for full copyright notices) * Copyright (C) 2019 - 2021, Fyfe Software Inc. and the SanteSuite Contributors * Portions Copyright (C) 2015-2018 Mohawk College of Applied Arts and Technology *...
1.712109
78118e9ad22c133a193152acb4f8621f
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4541
{ "extension": "c-sharp", "max_stars_count": "38.0", "max_stars_repo_name": "karl-sjogren/robots-txt-middleware", "max_stars_repo_path": "src/RobotsTxt/IRobotsTxtProvider.cs", "provenance": "train-00000-of-00045.jsonl.gz:4542" }
starcoder
<reponame>karl-sjogren/robots-txt-middleware<filename>src/RobotsTxt/IRobotsTxtProvider.cs using System.Threading; using System.Threading.Tasks; namespace RobotsTxt { public interface IRobotsTxtProvider { Task<RobotsTxtResult> GetResultAsync(CancellationToken cancellationToken); } }
1.521436
0d0d51fe477325290b48d3e9de7c8384
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4542
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "staslebedenko/AzureAdventCalendar2019Demo", "max_stars_repo_path": "ServerlessSqlLoadTesting/Data/ContextConfig.cs", "provenance": "train-00000-of-00045.jsonl.gz:4543" }
starcoder
<filename>ServerlessSqlLoadTesting/Data/ContextConfig.cs using Microsoft.EntityFrameworkCore; namespace ServerlessSqlLoadTesting { public class ContextConfig { public static void Configure(ModelBuilder modelBuilder) { var person = modelBuilder.Entity<Person>(); person.P...
2.606294
7cfb05764c4548c9b39106a1f7502954
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4543
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "Varunda/honu", "max_stars_repo_path": "Services/Repositories/BadHealthRepository.cs", "provenance": "train-00000-of-00045.jsonl.gz:4544" }
starcoder
using Microsoft.Extensions.Logging; using System.Collections.Generic; using watchtower.Models.Health; namespace watchtower.Services.Repositories { public class BadHealthRepository { private readonly ILogger<BadHealthRepository> _Logger; private List<BadHealthEntry> _Entries = new List<BadHealth...
2.898358
ab27d7d4903a6d790dea20aa7cae4959
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4544
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "ekov1/WannaPlayChess", "max_stars_repo_path": "WannaPlayChess/WannaPlayChess/Board/Board.cs", "provenance": "train-00000-of-00045.jsonl.gz:4545" }
starcoder
<filename>WannaPlayChess/WannaPlayChess/Board/Board.cs using System; using WannaPlayChess.Common; using WannaPlayChess.Figures.Contracts; namespace WannaPlayChess.Board { public class Board : IBoard { private IFigure[,] board; public Board(int rows = GlobalConstants.StandardGameBoardRows, int...
3.160622
f52e23a00060b72b37bef8b207e03e63
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4545
{ "extension": "c-sharp", "max_stars_count": "45.0", "max_stars_repo_name": "eric-erki/ERP-CMR-DMS", "max_stars_repo_path": "ViennaAdvantageWeb/ModelLibrary/Model/X_CM_AccessProfile.cs", "provenance": "train-00000-of-00045.jsonl.gz:4546" }
starcoder
<gh_stars>10-100 namespace VAdvantage.Model { /** Generated Model - DO NOT CHANGE */ using System; using System.Text; using VAdvantage.DataBase; using VAdvantage.Common; using VAdvantage.Classes; using VAdvantage.Process; using VAdvantage.Model; using VAdvantage.Utility; using System.Data; /** Generated Model for CM_A...
1.809023
9aa2f56e9eb4da805e37f63b22fc21c7
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4546
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "yaniv-yechezkel/JsonApiDotNetCore", "max_stars_repo_path": "src/JsonApiDotNetCore/Hooks/Execution/DiffableEntityHashSet.cs", "provenance": "train-00000-of-00045.jsonl.gz:4547" }
starcoder
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Reflection; using JsonApiDotNetCore.Extensions; using JsonApiDotNetCore.Internal; using JsonApiDotNetCore.Models; using JsonApiDotNetCore.Serialization; namespace JsonApiDotNetCore.H...
2.620124
1e987a17b03afc99ad1dcc51579d3afb
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4547
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "brandonhuddle/NanoRPC.NET", "max_stars_repo_path": "NanoRPC.NET/Extensions/StringArrayExtensions.cs", "provenance": "train-00000-of-00045.jsonl.gz:4548" }
starcoder
<reponame>brandonhuddle/NanoRPC.NET namespace NanoRpc.Extensions { public static class StringArrayExtensions { public static string ToJsonString(this string[] array, bool includeSquareBrackets = false) { string result = includeSquareBrackets ? "[" : ""; for (int i = 0; ...
2.566091
43c88cddae0a538af8ac784d6433e1c2
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4548
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "zkrami/SuperLibrary", "max_stars_repo_path": "C#/Algorithms/Math/Fibonacci.cs", "provenance": "train-00000-of-00045.jsonl.gz:4549" }
starcoder
<reponame>zkrami/SuperLibrary /** * Class Fibonacci */ public class Fibonacci { /** * Calculates the Fibonacci number at the given index using iteration * * @param int index * @return int */ public int fibonacciIteration(int index) { int a = 0; int b = 0; int ...
3.10395
96354ade79735303c8639b366b234f89
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4549
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "bazen-teklehaymanot/stix-net", "max_stars_repo_path": "Src/StixNet/Schemas/MetaObjects/LanguageContent.cs", "provenance": "train-00000-of-00045.jsonl.gz:4550" }
starcoder
<filename>Src/StixNet/Schemas/MetaObjects/LanguageContent.cs using StixNet.Schemas; namespace StixNet.MetaObjects; public class LanguageContent : STIXObject { // object_ref, object_modified, contents public string? ObjectRef { get; set; } public DateTime ObjectModified { get; set; } public IDictionar...
2.061947
4a6edb7f277604e1a6f81b3c431f2b00
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4550
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "KowalskiPiotr98/StartLauncher", "max_stars_repo_path": "Start Launcher/Utilities/Updater/UpdateChecker.cs", "provenance": "train-00000-of-00045.jsonl.gz:4551" }
starcoder
<reponame>KowalskiPiotr98/StartLauncher using System.Linq; using System.Net.Http; using System.Text.Json; using System.Text.Json.Serialization; using System.Threading.Tasks; using System.Windows; namespace StartLauncher.Utilities.Updater { public class UpdateChecker { private static readonly string _g...
2.751229
87404aea01606c5e7b1f9de79795e979
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4551
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "uk-gov-mirror/SkillsFundingAgency.das-vacancyservices-api", "max_stars_repo_path": "src/Esfa.Vacancy.Application/Commands/CreateApprenticeship/IWageTypeMapper.cs", "provenance": "train-00000-of-00045.jsonl.gz:4552" }
starcoder
<gh_stars>1-10 using Esfa.Vacancy.Domain.Entities; namespace Esfa.Vacancy.Application.Commands.CreateApprenticeship { public interface IWageTypeMapper { LegacyWageType MapToLegacy(CreateApprenticeshipRequest request); } }
1.197218
99572060bc0e73272516e9643da676dd
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4552
{ "extension": "c-sharp", "max_stars_count": "17923.0", "max_stars_repo_name": "frandesc/roslyn", "max_stars_repo_path": "src/EditorFeatures/Core.Wpf/ExternalAccess/VSTypeScript/VSTypeScriptSignatureHelpClassifierProvider.cs", "provenance": "train-00000-of-00045.jsonl.gz:4553" }
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.Composition; using Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHe...
1.275486
d902b005e08d753e89409dbb33e6f89e
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4553
{ "extension": "c-sharp", "max_stars_count": "3.0", "max_stars_repo_name": "LavrentyAfanasiev/WPF.Tools", "max_stars_repo_path": "Ui.Wpf.Demo/Views/FlyoutDemoView.xaml.cs", "provenance": "train-00000-of-00045.jsonl.gz:4554" }
starcoder
<reponame>LavrentyAfanasiev/WPF.Tools<filename>Ui.Wpf.Demo/Views/FlyoutDemoView.xaml.cs using System.Windows.Controls; using Ui.Wpf.Common; using Ui.Wpf.Common.ShowOptions; using Ui.Wpf.Common.ViewModels; using Ui.Wpf.Demo.ViewModels; namespace Ui.Wpf.Demo.Views { /// <summary> /// Interaction logic for Flyou...
1.997757
58d678b3613a3855c3ef9502f618f007
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4554
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "spacejoy/glTFast", "max_stars_repo_path": "Runtime/Scripts/Jobs.cs", "provenance": "train-00000-of-00045.jsonl.gz:4555" }
starcoder
// Copyright 2020-2021 <NAME> // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to i...
1.93176
e31019ce154f34f0151406066411023d
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4555
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "SimonTC/QuikGraph", "max_stars_repo_path": "tests/QuikGraph.Tests/Structures/Graphs/EdgeListGraphTests.cs", "provenance": "train-00000-of-00045.jsonl.gz:4556" }
starcoder
using System; using NUnit.Framework; using static QuikGraph.Tests.GraphTestHelpers; namespace QuikGraph.Tests.Structures { /// <summary> /// Tests for <see cref="EdgeListGraph{TVertex,TEdge}"/>. /// </summary> [TestFixture] internal class EdgeListGraphTests : GraphTestsBase { [Test] ...
2.789954
f0dc92886c9fda69161e940277cde2f0
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4556
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "RHEAGROUP/Kalliope", "max_stars_repo_path": "Kalliope.Xml/Readers/Core/ObjectTypeXmlReader.cs", "provenance": "train-00000-of-00045.jsonl.gz:4557" }
starcoder
<reponame>RHEAGROUP/Kalliope<filename>Kalliope.Xml/Readers/Core/ObjectTypeXmlReader.cs // ------------------------------------------------------------------------------------------------- // <copyright file="ObjectTypeXmlReader.cs" company="RHEA System S.A."> // // Copyright 2022 RHEA System S.A. // // Licens...
2.395497
5a0751569ed0564906bfeecd238ddbce
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4557
{ "extension": "c-sharp", "max_stars_count": "15.0", "max_stars_repo_name": "Jafic/EZNEW", "max_stars_repo_path": "EZNEW/Cache/Keys/Options/SortAndStoreOptions.cs", "provenance": "train-00000-of-00045.jsonl.gz:4558" }
starcoder
using System.Collections.Generic; using System.Threading.Tasks; namespace EZNEW.Cache.Keys { /// <summary> /// Sort and store options /// </summary> public class SortAndStoreOptions : CacheOptions<SortAndStoreResponse> { /// <summary> /// Gets or sets the destination key //...
2.565816
0ebe5ab15e955411ca0d3f885bae4da0
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4558
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "rafael-a-m-chaves/AtivSem05", "max_stars_repo_path": "LanchesMac/Areas/Admin/Controllers/AdminImagensController.cs", "provenance": "train-00000-of-00045.jsonl.gz:4559" }
starcoder
<filename>LanchesMac/Areas/Admin/Controllers/AdminImagensController.cs using LanchesMac.Models; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Options; using System.Collections.Generic; using Syst...
2.477219
682044ecdcd9abb3b7992c46455ee90c
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4559
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "solvemate2018/Flight-Manager", "max_stars_repo_path": "Web/Data/ApplicationDbContext.cs", "provenance": "train-00000-of-00045.jsonl.gz:4560" }
starcoder
<reponame>solvemate2018/Flight-Manager<gh_stars>0 using System; using System.Collections.Generic; using System.Text; using Microsoft.AspNetCore.Identity.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; namespace Web.Data { //Main connection with the Datebase for Identity public class ApplicationDbCon...
1.459121
9d9c5ca198dcebd0bb780e1755497a6b
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4560
{ "extension": "c-sharp", "max_stars_count": "13.0", "max_stars_repo_name": "stark-lang/stark-roslyn", "max_stars_repo_path": "src/Compilers/Core/Portable/CodeGen/MetadataConstant.cs", "provenance": "train-00000-of-00045.jsonl.gz:4561" }
starcoder
// 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.Diagnostics; using System.Reflection; namespace StarkPlatform.CodeAnalysis.CodeGen { internal sealed class MetadataConstant :...
2.232744
be03a5bd4d1a3f7729a1a69f719dc6b4
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4561
{ "extension": "c-sharp", "max_stars_count": "415.0", "max_stars_repo_name": "xuejmnet/sharding-core", "max_stars_repo_path": "src/ShardingCore/Sharding/MergeEngines/AnyAsyncInMemoryMergeEngine.cs", "provenance": "train-00000-of-00045.jsonl.gz:4562" }
starcoder
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Text; using System.Threading; using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using ShardingCore.Helpers; using ShardingCore.Sharding.Abs...
2.027843
c5380e75f3ff0bf00689f1f48b7530de
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4562
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "Anastasiya5883/NoteApp", "max_stars_repo_path": "NoteApp/Testing/NoteApp.UnitTests/ProjectManagerTests.cs", "provenance": "train-00000-of-00045.jsonl.gz:4563" }
starcoder
using System; using System.Collections.Generic; using System.IO; using System.Net.WebSockets; using System.Reflection; using System.Text; using Newtonsoft.Json; using NUnit.Framework; namespace NoteApp.UnitTests { [TestFixture] public class ProjectManagerTests { public Project PrepareProject() ...
2.541336
b86880afca0a91c329aa82196c101c0d
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4563
{ "extension": "c-sharp", "max_stars_count": "1671.0", "max_stars_repo_name": "0x53A/sdk", "max_stars_repo_path": "src/Tests/dotnet-new.Tests/NewCommandTests.cs", "provenance": "train-00000-of-00045.jsonl.gz:4564" }
starcoder
<filename>src/Tests/dotnet-new.Tests/NewCommandTests.cs // Copyright (c) .NET Foundation and contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using FluentAssertions; using Microsoft.DotNet.Tools.Test.Utilities; using Microsoft.NET....
2.02237
b05d8800861892a9c7447ef83e9206d0
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4564
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "pmillsaps/zone.timemfg.com", "max_stars_repo_path": "src/Orchard.Web/Modules/Time.Install/Views/Home/_vswOptions.cshtml", "provenance": "train-00000-of-00045.jsonl.gz:4565" }
starcoder
<div class="alert alert-info"> <h2>What you will find in the VSW Install Options (Groups with Options) pages:</h2> <h4 class="alert alert-success text-center">Install Options, Cost, and Hours from the <i>Installation Quotation</i></h4> <p class="alert alert-success">Also, a check box to flag the Optio...
2.111741
1501bc200203ab9a82a500bb12efbb8a
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4565
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "vonderborch/Velentr.Audio", "max_stars_repo_path": "Velentr.Audio.DevEnv/Game1.cs", "provenance": "train-00000-of-00045.jsonl.gz:4566" }
starcoder
using System; using System.Collections.Generic; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using Velentr.Audio.Categories; using Velentr.Audio.Helpers; using Velentr.Audio.Playlists; using Velentr.Audio.Tagging; namespace Velentr.Audio.DevEnv { public class Game1 : Game { p...
2.366447
a13f865d733ad8bdadd6c41453c2af0e
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4566
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "rdragon/blob-backup", "max_stars_repo_path": "BlobBackup/RestoreProvider.cs", "provenance": "train-00000-of-00045.jsonl.gz:4567" }
starcoder
<reponame>rdragon/blob-backup<gh_stars>0 using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BlobBackup { public class RestoreProvider { private readonly FileProvider _fileProvider; private read...
2.410654
e954e0b70d47e1a78ba067394529f678
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4567
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "rashmitpankhania/JavaFirstProject", "max_stars_repo_path": "PJP2.0/week_4/DateTimeCalculator/BulkOperation.cs", "provenance": "train-00000-of-00045.jsonl.gz:4568" }
starcoder
<filename>PJP2.0/week_4/DateTimeCalculator/BulkOperation.cs using System; using System.Collections.Generic; using System.Diagnostics; using System.Globalization; using System.IO; using System.Linq; using System.Threading; using System.Threading.Tasks; using Microsoft.Extensions.Primitives; namespace DateTimeCalculator...
3.246346
bc3a6e2ffaedea976b28d6be50f723f3
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4568
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "gustavoFG28/Discussex", "max_stars_repo_path": "webDiscussex/webDiscussex/Views/Shared/_LayoutQuizMito.cshtml", "provenance": "train-00000-of-00045.jsonl.gz:4569" }
starcoder
<reponame>gustavoFG28/Discussex <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <link href="~/Content/home.css" type="text/css" rel="stylesheet" /> <link href="~/Content...
1.903681
2ab0c4c9795cebcb980e74d325b7ddfc
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4569
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "tojatos/NKMCore", "max_stars_repo_path": "Templates/Effect.cs", "provenance": "train-00000-of-00045.jsonl.gz:4570" }
starcoder
using System; using System.Collections.Generic; using NKMCore.Hex; namespace NKMCore.Templates { public abstract class Effect { public string Name; public override string ToString() => Name; private readonly Game _game; private Active Active => _game.Active; protected ...
2.849332
e2c5ea33cba73e4aabbf459e2bac56ce
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4570
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "ysamus/atata", "max_stars_repo_path": "src/Atata/Components/Fields/PasswordInput`2.cs", "provenance": "train-00000-of-00045.jsonl.gz:4571" }
starcoder
<filename>src/Atata/Components/Fields/PasswordInput`2.cs namespace Atata { /// <summary> /// Represents the password input control (<c>&lt;input type="password"&gt;</c>). /// Default search is performed by the label. /// </summary> /// <typeparam name="TOwner">The type of the owner page objec...
2.426387
f388c1b5799d0299f3aadd2924614411
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4571
{ "extension": "c-sharp", "max_stars_count": "3.0", "max_stars_repo_name": "IvelinMarinov/SoftUni", "max_stars_repo_path": "06. OOP Advanced - Jul2017/04. Enumerations and Attributes - Exercise/07. Deck of Cards/StartUp.cs", "provenance": "train-00000-of-00045.jsonl.gz:4572" }
starcoder
<filename>06. OOP Advanced - Jul2017/04. Enumerations and Attributes - Exercise/07. Deck of Cards/StartUp.cs using System; using System.Linq; namespace _07.Deck_of_Cards { public class StartUp { public static void Main() { var allRanks = Enum.GetNames(typeof(CardRanks)); ...
3.607114
3f06d1cb3bc6c1d164e7a2477afd3147
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4572
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "isman-usoh/farm-management-system", "max_stars_repo_path": "MainProject/UserInterface/Supplies/StockDetailForm.Designer.cs", "provenance": "train-00000-of-00045.jsonl.gz:4573" }
starcoder
namespace MainProject.UserInterface.Supplies { partial class StockDetailForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /...
1.770628
193c30efffa5ebd4a5eb489564846fd9
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4573
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "hsandt/LD44", "max_stars_repo_path": "Assets/Game/Scripts/Item/Inventory.cs", "provenance": "train-00000-of-00045.jsonl.gz:4574" }
starcoder
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using UnityEngine; using CommonsHelper; public class Inventory : MonoBehaviour { public delegate void ChangeHandler(); public event ChangeHandler ChangeEvent; [SerializeField, ReadOnlyField, Tooltip("Arr...
2.814234
958e5be90ad1ee2d8d0ec34bcab8241c
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4574
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "KesharaWaidyarathna/E-Buger", "max_stars_repo_path": "Resturent/Areas/Admin/Views/Coupon/Details.cshtml", "provenance": "train-00000-of-00045.jsonl.gz:4575" }
starcoder
@model Restaurent.Models.Coupon <br /> <h2 class="text-info">Edit Coupon</h2> <br /> <form asp-action="Edit" method="post" enctype="multipart/form-data"> <div class="border backgroundWhiteBorder"> <div asp-validation-summary="ModelOnly" class="text-danger"></div> <br /> <div class="col-12...
2.054148
dd22fc73f1b1e3051e0dc42869049396
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4575
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "jslicer/elasticsearch-net", "max_stars_repo_path": "src/Nest/QueryDsl/Specialized/Script/ScriptQueryConverter.cs", "provenance": "train-00000-of-00045.jsonl.gz:4576" }
starcoder
<filename>src/Nest/QueryDsl/Specialized/Script/ScriptQueryConverter.cs using System; using System.Collections.Generic; using System.Linq; using Newtonsoft.Json; using Newtonsoft.Json.Linq; namespace Nest { internal class ScriptQueryConverter : JsonConverter { public override bool CanRead => true; public override...
2.642807
80c3c6f7db932d7175b1a85affe6de19
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4576
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "lscieux/ClientDependency", "max_stars_repo_path": "ClientDependency.Core/FileRegistration/Providers/StandardRenderer.cs", "provenance": "train-00000-of-00045.jsonl.gz:4577" }
starcoder
<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Web; using ClientDependency.Core.FileRegistration.Providers; using ClientDependency.Core.Config; namespace ClientDependency.Core.FileRegistration.Providers { public class StandardRenderer : Bas...
2.040142
f71630a9dc80682c3f58cb75855f772f
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4577
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "6e3veR6k/codewars-csharp", "max_stars_repo_path": "resources/csharp-essential-materials/001_Classes/001_Classes/Classes7/Program.cs", "provenance": "train-00000-of-00045.jsonl.gz:4578" }
starcoder
<reponame>6e3veR6k/codewars-csharp using System; // Конструкторы. // ВАЖНО: // Если вы создали пользовательский конструктор (принимающий аргументы), // то конструктор по умолчанию, автоматически создаваться НЕ БУДЕТ, его придется создать явно. namespace Classes { class Program { static void Main() ...
3.098343
341db8caa5eb4c7a75e17ed9b9831112
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4578
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "shuffyiosys/QPC-AO-Parser", "max_stars_repo_path": "Translator.cs", "provenance": "train-00000-of-00045.jsonl.gz:4579" }
starcoder
<filename>Translator.cs using System; using System.Collections.Generic; using QHsm; using System.IO; using System.Xml; namespace QPC_AO_Parser { class Translator { private XmlWriter translateWriter; private ActiveObject aoToTranslate; public Translator(ActiveObject AO) { aoToTranslate = AO;...
2.669299
d12c48083b634e6076dbd1080deb0bd7
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4579
{ "extension": "c-sharp", "max_stars_count": "6.0", "max_stars_repo_name": "nils2525/huobi_sdk_CSharp", "max_stars_repo_path": "Huobi.SDK.Core.Test/Futures/WsMarketTest.cs", "provenance": "train-00000-of-00045.jsonl.gz:4580" }
starcoder
<gh_stars>1-10 using Xunit; using Microsoft.Extensions.Configuration; using System; using Newtonsoft.Json; using Huobi.SDK.Core.Futures.WS; using Huobi.SDK.Core.Futures.WS.Response.Market; namespace Huobi.SDK.Core.Test.Futures { public class WsMarketTest { static IConfigurationRoot config = new Configu...
2.045471
0079c33df10afcc832aa3a206a96a1df
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4580
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "belav/runtime", "max_stars_repo_path": "src/tests/JIT/Methodical/fp/exgen/5w1d-02.cs", "provenance": "train-00000-of-00045.jsonl.gz:4581" }
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; internal unsafe class testout1 { private static double[] s_arr1d_0 = new double[6]; private static double s_a2_0 = 128.0; public static double Func_0() ...
2.54405
7e9a42f23607c363efa4ef0c54e5f494
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4581
{ "extension": "c-sharp", "max_stars_count": "61.0", "max_stars_repo_name": "lindexi/UWP", "max_stars_repo_path": "uwp/control/BitStamp/BitStamp/Model/UploadImageTask.cs", "provenance": "train-00000-of-00045.jsonl.gz:4582" }
starcoder
using System; using Windows.Storage; namespace BitStamp.Model { public abstract class UploadImageTask { public UploadImageTask(StorageFile file) { File = file; Scale = -1; Width = -1; Height = -1; } public UploadImageTask(UploadI...
2.429709
585875c811574cb322cb91d10f78c7fd
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4582
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "Allann/Specification", "max_stars_repo_path": "Specification/src/Ardalis.Specification/ISingleResultSpecificationOfT.cs", "provenance": "train-00000-of-00045.jsonl.gz:4583" }
starcoder
<gh_stars>0 using System; using System.Collections.Generic; using System.Text; namespace Ardalis.Specification { public interface ISingleResultSpecification<T> : ISpecification<T>, ISingleResultSpecification { } }
0.790758
4b48b1758ec5de2b5a608b34f3c61a22
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4583
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "hse-electronics/BlazorLeaflet", "max_stars_repo_path": "BlazorLeaflet/BlazorLeaflet/Models/Icon.cs", "provenance": "train-00000-of-00045.jsonl.gz:4584" }
starcoder
<gh_stars>0 using System.Drawing; namespace BlazorLeaflet.Models { public class Icon { /// <summary> /// (required) The URL to the icon image (absolute or relative to your script path). /// </summary> public string Url { get; set; } /// <summary> /// The URL to a retina sized version of the icon image...
2.390693
d8cd77e020862eccd85d3768f9885185
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4584
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "anthueeccel/studies", "max_stars_repo_path": "azure/Htttp2ServiceBus/Http2ServiceBusFunction.cs", "provenance": "train-00000-of-00045.jsonl.gz:4585" }
starcoder
<reponame>anthueeccel/studies using System; using System.IO; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.Azure.WebJobs; using Microsoft.Azure.WebJobs.Extensions.Http; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.Logging; using Newtonsoft.Json; namespace Htttp2ServiceBus...
2.287044
dec840551df0cde1fcc9539446903658
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4585
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "sc2ad/TournamentAssistant", "max_stars_repo_path": "TournamentAssistant.Shared/IConnection.cs", "provenance": "train-00000-of-00045.jsonl.gz:4586" }
starcoder
<filename>TournamentAssistant.Shared/IConnection.cs<gh_stars>0 using System; using TournamentAssistantShared.Models; using TournamentAssistantShared.Models.Packets; /** * Created by Moon on 8/16/2019 * This abstracts out some of the sending functionality of my client/server * setup so that the MainPage doesn't hav...
2.263809
818d323b63d97a12be4ef349f30a7444
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4586
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "sensate-iot/dsmr-api", "max_stars_repo_path": "SensateIoT.SmartEnergy.Dsmr.Data/Models/User.cs", "provenance": "train-00000-of-00045.jsonl.gz:4587" }
starcoder
<gh_stars>0 using System; namespace SensateIoT.SmartEnergy.Dsmr.Data.Models { public class User { public Guid Id { get; set; } public Guid CustomerId { get; set; } public string FirstName { get; set; } public string LastName { get; set; } public string Email { get; set; } public long Msisdn {...
1.295793
9450f4fbc4d236dd57c6622c2a512d58
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4587
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "kamit9171/csharp-language-server-protocol", "max_stars_repo_path": "src/Protocol/Models/DefinitionRegistrationOptions.cs", "provenance": "train-00000-of-00045.jsonl.gz:4588" }
starcoder
using System.Collections.Generic; using OmniSharp.Extensions.JsonRpc; using OmniSharp.Extensions.LanguageServer.Protocol.Server.Capabilities; namespace OmniSharp.Extensions.LanguageServer.Protocol.Models { public class DefinitionRegistrationOptions : WorkDoneTextDocumentRegistrationOptions { public cla...
1.746845
3ea2026c0c49009d82332b20d63e603d
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4588
{ "extension": "c-sharp", "max_stars_count": "73.0", "max_stars_repo_name": "MichaelHinrichs/puyotools", "max_stars_repo_path": "src/PuyoTools.Core/Archives/Formats/AfsArchive.cs", "provenance": "train-00000-of-00045.jsonl.gz:4589" }
starcoder
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; namespace PuyoTools.Core.Archives { public class AfsArchive : ArchiveBase { private static readonly byte[] magicCode = { (byte)'A', (byte)'F', (byte)'S', 0 }; public override ArchiveReader O...
2.939898
e45aafacc881b26850282713ef04d62e
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4589
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "logvinay/UsingMediateR", "max_stars_repo_path": "MediateRSample/Command/Employee.cs", "provenance": "train-00000-of-00045.jsonl.gz:4590" }
starcoder
<gh_stars>1-10 using MediatR; using System; using System.Collections.Generic; using System.Text; namespace MediateRSample.Command { /// <summary> /// Command /// </summary> public class Employee : IRequest<object> { public Employee() { Id = Guid.NewGuid(); } ...
2.263354
51676429524da132da1dda6a99a2cd44
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4590
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "magemjmj/DayDreamRenderer", "max_stars_repo_path": "Assets/DaydreamRenderer/Plugins/FlatBuffers/FlatBufferBuilder.cs", "provenance": "train-00000-of-00045.jsonl.gz:4591" }
starcoder
<reponame>magemjmj/DayDreamRenderer<gh_stars>0 using System; using System.Text; namespace daydreamrenderer.FlatBuffers { public class FlatBufferBuilder { private int _space; private ByteBuffer _bb; private int _minAlign = 1; private int[] _vtable = new int[16]; private int _vtableSize = -1; private ...
2.656386
e49518dce1f01d60acd02c954af07654
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4591
{ "extension": "c-sharp", "max_stars_count": "32.0", "max_stars_repo_name": "gogcom/galaxy-csharp-demo-game", "max_stars_repo_path": "Assets/Scripts/UI/MultiScene/Hints.cs", "provenance": "train-00000-of-00045.jsonl.gz:4592" }
starcoder
<gh_stars>10-100 using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class Hints : MonoBehaviour { Dictionary<string, string> hints = new Dictionary<string, string>() { {"Placing","Use your mouse cursor to place the white ball inside the D shape on the table.\nOnce your ...
2.599151
f71076233696b06c749423bc2138c2a7
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4592
{ "extension": "c-sharp", "max_stars_count": "22.0", "max_stars_repo_name": "mjmckp/mathnet-numerics", "max_stars_repo_path": "src/Numerics/Differentiation/NumericalHessian.cs", "provenance": "train-00000-of-00045.jsonl.gz:4593" }
starcoder
// <copyright file="NumericalHessian.cs" company="Math.NET"> // Math.NET Numerics, part of the Math.NET Project // http://numerics.mathdotnet.com // http://github.com/mathnet/mathnet-numerics // // Copyright (c) 2009-2015 Math.NET // // Permission is hereby granted, free of charge, to any person // obtaining a copy of...
2.87377
74de7336e778df28701a76d3c1649e7b
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4593
{ "extension": "c-sharp", "max_stars_count": "899.0", "max_stars_repo_name": "rlmhermans/pitstop", "max_stars_repo_path": "src/Infrastructure.Messaging/Configuration/InvalidConfigurationException.cs", "provenance": "train-00000-of-00045.jsonl.gz:4594" }
starcoder
using System; using System.Runtime.Serialization; namespace Pitstop.Infrastructure.Messaging.Configuration { public class InvalidConfigurationException : Exception { public InvalidConfigurationException() { } public InvalidConfigurationException(string message) : base(message) ...
2.066936
ce34e7cfb718858f4144347591c3179c
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4594
{ "extension": "c-sharp", "max_stars_count": "8.0", "max_stars_repo_name": "smdx24/CPI-Source-Code", "max_stars_repo_path": "ClubPenguin.Net.Client.Smartfox/PartyGameKeys.cs", "provenance": "train-00000-of-00045.jsonl.gz:4595" }
starcoder
// PartyGameKeys public static class PartyGameKeys { public const string OWNER = "owner"; public const string PLAYERS = "players"; public const string ID = "id"; public const string TEMPLATE = "template"; public const string RESULTS = "results"; public const string Type = "type"; public const string Messag...
1.301022
04ba68636cb45c06da9dc1373ed2af7d
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4595
{ "extension": "c-sharp", "max_stars_count": "6.0", "max_stars_repo_name": "HerendraTJ/osu", "max_stars_repo_path": "osu.Game.Tests/Visual/Gameplay/TestSceneDrawableScrollingRuleset.cs", "provenance": "train-00000-of-00045.jsonl.gz:4596" }
starcoder
// Copyright (c) p<NAME> <<EMAIL>>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using System.Collections.Generic; using System.Linq; using System.Threading; using NUnit.Framework; using osu.Framework.Bindables; using osu.Framework.Graphic...
1.761555
e85b9bbd77d384a034635cf04c820061
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4596
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "KL44S/WeatherAPI", "max_stars_repo_path": "Business/Mappers/Abstractions/ISingleEntityMapper.cs", "provenance": "train-00000-of-00045.jsonl.gz:4597" }
starcoder
using System; using System.Collections.Generic; using System.Text; namespace Business.Mappers.Abstractions { public interface ISingleEntityMapper<T, K> { T Map(K mapEntity); } }
2.058237
a976a49b7d22ace65bf52f7c582838eb
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4597
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "Simplicio00/TechV-Loja-Modelo-MVC", "max_stars_repo_path": "ProjetoCare/obj/Debug/netcoreapp3.1/Razor/Areas/Administrador/Views/Chat/Get.cshtml.g.cs", "provenance": "train-00000-of-00045.jsonl.gz:4598" }
starcoder
#pragma checksum "C:\Users\Acer\Desktop\Código\TechV-Loja-Modelo-MVC\ProjetoCare\Areas\Administrador\Views\Chat\Get.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "4c1c8bca014bbe237302a58d8a9185650580fde4" // <auto-generated/> #pragma warning disable 1591 [assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCom...
1.489491
8418fd3373690df65fb0c317b85262bb
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4598
{ "extension": "c-sharp", "max_stars_count": "2542.0", "max_stars_repo_name": "gridgentoo/ServiceFabricAzure", "max_stars_repo_path": "src/prod/src/managed/Microsoft.ServiceFabric.Data.Impl/ReplicatedStore/DifferentialStore/IReadableStoreComponent.cs", "provenance": "train-00000-of-00045.jsonl.gz:4599" }
starcoder
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ namespace System.Fabric.Store ...
2.763023
0c8337373c5e75bc9ca9f11b6019f565
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4599
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "batonPiotr/agent-controller", "max_stars_repo_path": "Runtime/Misc/TaskDispatcher.cs", "provenance": "train-00000-of-00045.jsonl.gz:4600" }
starcoder
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; namespace HandcraftedGames.Utils { public class TaskDispatcher : MonoBehaviour { private static TaskDispatcher _shared; public static TaskDispatcher Shared { get { ...
2.995993
57f27e8bdfecad3bfecb2b2d632a0690
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4600
{ "extension": "c-sharp", "max_stars_count": "7.0", "max_stars_repo_name": "x42protocol/x42-BlockCore", "max_stars_repo_path": "src/Features/x42.Features.xServer/Models/ProfileField.cs", "provenance": "train-00000-of-00045.jsonl.gz:4601" }
starcoder
<filename>src/Features/x42.Features.xServer/Models/ProfileField.cs namespace x42.Features.xServer.Models { public class ProfileField { public string Value { get; set; } public string Signature { get; set; } } }
1.526004
99ead96f92d0f25da5ef04fb6be52993
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4601
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "rolfwessels/Lazy.Authentication", "max_stars_repo_path": "src/Lazy.Authentication.Sdk/RestApi/RestConnectionFactory.cs", "provenance": "train-00000-of-00045.jsonl.gz:4602" }
starcoder
<reponame>rolfwessels/Lazy.Authentication<filename>src/Lazy.Authentication.Sdk/RestApi/RestConnectionFactory.cs using System; using System.Collections.Concurrent; using RestSharp; using RestSharp.Authenticators; namespace Lazy.Authentication.Sdk.RestApi { public class RestConnectionFactory { private re...
2.408233
712f630ac4b568c80b03d409b9383bb0
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4602
{ "extension": "c-sharp", "max_stars_count": "3.0", "max_stars_repo_name": "Shamanovski/SteamAutoMarket", "max_stars_repo_path": "TelegramShop/Telegram/SpamHandler.cs", "provenance": "train-00000-of-00045.jsonl.gz:4603" }
starcoder
namespace TelegramShop.Telegram { using System; using System.Threading.Tasks; using global::Telegram.Bot.Args; using TelegramShop.ShopUser; using TelegramShop.Telegram.MessageProcessor; public class SpamHandler { public static async Task<bool> IsSpamming( TelegramShop...
2.23838
2b00e4c59042188ba9d0573882cda288
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4603
{ "extension": "c-sharp", "max_stars_count": "35.0", "max_stars_repo_name": "PresetMagician/PresetMagician", "max_stars_repo_path": "PresetMagician.VendorPresetParser/StandardVst/BankTrickeryVSTPresetParser.cs", "provenance": "train-00000-of-00045.jsonl.gz:4604" }
starcoder
<reponame>PresetMagician/PresetMagician using System.Threading.Tasks; using PresetMagician.Core.Interfaces; namespace PresetMagician.VendorPresetParser.StandardVST { public class BankTrickeryVstPresetParser : AbstractStandardVstPresetParser, IVendorPresetParser { public override bool CanHandle() ...
1.96871
20d02823ad37c5da68658fd341f89838
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4604
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "RichMercer/azure-cosmos-dotnet-repository", "max_stars_repo_path": "Microsoft.Azure.CosmosRepository/src/Providers/ICosmosClientProvider.cs", "provenance": "train-00000-of-00045.jsonl.gz:4605" }
starcoder
// Copyright (c) IEvangelist. All rights reserved. // Licensed under the MIT License. using System; using System.Threading.Tasks; using Microsoft.Azure.Cosmos; namespace Microsoft.Azure.CosmosRepository.Providers { /// <summary> /// The cosmos client provider exposes a means of providing /// an instance ...
1.968626
33db20df8a111a1336d48ec99d8cd379
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4605
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "ScriptBox99/dotnet-hotreload-utils", "max_stars_repo_path": "src/Microsoft.DotNet.HotReload.Utils.Generator.Data/Script/Json/Script.cs", "provenance": "train-00000-of-00045.jsonl.gz:4606" }
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.Text.Json.Serialization; namespace Microsoft.DotNet.HotReload.Utils.Generator.Script.Json; public class Script { [JsonConverter(typeof(ScriptCapabilitiesConverter)...
1.998123
10b2804d51734f11c70ed3b4db790785
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4606
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "ProtoByter/TACTLib", "max_stars_repo_path": "TACTLib/Core/Product/Tank/ManifestCryptoHandler.cs", "provenance": "train-00000-of-00045.jsonl.gz:4607" }
starcoder
<reponame>ProtoByter/TACTLib using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; using System.Security.Cryptography; using System.Text; namespace TACTLib.Core.Product.Tank { public static class ManifestCryptoHandler { #region Helpers // ReSh...
2.342173
73b8a0f6d349efce15f99e8a121603c2
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4607
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "yaryrslv/StoreKit", "max_stars_repo_path": "src/Infrastructure/Middlewares/RequestLoggingMiddleware.cs", "provenance": "train-00000-of-00045.jsonl.gz:4608" }
starcoder
using StoreKit.Application.Abstractions.Services.Identity; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.Logging; using Serilog.Context; using System; using System.IO; using System.Text; using System.Threading.Tasks; using ILogger = Microsoft.Extensions.Logging.ILogger; namespace StoreKit.Infrastructure....
2.464416
44f44018bcb575efbf64965cf96bc9d4
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4608
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "gtri-iead/LEXS-NET-Sample-Implementation-4.0", "max_stars_repo_path": "LEXS Search Retrieve Service Implementation/LexsSearchRetrieveCommon/PackageAbstractType.cs", "provenance": "train-00000-of-00045.jsonl.gz:4609" }
starcoder
namespace Lexs4SearchRetrieveWebService { /// <remarks/> [System.Xml.Serialization.XmlIncludeAttribute(typeof(SearchResultPackageType))] [System.Xml.Serialization.XmlIncludeAttribute(typeof(DataItemPackageType))] [System.CodeDom.Compiler.GeneratedCodeAttribute("WscfGen", "1.0.0.0")] ...
1.694897
48307ad6bbb4caab31cfb1c1c62d43f0
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4609
{ "extension": "c-sharp", "max_stars_count": "5.0", "max_stars_repo_name": "mbasaran/SAPCon", "max_stars_repo_path": "SAPConIO.Helper/ISapStructure.cs", "provenance": "train-00000-of-00045.jsonl.gz:4610" }
starcoder
using System; using System.Collections.Generic; using System.Linq; using System.Text; using SAP.Middleware.Connector; namespace SAPConIO.Helper { public interface ISapStructure { IRfcStructure ToSapObject(string name); ISapStructure FromSapObject(IRfcStructure s); } }
1.569186
c672e24eb038dd139eab750829911368
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4610
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "asiertarancon/XamaFilm", "max_stars_repo_path": "17. Effects/XamaFilm/XamaFilm/ViewModels/Base/ViewModelLocator.cs", "provenance": "train-00000-of-00045.jsonl.gz:4611" }
starcoder
<reponame>asiertarancon/XamaFilm using GalaSoft.MvvmLight.Ioc; using System; using System.Collections.Generic; using System.Text; using XamaFilm.Services; namespace XamaFilm.ViewModels.Base { public class ViewModelLocator { private bool UseFakes = false; public ViewModelLocator() { ...
1.666397
344d022f9127fa06181598f46f4c92c4
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4611
{ "extension": "c-sharp", "max_stars_count": "7.0", "max_stars_repo_name": "zleao/MvvmCrossUtilities", "max_stars_repo_path": "Libraries/MvxExtensions.Core/Extensions/ExceptionExtensions.cs", "provenance": "train-00000-of-00045.jsonl.gz:4612" }
starcoder
using System; using System.Text; namespace MvxExtensions.Core.Extensions { /// <summary> /// Extensions for Exception type /// </summary> public static class ExceptionExtensions { /// <summary> /// Gets the full description of the exception. /// </summary> /// <para...
3.059454
157702b9b1aa19b894e791c69c9db828
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4612
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "UMassMedIT/ProfilesRNS", "max_stars_repo_path": "Website/SourceCode/Profiles/Profiles/ORCID/Utilities/ProfilesRNSDLL/_CG/BO/Profile.Data/OrganizationInstitution.cs", "provenance": "train-00000-of-00045.jsonl.gz:4613" }
starcoder
using System; using System.Collections.Generic; using System.Text; using System.Runtime.Serialization; using System.ComponentModel; namespace Profiles.ORCID.Utilities.ProfilesRNSDLL.BO.Profile.Data { public partial class OrganizationInstitution : ProfilesRNSBaseClassBO, BO.Interfaces.Profile.Data.IOrganizat...
2.24019
1907308c117115a1551a3ca462c67592
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4613
{ "extension": "c-sharp", "max_stars_count": "1659.0", "max_stars_repo_name": "whizkidwwe1217/lucenenet", "max_stars_repo_path": "src/dotnet/Lucene.Net.CodeAnalysis.VisualBasic/Lucene1000_TokenStreamOrItsIncrementTokenMethodMustBeSealedVBAnalyzer.cs", "provenance": "train-00000-of-00045.jsonl.gz:4614" }
starcoder
<filename>src/dotnet/Lucene.Net.CodeAnalysis.VisualBasic/Lucene1000_TokenStreamOrItsIncrementTokenMethodMustBeSealedVBAnalyzer.cs using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.Diagnostics; using System.Collections.Immutable; using System.Linq; namespace Lucene.Net.CodeAnalysis { /* * Licensed to ...
2.43926
33081ad659c0edfab8c59d4aa6562405
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4614
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "pleasenophp/mindi", "max_stars_repo_path": "solution/minioc/src/context/ReflectionCache.cs", "provenance": "train-00000-of-00045.jsonl.gz:4615" }
starcoder
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using minioc.resolution.injection; using minioc.misc; using MinDI; using MinDI.StateObjects; namespace minioc.context { internal class ReflectionCache { private Dictionary<Type, IList<IInjectionStrategy>> _injectionStrategie...
2.368778
17a63e0aff3defc1803bd11f850f18c8
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4615
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "Crypticaz/WoWDatabaseEditor", "max_stars_repo_path": "WoWDatabaseEditorCore.Avalonia/Services/CreatureEntrySelectorService/GenericSelectorDialogView.axaml.cs", "provenance": "train-00000-of-00045.jsonl.gz:4616" }
starcoder
using Avalonia.Controls; using Avalonia.Input; using Avalonia.Interactivity; using Avalonia.Markup.Xaml; using AvaloniaStyles.Controls; using WDE.Common.Avalonia.Controls; namespace WoWDatabaseEditorCore.Avalonia.Services.CreatureEntrySelectorService { /// <summary> /// Interaction logic for GenericSelect...
2.114148
8be735b3304ebe78bcb168f885c762b0
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4616
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "zenogantner/MML-KDD", "max_stars_repo_path": "src/MyMediaLiteExperimental/AttrToFactor/BPRMF_ItemMappingSVR.cs", "provenance": "train-00000-of-00045.jsonl.gz:4617" }
starcoder
<filename>src/MyMediaLiteExperimental/AttrToFactor/BPRMF_ItemMappingSVR.cs // Copyright (C) 2010, 2011 <NAME> // // This file is part of MyMediaLite. // // MyMediaLite is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Fou...
2.075451
d0c4b84104730da2fea739ab27a84652
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4617
{ "extension": "c-sharp", "max_stars_count": "75.0", "max_stars_repo_name": "thomz12/h5", "max_stars_repo_path": "H5/Compiler/Translator/Utils/Roslyn/ChainingAssigmentReplacer.cs", "provenance": "train-00000-of-00045.jsonl.gz:4618" }
starcoder
<gh_stars>10-100 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp.Syntax; using Microsoft.CodeAnalysis.CSharp; namespace H5.Translator { public class ChainingAssigmentReplacer : ICS...
2.561035
ca34df43649db6abfa8f64eba0a62c3c
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4618
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "lydonchandra/fo-dicom", "max_stars_repo_path": "FO-DICOM.Core/DicomUID.cs", "provenance": "train-00000-of-00045.jsonl.gz:4619" }
starcoder
// Copyright (c) 2012-2020 fo-dicom contributors. // Licensed under the Microsoft Public License (MS-PL). using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; using System.Text; namespace FellowOakDicom { public enum DicomUidType { TransferSyntax, ...
2.056241
665d1efc95ec7de6b16596754c9b9d33
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4619
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "Mike111177/OWLib", "max_stars_repo_path": "TankLib/STU/Types/STU_5427ADC1.cs", "provenance": "train-00000-of-00045.jsonl.gz:4620" }
starcoder
<filename>TankLib/STU/Types/STU_5427ADC1.cs // Instance generated by TankLibHelper.InstanceBuilder // ReSharper disable All namespace TankLib.STU.Types { [STUAttribute(0x5427ADC1)] public class STU_5427ADC1 : STUInstance { [STUFieldAttribute(0x62E537BD)] public teStructuredDataAssetRef<STUSkinT...
0.869261
c54745fe3350053256d83cd0174a22f4
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4620
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "pbolduc/AzureSqlDatabaseScale", "max_stars_repo_path": "src/ResourceManagement/Sql/Microsoft.Azure.Management.Sql.Extensions/ExtendedDatabasesOperationsExtensions.cs", "provenance": "train-00000-of-00045.jsonl.gz:4621" }
starcoder
<gh_stars>0 namespace Microsoft.Azure.Management.Sql { using System.Threading; using System.Threading.Tasks; using Microsoft.Azure.Management.Sql.Models; public static class ExtendedDatabasesOperationsExtensions { /// <summary> /// Gets the resource usage details for an Azure SQL da...
2.255961
fb8a0ebf6fce8b2b5a172c0ec029d0f0
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4621
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "bbarry/roslyn", "max_stars_repo_path": "src/EditorFeatures/TestUtilities/Workspaces/CSharpTestWorkspaceFixture.cs", "provenance": "train-00000-of-00045.jsonl.gz:4622" }
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.Threading.Tasks; using Microsoft.CodeAnalysis.CSharp; namespace Microsoft.CodeAnalysis.Editor.UnitTests.Workspaces { public c...
1.323214
a7a6f026422933acc80a62e722a904bc
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4622
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "enesccinar/auto-crud", "max_stars_repo_path": "Firebend.AutoCrud.Core/ObjectMapping/ObjectMapper.cs", "provenance": "train-00000-of-00045.jsonl.gz:4623" }
starcoder
using System; using System.Collections.Concurrent; using System.Linq; using System.Reflection.Emit; namespace Firebend.AutoCrud.Core.ObjectMapping { internal static class ObjectMapperCache { public static readonly ConcurrentDictionary<(Type source, Type target, string[] ignores), DynamicMethod> MapperC...
2.953429
841d915aeadf1fc8073ba4c065ec6cfc
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4623
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "yutamago/RechatTool", "max_stars_repo_path": "RechatToolCore/Json/JsonComment.cs", "provenance": "train-00000-of-00045.jsonl.gz:4624" }
starcoder
<reponame>yutamago/RechatTool<gh_stars>0 using System; using Newtonsoft.Json; namespace RechatToolCore.Json { public class JsonComment { [JsonProperty("created_at")] public DateTime CreatedAt { get; set; } [JsonProperty("content_offset_seconds")] public double ContentOffsetSeconds { get; set; } [...
1.604838
68e42efc6864de79aa583fed33ba5d07
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4624
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "iamrezwan/Behavioral.Design.Pattern", "max_stars_repo_path": "Behavioral.Design.Pattern/Contracts/IRootCommand.cs", "provenance": "train-00000-of-00045.jsonl.gz:4625" }
starcoder
using System.Text; namespace Behavioral.Design.Pattern.Contracts { public interface IRootCommand { StringBuilder StringBuilder { get; set; } void Do(string text); void Undo(string text); } }
2.161387
e4951872b59bfdc9e08c0bed888a65be
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4625
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "spikk/effective-adventure", "max_stars_repo_path": "CreateCookiesSolutionMVC/CreateCookies/View/Form1.cs", "provenance": "train-00000-of-00045.jsonl.gz:4626" }
starcoder
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using System.Data.SqlClient; using CreateCookies.Model; namespace CreateCookies { public partial cl...
2.103048
aed70970fcc6dda22051773b4d4dc116
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4626
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "david-driscoll/NuGet3", "max_stars_repo_path": "src/NuGet.Protocol.Core.v2/V2Utilities.cs", "provenance": "train-00000-of-00045.jsonl.gz:4627" }
starcoder
// Copyright (c) .NET Foundation. 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.IO; using System.Net; using NuGet.Protocol.Core.Types; using NuGet.Versioning; namespace NuGet.Protocol.Core.v2 { publi...
2.151645
81eedf7a3a45a2f2bae6026dcb3cbb59
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4627
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "mwpowellhtx/createguidwpf", "max_stars_repo_path": "src/GuidGen.Wpf/Formats/_5_CSharpGuidAttributeFormatViewModel.cs", "provenance": "train-00000-of-00045.jsonl.gz:4628" }
starcoder
<gh_stars>0 using System; namespace GuidGen.Formats { [DisplayOrder(5)] public class CSharpGuidAttributeFormatViewModel : FormatViewModel { private static string Formatter(Guid value, TextCase textCase) => $@"[Guid(""{$"{value:D}".ToTextCase(textCase)}"")]"; public CSharpGuidAt...
2.061023
bc62690972c55bdaacbf112c0e88dd97
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4628
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "HelloKitty/GGDBF", "max_stars_repo_path": "tests/GGDBF.Compiler.ManualTest/GeneratorOutput/GGDBF.Compiler/GGDBF.ContextGenerator/TestContext_TestModelType10Key.cs", "provenance": "train-00000-of-00045.jsonl.gz:4629" }
starcoder
using TestNamespace2; using System; using System.Collections.Generic; using System.Threading.Tasks; using System.CodeDom.Compiler; using System.Runtime.Serialization; using GGDBF; namespace GGDBF { [GeneratedCodeAttribute("GGDBF", "0.1.42.0")] public record TestModelType10Key<TKeyType1>(TKeyType1 Id1, System....
1.002962
8befea7890ede9093f73a298459fd63c
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4629
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "studware/My-QA-Automation", "max_stars_repo_path": "ExamQA-Automation/SeleniumTests/Pages/TooltipPage/TooltipPageMap.cs", "provenance": "train-00000-of-00045.jsonl.gz:4630" }
starcoder
namespace SeleniumTests.Pages { using OpenQA.Selenium; public partial class TooltipPage { // public IWebElement TooltipLink => Driver.FindElement(By.XPath(@"//*[@id='sidebar']/aside[2]/ul/li[1]/a")); public IWebElement TooltipLink => Driver.FindElement(By.CssSelector(@"#sidebar > aside:nth-child...
2.09697
819c871aab0ca100ae18d6839962fc5a
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4630
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "jasonds/restaurant-reservations", "max_stars_repo_path": "Restaurant.Reservations.Infrastructure/Data/ReservationDbContext.cs", "provenance": "train-00000-of-00045.jsonl.gz:4631" }
starcoder
<gh_stars>1-10 using Microsoft.EntityFrameworkCore; using Restaurant.Reservations.Core.Models; namespace Restaurant.Reservations.Infrastructure.Data { public class ReservationDbContext : DbContext { public ReservationDbContext(DbContextOptions<ReservationDbContext> options) : base(options)...
1.766993
9528a44b54481806613b24f9e273a0c1
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4631
{ "extension": "c-sharp", "max_stars_count": "36.0", "max_stars_repo_name": "sunandabalu/arcade-services", "max_stars_repo_path": "src/Maestro/Maestro.Web/Api/v2020_02_20/Models/DefaultChannel.cs", "provenance": "train-00000-of-00045.jsonl.gz:4632" }
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.ComponentModel.DataAnnotations; using JetBrains.Annotations; namespace Maestro.Web.Api.v...
2.089494
ec0879417dd44387d8f4e5258602bb7a
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4632
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "zia95/FlappyBird-Unity", "max_stars_repo_path": "Assets/GoogleMobileAds/Platforms/iOS/RewardBasedVideoAdClient.cs", "provenance": "train-00000-of-00045.jsonl.gz:4633" }
starcoder
// Copyright (C) 2015 Google, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed ...
1.702737
f2981a9872ecb7619852a56013685a26
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4633
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "fortedigital/ImageResizer.AzureBlobCache", "max_stars_repo_path": "ImageResizer.AzureBlobCache/AzureBlobCachePlugin.cs", "provenance": "train-00000-of-00045.jsonl.gz:4634" }
starcoder
using System; using System.IO; using System.Threading.Tasks; using System.Web; using System.Web.Configuration; using ImageResizer.Caching; using ImageResizer.Configuration; using ImageResizer.Configuration.Logging; using ImageResizer.ExtensionMethods; using ImageResizer.Plugins; using Microsoft.WindowsAzure.Storage; u...
2.137764
ee6c3da1f976265329232772ad4b20f8
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4634
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "SimplePersistence/SimplePersistence.UoW.EntityFrameworkCore", "max_stars_repo_path": "src/SimplePersistence.UoW.EFCore/IEFCoreQueryableRepository.cs", "provenance": "train-00000-of-00045.jsonl.gz:4635" }
starcoder
<filename>src/SimplePersistence.UoW.EFCore/IEFCoreQueryableRepository.cs #region License // The MIT License (MIT) // // Copyright (c) 2016 SimplePersistence // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to d...
2.070451
468d260c764ed4ba8dcb7a0815727b63
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4635
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "eduardorasgado/AspIron", "max_stars_repo_path": "Views/Shared/SimpleLayout.cshtml", "provenance": "train-00000-of-00045.jsonl.gz:4636" }
starcoder
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <title>@ViewData["Title"] - Welcome to AspIron</title> <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integ...
1.919952
8e3b44f700d2ae1b9af16d346d4eb005
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4636
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "VikiFandaMisa/BackupServiceAPI", "max_stars_repo_path": "Services/TokenManagerMiddleware.cs", "provenance": "train-00000-of-00045.jsonl.gz:4637" }
starcoder
using System.Net; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; namespace BackupServiceAPI.Services { public class TokenManagerMiddleware : IMiddleware { private readonly ITokenManager _TokenManager; public TokenManagerMiddleware(ITokenManager tokenManager) { _TokenMan...
2.491506
9f365e3a0446035f44bc609a8a8e56ab