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
4137
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "C6/C5", "max_stars_repo_path": "C5.UserGuideExamples/EventPatterns.cs", "provenance": "train-00000-of-00045.jsonl.gz:4138" }
starcoder
/* Copyright (c) 2003-2008 <NAME> and <NAME> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, ...
2.72788
2018d62370094155fa36f8f6b4401604
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4138
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "coddwrench/ITextPdfToSvg.Viewer", "max_stars_repo_path": "ITextPDF/Kernel/pdf/PdfObjectWrapper.cs", "provenance": "train-00000-of-00045.jsonl.gz:4139" }
starcoder
/* This file is part of the iText (R) project. Copyright (c) 1998-2021 iText Group NV Authors: <NAME>, <NAME>, et al. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Affero General Public License version 3 as published by the Free Software Foundation with the additio...
1.966641
622b011804a74b038e96409eabc83a04
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4139
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "belav/efcore", "max_stars_repo_path": "test/EFCore.InMemory.FunctionalTests/KeysWithConvertersInMemoryTest.cs", "provenance": "train-00000-of-00045.jsonl.gz:4140" }
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 Microsoft.EntityFrameworkCore.TestUtilities; namespace Microsoft.EntityFrameworkCore { public class KeysWithConvertersInMemoryTest : K...
1.404251
8041eefab4905c7a85d7ea95a7641eb5
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4140
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "ogaudefroy/Glimpse.Adomd", "max_stars_repo_path": "Glimpse.Adomd.Sample/Stubs/FakeAdomdConnection.cs", "provenance": "train-00000-of-00045.jsonl.gz:4141" }
starcoder
<reponame>ogaudefroy/Glimpse.Adomd using System; using System.Data; using Microsoft.AnalysisServices.AdomdClient; namespace Glimpse.Adomd.Sample.Stubs { public class FakeAdomdConnection : IAdomdConnection { public FakeAdomdConnection() { this.ConnectionId = Guid.NewGuid()...
1.82679
efc94162f8442c3f82819fc9fd5e68e0
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4141
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "zabralex85/zep-scanner", "max_stars_repo_path": "Zabr.BarcodeScanner.Emulator/Forms/frmReader.cs", "provenance": "train-00000-of-00045.jsonl.gz:4142" }
starcoder
using System; using System.Drawing; using System.Threading.Tasks; using System.Windows.Forms; using ImageMagick; using Zabr.BarcodeScanner.Emulator.BLL.Utils; namespace Zabr.BarcodeScanner.Emulator.Forms { public partial class frmReader : Form { public frmReader() { InitializeCompo...
2.493843
376d7836a9eae16f4aaac310b481f62a
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4142
{ "extension": "c-sharp", "max_stars_count": "7.0", "max_stars_repo_name": "PyxisTech/lib-netsuite-servicemgr", "max_stars_repo_path": "Celigo.SuiteTalk/src/SuiteTalk/Generated/ExpenseCategorySearchAdvanced.gen.cs", "provenance": "train-00000-of-00045.jsonl.gz:4143" }
starcoder
// Generator { Name: SearchAdvancedGenerator, Template: ISearchAdvanced } using System; namespace SuiteTalk { public partial class ExpenseCategorySearchAdvanced: ISearchAdvanced, ISearchAdvanced<ExpenseCategorySearch, ExpenseCategorySearchRow> { SearchRecord ISearchAdvanced.GetCriteria() => this.GetCr...
2.071806
1e499735195112beff8654bbabe82b57
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4143
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "DanielEverland/Dead-Air-Blueprint-Prototype", "max_stars_repo_path": "Assets/Scripts/Electricity/ElectricityGrid.cs", "provenance": "train-00000-of-00045.jsonl.gz:4144" }
starcoder
using System.Linq; using System.Collections; using System.Collections.Generic; using UnityEngine; using System.Text; public class ElectricityGrid { public ElectricityGrid() { _suppliers = new List<IElectricitySupplier>(); _users = new List<IElectricityUser>(); _objects = n...
2.611317
080c4bcf51e6b858b2b753ac0393a231
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4144
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "asperheim/serilog-sinks-logzio", "max_stars_repo_path": "src/Serilog.Sinks.Logzio.Sample/Program.cs", "provenance": "train-00000-of-00045.jsonl.gz:4145" }
starcoder
<gh_stars>0  namespace Serilog.Sinks.Logzio.Sample { public class Program { public static void Main(string[] args) { Log.Logger = new LoggerConfiguration() .MinimumLevel.Verbose() .WriteTo.LiterateConsole() .WriteTo.Logzio("<YourKey>",...
2.175716
92a251c0defc3b4d58afd62342066e4f
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4145
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "SXTrader/SXTrader", "max_stars_repo_path": "BFTradingStrategies/BFBackThe4/ctlConfigBT4.cs", "provenance": "train-00000-of-00045.jsonl.gz:4146" }
starcoder
<reponame>SXTrader/SXTrader using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Data; using System.Linq; using System.Text; using System.Windows.Forms; using net.sxtrader.plugin; namespace net.sxtrader.bftradingstrategies.BackThe4 { public partial class ...
1.793812
5d8996796c1bf6156d0c2506d58f6211
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4146
{ "extension": "c-sharp", "max_stars_count": "3.0", "max_stars_repo_name": "mikhail-khalizev/max", "max_stars_repo_path": "source/MikhailKhalizev.Max/source/Program/Auto/z-1009-3025.cs", "provenance": "train-00000-of-00045.jsonl.gz:4147" }
starcoder
<reponame>mikhail-khalizev/max using System; using MikhailKhalizev.Processor.x86.BinToCSharp; namespace MikhailKhalizev.Max.Program { public partial class RawProgram { [MethodInfo("0x1009_3025-a9dc76c9")] public void Method_1009_3025() { ii(0x1009_3025, 5); push(0...
1.677487
3e8b15f65b5782bb97944efa99c54f5b
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4147
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "wj60387/DDDDomain.", "max_stars_repo_path": "src/Oldmansoft.ClassicDomain/UnitOfWork.cs", "provenance": "train-00000-of-00045.jsonl.gz:4148" }
starcoder
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Oldmansoft.ClassicDomain { /// <summary> /// 工作单元管理 /// </summary> public class UnitOfWork : IUnitOfWork { /// <summary> /// 提交完成事件 /// </summary> ...
2.975229
c1a5b42d830f3b03145df34257332cf2
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4148
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "microting/eFormApi.BasePn", "max_stars_repo_path": "eFormApi.BasePn/Infrastructure/Database/Extensions/ServiceCollectionExtensions.cs", "provenance": "train-00000-of-00045.jsonl.gz:4149" }
starcoder
<reponame>microting/eFormApi.BasePn<filename>eFormApi.BasePn/Infrastructure/Database/Extensions/ServiceCollectionExtensions.cs using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Options; using Microting.eFormApi.BasePn.Infrastructure.Helpers.PluginDbOpt...
1.929957
be83201cfa04ea66a602bd7d5b5b1f6a
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4149
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "gbachs/Terminals", "max_stars_repo_path": "Source/Terminals/Data/Favorites/Group.cs", "provenance": "train-00000-of-00045.jsonl.gz:4150" }
starcoder
using System; using System.Collections.Generic; using System.Linq; using System.Xml.Serialization; using Terminals.Configuration; using Terminals.Converters; namespace Terminals.Data { [Serializable] public class Group : IGroup { private readonly Dictionary<Guid, IFavorite> favorites; ...
2.36024
a22ee362217f8a2b77ec22a6cbb0fdc7
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4150
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "esha/freyr", "max_stars_repo_path": "src/Esha.Genesis.Services.Client/Internal/IFoodBuilderServiceChannel.cs", "provenance": "train-00000-of-00045.jsonl.gz:4151" }
starcoder
using System.ServiceModel; namespace Esha.Genesis.Services.Client.Internal { public interface IFoodBuilderServiceChannel : IFoodBuilderService, IClientChannel { } }
0.785402
d993935ad8bbf3260aebb57651e81eb8
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4151
{ "extension": "c-sharp", "max_stars_count": "5.0", "max_stars_repo_name": "prozum/solitude", "max_stars_repo_path": "Libraries/Model/User.cs", "provenance": "train-00000-of-00045.jsonl.gz:4152" }
starcoder
using System.ComponentModel.DataAnnotations; using Newtonsoft.Json; using System; namespace Model { public class User { [JsonIgnore] public Guid Id { set; get; } [Required] [Display(Name = "Name")] public string Name { set; get; } [Required] [Display(Name = "Location")] public string Location { se...
2.785072
59bfe086d8b553b337ec23e2d7ebd38d
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4152
{ "extension": "c-sharp", "max_stars_count": "12.0", "max_stars_repo_name": "Meowv/meowv.core", "max_stars_repo_path": "Plus.Core/Plus/Application/Dtos/ExtensibleCreationAuditedEntityWithUserDto.cs", "provenance": "train-00000-of-00045.jsonl.gz:4153" }
starcoder
using Plus.Auditing; using Plus.Data; using System; namespace Plus.Application.Dtos { /// <summary> /// This class can be inherited by DTO classes to implement <see cref="ICreationAuditedObject{TCreator}"/> interface. /// It has the <see cref="Creator"/> object as a DTO represents the user. /// It also...
2.362431
9a2c25a774b32bfc1c6fe72907027980
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4153
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "rosenbjerg/Red.EcsRenderer", "max_stars_repo_path": "EcsRendererExtension.cs", "provenance": "train-00000-of-00045.jsonl.gz:4154" }
starcoder
using System.Net; using System.Threading.Tasks; namespace Red.EcsRenderer { public static class EcsRendererExtension { /// <summary> /// Renders an ecs page file to HTML and sends it /// </summary> /// <param name="response">The instance of the response</param> /// ...
2.795109
fd1652615d2d545e5d104783d7c0d341
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4154
{ "extension": "c-sharp", "max_stars_count": "137.0", "max_stars_repo_name": "AntonyCorbett/JWLMerge", "max_stars_repo_path": "JWLMerge.Tests/TestBase.cs", "provenance": "train-00000-of-00045.jsonl.gz:4155" }
starcoder
namespace JWLMerge.Tests { using System; using System.Collections.Generic; using BackupFileServices.Models; using BackupFileServices.Models.DatabaseModels; using BackupFileServices.Models.ManifestFile; public class TestBase { private readonly Random _random = new(); ...
2.4577
a674363da376a87aafd905fee7760aac
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4155
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "JackTheRipper42/SimpleBattle", "max_stars_repo_path": "Assets/Scripts/MainMenu.cs", "provenance": "train-00000-of-00045.jsonl.gz:4156" }
starcoder
using UnityEngine; using UnityEngine.UI; public class MainMenu : MonoBehaviour { public Button StartButton; public Button ExitButton; private void Start() { StartButton.onClick.AddListener(StartClicked); ExitButton.onClick.AddListener(ExitClicked); } private void StartClicked...
1.882696
74c9f8dc2c450d1c6134bd24d3451c2f
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4156
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "MCKevmeister/Movie-Rental", "max_stars_repo_path": "MovieRental/RegularPrice.cs", "provenance": "train-00000-of-00045.jsonl.gz:4157" }
starcoder
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Refactoring { class RegularPrice : Price { public override int GetPriceCode() { return 0; } public override double GetCharge(int daysRented)...
2.922272
ffed9d40b3996e5a56fc929de39d6ef9
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4157
{ "extension": "c-sharp", "max_stars_count": "19.0", "max_stars_repo_name": "kutoga/FluentArgs", "max_stars_repo_path": "source/FluentArgs/Help/ILineWriter.cs", "provenance": "train-00000-of-00045.jsonl.gz:4158" }
starcoder
<reponame>kutoga/FluentArgs namespace FluentArgs.Help { using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using FluentArgs.Extensions; internal interface ILineWriter { Task WriteLine(string line); } internal static class ILineWriter...
2.740595
05f46df0f8be70afef90929577c8e495
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4158
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "uniquelau/umbraco-look", "max_stars_repo_path": "src/Our.Umbraco.Look/Facet.cs", "provenance": "train-00000-of-00045.jsonl.gz:4159" }
starcoder
<reponame>uniquelau/umbraco-look namespace Our.Umbraco.Look { public class Facet { /// <summary> /// The tags that would be added into the TagQuery.All clause /// </summary> public LookTag[] Tags { get; internal set; } //public Distance Distance { get; internal set; } ...
2.583251
9f20a3e42acc4c23e067685f4756bce3
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4159
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "davidroth/EntityFrameworkCore", "max_stars_repo_path": "src/Microsoft.EntityFrameworkCore.Relational.Design/Internal/ModelUtilities.cs", "provenance": "train-00000-of-00045.jsonl.gz:4160" }
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.Collections.Generic; using System.Linq; using JetBrains.Annotations; using Microsoft.EntityFrameworkCore.Metadata; using Micr...
2.228817
7c9a8787a06cfd1a030486446fe04f57
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4160
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "MorozovDamian/WPF.Dev.Cookbook", "max_stars_repo_path": "Chapter01/CH01.CommandLineArgumentDemo/App.xaml.cs", "provenance": "train-00000-of-00045.jsonl.gz:4161" }
starcoder
<filename>Chapter01/CH01.CommandLineArgumentDemo/App.xaml.cs using System.Linq; using System.Windows; namespace CH01.CommandLineArgumentDemo { /// <summary> /// Interaction logic for App.xaml /// </summary> public partial class App { protected override void OnStartup(StartupEventArgs e) ...
2.62415
ba38afa6132d972a901c4b161ad97739
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4161
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "pulumi-bot/pulumi-azure-native", "max_stars_repo_path": "sdk/dotnet/DataFactory/V20170901Preview/Outputs/TumblingWindowTriggerResponse.cs", "provenance": "train-00000-of-00045.jsonl.gz:4162" }
starcoder
<filename>sdk/dotnet/DataFactory/V20170901Preview/Outputs/TumblingWindowTriggerResponse.cs // *** WARNING: this file was generated by the Pulumi SDK Generator. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections....
2.030612
04f4316a72eec4c2ccbce1a68ff3bfc4
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4162
{ "extension": "c-sharp", "max_stars_count": "5.0", "max_stars_repo_name": "stojaget/MVCBikeStore", "max_stars_repo_path": "Bike Share/ViewModels/Admin/AdminUserVM.cs", "provenance": "train-00000-of-00045.jsonl.gz:4163" }
starcoder
<filename>Bike Share/ViewModels/Admin/AdminUserVM.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BikeShare.ViewModels.Admin { public class AdminUserVM { public int Id { get; set; } public string UserName { get; s...
1.83986
ef68e6ca04de2d558c0c7aeaa0b5182a
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4163
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "MarketKernel/webmoney-business-tools", "max_stars_repo_path": "Ext/PartialTrustInstaller/Properties/AppResources.Designer.cs", "provenance": "train-00000-of-00045.jsonl.gz:4164" }
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> //--...
2.025198
ddbc5983b98d8bab3723f69c28eed7a9
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4164
{ "extension": "c-sharp", "max_stars_count": "28.0", "max_stars_repo_name": "thomasclaudiushuber/mvvmgen-samples", "max_stars_repo_path": "EmployeeManager/EmployeeManager.ViewModel/EmployeeViewModel.cs", "provenance": "train-00000-of-00045.jsonl.gz:4165" }
starcoder
<gh_stars>10-100 // *************************************************************************** // ⚡ MvvmGen Samples => https://github.com/thomasclaudiushuber/mvvmgen-samples // Copyright © by <NAME> // Licensed under the MIT license => See LICENSE file in project root // **********************************************...
2.078226
75586363833278bf5236e213bd23d16e
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4165
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "weRthem/PingusBall9000", "max_stars_repo_path": "Assets/Scripts/NamePlateRotate.cs", "provenance": "train-00000-of-00045.jsonl.gz:4166" }
starcoder
<reponame>weRthem/PingusBall9000 using System.Collections; using System.Collections.Generic; using UnityEngine; public class NamePlateRotate : MonoBehaviour { [SerializeField] Color orangeColor; [SerializeField] Color blueColor; // Update is called once per frame void LateUpdate() { if (!Player.player...
1.374591
e050783baeb6c94470d5b75c6d735471
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4166
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "chadfords/azos", "max_stars_repo_path": "src/Azos/Log/Sinks/SMTPSink.cs", "provenance": "train-00000-of-00045.jsonl.gz:4167" }
starcoder
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Net; using System.Net.Mail; using Azos.Conf; namespace Azos.Log.Sinks { /// <summary> /// Implements log sink that sends emails /// </summary> public class SMTPSink : Sink { #region CONSTS ...
2.76694
ad394a1e83a4cdd8f1c538e5cca757e7
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4167
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "gabrielguedesc/cadastro-clientes-ddd", "max_stars_repo_path": "src/GG.CadastroClientesDDD.Domain/Validations/Customers/CustomerIsConsistent.cs", "provenance": "train-00000-of-00045.jsonl.gz:4168" }
starcoder
<reponame>gabrielguedesc/cadastro-clientes-ddd using DomainValidation.Validation; using GG.CadastroClientesDDD.Domain.Entities; using GG.CadastroClientesDDD.Domain.Specifications.Customers; namespace GG.CadastroClientesDDD.Domain.Validations.Customers { class CustomerIsConsistent : Validator<Customer> { ...
2.319339
32273f1e000b38676a3062a3b65a772c
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4168
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "justingarfield/ubiquitous-broccoli", "max_stars_repo_path": "JGarfield.LocastPlexTuner.Domain/AggregateRoots/ElectronicProgrammingGuide/ElectronicProgramGuide.cs", "provenance": "train-00000-of-00045.jsonl.gz:4169" }
starcoder
using System; namespace JGarfield.LocastPlexTuner.Domain.AggregateRoots.ElectronicProgramGuide { /// <summary> /// Represents an Electronic Program Guide (EPG). /// <br /><br /> /// See: <see href="https://en.wikipedia.org/wiki/Electronic_program_guide"/> /// </summary> public class Electronic...
2.508284
db3890fa3a5f49e59ab6223ab804967d
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4169
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "erikzhouxin/CSharpSolution", "max_stars_repo_path": "WebUI/WebForm/Wepayment/OrderQueryPage.aspx.cs", "provenance": "train-00000-of-00045.jsonl.gz:4170" }
starcoder
using EZOper.NetSiteUtilities.Wepayment; using System; using System.Collections.Generic; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace EZOper.CSharpSolution.WebUI.WebForm.Wepayment { public partial class OrderQueryPage : System.Web.UI.Page { protected void Page_Load...
2.160346
9bb43fb535b93b9448274ca4e70663df
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4170
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "RetroEdit/BizHawk", "max_stars_repo_path": "src/BizHawk.Emulation.Cores/Consoles/Nintendo/GBA/MGBAHawk.cs", "provenance": "train-00000-of-00045.jsonl.gz:4171" }
starcoder
using System; using System.Text; using BizHawk.Common; using BizHawk.Emulation.Common; namespace BizHawk.Emulation.Cores.Nintendo.GBA { [Core(CoreNames.Mgba, "endrift", true, true, "0.8", "https://mgba.io/", false, "GBA")] [ServiceNotApplicable(new[] { typeof(IDriveLight), typeof(IRegionable) })] public...
1.726372
c293e767fb959085554ac459b8c49c32
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4171
{ "extension": "c-sharp", "max_stars_count": "18.0", "max_stars_repo_name": "markolazic88/DailyCat", "max_stars_repo_path": "src/DailyCat.ViewModel/MainPageViewModel.cs", "provenance": "train-00000-of-00045.jsonl.gz:4172" }
starcoder
<reponame>markolazic88/DailyCat namespace DailyCat.ViewModel { using GalaSoft.MvvmLight; public class MainPageViewModel : ViewModelBase { } }
0.78754
ea912d0e731574a0516fe6e73b88757a
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4172
{ "extension": "c-sharp", "max_stars_count": "13.0", "max_stars_repo_name": "fxredeemer/jitterphysics", "max_stars_repo_path": "samples/JitterDemo/JitterDemo/PhysicsObjects/ClothObject.cs", "provenance": "train-00000-of-00045.jsonl.gz:4173" }
starcoder
using System; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using Jitter.Dynamics; namespace JitterDemo.PhysicsObjects { internal class ClothObject : DrawableGameComponent { private Texture2D texture; private BasicEffect effect; private VertexPositionNormalTex...
2.551634
d33732156943bcf57990913affd0df9e
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4173
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "eneshoxha/mcu-data-streaming-cloud", "max_stars_repo_path": "src/mcu-reporting/UP.MCU.RealtimeReporting/UP.MCU.RealtimeReporting/Services/Time/EventInboundService.cs", "provenance": "train-00000-of-00045.jsonl.gz:4174" }
starcoder
<reponame>eneshoxha/mcu-data-streaming-cloud using Buildersoft.Andy.X.Client; using Buildersoft.Andy.X.Streams; using Buildersoft.Andy.X.Streams.Model; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Controls; using System.Windows...
1.916652
bf56abd0071d8069f50804e1b5147b4c
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4174
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "wtct/Umbraco-CMS", "max_stars_repo_path": "src/Umbraco.Web/umbraco.presentation/umbraco/Trees/loadContent.cs", "provenance": "train-00000-of-00045.jsonl.gz:4175" }
starcoder
<reponame>wtct/Umbraco-CMS<gh_stars>0 using System; using System.Collections.Generic; using umbraco.BusinessLogic.Actions; using umbraco.businesslogic; using umbraco.cms.businesslogic.web; using umbraco.cms.presentation.Trees; using umbraco.interfaces; using Umbraco.Core; using Action = umbraco.BusinessLogic.A...
1.901701
124b3c893f02a0717c36c37d66611202
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4175
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "ntgentil/CqrsProjeto", "max_stars_repo_path": "BaseCore/Exceptions/EnumerationIvalidOperatorException.cs", "provenance": "train-00000-of-00045.jsonl.gz:4176" }
starcoder
<filename>BaseCore/Exceptions/EnumerationIvalidOperatorException.cs using BaseCore.Enumerations; using System; using System.Runtime.Serialization; namespace BaseCore.Exceptions { [Serializable] public class EnumerationIvalidOperatorException : Exception { public EnumerationIvalidOperatorException(...
2.930082
b8fea1f5b4e9b4ea42bf3cd46fd2fd42
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4176
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "HoangHo20/eCommerceASPNetCore", "max_stars_repo_path": "CustomerMVCSite/Services/CastService.cs", "provenance": "train-00000-of-00045.jsonl.gz:4177" }
starcoder
<filename>CustomerMVCSite/Services/CastService.cs using CustomerMVCSite.Models; using CustomerMVCSite.Services.Interface; using eCommerceASPNetCore.Domain; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace CustomerMVCSite.Services { public class CastService...
2.667479
83fd5cc07cc0f009216cae3d95d61286
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4177
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "QuinntyneBrown/ModelMob", "max_stars_repo_path": "src/ui/ModelMob.SPA/Controllers/ModelsController.cs", "provenance": "train-00000-of-00045.jsonl.gz:4178" }
starcoder
<gh_stars>0 using ModelService.Features.Models; using Infrastructure.Extensions; using Microsoft.AspNetCore.Mvc; using Newtonsoft.Json; using System.Net.Http; using System.Threading.Tasks; using Microsoft.AspNetCore.Authorization; namespace ModelMob.SPA.Controllers { [Authorize] [ApiController] [Route("ap...
1.942826
5d8693dbdbd00cc972d79036394e5cd7
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4178
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "Object-Pascal/RemoteHealthcare", "max_stars_repo_path": "Sprint 3/ClientServerDemo/Client/Json Structure/Serializables/Treeload.cs", "provenance": "train-00000-of-00045.jsonl.gz:4179" }
starcoder
<gh_stars>0 using Client.Json_Structure.Serializables.Sub_Objects; namespace Client.Json_Structure.Serializables { public class Treeload { public string id { get; set; } public Data2 data { get; set; } } }
1.052592
3bc146fd31d3b05b3512cc5bd7b5fcc1
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4179
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "alexandrateneva/DB-Fundamentals-SoftUni", "max_stars_repo_path": "Databases Advanced - Entity Framework/Introduction to Entity Framework/7. Employee 147/StartUp.cs", "provenance": "train-00000-of-00045.jsonl.gz:4180" }
starcoder
<gh_stars>0 namespace _7._Employee_147 { using System; using System.Linq; using Microsoft.EntityFrameworkCore; using P02_DatabaseFirst.Data; public class StartUp { public static void Main() { using (var db = new SoftUniContext()) { var em...
2.591538
7f10a95a40bdffad45e74932a242fbb3
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4180
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "jourdant/akahu-dotnet", "max_stars_repo_path": "akahu-dotnet/Models/Transaction.cs", "provenance": "train-00000-of-00045.jsonl.gz:4181" }
starcoder
using System; using System.Collections.Generic; using System.Text; using System.Text.Json.Serialization; namespace Akahu.Api.Models { public class Transaction : AkahuModelBase { [JsonPropertyName("_account")] public string AccountId { get; set; } //[JsonPropertyName("_category")] ...
1.711683
2ddcf0db91b75e98f44c3cf8dbb50343
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4181
{ "extension": "c-sharp", "max_stars_count": "3.0", "max_stars_repo_name": "favedit/MoCross", "max_stars_repo_path": "Tools/1 - Common/MoDirect3d/Device/FDxContext2D.cs", "provenance": "train-00000-of-00045.jsonl.gz:4182" }
starcoder
using System.Drawing; using MO.Common.Geom; using MO.Common.Lang; using MO.DirectX.Draw; namespace MO.DirectX.Device { //============================================================ // <T>环境上下文。</T> // // @history MAOCY 120707 //============================================================ public cla...
2.363586
ab8aa7d137f08a61fbb247f00ec23d58
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4182
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "TejasNair9977/osu", "max_stars_repo_path": "osu.Game.Tests/Visual/Menus/TestSceneMusicActionHandling.cs", "provenance": "train-00000-of-00045.jsonl.gz:4183" }
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.Collections.Generic; using System.Linq; using NUnit.Framework; using osu.Framework.Extensions; using osu.Framework.Testing; using osu.Game.Beatmaps; using osu....
1.99546
761a53fbc8be5ab8cc43b766b5751a48
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4183
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "apurplecaboose/Project-Parkour", "max_stars_repo_path": "ImaRunnerImaTrackstar/Assets/Polaris - Low Poly Ecosystem/Polaris - Low Poly Terrain Engine/Runtime/Scripts/Utilities/GTextureChannel.cs", "provenance": "train-00000-of-00045.js...
starcoder
<filename>ImaRunnerImaTrackstar/Assets/Polaris - Low Poly Ecosystem/Polaris - Low Poly Terrain Engine/Runtime/Scripts/Utilities/GTextureChannel.cs #if GRIFFIN using UnityEngine; using System.Collections; using System.Collections.Generic; namespace Pinwheel.Griffin { [System.Flags] public enum GTextureChannel ...
1.543783
c1974c8eda26cb5e605f731b9289de08
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4184
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "MrMonkeyKing/CaveWanderer", "max_stars_repo_path": "Assets/_Scripts/Generator/_3DCaveNoiseMapMistake.cs", "provenance": "train-00000-of-00045.jsonl.gz:4185" }
starcoder
using _Scripts.Generator.Noise; using UnityEngine; namespace _Scripts.Generator { public class _3DCaveNoiseMapMistake : MonoBehaviour { public int width; public int height; public int depth; public string seed; public bool useRandomSeed; [Range(1, 20)] public i...
2.342229
51f24d4bdd60f5cd824dbb684fe189f2
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4185
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "sebtelko/pulumi-azure-native", "max_stars_repo_path": "sdk/dotnet/StoragePool/V20210401Preview/IscsiTarget.cs", "provenance": "train-00000-of-00045.jsonl.gz:4186" }
starcoder
<reponame>sebtelko/pulumi-azure-native // *** WARNING: this file was generated by the Pulumi SDK Generator. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulum...
1.261554
23240b685c55f7f8525b72d3ddc49d81
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4186
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "gsgfintech/backtester-server-aspnetcore", "max_stars_repo_path": "Backtester.Server/Models/BacktestPositionModel.cs", "provenance": "train-00000-of-00045.jsonl.gz:4187" }
starcoder
using Capital.GSG.FX.Backtest.DataTypes; using Capital.GSG.FX.Data.Core.ContractData; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; namespace Backtester.Server.Models { public class BacktestPositionModel { public Cross Cross { get; set;...
2.566708
ba1e6136fa66c5e5b6a38e24352344db
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4187
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "Novakov/HighLevelCodeAnalysis", "max_stars_repo_path": "src/CodeModel.Extensions.Cqrs/Mutators/CountCommandExecutions.cs", "provenance": "train-00000-of-00045.jsonl.gz:4188" }
starcoder
<reponame>Novakov/HighLevelCodeAnalysis using System.Linq; using System.Reflection; using CodeModel.Builder; using CodeModel.Dependencies; using CodeModel.Extensions.Cqrs.Rules; using CodeModel.FlowAnalysis; using CodeModel.Primitives; namespace CodeModel.Extensions.Cqrs.Mutators { [Provide(CqrsResources.CountedC...
2.178445
c6f92cc868b69496224278ab3ef1bb3d
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4188
{ "extension": "c-sharp", "max_stars_count": "95.0", "max_stars_repo_name": "jasonliaocn/dp2", "max_stars_repo_path": "DigitalPlatform/UserNameTable.cs", "provenance": "train-00000-of-00045.jsonl.gz:4189" }
starcoder
<gh_stars>10-100 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Collections; using System.Threading; namespace DigitalPlatform { /// <summary> /// 用户名信息表。用于防范试探密码的攻击 /// </summary> public class UserNameTable { public string ServerName = "...
2.777283
051fb767b4db476006bba10540a777c5
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4189
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "steelpr/CSharp-Fundamentals", "max_stars_repo_path": "C# OOP Basics - February2018/InterfaceAndAbstraction/Telephone/Contracts/IBrowsable.cs", "provenance": "train-00000-of-00045.jsonl.gz:4190" }
starcoder
<reponame>steelpr/CSharp-Fundamentals interface IBrowsable : ICall { }
1.492607
c0580245a559d555c253bb255209ae8c
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4190
{ "extension": "c-sharp", "max_stars_count": "3.0", "max_stars_repo_name": "Skyprx/maui", "max_stars_repo_path": "System.Maui.Core/WebNavigatedEventArgs.cs", "provenance": "train-00000-of-00045.jsonl.gz:4191" }
starcoder
<filename>System.Maui.Core/WebNavigatedEventArgs.cs namespace System.Maui { public class WebNavigatedEventArgs : WebNavigationEventArgs { public WebNavigatedEventArgs(WebNavigationEvent navigationEvent, WebViewSource source, string url, WebNavigationResult result) : base(navigationEvent, source, url) { Result ...
1.957995
804b1ac12bc3a242ab724e8091572861
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4191
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "pragmat1c/DateRanger", "max_stars_repo_path": "DateRanger/Week.cs", "provenance": "train-00000-of-00045.jsonl.gz:4192" }
starcoder
<reponame>pragmat1c/DateRanger using System; namespace DateRanger { public class Week { public static DateTime StartOf(DateTime day) { int DaysToSubtract = (int)day.DayOfWeek; DateTime dt = DateTime.Now.Subtract(System.TimeSpan.FromDays(DaysToSubtract)); re...
3.204675
a7567fcc1155a4b854cda875ed305588
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4192
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "furkanisitan/.net-framework-sample-backend-project", "max_stars_repo_path": "Shop.Business/Abstract/ICategoryService.cs", "provenance": "train-00000-of-00045.jsonl.gz:4193" }
starcoder
using Shop.Entities.Concrete; using System.Collections.Generic; namespace Shop.Business.Abstract { public interface ICategoryService { ICollection<Category> GetAll(); bool IsPropertiesEdited(Category category, params string[] properties); } }
1.629472
3f03ac073deb6252ef8a8bf8753f89b6
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4193
{ "extension": "c-sharp", "max_stars_count": "1373.0", "max_stars_repo_name": "BCSharp/dockpanelsuite", "max_stars_repo_path": "WinFormsUI/Docking/DockPane.SplitterControl.cs", "provenance": "train-00000-of-00045.jsonl.gz:4194" }
starcoder
using System.ComponentModel; using System.Drawing; using System.Windows.Forms; namespace WeifenLuo.WinFormsUI.Docking { partial class DockPane { [ToolboxItem(false)] public class SplitterControlBase : Control, ISplitterDragSource { DockPane m_pane; public Splitt...
2.236991
81dd29ee69f1e07dae324a435b3eb68a
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4194
{ "extension": "c-sharp", "max_stars_count": "32.0", "max_stars_repo_name": "gitFurious/HaloSharp", "max_stars_repo_path": "Source/HaloSharp/Query/HaloWars2/Stats/Lifetime/GetPlaylistRatings.cs", "provenance": "train-00000-of-00045.jsonl.gz:4195" }
starcoder
<reponame>gitFurious/HaloSharp<filename>Source/HaloSharp/Query/HaloWars2/Stats/Lifetime/GetPlaylistRatings.cs using HaloSharp.Exception; using HaloSharp.Model; using HaloSharp.Model.HaloWars2.Stats.Lifetime; using HaloSharp.Validation.Common; using System; using System.Collections.Generic; namespace HaloSharp.Query.Ha...
2.31197
c09872690687577915355d1e80671778
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4195
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "geteventcore/eventcore", "max_stars_repo_path": "tests/EventCore.Projectors.Tests/ProjectorDependenciesTests.cs", "provenance": "train-00000-of-00045.jsonl.gz:4196" }
starcoder
using EventCore.EventSourcing; using EventCore.StatefulSubscriber; using EventCore.Utilities; using Moq; using System.Collections.Generic; using Xunit; namespace EventCore.Projectors.Tests { public class ProjectorDependenciesTests { [Fact] public void construct() { var mockLogger = new Mock<IS...
1.847035
9973f501aa1bfbe6255943be35f96728
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4196
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "lamentary/qlearning-sharp", "max_stars_repo_path": "qlearning-sharp/QLearningMaze/QLearningMaze.Core/AdditionalReward.cs", "provenance": "train-00000-of-00045.jsonl.gz:4197" }
starcoder
namespace QLearningMaze.Core { public class AdditionalReward { public int Position { get; set; } public double Value { get; set; } } }
1.645276
5e24fcf77ecd69fe5e26d725daf12e11
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4197
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "sedc-codecademy/skwd8-06-csharpadv", "max_stars_repo_path": "g2/Class12/SEDC.SerializationDeserialization/SEDC.SerializeServices/Entities/ReaderWriter.cs", "provenance": "train-00000-of-00045.jsonl.gz:4198" }
starcoder
using System; using System.Collections.Generic; using System.IO; using System.Text; namespace SEDC.SerializationDeserialization.Entities { public class ReaderWriter { public string ReadFile(string path) { string result = String.Empty; if (!File.Exists(path)) ...
3.337559
bc5c2922a35ef11fc34783ec90472351
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4198
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "gdpenchev/ASP.Net-Core-E-Shop", "max_stars_repo_path": "E-Shop/Views/_ViewImports.cshtml", "provenance": "train-00000-of-00045.jsonl.gz:4199" }
starcoder
<reponame>gdpenchev/ASP.Net-Core-E-Shop @using E_Shop @using E_Shop.Models @using E_Shop.Models.Home @using E_Shop.Models.Shirts @using E_Shop.Models.MasterShirt @using E_Shop.Services.MasterShirt @using E_Shop.Models.Cart @using E_Shop.Infrastructure @using E_Shop.Areas.Identity.Pages.Account.Models @addTagHelper *, ...
1.451467
08fd6e97e77114d1f6d718ed2956d888
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4199
{ "extension": "c-sharp", "max_stars_count": "20.0", "max_stars_repo_name": "jafin/TestStack.ConventionTests", "max_stars_repo_path": "TestStack.ConventionTests/Reporting/ProjectFileFormatter.cs", "provenance": "train-00000-of-00045.jsonl.gz:4200" }
starcoder
<gh_stars>10-100 namespace TestStack.ConventionTests.Reporting { using TestStack.ConventionTests.ConventionData; public class ProjectFileFormatter : IReportDataFormatter { public bool CanFormat(object data) { return data is ProjectFileItem; } public s...
2.08456
5edf5ad9a5bf8ef4fb9a9bbcbf34441a
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4200
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "XenoltSoftware/Xamarin.Material.Forms", "max_stars_repo_path": "Xamarin.Material.Forms/Xamarin.Material.Forms.iOS/Renderers/TextFieldRenderer.cs", "provenance": "train-00000-of-00045.jsonl.gz:4201" }
starcoder
using System; using Xamarin.Forms; using Xamarin.Material.Forms; using Xamarin.Forms.Platform.iOS; using MTextField = MaterialComponents.TextField; using MTextInputControllerOutlined = MaterialComponents.TextInputControllerOutlined; using MTextInputControllerFilled = MaterialComponents.TextInputControllerFilled; using...
1.949158
79888f3ea7673abd4edd6440e97262ac
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4201
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "vendrhub/vendr-deploy", "max_stars_repo_path": "src/Vendr.Deploy/Artifacts/TaxClassArtifact.cs", "provenance": "train-00000-of-00045.jsonl.gz:4202" }
starcoder
using Newtonsoft.Json; using System.Collections.Generic; using Vendr.Deploy.Converters; #if NETFRAMEWORK using Umbraco.Core; using Umbraco.Core.Deploy; #else using Umbraco.Cms.Core; using Umbraco.Cms.Core.Deploy; #endif namespace Vendr.Deploy.Artifacts { public class TaxClassArtifact : StoreEntityArtifactBase ...
1.842146
ab523f7b7d92357d256e8e6d8a27061b
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4202
{ "extension": "c-sharp", "max_stars_count": "99.0", "max_stars_repo_name": "NetOfficeFw/NetOffice-LegacyRepository", "max_stars_repo_path": "Source/MSHTML/Classes/HTMLUnknownElement.cs", "provenance": "train-00000-of-00045.jsonl.gz:4203" }
starcoder
<filename>Source/MSHTML/Classes/HTMLUnknownElement.cs using System; using NetRuntimeSystem = System; using System.ComponentModel; using NetOffice; namespace NetOffice.MSHTMLApi { #region Delegates #pragma warning disable public delegate void HTMLUnknownElement_onhelpEventHandler(); public delegate void...
1.50664
321335888b0d58a4de839b349cc6b2db
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4203
{ "extension": "c-sharp", "max_stars_count": "469.0", "max_stars_repo_name": "lefb766/mono", "max_stars_repo_path": "mcs/tests/gtest-025.cs", "provenance": "train-00000-of-00045.jsonl.gz:4204" }
starcoder
<reponame>lefb766/mono class Foo { public Foo () { } public void Hello<T> (T t) { // We're boxing the type parameter `T' to an object here. Whatever (t); } public void Whatever (object o) { System.Console.WriteLine (o.GetType ()); } } class X { static void Test (Foo foo) { foo.Hello<int> (531); } ...
2.592121
3caaafdc6cf163dfc5c8f0c786785db3
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4204
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "we-ciao/Learning-Platform-of-Data-Structures-And-Algorithms", "max_stars_repo_path": "Learning Platform of DSAA/Views/_ViewImports.cshtml", "provenance": "train-00000-of-00045.jsonl.gz:4205" }
starcoder
@using Learning_Platform_of_DSAA @using Learning_Platform_of_DSAA.Models @addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
1.74741
8f08a501823cc60b236d0b355fe22174
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4205
{ "extension": "c-sharp", "max_stars_count": "7.0", "max_stars_repo_name": "Fungus-Light/Black_Rabbit", "max_stars_repo_path": "Core/Scripts/little_things/else/TriggerPlaySound.cs", "provenance": "train-00000-of-00045.jsonl.gz:4206" }
starcoder
using System.Collections; using System.Collections.Generic; using UnityEngine; using Black_Rabbit; public enum TriggerType { Basic, Switch, Talk, Timeline }; [RequireComponent(typeof(AudioSource))] public class TriggerPlaySound : MonoBehaviour { public AudioSource _audio; public Trigger_basic trigger; ...
2.287688
3bb8ff6f1a7e4d70557aba6f459e7a48
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4206
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "vladhrapov/trainings", "max_stars_repo_path": "patterns_and_practices/materials/003_gof/002_structural/gof_001_bridge/Abstraction.cs", "provenance": "train-00000-of-00045.jsonl.gz:4207" }
starcoder
<reponame>vladhrapov/trainings namespace gof_001_bridge { abstract class Abstraction { protected Implementor implementor = null; public Abstraction(Implementor implementor) { this.implementor = implementor; } public virtual void Operation() { ...
1.802824
4bd5d5ca44f29d3fbd1c184da5e3e2f5
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4207
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "QuinntyneBrown/delegation-poker-app", "max_stars_repo_path": "DelegationPokerApp/Dtos/DelegationBoardItemDto.cs", "provenance": "train-00000-of-00045.jsonl.gz:4208" }
starcoder
<filename>DelegationPokerApp/Dtos/DelegationBoardItemDto.cs namespace DelegationPokerApp.Dtos { public class DelegationBoardItemDto { public DelegationBoardItemDto(DelegationPokerApp.Models.DelegationBoardItem entity) { this.Id = entity.Id; this.Name = entity.Name; ...
2.374145
d58ed3e1858f9c7a0a39d83d5979e6f4
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4208
{ "extension": "c-sharp", "max_stars_count": "212.0", "max_stars_repo_name": "padhisandeepkumar/AWS", "max_stars_repo_path": "XamarinSamples/DynamoDB/ContactManager.iOS/DoneEntryRenderer.cs", "provenance": "train-00000-of-00045.jsonl.gz:4209" }
starcoder
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Foundation; using UIKit; using Xamarin.Forms.Platform.iOS; using Xamarin.Forms; using System.Drawing; using ContactManager; using ContactManager.iOS; [assembly: ExportRenderer(typeof(DoneEntry), typeof(DoneEntryRenderer))] nam...
1.927056
d2d2a146075f01cc84bf4999852dc880
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4209
{ "extension": "c-sharp", "max_stars_count": "31.0", "max_stars_repo_name": "samuelGrahame/ExpressCraft", "max_stars_repo_path": "ExpressCraft.Forms/Windows/Forms/Layout/CommonProperties.cs", "provenance": "train-00000-of-00045.jsonl.gz:4210" }
starcoder
namespace System.Windows.Forms.Layout { using System; using System.Collections.Specialized; using System.Drawing; using System.Windows.Forms; internal class CommonProperties { private static readonly BitVector32.Section _anchorNeverShrinksSection = BitVector32.CreateSection(1, _BoxStre...
2.100272
aca4efb7eda53e7f3cc7b4e2e3e6dc0d
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4210
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "dariofugale95/server-opc-ua-dotnetcore", "max_stars_repo_path": "OPCServerNETCore/OPCWeatherMap/Controllers/HomeController.cs", "provenance": "train-00000-of-00045.jsonl.gz:4211" }
starcoder
<reponame>dariofugale95/server-opc-ua-dotnetcore using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text.Json; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; using Newtonsoft.Json; using OPCWeatherMap.Models; usin...
2.184671
5cde8051ef0cfee95a5ebc45082df599
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4211
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "martinlindhe/Punku", "max_stars_repo_path": "PunkuTests/Extensions/Base64StringExtensions.cs", "provenance": "train-00000-of-00045.jsonl.gz:4212" }
starcoder
using System; using System.Text; using NUnit.Framework; using Punku; [TestFixture] [Category ("Extensions")] public class Extensions_Base64String { [Test] public void ByteArrayToBase64_01 () { Assert.AreEqual ( new byte[] { 1, 2, 3 }.ToBase64 (), "AQID" ); } [Test] public void StringToBase64_01 () {...
2.637591
39407984c5696389ee6fa05796f6d46a
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4212
{ "extension": "c-sharp", "max_stars_count": "12.0", "max_stars_repo_name": "BobbyCannon/Speedy", "max_stars_repo_path": "Speedy/PagedRequest.cs", "provenance": "train-00000-of-00045.jsonl.gz:4213" }
starcoder
<filename>Speedy/PagedRequest.cs #region References using System; using System.Collections.Generic; using System.Linq; using System.Text; #endregion namespace Speedy { /// <summary> /// Represents a paged request to a service. /// </summary> public class PagedRequest : Bindable { #region Constructors /// ...
3.117571
c844cf883bd675179cfe8d1bd2b9b966
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4213
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "vanlit/GRPC_HelloChatty", "max_stars_repo_path": "ChatClient/ClientProgram.cs", "provenance": "train-00000-of-00045.jsonl.gz:4214" }
starcoder
<filename>ChatClient/ClientProgram.cs  using Grpc.Core; using HelloChattyProtocol; using System; using System.Collections.Generic; using System.Threading.Tasks; namespace ChatClient { class Program { private const string ServerAddress = "127.0.0.1:3000"; const string client_private_key_file =...
2.577202
6822de5589d0253f3206d0bcf0fcb158
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4214
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "andrewdbond/CompositeWPF", "max_stars_repo_path": "sourceCode/compositewpf/V2/trunk/Quickstarts/UI Composition/ViewDiscovery/Desktop/UIComposition.Modules.Project.Tests/Views/ProjectsListPresenterFixture.cs", "provenance": "train-0000...
starcoder
//=================================================================================== // Microsoft patterns & practices // Composite Application Guidance for Windows Presentation Foundation and Silverlight //=================================================================================== // Copyright (c) Microsoft C...
1.999244
08df0fa4d8d9d8cd6799806da9ad4481
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4215
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "cacayue/MicroService", "max_stars_repo_path": "src/Project/Project.Domain/AggregatesModel/ProjectViewer.cs", "provenance": "train-00000-of-00045.jsonl.gz:4216" }
starcoder
using System; using Project.Domain.SeedWork; namespace Project.Domain.AggregatesModel { public class ProjectViewer: Entity { public int ProjectId { get; set; } public int UserId { get; set; } public string UserName { get; set; } public string Avatar { get; set; } ...
1.701182
37743904ed8ab2f73bcb9ac8a9e8d88a
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4216
{ "extension": "c-sharp", "max_stars_count": "6.0", "max_stars_repo_name": "snehkalasannavar/FourRoads.TelligentCommunity", "max_stars_repo_path": "src/code/FourRoads.TelligentCommunity.ConfigurationExtensions/Enumerations/CalendarEnumerate.cs", "provenance": "train-00000-of-00045.jsonl.gz:4217" }
starcoder
using Telligent.Evolution.Extensibility; using Telligent.Evolution.Extensibility.Api.Entities.Version1; using Telligent.Evolution.Extensions.Calendar.Extensibility.Api.Entities.Version1; using Telligent.Evolution.Extensions.Calendar.Extensibility.Api.Version1; namespace FourRoads.TelligentCommunity.ConfigurationExtens...
2.445814
8c2ec9088d3fbe1b64f6ebb0fe251e33
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4217
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "crazysurjeet/WPFPhoneBook", "max_stars_repo_path": "WPFPhonebook/Model/Person.cs", "provenance": "train-00000-of-00045.jsonl.gz:4218" }
starcoder
<gh_stars>1-10 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace WPFPhonebook.Model { public class Person:BasePerson { } }
1.275088
c952534ce78a0a6842ee1094572d982c
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4218
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "99xt/seranet.api", "max_stars_repo_path": "Seranet.Api.Plugins.Contacts/ContactsController.cs", "provenance": "train-00000-of-00045.jsonl.gz:4219" }
starcoder
<reponame>99xt/seranet.api using Seranet.Api.Core; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Web.Http; namespace Seranet.Api.Plugins.Contacts { public class ContactsController: ApiController { //[SeranetAuth] ...
1.884635
13f2dd21128a30b83c9e309937fc19cf
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4219
{ "extension": "c-sharp", "max_stars_count": "4.0", "max_stars_repo_name": "dirend/SoupBinTCP.NET", "max_stars_repo_path": "SoupBinTCP.NET/Messages/Debug.cs", "provenance": "train-00000-of-00045.jsonl.gz:4220" }
starcoder
using System; using System.Linq; using System.Text; namespace SoupBinTCP.NET.Messages { public class Debug : Message { public string Text => Encoding.ASCII.GetString((Bytes.Skip(1).Take(Length - 1).ToArray())); public Debug(string text) { const char type = '+'; ...
2.578296
81c53a8a18b26ebf9db2295d5649459b
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4220
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "BearerPipelineTest/BuildXL", "max_stars_repo_path": "Public/Src/Utilities/UnitTests/Utilities/ActionBlockSlimTests.cs", "provenance": "train-00000-of-00045.jsonl.gz:4221" }
starcoder
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System; using System.Threading; using System.Threading.Tasks; using Xunit; using BuildXL.Utilities.ParallelAlgorithms; using BuildXL.Utilities.Tasks; using Test.BuildXL.TestUtilities.Xunit; using System.Collections.Concurrent;...
1.977215
392743dc40180a6a69e48de7424778e0
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4221
{ "extension": "c-sharp", "max_stars_count": "4.0", "max_stars_repo_name": "b25/grpc-dotnet", "max_stars_repo_path": "src/Grpc.AspNetCore.Server/Internal/Deadline/ServerCallDeadlineManager.cs", "provenance": "train-00000-of-00045.jsonl.gz:4222" }
starcoder
#region Copyright notice and license // Copyright 2019 The gRPC Authors // // 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...
2.147395
a1d1ec969bf2fa82ad478c362c2db170
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4222
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "IGR777/RazorParser", "max_stars_repo_path": "NewTests/Test.cs", "provenance": "train-00000-of-00045.jsonl.gz:4223" }
starcoder
using NUnit.Framework; using System; using System.Collections; using System.Linq; using System.Collections.Generic; using NewTests; namespace RazorParser.Tests { [TestFixture ()] public class Test { [Test,TestCaseSource (typeof(TestCasesClass), "TestCases")] public string TestIfParser (string condition, object...
2.548977
d2e6236dabccfd3e5948dd980b3463b2
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4223
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "fyfdeminWorld/Ao.ObjectDesign", "max_stars_repo_path": "src/Ao.ObjectDesign.WpfDesign/BindingCreatorStateFetchExtensions.cs", "provenance": "train-00000-of-00045.jsonl.gz:4224" }
starcoder
using System; namespace Ao.ObjectDesign.WpfDesign { public static class BindingCreatorStateFetchExtensions { public static T GetFeature<T>(this IBindingCreatorState state,object key) { var feature = state.Features; if (feature is null) { ...
2.919095
5a90009d52ba769abc344a28a39719a2
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4224
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "Omarkth/Restaurant-App", "max_stars_repo_path": "src/Server/Tests/Restaurant.Server.Api.UnitTests/Models/UserTest.cs", "provenance": "train-00000-of-00045.jsonl.gz:4225" }
starcoder
<filename>src/Server/Tests/Restaurant.Server.Api.UnitTests/Models/UserTest.cs using Albedo; using AutoFixture.Idioms; using Restaurant.Server.Api.Models; using Xunit; namespace Restaurant.Server.Api.UnitTests.Models { public class UserTest { [Theory, AutoDomainData] public void Test_user_auto_properties(Writabl...
1.766517
8a8fb4fc379057010f5dad11291cd6c6
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4225
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "Sleyy/DatabasesAdvanced-EntityFrameworkCore", "max_stars_repo_path": "BestPracticesAndArchitecture/PhotoShare/PhotoShare.Data/Migrations/20190210171909_Initial.Designer.cs", "provenance": "train-00000-of-00045.jsonl.gz:4226" }
starcoder
// <auto-generated /> using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using PhotoShare.Data; namespace Photo...
1.911154
8554a1ca19fa2c783cf1cc65f9c9c623
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4226
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "dolittle/DotNET.Fundamentals", "max_stars_repo_path": "Specifications/Collections/for_EnumerableEqualityComparer/when_equating_and_both_collections_are_null.cs", "provenance": "train-00000-of-00045.jsonl.gz:4227" }
starcoder
// Copyright (c) Dolittle. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Collections.Generic; using Machine.Specifications; namespace Dolittle.Collections.for_EnumerableEqualityComparer { [Subject(typeof(EnumerableEqualityCo...
2.521899
72a6c6897c586f3e2f3cfa2a66f51673
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4227
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "ARLM-Attic/mxparser", "max_stars_repo_path": "CURRENT/c-sharp/src/org/mariuszgromada/math/mxparser/parsertokens/Token.cs", "provenance": "train-00000-of-00045.jsonl.gz:4228" }
starcoder
<filename>CURRENT/c-sharp/src/org/mariuszgromada/math/mxparser/parsertokens/Token.cs /* * @(#)Token.cs 4.0.0 2016-03-26 * * You may use this software under the condition of "Simplified BSD License" * * Copyright 2010-2017 <NAME>. All rights reserved. * * Redistribution and use in source and binary form...
2.041004
dfa7043a3bfcf80ef35617c459c178ae
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4228
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "Episerver-trainning/episerver4_adfs", "max_stars_repo_path": "templates/Wsrp/portletcontrols/_vti_cnf/wsrpIframeControl.ascx.cs", "provenance": "train-00000-of-00045.jsonl.gz:4229" }
starcoder
<reponame>Episerver-trainning/episerver4_adfs<filename>templates/Wsrp/portletcontrols/_vti_cnf/wsrpIframeControl.ascx.cs<gh_stars>0 vti_encoding:SR|utf8-nl vti_timelastmodified:TR|08 May 2017 08:49:38 -0000 vti_extenderversion:SR|4.0.2.8912 vti_cacheddtm:TX|08 May 2017 08:49:38 -0000 vti_filesize:IR|3100
0.788075
f7ce110968d5b737a4ca701878fa339a
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4229
{ "extension": "c-sharp", "max_stars_count": "71.0", "max_stars_repo_name": "telerik/CoreTemplateStudio-1", "max_stars_repo_path": "code/src/CoreTemplateStudio/CoreTemplateStudio.Core/Templates/TemplatesRepository.cs", "provenance": "train-00000-of-00045.jsonl.gz:4230" }
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.Collections.Generic; using System.Globalization; using System.IO; using System.L...
1.631228
ded74cb440cc7967ca641e76da05ee80
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4230
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "smokoloko/AcademyWeb", "max_stars_repo_path": "Academy.Web/Areas/Teacher/Views/Dashboard/Index.cshtml", "provenance": "train-00000-of-00045.jsonl.gz:4231" }
starcoder
@model Academy.Web.Areas.Teacher.Models.CoursesByTeacherViewModel @{ ViewData["Title"] = "Index"; } <div class="row"> <div class="col-md-12"> <div class="row"> <div class="col-md-5 col-lg-5 col-xs-12"> <h3>Hello @Model.UserName</h3> </div> <div class...
2.784151
3a36fb27d36cb3966a2abdc19467dfba
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4231
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "Azmalent/itmo4", "max_stars_repo_path": "algorithms/alg2/alg2/Edge.cs", "provenance": "train-00000-of-00045.jsonl.gz:4232" }
starcoder
<gh_stars>0 namespace alg2 { internal struct Edge { public readonly int Destination; public readonly int Weight; public Edge(int destination, int weight) { Destination = destination; Weight = weight; } } }
2.005699
fdbeea4ec89e8db3fe8c070c5160d050
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4232
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "hishamco/oqtane.framework", "max_stars_repo_path": "Oqtane.Server/Repository/Interfaces/IPageModuleRepository.cs", "provenance": "train-00000-of-00045.jsonl.gz:4233" }
starcoder
<gh_stars>0 using System.Collections.Generic; using Oqtane.Models; namespace Oqtane.Repository { public interface IPageModuleRepository { IEnumerable<PageModule> GetPageModules(int SiteId); IEnumerable<PageModule> GetPageModules(int PageId, string Pane); PageModule AddPageModule(PageMo...
1.546787
bd69f7147e4f0c6572b2219fdf092a84
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4233
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "WTobor/BoardGamesNook", "max_stars_repo_path": "BoardGamesNook/Views/Shared/Error.cshtml", "provenance": "train-00000-of-00045.jsonl.gz:4234" }
starcoder
@model HandleErrorInfo @{ ViewBag.Title = "Error"; } <span class="font-weight-bold text-danger">Error.</span> <span class="font-weight-bold text-danger">An error occurred while processing your request.</span>
2.274176
c9a9030e74a9842bee0dae74204b0948
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4234
{ "extension": "c-sharp", "max_stars_count": "3.0", "max_stars_repo_name": "afonsoft/EAF", "max_stars_repo_path": "src/Eaf.Middleware.Web.Core/Url/AppUrlServiceBase.cs", "provenance": "train-00000-of-00045.jsonl.gz:4235" }
starcoder
using Eaf.Dependency; using Eaf.Extensions; using Eaf.Middleware.Url; using Eaf.MultiTenancy; namespace Eaf.Middleware.Web.Url { public abstract class AppUrlServiceBase : IAppUrlService, ITransientDependency { protected readonly ITenantCache TenantCache; protected readonly IWebUrlService WebUrl...
1.869514
47596b801b17cc22d4b36570fad63ccd
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4235
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "JurgenV1993/BetterRetail", "max_stars_repo_path": "src/Orckestra.Composer/Services/ScopeViewService.cs", "provenance": "train-00000-of-00045.jsonl.gz:4236" }
starcoder
using System; using System.Collections.Generic; using System.Threading.Tasks; using Orckestra.Composer.Configuration; using Orckestra.Composer.Parameters; using Orckestra.Composer.Repositories; using Orckestra.Composer.ViewModels; using Orckestra.Overture.Caching; using Orckestra.Overture.ServiceModel; using static Or...
2.228153
2f16c470fa4cf43f60e9c029f55a0397
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
4236
{ "extension": "c-sharp", "max_stars_count": "498.0", "max_stars_repo_name": "carbon/lunr-core", "max_stars_repo_path": "LunrCoreTests/QueryLexerTests.cs", "provenance": "train-00000-of-00045.jsonl.gz:4237" }
starcoder
using Lunr; using System.Linq; using Xunit; namespace LunrCoreTests { public class QueryLexerTests { [Fact] public void SingleTermProducesOneLexeme() { QueryLexer lexer = Lex("foo"); Assert.Single(lexer.Lexemes); Lexeme lexeme = lexer.Lexemes.First(...
2.769087
4b83cd60659cb278d29c13af1da5848a