added
string
created
string
id
string
metadata
dict
source
string
text
string
code-score
float64
md5
string
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8838212
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "zombinome/ioc-TinyContainer", "max_stars_repo_path": "TinyContainer/ILifetimeManager.cs", "provenance": "train-00027-of-00045.jsonl.gz:157432" }
starcoder
using System; namespace TinyContainer { public interface ILifetimeManager : IDisposable { object Resolve(TinyContainer container, out bool shoudRelease); void Release(object dependency); } }
1.859993
db68782f8f61dfc3e4e6293b5adce69d
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8838213
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "psht410/SmashGMS", "max_stars_repo_path": "Assets/Scripts/Item.cs", "provenance": "train-00027-of-00045.jsonl.gz:157433" }
starcoder
using UnityEngine; using System.Collections; public enum ITEM{ CPH = 0, YOMAMTTE, MOJITO } public class Item : MonoBehaviour { public ITEM What; Player player; void Awake(){ } void OnCollisionEnter(Collision info){ if (info.transform.CompareTag ("Player")) { player = info.gameObject.GetComponent<P...
2.6468
a9c357ad4a1fd0dcfda8a64ca4de075a
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8838214
{ "extension": "c-sharp", "max_stars_count": "263.0", "max_stars_repo_name": "gordonjohnpatrick/XobotOS", "max_stars_repo_path": "android/naked-stubs/org/apache/harmony/security/pkcs8/PrivateKeyInfo.cs", "provenance": "train-00027-of-00045.jsonl.gz:157434" }
starcoder
using Sharpen; namespace org.apache.harmony.security.pkcs8 { [Sharpen.NakedStub] public sealed class PrivateKeyInfo { } }
0.836053
635933f52c8a9087e8588e48a55175b9
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8838215
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "eduardonaguiar/LuizaLabsApi", "max_stars_repo_path": "src/LuizaLabs.Domain/CommandValidation/Customer/UpdateCustomerCommandValidation.cs", "provenance": "train-00027-of-00045.jsonl.gz:157435" }
starcoder
<gh_stars>1-10 using LuizaLabs.Domain.Commands.Customer; using LuizaLabs.Domain.CommandValidation.Customer; namespace LuizaLabs.CommandValidation.CommandValidation { public class UpdateCustomerCommandValidation : CustomerValidation<UpdateCustomerCommand> { public UpdateCustomerCommandValidation() ...
1.545952
e9d255cb5cf9948a7d3018b1e414472d
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8838216
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "atEaE-samples/asp-dotnetfm-swashbuckle-example", "max_stars_repo_path": "WebAPIExample/Models/UserRequest.cs", "provenance": "train-00027-of-00045.jsonl.gz:157436" }
starcoder
using System.Runtime.Serialization; namespace WebAPIExample.Models { /// <summary> /// userApi create request. /// </summary> [DataContract] public class UserRequest { /// <summary> /// update user. /// </summary> public User user; } }
1.839425
24e90049767767aefe5a7a478f6903be
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8838217
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "soft9000/OwlQuest", "max_stars_repo_path": "QuestDAO.cs", "provenance": "train-00027-of-00045.jsonl.gz:157437" }
starcoder
using System; using System.Collections.Generic; using System.Text; // https://www.nuget.org/packages/System.Data.SQLite.Core/ // "updated 2 days ago" // NuGet CLI: // dotnet add package System.Data.SQLite.Core --version 1.0.113.5 using System.Data.SQLite; using System.Diagnostics; namespace QuestKeep { public c...
2.503112
f312ef900e85dad9996ea48bf8d8dc65
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8838218
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "flaviogf/Cursos", "max_stars_repo_path": "pluralsight/understandingowinandkatana/OwinDemo/OwinDemo.Web/Middlewares/OwinEventArgs.cs", "provenance": "train-00027-of-00045.jsonl.gz:157438" }
starcoder
<filename>pluralsight/understandingowinandkatana/OwinDemo/OwinDemo.Web/Middlewares/OwinEventArgs.cs using Microsoft.Owin; namespace OwinDemo.Web.Middlewares { public class OwinEventArgs { public OwinEventArgs(OwinContext context) { Context = context; } public OwinC...
1.840768
50f39235d785f8883d6baa7d3fdea85a
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8838219
{ "extension": "c-sharp", "max_stars_count": "28.0", "max_stars_repo_name": "Color-Chan/Color-Chan.Discord", "max_stars_repo_path": "src/Color-Chan.Discord.Core/Common/API/DataModels/Interaction/DiscordInteractionCallbackData.cs", "provenance": "train-00027-of-00045.jsonl.gz:157439" }
starcoder
using System.Collections.Generic; using System.Text.Json.Serialization; using Color_Chan.Discord.Core.Common.API.DataModels.Embed; namespace Color_Chan.Discord.Core.Common.API.DataModels.Interaction { public record DiscordInteractionCallbackData { /// <summary> /// Whether or not the respo...
2.255109
9a334d1bf87b585e7e9fa10c5fa196f5
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8838220
{ "extension": "c-sharp", "max_stars_count": "204.0", "max_stars_repo_name": "sergegommers/OpenSleigh", "max_stars_repo_path": "tests/OpenSleigh.E2ETests/CosmosSQLServiceBus/CosmosSqlParentChildScenario.cs", "provenance": "train-00027-of-00045.jsonl.gz:157440" }
starcoder
<reponame>sergegommers/OpenSleigh<gh_stars>100-1000 using OpenSleigh.Core.DependencyInjection; using OpenSleigh.Core.Tests.E2E; using OpenSleigh.Persistence.Cosmos.SQL.Tests.Fixtures; using Xunit; using OpenSleigh.Transport.AzureServiceBus; using System.Collections.Generic; using System; using OpenSleigh.Core.Tests.Sa...
1.746285
e277bfd4458ecaca508bb9c9b73137ab
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8838221
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "ABorovtsov/ObjectMetadata", "max_stars_repo_path": "src/ObjectMetadata/ObjectMetadata.Core/IMetadataAware.cs", "provenance": "train-00027-of-00045.jsonl.gz:157441" }
starcoder
<filename>src/ObjectMetadata/ObjectMetadata.Core/IMetadataAware.cs using System.Collections.Concurrent; namespace ObjectMetadata.Core { public interface IMetadataAware { ConcurrentDictionary<string, object> Metadata { get; } } }
1.921765
f0fceeb0b10fc9a64d650062953cb237
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8838222
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "steveisok/xharness", "max_stars_repo_path": "src/Microsoft.DotNet.XHarness.iOS.Shared/TestImporter/Templates/ITemplatedProject.cs", "provenance": "train-00027-of-00045.jsonl.gz:157442" }
starcoder
<reponame>steveisok/xharness<filename>src/Microsoft.DotNet.XHarness.iOS.Shared/TestImporter/Templates/ITemplatedProject.cs // 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 inform...
1.921267
a67d82833262effe7d9cf825e766971f
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8838223
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "XeEngine/XeTools", "max_stars_repo_path": "Xe.BusinessLogic/Security/IHashing.cs", "provenance": "train-00027-of-00045.jsonl.gz:157443" }
starcoder
using System; using System.Collections.Generic; using System.Text; namespace Xe.Security { public interface IHashing<T> { void WriteByte(byte b); void Write(byte[] data, uint offset, uint size); T GetDigest(); } }
2.21974
ed1c5a58eb9d595d48ae675ddc1d3f1a
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8838224
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "mofajke/BlazorWasmApp", "max_stars_repo_path": "BlazorWasmApp.Infra/ConnectionFactory/IDbConnectionFactory.cs", "provenance": "train-00027-of-00045.jsonl.gz:157444" }
starcoder
using System; using System.Collections.Generic; using System.Data; using System.Text; using System.Threading.Tasks; namespace BlazorWasmApp.Infra.ConnectionFactory { public interface IDbConnectionFactory { Task<IDbConnection> CreateConnectionAsync(); } }
1.432872
66261a4c01d8c9359c028c9101cb89e4
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8838225
{ "extension": "c-sharp", "max_stars_count": "12.0", "max_stars_repo_name": "phliberato/Dynamo-Advance-Steel", "max_stars_repo_path": "src/AdvanceSteelNodes/Util/Material.cs", "provenance": "train-00027-of-00045.jsonl.gz:157445" }
starcoder
using Autodesk.AdvanceSteel.CADAccess; using Autodesk.AdvanceSteel.ConstructionTypes; using System; using SteelServices = Dynamo.Applications.AdvanceSteel.Services; namespace AdvanceSteel.Nodes.Util { /// <summary> /// This node can be used to assign Material to Advance Steel elements from Dynamo /// </summary>...
2.489399
e3e0683d001584ff166cbf4950731ac3
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8838226
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "duzgunberke/SimpleBlogSite", "max_stars_repo_path": "BlogSitesiDenemesi/BlogSitesiDenemesi/AdminPages/Bloglar.aspx.cs", "provenance": "train-00027-of-00045.jsonl.gz:157446" }
starcoder
<filename>BlogSitesiDenemesi/BlogSitesiDenemesi/AdminPages/Bloglar.aspx.cs using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using BlogSitesiDenemesi.Entity; namespace BlogSitesiDenemesi.AdminPages { public partial class Blog...
1.946563
a0c16b8dec7fd0a69e36ca17499b3ae4
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8838227
{ "extension": "c-sharp", "max_stars_count": "271.0", "max_stars_repo_name": "JosephWoodward/GlobalExceptionHandlerDotNet", "max_stars_repo_path": "src/GlobalExceptionHandler.Tests/WebApi/LoggerTests/UnhandledExceptionLoggerTests.cs", "provenance": "train-00027-of-00045.jsonl.gz:157447" }
starcoder
<reponame>JosephWoodward/GlobalExceptionHandlerDotNet using System; using System.Net.Http; using System.Threading.Tasks; using GlobalExceptionHandler.Tests.Fixtures; using GlobalExceptionHandler.WebApi; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Http; using Micros...
2.18222
297832df60c45886476e6b537fb68b8a
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8838228
{ "extension": "c-sharp", "max_stars_count": "7.0", "max_stars_repo_name": "glucaci/thor-client", "max_stars_repo_path": "src/Clients/HotChocolate/HotChocolateError.cs", "provenance": "train-00027-of-00045.jsonl.gz:157448" }
starcoder
<reponame>glucaci/thor-client using System; using System.Collections.Generic; namespace Thor.Extensions.HotChocolate { internal class HotChocolateError { public string Message { get; set; } public string Code { get; set; } public IReadOnlyCollection<object> Path { get; set; } p...
1.345258
779c5267f20c47dfc8cf64ced9fbdf72
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8838229
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "juan-addon/CBookingProject", "max_stars_repo_path": "CBookingProject.WebAdmin/Controllers/RoomController.cs", "provenance": "train-00027-of-00045.jsonl.gz:157449" }
starcoder
using CBookingProject.Data.Entities; using CBookingProject.Data; using CBookingProject.WebAdmin.Helpers; using CBookingProject.WebAdmin.Models; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; using System; using System.Threading.Tasks; namespace CBookingProject.WebAdmin.Controllers { public c...
2.57746
ac085d805dc636f86f440285ae9c489b
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8838230
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "lxkbest/SexyColor.Net", "max_stars_repo_path": "SexyColor.BusinessComponents/Goods/Category/New/CategoryItemInBrands.cs", "provenance": "train-00027-of-00045.jsonl.gz:157450" }
starcoder
using MySqlSugar; using SexyColor.Infrastructure; using System; using System.Collections.Generic; using System.Text; namespace SexyColor.BusinessComponents { [CacheSetting(true, PropertyNamesOfArea = "CategoryId")] [SugarMapping(TableName = "sc_category_item_in_brands")] [Serializable] public class Ca...
2.190249
da412c0bb5eededd8345ade4f13f80aa
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8838231
{ "extension": "c-sharp", "max_stars_count": "193.0", "max_stars_repo_name": "Magazineeunexo/cs-script.npp", "max_stars_repo_path": "src/CSScriptIntellisense/Bootstrapper.cs", "provenance": "train-00027-of-00045.jsonl.gz:157451" }
starcoder
<reponame>Magazineeunexo/cs-script.npp<filename>src/CSScriptIntellisense/Bootstrapper.cs using System; using System.Diagnostics; using System.IO; using System.Linq; using System.Net; using System.Net.Sockets; using System.Reflection; using System.Text; using System.Threading; using System.Threading.Tasks; using UltraSh...
1.935671
83ac33e30531ece0a15912bd2f1a26fa
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8838232
{ "extension": "c-sharp", "max_stars_count": "10.0", "max_stars_repo_name": "Vanaheimr/Balder", "max_stars_repo_path": "Balder/Interfaces/GenericQuadStore/IQuad.cs", "provenance": "train-00027-of-00045.jsonl.gz:157452" }
starcoder
<reponame>Vanaheimr/Balder /* * Copyright (c) 2010-2015 Achim 'ahzf' Friedland <<EMAIL>> * This file is part of Alviss <http://www.github.com/Vanaheimr/Alviss> * * 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...
2.259425
6d4638e02c1a287dac5ced60a619cef5
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8838233
{ "extension": "c-sharp", "max_stars_count": "980.0", "max_stars_repo_name": "SMazu/JSIL", "max_stars_repo_path": "Try/SnippetCompiler.cs", "provenance": "train-00027-of-00045.jsonl.gz:157453" }
starcoder
<gh_stars>100-1000 using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Text; using System.Text.RegularExpressions; using JSIL.Internal; using JSIL.Translator; using Microsoft.CSharp; using System.CodeDom.Compiler; using System.IO; using System.Diagnostics; using Sys...
2.121773
4ebf81e30cdce5111dac4795af5ba3dc
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8838234
{ "extension": "c-sharp", "max_stars_count": "36.0", "max_stars_repo_name": "elisunger/libpalaso", "max_stars_repo_path": "SIL.Windows.Forms/ImageToolbox/ImageGallery/ImageCollection.cs", "provenance": "train-00027-of-00045.jsonl.gz:157454" }
starcoder
<filename>SIL.Windows.Forms/ImageToolbox/ImageGallery/ImageCollection.cs using System; using System.Collections.Generic; using System.IO; using System.Linq; using SIL.Code; using SIL.Extensions; using SIL.Linq; using SIL.Text; namespace SIL.Windows.Forms.ImageToolbox.ImageGallery { /// <summary> /// A set of images ...
2.858016
5c8fb25af8d814bd3b00d9a72c4d7891
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8838235
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "robertosa13/OrcaFacil", "max_stars_repo_path": "SistemaOrcamento/Entidades/Produtos.cs", "provenance": "train-00027-of-00045.jsonl.gz:157455" }
starcoder
<gh_stars>0 // Created by <NAME> on 14/09/2021 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; public class Produtos { // Receber e enviar dados para o banco de dados int id_produto; string nome; string descricao; string unid...
1.866827
49f1bf16b552f9b9afea2eda666ff1e9
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8838236
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "musictopia2/GamingPackXV3", "max_stars_repo_path": "Bundles/AndyFavoriteSolitaireGames/AndyFavoriteSolitaireGames.Blazor/BasicViewModel.cs", "provenance": "train-00027-of-00045.jsonl.gz:157456" }
starcoder
<gh_stars>0 namespace AndyFavoriteSolitaireGames.Blazor; public class BasicViewModel : LoaderViewModel { public BasicViewModel(IStartUp starts) : base(starts) { } public override string Title => "AndyFavoriteSolitaireGames"; protected override void GenerateGameList() { GameList = new () ...
2.169258
2a4c671bcb218005ec2db58ec25d1087
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8838237
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "blueneosky/Bag", "max_stars_repo_path": "ImputationH31per/ImputationH31per/Modele/Entite/ExtensionTicketTfs.cs", "provenance": "train-00027-of-00045.jsonl.gz:157457" }
starcoder
<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; namespace ImputationH31per.Modele.Entite { public static class ExtensionTicketTfs { public static TImputationTfs ObtenirDernierImputationTfs<TImputationTfs>(this ITicketTfs<TImputationTfs> ticketTfs) wh...
1.893863
3e1f938e2cc25f3cff5b04939078fe55
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8838238
{ "extension": "c-sharp", "max_stars_count": "282.0", "max_stars_repo_name": "DPS2004/quest", "max_stars_repo_path": "WorldModel/WorldModel/Scripts/CommentScript.cs", "provenance": "train-00027-of-00045.jsonl.gz:157458" }
starcoder
<filename>WorldModel/WorldModel/Scripts/CommentScript.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using TextAdventures.Quest.Functions; namespace TextAdventures.Quest.Scripts { public class CommentScriptConstructor : IScriptConstructor { public st...
3.12935
cb588eea6171c9cc48826fc95a52cc6b
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8838239
{ "extension": "c-sharp", "max_stars_count": "3.0", "max_stars_repo_name": "fealty/Frost", "max_stars_repo_path": "Frost/Effects/IEffectSettings.cs", "provenance": "train-00027-of-00045.jsonl.gz:157459" }
starcoder
// Copyright (c) 2012, <NAME> // All rights reserved. // // See LICENSE for more information. namespace Frost.Effects { public interface IEffectSettings { } }
0.939173
812b0940e3ed3974839b2d710249725b
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8838240
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "dotnet-shashlik/shashlik.eventbus", "max_stars_repo_path": "src/Shashlik.EventBus/IMessageReceiveQueueProvider.cs", "provenance": "train-00027-of-00045.jsonl.gz:157460" }
starcoder
using System.Collections.Generic; using System.Threading; namespace Shashlik.EventBus { /// <summary> /// 消息接收处理队列 /// </summary> public interface IMessageReceiveQueueProvider { /// <summary> /// 入队 /// </summary> /// <param name="message">消息存储模型</param> ///...
2.275202
a7a22ece5fe083d4b476b275ad18435f
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8838241
{ "extension": "c-sharp", "max_stars_count": "59.0", "max_stars_repo_name": "ruslanfirefly/DigitalOcean.API", "max_stars_repo_path": "DigitalOcean.API/Models/Responses/FloatingIp.cs", "provenance": "train-00027-of-00045.jsonl.gz:157461" }
starcoder
<gh_stars>10-100 namespace DigitalOcean.API.Models.Responses { public class FloatingIp { /// <summary> /// The public IP address of the Floating IP. It also serves as its identifier. /// </summary> public string Ip { get; set; } /// <summary> /// The region that the ...
1.955828
612335bbb6e7d53dd4746a1c7fe70303
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8838242
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "vitorbellotto/LoadProfileGenerator", "max_stars_repo_path": "Common/CalcDto/CalcDegreeDayDto.cs", "provenance": "train-00027-of-00045.jsonl.gz:157462" }
starcoder
namespace Common.CalcDto { public class CalcDegreeDayDto { public CalcDegreeDayDto(int year, int month, int day, double heatingAmount) { Year = year; Month = month; Day = day; HeatingAmount = heatingAmount; } public int Day { get; ...
2.403262
7d24bdf0f2c33fd204ce7bed93c9dba4
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8838243
{ "extension": "c-sharp", "max_stars_count": "134.0", "max_stars_repo_name": "segfault-bilibili/DereTore", "max_stars_repo_path": "Exchange/DereTore.Exchange.Archive.ACB/Serialization/UtfFieldAttribute.cs", "provenance": "train-00027-of-00045.jsonl.gz:157463" }
starcoder
<filename>Exchange/DereTore.Exchange.Archive.ACB/Serialization/UtfFieldAttribute.cs<gh_stars>100-1000 using System; namespace DereTore.Exchange.Archive.ACB.Serialization { [AttributeUsage(AttributeTargets.Field)] public sealed class UtfFieldAttribute : Attribute { public UtfFieldAttribute(int order = ...
2.392874
fa8fa443499eefca2888f1e911e60b60
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8838244
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "ridgew/Natasha", "max_stars_repo_path": "test/NatashaFunctionUT/Reverser/GenericConstraintReverserTest.cs", "provenance": "train-00027-of-00045.jsonl.gz:157464" }
starcoder
using Natasha.CSharp.Reverser; using Xunit; namespace NatashaFunctionUT.Reverser { [Trait("基础功能测试", "反解器")] public class GenericConstraintReverserTest { [Fact(DisplayName = "类约束反解")] public void Test1() { var result = GenericConstraintReverser.GetTypeConstraints(typeo...
2.513786
8167f1e91e88079cdd6ce4bf9b14d54c
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8838245
{ "extension": "c-sharp", "max_stars_count": "10.0", "max_stars_repo_name": "corgibytes/cukeness", "max_stars_repo_path": "step-server/StepServer/InvokeFailureResponse.cs", "provenance": "train-00027-of-00045.jsonl.gz:157465" }
starcoder
using System; using Newtonsoft.Json.Linq; namespace StepServer { public class InvokeFailureResponse: StepResponseBase { private readonly Exception _failure; public InvokeFailureResponse(Exception failure) { _failure = failure; Succeeded = false; } protected override bool HasPayload...
2.27099
19592abb1a13d22aeca1b1eb3bbd6fa2
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8838246
{ "extension": "c-sharp", "max_stars_count": "3.0", "max_stars_repo_name": "PhilipDaniels/BassUtils", "max_stars_repo_path": "BassUtils/MsSql/SqlBulkCopyExtensions.cs", "provenance": "train-00027-of-00045.jsonl.gz:157466" }
starcoder
<filename>BassUtils/MsSql/SqlBulkCopyExtensions.cs using System.Reflection; using Dawn; using Microsoft.Data.SqlClient; namespace BassUtils.MsSql { /// <summary> /// Extension methods for the SqlBulkCopy class. /// </summary> public static class SqlBulkCopyExtensions { static Fi...
2.746818
abdb404b8a1f528f0d5e5580b25898ab
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8838247
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "bswanson58/NoiseMusicSystem", "max_stars_repo_path": "Noise.Infrastructure/Interfaces/IPlaybackContextManager.cs", "provenance": "train-00027-of-00045.jsonl.gz:157467" }
starcoder
using Noise.Infrastructure.Dto; namespace Noise.Infrastructure.Interfaces { public interface IPlaybackContextManager { void OpenContext( DbTrack forTrack ); void CloseContext( DbTrack forTrack ); } }
1.623278
d51218e21739379144eac0dbd18b9c2a
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8838248
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "nogic1008/SmartHR.NET", "max_stars_repo_path": "src/SmartHR.NET/Entities/BizEstablishment.cs", "provenance": "train-00027-of-00045.jsonl.gz:157468" }
starcoder
<gh_stars>0 using System; using System.Runtime.Serialization; using System.Text.Json; using System.Text.Json.Serialization; namespace SmartHR.NET.Entities; /// <summary>事業所情報</summary> /// <param name="Id">事業所ID</param> /// <param name="HelInsType">健康保険組合の種類</param> /// <param name="HelInsName">健康保険組合の名称</param> /// ...
1.779098
4463f772683b87ac0c08a488ef444f27
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8838249
{ "extension": "c-sharp", "max_stars_count": "16.0", "max_stars_repo_name": "MatchaChoco010/UnityFluidRendering", "max_stars_repo_path": "Assets/DrawWithCommandBuffer/DrawWithCommandBuffer.cs", "provenance": "train-00027-of-00045.jsonl.gz:157469" }
starcoder
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Rendering; [RequireComponent (typeof (Camera))] public class DrawWithCommandBuffer : MonoBehaviour { Mesh CreateMesh () { var mesh = new Mesh (); mesh.name = "TestMesh"; var vertices = new List<Vector3> { new V...
2.138112
3ed5103cfec0e133831f7e3ee1167209
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8838250
{ "extension": "c-sharp", "max_stars_count": "3.0", "max_stars_repo_name": "izayoijiichan/VGO2", "max_stars_repo_path": "UniVgo2/Runtime/Converters/Textures/OcclusionMapConverter.cs", "provenance": "train-00027-of-00045.jsonl.gz:157470" }
starcoder
// ---------------------------------------------------------------------- // @Namespace : UniVgo2.Converters // @Class : OcclusionMapConverter // ---------------------------------------------------------------------- namespace UniVgo2.Converters { using NewtonVgo; using UnityEngine; /// <summa...
2.452549
3a5cf3932872ebad62cdc9ac5cfb7348
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8838251
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "noname0310/TownPatroller-HardwareClient", "max_stars_repo_path": "TownPatroller/Assets/Scripts/Socket/SocketClient.cs", "provenance": "train-00027-of-00045.jsonl.gz:157471" }
starcoder
using System; using System.Collections.Generic; using System.Net; using System.Net.Sockets; using System.Threading.Tasks; using TPPacket.Serializer; namespace TownPatroller.SocketClient { public interface IClientSender { void SendPacket(object packet); } public class SocketClient : TaskQueueM...
2.585294
69d019f6ed2f0ea899e00c937ee08564
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8838252
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "lintmouse/netduino-lab", "max_stars_repo_path": "src/web/Delegates.cs", "provenance": "train-00027-of-00045.jsonl.gz:157472" }
starcoder
<filename>src/web/Delegates.cs using System; using Microsoft.SPOT; using NetduinoLab.Web.Abstract; namespace NetduinoLab.Web { public delegate void HandleRequest(HttpRequestContext requestContext, IHttpResponse response); }
1.467515
736e869500c3771434814138a6aa4b98
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8838253
{ "extension": "c-sharp", "max_stars_count": "134.0", "max_stars_repo_name": "niltor/open-pdd-net-sdk", "max_stars_repo_path": "PddOpenSdk/PddOpenSdk/Models/Response/Pmc/CancelPmcUserResponse.cs", "provenance": "train-00027-of-00045.jsonl.gz:157473" }
starcoder
namespace PddOpenSdk.Models.Response.Pmc; public partial class CancelPmcUserResponse : PddResponseModel { /// <summary> /// response /// </summary> [JsonPropertyName("tmc_user_cancel_response")] public TmcUserCancelResponseResponse TmcUserCancelResponse { get; set; } public partial class TmcUse...
1.610411
9e0de3104460c377e64c9a255c3e4f65
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8838254
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "SequencingDOTcom/Weather-My-Way-RTP-App", "max_stars_repo_path": "Web/WeatherApp/Views/Settings/Index.cshtml", "provenance": "train-00027-of-00045.jsonl.gz:157474" }
starcoder
@{ ViewBag.Title = "Settings"; Layout = "~/Views/Shared/_LayoutPage1.cshtml"; } <script src="/Scripts/jquery-2.1.3.min.js"></script> <script src="/Scripts/bootstrap-timepicker.min.js"></script> <link href="/Content/bootstrap-timepicker.min.css" rel="stylesheet" /> <script src="/Scripts/timezones.min.js"></scri...
2.205838
2f1f11c07db788c30698a3d8f4e7395a
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8838255
{ "extension": "c-sharp", "max_stars_count": "13.0", "max_stars_repo_name": "wolf8196/NModbusAsync", "max_stars_repo_path": "NModbusAsync.Test/Unit/ModbusResponseFactoryTest.cs", "provenance": "train-00027-of-00045.jsonl.gz:157475" }
starcoder
using System; using System.Diagnostics.CodeAnalysis; using NModbusAsync.Messages; using NModbusAsync.Utility; using Xunit; namespace NModbusAsync.Test.Unit { [ExcludeFromCodeCoverage] public class ModbusResponseFactoryTest { [Fact] [Trait("Category", "Unit")] public void CreatesRea...
2.137754
21522dc65b1e4506f20180d85ab3007a
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8838256
{ "extension": "c-sharp", "max_stars_count": "114.0", "max_stars_repo_name": "aviadmini/arangoclient.net", "max_stars_repo_path": "src/ArangoDB.Client/Query/Clause/SelectExpressionNode.cs", "provenance": "train-00027-of-00045.jsonl.gz:157476" }
starcoder
using Remotion.Linq; using Remotion.Linq.Parsing.ExpressionVisitors; using Remotion.Linq.Parsing.Structure.IntermediateModel; using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Reflection; using System.Text; using System.Threading.Tasks; namespace ArangoDB.C...
2.344079
cd5bf0c272fb49753fe0b39d4919168a
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8838257
{ "extension": "c-sharp", "max_stars_count": "29.0", "max_stars_repo_name": "dataexplorer/dataexplorer", "max_stars_repo_path": "Domain/Maps/SizeMaps/BooleanToSizeMap.cs", "provenance": "train-00027-of-00045.jsonl.gz:157477" }
starcoder
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using DataExplorer.Domain.Layouts; namespace DataExplorer.Domain.Maps.SizeMaps { public class BooleanToSizeMap : SizeMap { private readonly double _targetMin; private readonly do...
2.824361
221fb39310409e9b9822a2c4f87d0c87
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8838258
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "WhiteRabbitRo/TermProject-Delusion", "max_stars_repo_path": "Assets/Scripts/Objects/Portal.cs", "provenance": "train-00027-of-00045.jsonl.gz:157478" }
starcoder
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; /// \brief Портал /// Перемещение игрока при вхождении в портал public class Portal : MonoBehaviour { [SerializeField] /// Название загружаемого уровня private string nameOfLevel = "Level"; ...
2.583779
75b9cf1cea7f40580538b2bb25d0de1d
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8838259
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "shawnoster/kudu", "max_stars_repo_path": "Kudu/Views/ShelfView.xaml.cs", "provenance": "train-00027-of-00045.jsonl.gz:157479" }
starcoder
using System; using Kudu.Services; using Kudu.ViewModels; using Simian.Mvvm; namespace Kudu { public partial class ShelfView : ViewBase { // Constructor public ShelfView() { InitializeComponent(); } private void ApplicationBarIconButton_Click(ob...
1.433979
933fa3ad2cdf86d9249d0c863fbf323b
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8838260
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "kayateia/scriptdotnet", "max_stars_repo_path": "AST/ScriptArrayConstructor.cs", "provenance": "train-00027-of-00045.jsonl.gz:157480" }
starcoder
<filename>AST/ScriptArrayConstructor.cs #region using using System; using System.Collections.Generic; using System.Text; using System.Diagnostics; using Irony.Compiler; using ScriptNET.Runtime; #endregion namespace ScriptNET.Ast { /// <summary> /// Script Array Constructor Expression /// </summary> internal c...
2.016703
2d59758d234414c1320616ea94238dd9
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8838261
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "ayutaz/Unity-CITest-GameCI", "max_stars_repo_path": "Assets/Scripts/Tests/DependencyInjector.cs", "provenance": "train-00027-of-00045.jsonl.gz:157481" }
starcoder
using System; using System.Collections.Generic; using System.Reflection; using System.Linq; namespace UnityUITest { [AttributeUsage(AttributeTargets.Field)] public sealed class InjectAttribute : Attribute { } public static class DependencyInjector { public static readonly Dictionary<Ty...
2.682475
2afd2ecf4c34b1692b32306a827dd0ae
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8838262
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "SafetyCone/R5T.D0039", "max_stars_repo_path": "source/R5T.D0039.Default/Code/Services/Implementations/SourceControlRootDirectorySubDirectoriesLocalRepositoryDirectoryPathsListProvider.cs", "provenance": "train-00027-of-00045.jsonl.gz:...
starcoder
<gh_stars>0 using System; using System.IO; using System.Linq; using System.Threading.Tasks; using R5T.T0010; using R5T.Lombardy;using R5T.T0064; namespace R5T.D0039.Default {[ServiceImplementationMarker] public class SourceControlRootDirectorySubDirectoriesLocalRepositoryDirectoryPathsListProvider : ILocalRepos...
1.730265
0ce664c908af71117ed49dfb9eee522c
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8838263
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "Phenrei/RimWorld-LWM.DeepStorage", "max_stars_repo_path": "Source/Cache/ThingCountComparer.cs", "provenance": "train-00027-of-00045.jsonl.gz:157483" }
starcoder
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Verse; namespace LWM.DeepStorage { public class ThingCountComparer : EqualityComparer<Thing> { public static ThingCountComparer Instance = new ThingCountComparer(); privat...
2.922313
5ced41821a943a0d91196730e6bff6f2
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8838264
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "zzzprojects/mysql-connector-net", "max_stars_repo_path": "EntityFramework6/tests/MySql.EntityFramework.Classic.Basic.Tests/UpdateTests.cs", "provenance": "train-00027-of-00045.jsonl.gz:157484" }
starcoder
// Copyright (c) 2013, 2018, Oracle and/or its affiliates. All rights reserved. // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License, version 2.0, as // published by the Free Software Foundation. // // This program is also distributed with ce...
2.032992
8d2fb5fedf37067a316e0e810703b49e
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8838265
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "versionone/VersionOne.Integration.Bugzilla", "max_stars_repo_path": "VersionOne.Bugzilla.BugzillaAPI/IBug.cs", "provenance": "train-00027-of-00045.jsonl.gz:157485" }
starcoder
<reponame>versionone/VersionOne.Integration.Bugzilla<filename>VersionOne.Bugzilla.BugzillaAPI/IBug.cs using System.Collections.Generic; using Newtonsoft.Json.Linq; namespace VersionOne.Bugzilla.BugzillaAPI { public interface IBug { string ID { get; } string Name { get; } string Priority { ...
1.644956
d5558a8775c4cdc0c6a13339eb87c52f
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8838266
{ "extension": "c-sharp", "max_stars_count": "3.0", "max_stars_repo_name": "wind39/spartacus-csharp", "max_stars_repo_path": "Spartacus/pdfjet/TextCompact.cs", "provenance": "train-00027-of-00045.jsonl.gz:157486" }
starcoder
/** * TextCompact.cs * Copyright (c) 2014, Innovatics Inc. All rights reserved. */ using System; namespace PDFjet.NET { class TextCompact { /* * The following table contains: * ASCII Value, Base 30 Value, Code specifying in what subtable is the character. * */ public static readonly int[,] TABLE = { {0,26,0x...
2.250562
9d630da621f6b1a6f3b0bd4dabe05c79
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8838267
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "LucasCancio/poo-com-solid", "max_stars_repo_path": "Modulo03/68_Projeto_Exercicio4/Projeto_Exercicio4/Produto.cs", "provenance": "train-00027-of-00045.jsonl.gz:157487" }
starcoder
<reponame>LucasCancio/poo-com-solid namespace Projeto_Exercicio4 { public abstract class Produto { protected Produto(double preco) { Preco = preco; } public double Preco { get; private set; } public virtual double PrecoNaPromocao(IPromocao promocao) {...
2.391818
8cdc0372abc73757c4d47678ae014239
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8838268
{ "extension": "c-sharp", "max_stars_count": "30.0", "max_stars_repo_name": "ogamespec/breaks", "max_stars_repo_path": "BreaksPPU/PpuTestSuite/PpuTestSuite/FormPads.cs", "provenance": "train-00027-of-00045.jsonl.gz:157488" }
starcoder
<filename>BreaksPPU/PpuTestSuite/PpuTestSuite/FormPads.cs // Форма для отображения и ручного управления контактами PPU 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....
2.202105
927308de0d45339109c757b4f95cf050
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8838269
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "SugarChat/SugarTalk.Api", "max_stars_repo_path": "src/SugarTalk.Api/Middlewares/Authentication/GoogleAuthenticationHandler.cs", "provenance": "train-00027-of-00045.jsonl.gz:157489" }
starcoder
<reponame>SugarChat/SugarTalk.Api using System; using System.Collections.Generic; using System.Security.Claims; using System.Text.Encodings.Web; using System.Threading.Tasks; using Microsoft.AspNetCore.Authentication; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; using Serilog; using SugarTalk...
2.047889
89c60b1aa737665718ae443d90abd5b7
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8838270
{ "extension": "c-sharp", "max_stars_count": "15.0", "max_stars_repo_name": "Paymentsense/Dapper.SimpleLoad", "max_stars_repo_path": "src/Dapper.SimpleLoad.Tests/RealisticDtos/OppProvisionTypeEnum.cs", "provenance": "train-00027-of-00045.jsonl.gz:157490" }
starcoder
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Runtime.Serialization; using System.Text; using System.Threading.Tasks; using Dapper.SimpleSave; namespace Dapper.SimpleLoad.Tests.RealisticDtos { [DataContract] [Table("[opp].PROVISION_TYPE_ENUM"), Refer...
2.101947
a087d795cf5d762bc24f3b06e315c21d
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8838271
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "antcho92/csharp-vesync", "max_stars_repo_path": "src/CSharpVesync/Models/Responses/DevicesResult.cs", "provenance": "train-00027-of-00045.jsonl.gz:157491" }
starcoder
<reponame>antcho92/csharp-vesync using System.Runtime.Serialization; namespace CSharpVesync.Models.Responses { [DataContract] public class DevicesResult { [DataMember(Name = "total")] public int Total { get; set; } [DataMember(Name = "pageNo")] public int PageNo { get; set; ...
1.850616
cc17946dbf1b5fb24ccc542a8149cd91
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8838272
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "riplikash/elevator-tdd-demo", "max_stars_repo_path": "Infrastructure.Tests/DapperAutoDataAttrubute.cs", "provenance": "train-00027-of-00045.jsonl.gz:157492" }
starcoder
using Alexprof.AutoMoq; using Ploeh.AutoFixture; using Ploeh.AutoFixture.AutoMoq; namespace Infrastructure.Tests { public class DapperAutoDataAttribute : InlineAutoDataAttribute { public DapperAutoDataAttribute(params object[] values) : base(new AutoFixtureMoqDataAttribute(), values) ...
1.998644
0d2cb9073e6bc76d0828b73ebdbc5a04
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8838273
{ "extension": "c-sharp", "max_stars_count": "4.0", "max_stars_repo_name": "DarkFIxED/topocat", "max_stars_repo_path": "Topocat.Backend/Topocat.Services/Queries/Map/GetMapsListQuery/GetMapsListQueryResult.cs", "provenance": "train-00027-of-00045.jsonl.gz:157493" }
starcoder
using System.Collections.Generic; namespace Topocat.Services.Queries.Map.GetMapsListQuery { public class GetMapsListQueryResult { public IEnumerable<GetMapsListResultItem> Maps { get; set; } } }
1.551347
92250713dea53590f705c127b1e09c8b
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8838274
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "oYOvOYo/CSharp.Playground", "max_stars_repo_path": "hardwork/tips/write_to.cs", "provenance": "train-00027-of-00045.jsonl.gz:157494" }
starcoder
<filename>hardwork/tips/write_to.cs using System; using System.IO; using System.Text; class WriteTo { public static void Main(string[] args) { using (var file = File.Open("test.exe", FileMode.Create)) { // using (var file = File.OpenWrite("test.exe")) { var bytes = UTF8Encoding.UTF8.GetBytes("123"); ...
3.114862
eaf1b50d0180ac4ebd0b4f5eada954a7
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8838275
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "cdzhoubin/Infrastructure.Net", "max_stars_repo_path": "Source/Sample/Common.CoreConsole.Sample/SampleSingleService.cs", "provenance": "train-00027-of-00045.jsonl.gz:157495" }
starcoder
using System; using Microsoft.Extensions.Logging; using Zhoubin.Infrastructure.Common.CoreConsole; namespace Common.CoreConsole.Sample { public class SampleSingleService : HostedServiceBase<SampleSingleService> { public SampleSingleService(ILogger<SampleSingleService> logger) : base(logger, 0) ...
1.778769
96d81916d9a52e5a8588e677c603f20d
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8838276
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "MilStancheva/HomemadeFood", "max_stars_repo_path": "HomeMadeFood/Tests/ControllerTests/HomeMadeFood.Controllers.UnitTests/IngredientsControllerUnitTests/DeleteIngredient_Should.cs", "provenance": "train-00027-of-00045.jsonl.gz:157496"...
starcoder
<reponame>MilStancheva/HomemadeFood using System; using Moq; using NUnit.Framework; using TestStack.FluentMVCTesting; using HomeMadeFood.Models; using HomeMadeFood.Services.Common.Contracts; using HomeMadeFood.Services.Data.Contracts; using HomeMadeFood.Web.Areas.Admin.Controllers; namespace HomeMadeFood.Controller...
1.958904
0f6cde9b7fe6c767bb219aa8f68b48a4
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8838277
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "YavorTsanev/WhazzupInTryavna", "max_stars_repo_path": "Tests/WhazzupInTryavna.IntegrationTests/Controllers/VotesControllerTests.cs", "provenance": "train-00027-of-00045.jsonl.gz:157497" }
starcoder
<reponame>YavorTsanev/WhazzupInTryavna namespace WhazzupInTryavna.IntegrationTests.Controllers { using System.Linq; using MyTested.AspNetCore.Mvc; using WhazzupInTryavna.Data.Models.Activities; using WhazzupInTryavna.Web.Controllers; using WhazzupInTryavna.Web.ViewModels.Votes; using Xunit; ...
1.631784
069871760ad6031c23bff65d544ec237
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8838278
{ "extension": "c-sharp", "max_stars_count": "5.0", "max_stars_repo_name": "dawsonliu/Aliyun.TableStore", "max_stars_repo_path": "Aliyun.TableStore/DataModel/Search/Sort/ISorter.cs", "provenance": "train-00027-of-00045.jsonl.gz:157498" }
starcoder
namespace Aliyun.TableStore.DataModel.Search.Sort { public interface ISorter { } }
1.133653
813337171ca7c057f4d1c0f30e85f65c
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8838279
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "Zhangwei-WU/MyLeetcodeSolutions", "max_stars_repo_path": "LeetCode/P3-Longest-Substring-Without-Repeating-Characters.cs", "provenance": "train-00027-of-00045.jsonl.gz:157499" }
starcoder
/* Problem 3: Longest Substring Without Repeating Characters * https://leetcode.com/problems/longest-substring-without-repeating-characters/description/ * * Given a string, find the length of the longest substring without repeating characters. * * Examples: * * Given "abcabcbb", the answer is "abc", which the ...
3.788582
c30dc8f440d0df74d3077f701d3e7487
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8838280
{ "extension": "c-sharp", "max_stars_count": "3.0", "max_stars_repo_name": "syncfusion/aspnet-mvc-ej1-demos", "max_stars_repo_path": "Views/Accordion/NestedAccordion.cshtml", "provenance": "train-00027-of-00045.jsonl.gz:157500" }
starcoder
<filename>Views/Accordion/NestedAccordion.cshtml @section MetaTags{ <meta name="description" content="This sample demonstrates how to initialize nested accordion with Syncfusion ASP.NET MVC Accordion control." > } @section SampleHeading{ <span class="sampleName">Accordion-NestedAccordion-ASP.NET MVC-SYNCFUSION</spa...
2.814724
6612aeddeba3d11dd8a8bc3a005d5dc9
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8838281
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "Ahmeda1708/ShopEcommerceTest2", "max_stars_repo_path": "SectionEcommerce5/Views/_ViewImports.cshtml", "provenance": "train-00027-of-00045.jsonl.gz:157501" }
starcoder
<filename>SectionEcommerce5/Views/_ViewImports.cshtml<gh_stars>0 @using SectionEcommerce5 @using SectionEcommerce5.Models @addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
1.362849
ea596c8896b505e635bc0b253e14f094
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8838282
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "Andrey-Svetlichny/BackTrack", "max_stars_repo_path": "Visualizer/Model/ActiveApp.cs", "provenance": "train-00027-of-00045.jsonl.gz:157502" }
starcoder
<filename>Visualizer/Model/ActiveApp.cs using System; namespace Visualizer.model { public class ActiveApp { public DateTime DateTime { get; set; } public Process Process { get; set; } public string WindowTitle { get; set; } public bool IsIdle { get; set; } public ov...
2.659554
2db9745257684cae9f794d800983de7e
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8838283
{ "extension": "c-sharp", "max_stars_count": "157.0", "max_stars_repo_name": "mehrdad-shokri/Stove", "max_stars_repo_path": "test/Stove.Dapper.Tests/Mappings/ProductMap.cs", "provenance": "train-00027-of-00045.jsonl.gz:157503" }
starcoder
using DapperExtensions.Mapper; using Stove.Dapper.Tests.Entities; namespace Stove.Dapper.Tests.Mappings { public sealed class ProductMap : ClassMapper<Product> { public ProductMap() { Table("Products"); Map(x => x.Id).Key(KeyType.Identity); AutoMap(); ...
2.049075
1e897ca371d20c20dc3eca0ba78be491
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8838284
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "ByteDev/ByteDev.Csv", "max_stars_repo_path": "src/ByteDev.Csv/CsvFile.cs", "provenance": "train-00027-of-00045.jsonl.gz:157504" }
starcoder
using System; using System.Linq; namespace ByteDev.Csv { /// <summary> /// Represents a CSV file. /// </summary> public class CsvFile { /// <summary> /// Header line. /// </summary> public CsvFileLine Header { get; } /// <summary> /// Body. ...
3.254044
7cdedcba17082bacca15aa15462e9faf
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8838285
{ "extension": "c-sharp", "max_stars_count": "66.0", "max_stars_repo_name": "rivantsov/vita", "max_stars_repo_path": "src/3.Modules/Vita.Modules.Login/LoginModule/DataObjects.cs", "provenance": "train-00027-of-00045.jsonl.gz:157505" }
starcoder
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Vita.Modules.Login { /// <summary>Contains user login information.</summary> public class LoginInfo { /// <summary>Login record ID. Usually the same as user...
2.22439
8fb8d63008b5d2cc30e3f6fee627a177
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8838286
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "chertby/Course-M-ND2-33-19", "max_stars_repo_path": "Skuratovich/src/Lab3/Htp.Books/Htp.Books.Web/Views/Book/BookPartitial.cshtml", "provenance": "train-00027-of-00045.jsonl.gz:157506" }
starcoder
<reponame>chertby/Course-M-ND2-33-19 @model Htp.Books.Domain.Contracts.ViewModels.BookViewModel @Html.AntiForgeryToken() <h4>Book</h4> <hr /> <div asp-validation-summary="All" class="text-danger"></div> <input asp-for="Id" type="hidden" /> <input asp-for="RowVersion" type="hidden" /> <input asp-for="LongRowVersion"...
2.125493
0d4d246568931e7a8e7de686be9bb328
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8838287
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "wilcommerce/Wilcommerce.Auth", "max_stars_repo_path": "src/Wilcommerce.Auth/Services/Interfaces/IRoleFactory.cs", "provenance": "train-00027-of-00045.jsonl.gz:157507" }
starcoder
using Microsoft.AspNetCore.Identity; using System.Threading.Tasks; namespace Wilcommerce.Auth.Services.Interfaces { /// <summary> /// Represents the factory to create the available roles /// </summary> public interface IRoleFactory { /// <summary> /// Create an administrator role i...
2.629493
f679b374cc421c5738c6239a0d2528a6
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8838288
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "aaronbolyard/Algae.Canvas", "max_stars_repo_path": "Source/Algae/Matrix.cs", "provenance": "train-00027-of-00045.jsonl.gz:157508" }
starcoder
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace CommaExcess.Algae { /// <summary> /// A four-dimensional matrix. /// </summary> public struct Matrix { /// <summary> /// The element at (1, 1). /// </summary> public float M11; /// <summary> /// The eleme...
3.116487
02f28e7bc32e149928de1b5a9b679554
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8838289
{ "extension": "c-sharp", "max_stars_count": "6.0", "max_stars_repo_name": "HostVanyaD/SoftUni", "max_stars_repo_path": "C# OOP/03.InterfacesAndAbstractionExercise/07.MilitaryElite/Contracts/ISpecialisedSoldier.cs", "provenance": "train-00027-of-00045.jsonl.gz:157509" }
starcoder
<reponame>HostVanyaD/SoftUni<filename>C# OOP/03.InterfacesAndAbstractionExercise/07.MilitaryElite/Contracts/ISpecialisedSoldier.cs using _07.MilitaryElite.Enumerations; namespace _07.MilitaryElite.Contracts { public interface ISpecialisedSoldier { SoldierCorpEnum Corp { get; } } }
1.799649
b108a1defc9c26517e2f0f11250d3c90
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8838290
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "TD-but/BUTDownloader", "max_stars_repo_path": "Runtime/Util/VideoUtil.cs", "provenance": "train-00027-of-00045.jsonl.gz:157510" }
starcoder
using System; using System.IO; using System.Threading; using System.Threading.Tasks; using UnityEngine; using UnityEngine.Networking; namespace BUT.Downloader { public class VideoUtil { public bool _debugMode; public VideoUtil(bool debugMode = false) { _debug...
2.603729
de9a76c1aba9b3c33e5c0e483a4546e7
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8838291
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "StefanLB/CSharp-OOP-Basics---October-2018", "max_stars_repo_path": "01. CSharp-OOP-Basics-Defining-Classes-Exercises/10.CarSalesman/Engine.cs", "provenance": "train-00027-of-00045.jsonl.gz:157511" }
starcoder
<reponame>StefanLB/CSharp-OOP-Basics---October-2018 using System; using System.Collections.Generic; using System.Text; namespace _10.CarSalesman { public class Engine { //<Model> <Power> <Displacement> <Efficiency>”. private string model; public string Model { ge...
2.699504
71d3accb4c0ac0b07176d46220de40a8
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8838292
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "MadeOfTech/SmartAPI", "max_stars_repo_path": "src/MadeOfTech.SmartAPI/Data/DataAdapters/DbDataAdapter.cs", "provenance": "train-00027-of-00045.jsonl.gz:157512" }
starcoder
<gh_stars>0 using Dapper; using MadeOfTech.SmartAPI.Data.Models; using System.Collections.Generic; using System.Data; using System.Linq; namespace MadeOfTech.SmartAPI.DataAdapters { public class DbDataAdapter { private IDbConnection _dbConnection; private static string _getAllSqlStatement = @" SELECT db...
2.340662
5b6913e5ee0a4b30802d01561f9e29da
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8838293
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "TomSavas/Krafi", "max_stars_repo_path": "UserInterface/IInputReader.cs", "provenance": "train-00027-of-00045.jsonl.gz:157513" }
starcoder
<gh_stars>0 using System; namespace Krafi.UserInterface { public interface IInputReader { string ReadStop(); TimeSpan ReadTime(); } }
1.436137
dfd322c74bc41cf90e2be53dbf240ca9
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8838294
{ "extension": "c-sharp", "max_stars_count": "25.0", "max_stars_repo_name": "SardineFish/WFC-Demo", "max_stars_repo_path": "Assets/Scripts/Editor/src/WrapObjectTile.cs", "provenance": "train-00027-of-00045.jsonl.gz:157514" }
starcoder
using SardineFish.Utils; using UnityEditor; using UnityEngine; using WFC.Tilemap3D; namespace WFC.Editor { public class WrapObjectTile { [MenuItem("Utils/WrapSelectedObjectToTile")] private static void WrapToTile() { var objs = Selection.gameObjects; ...
2.03102
2afa00b798332f8fab9875548d3123ad
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8838295
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "pavelpykhtin/CrashReporter", "max_stars_repo_path": "src/CrashReportCollector/Infrastructure/ILogService.cs", "provenance": "train-00027-of-00045.jsonl.gz:157515" }
starcoder
using CrashReport.Domain; namespace CrashReportCollector.Infrastructure { public interface ILogService { void LogMessage(string applicationKey, Message message); } }
1.600187
d1140b2af5f99b06d829baf4aa457ef3
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8838296
{ "extension": "c-sharp", "max_stars_count": "389.0", "max_stars_repo_name": "icxldd/abp-vue-admin-element-typescript", "max_stars_repo_path": "aspnet-core/modules/workflow/LINGYUN.Abp.WorkflowCore/System/UtcDateTimeExtensions.cs", "provenance": "train-00027-of-00045.jsonl.gz:157516" }
starcoder
namespace System { public static class UtcDateTimeExtensions { public static DateTime? ToNullableUtcDateTime(this DateTime? dateTime) { if (dateTime.HasValue) { return dateTime.Value.ToUtcDateTime(); } return null; ...
3.329911
237415c50971c83594de0e97c6f28de0
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8838297
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "juniwang/azure-sdk-for-net", "max_stars_repo_path": "src/SDKs/DevTestLabs/Management.DevTestLabs/Generated/Models/CustomImagePropertiesFromVm.cs", "provenance": "train-00027-of-00045.jsonl.gz:157517" }
starcoder
<filename>src/SDKs/DevTestLabs/Management.DevTestLabs/Generated/Models/CustomImagePropertiesFromVm.cs // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // // Code generated by Microsoft (R) AutoRest Code Gener...
1.828743
f24ca3484a9586cd3fd5a29d579af753
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8838298
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "Bomadeno/ggj2016", "max_stars_repo_path": "SpiRitual_App/Assets/Scripts/GameManager.cs", "provenance": "train-00027-of-00045.jsonl.gz:157518" }
starcoder
 public class GameManager { private static GameManager instance; public static string Incoming; public static GameManager Instance { get { if (instance == null) instance = new GameManager(); return instance; } } }
1.967084
b8534e3fe1e6e9c2c6be5440b54eb159
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8838299
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "MrJellyB/finals-basketMatcher", "max_stars_repo_path": "Basket.Common/Basket.Common/Enums/eFitnessFunctionParams.cs", "provenance": "train-00027-of-00045.jsonl.gz:157519" }
starcoder
<filename>Basket.Common/Basket.Common/Enums/eFitnessFunctionParams.cs using System; using System.Collections.Generic; using System.Text; namespace Basket.Common.Enums { public enum eFitnessFunctionParams { price = 0, IsMeat = 1, VeganFriendly = 2, Kashrut = 3, Organic =...
2.093725
b809d46361c92ca937c899cafc0a0e37
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8838300
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "Mauricio-Torres/IntegrationServiceNow", "max_stars_repo_path": "Aranda.Integration.ServiceNow/Aranda.Integration.ServiceNow/Models/Configuration/IntegrationConfiguration.cs", "provenance": "train-00027-of-00045.jsonl.gz:157520" }
starcoder
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Aranda.Integration.ServiceNow.Models.Configuration { public class IntegrationConfiguration { public string EndpointAdm { get; set; } public string TokenAdm { get; set; } public st...
1.760963
efc07fee446393ae7c68daa8f930d43a
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8838301
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "ChiefLERIDA/EasyModbusTCP.NET", "max_stars_repo_path": "EasyModbusServerSimulator/MainForm.Designer.cs", "provenance": "train-00027-of-00045.jsonl.gz:157521" }
starcoder
namespace EasyModbusServerSimulator { partial class MainForm { /// <summary> /// Erforderliche Designervariable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Verwendete Ressourcen bereinigen. /// </summary>...
1.838749
6d77b8c952f928547789fc52e932f1fd
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8838302
{ "extension": "c-sharp", "max_stars_count": "239.0", "max_stars_repo_name": "jrthsr700tmax/Cities-Skylines-Traffic-Manager-President-Edition", "max_stars_repo_path": "TLM/TMPE.API/Traffic/Data/LaneTrafficData.cs", "provenance": "train-00027-of-00045.jsonl.gz:157522" }
starcoder
<gh_stars>100-1000 namespace TrafficManager.API.Traffic.Data { using System; public struct LaneTrafficData { /// <summary> /// Number of seen vehicles since last speed measurement /// </summary> public ushort trafficBuffer; /// <summary> /// Number of seen vehi...
2.72061
5fec138d92988112e3883316fbd7f114
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8838303
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "LsquaredTechnologies/Hal", "max_stars_repo_path": "tests/Foundation.Net.Hal.Tests/Samples/Customer.cs", "provenance": "train-00027-of-00045.jsonl.gz:157523" }
starcoder
<reponame>LsquaredTechnologies/Hal<filename>tests/Foundation.Net.Hal.Tests/Samples/Customer.cs namespace Lsquared.Foundation.Net.Hal.Tests.Samples { [HalLink("self", "/customers/{id}")] public sealed class Customer { public int Id { get; init; } public string? Name { get; init; } } }
1.950048
28fa03db833ef9728e39982a3b7f2482
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8838304
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "Arcidev/EventPlanner", "max_stars_repo_path": "src/EventPlanner.DAL/DataAccess/Interfaces/IUserRepository.cs", "provenance": "train-00027-of-00045.jsonl.gz:157524" }
starcoder
using EventPlanner.DAL.Entities; using System.Threading.Tasks; namespace EventPlanner.DAL.DataAccess.Interfaces { public interface IUserRepository : IBaseRepository<User> { Task<User> GetByEmailAsync(string email); } }
1.806159
cee905ed786fd56443800e972ec91d60
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8838305
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "PCOL/autoadapter", "max_stars_repo_path": "test/AutoAdapterUnitTests/Resources/GenericAdaptee.cs", "provenance": "train-00027-of-00045.jsonl.gz:157525" }
starcoder
using System; namespace AutoAdapterUnitTests.Resources { public class GenericAdaptee<T> { public T Property { get; set; } public bool GetProperty<U>(out U property) { property = default(U); if (typeof(T) == typeof(U)) { property = (U)...
2.571624
183cac872c1cd031ecabcf189cb3d990
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8838306
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "JTOne123/TheBallPlatform", "max_stars_repo_path": "Apps/AzureSupport/TheBall.CORE/GetOwnerSemanticDomainsImplementation.cs", "provenance": "train-00027-of-00045.jsonl.gz:157526" }
starcoder
using System; using System.Linq; using System.Threading.Tasks; namespace TheBall.CORE { public class GetOwnerSemanticDomainsImplementation { public static async Task<string[]> GetTarget_OwnerDomainsAsync(bool skipSystemDomains) { var domainsToSkip = skipSystemDomains ? SystemSupport...
2.518105
b06ef692408256ecbaef1724eb6d8f53
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8838307
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "opcaic/server", "max_stars_repo_path": "src/OPCAIC.Persistence/Repositories/TournamentParticipationsRepository.cs", "provenance": "train-00027-of-00045.jsonl.gz:157527" }
starcoder
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using AutoMapper; using OPCAIC.Application.Specifications; using OPCAIC.Domain.Entities; namespace OPCAIC.Persistence.Repositories { public class TournamentParticipationsRepository : Reposit...
1.758345
bd3ed401d9e502dd92a864c9a72693a1
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8838308
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "marcosdosea/GestaoEscolar", "max_stars_repo_path": "Código/SiCAEWeb/Models/PessoaModel.cs", "provenance": "train-00027-of-00045.jsonl.gz:157528" }
starcoder
<reponame>marcosdosea/GestaoEscolar using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; namespace SiCAEWeb.Models { public class PessoaModel { [Key] [Display(Name = "Código Pessoa ")] public int I...
2.344532
067c02bf5966c7df4da8685974919248
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8838309
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "leandro-SI/Controle-vendas-dotnetcore", "max_stars_repo_path": "aspnet-core/src/ControleVendas.Core/Authorization/PermissionNames.cs", "provenance": "train-00027-of-00045.jsonl.gz:157529" }
starcoder
<filename>aspnet-core/src/ControleVendas.Core/Authorization/PermissionNames.cs namespace ControleVendas.Authorization { public static class PermissionNames { public const string Pages_Tenants = "Pages.Tenants"; public const string Pages_Users = "Pages.Users"; public const string Pages...
1.801659
388fda3b243c6668427c88af54e2c431
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8838310
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "violenzae/wordcounter", "max_stars_repo_path": "WordCounter.Tests/ModelTests/WordCounterTests.cs", "provenance": "train-00027-of-00045.jsonl.gz:157530" }
starcoder
<reponame>violenzae/wordcounter<filename>WordCounter.Tests/ModelTests/WordCounterTests.cs using Microsoft.VisualStudio.TestTools.UnitTesting; using WordCounter.Models; namespace WordCounter.Tests { [TestClass] public class WordTest { [TestMethod] public void Counter_ReturnIntOfOccurences_int() { ...
3.039605
f872037e37319832f4f313d7cfe4116d
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8838311
{ "extension": "c-sharp", "max_stars_count": "10.0", "max_stars_repo_name": "MartinMiles/Sifon", "max_stars_repo_path": "Sifon.Code/Statics/Folders.cs", "provenance": "train-00027-of-00045.jsonl.gz:157531" }
starcoder
using System; using System.IO; namespace Sifon.Code.Statics { public static class Folders { public static string Logs = Path.Combine(Environment.CurrentDirectory, DirectoryName.Logs); public static string Cache = Path.Combine(Environment.CurrentDirectory, DirectoryName.Cache); public s...
1.826848
1efc3dbb8aa29bc72f9a14d043abcad0