added
stringclasses
11 values
created
stringclasses
11 values
id
stringlengths
4
8
metadata
dict
source
stringclasses
1 value
text
stringlengths
9
1.04M
code-score
float64
-0.5
4.71
md5
stringlengths
32
32
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
96261
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "ZachWilson22495/Shelter", "max_stars_repo_path": "Shelter/Migrations/20220122003102_SeedData.cs", "provenance": "train-00000-of-00045.jsonl.gz:96262" }
starcoder
<reponame>ZachWilson22495/Shelter using Microsoft.EntityFrameworkCore.Migrations; namespace Shelter.Migrations { public partial class SeedData : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.InsertData( table: "Animals"...
2.398816
a11b633a7cafc35b511fe7fdce1619a8
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
96262
{ "extension": "c-sharp", "max_stars_count": "677.0", "max_stars_repo_name": "gauravgupta98/fhir-server", "max_stars_repo_path": "test/Microsoft.Health.Fhir.Shared.Tests.Crucible/Client/Models/RequestInfo.cs", "provenance": "train-00000-of-00045.jsonl.gz:96263" }
starcoder
<gh_stars>100-1000 // ------------------------------------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See LICENSE in the repo root for license information. // -----------------------------------------...
0.896736
32785cf0376cbfb59edf943f115cbf42
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
96263
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "zhangfengqwer/NjmjNew", "max_stars_repo_path": "Server/Hotfix/Njmj/Handler/Gate/C2G_GetZhuanPanState.cs", "provenance": "train-00000-of-00045.jsonl.gz:96264" }
starcoder
using ETModel; using System; using System.Collections.Generic; using System.Text; namespace ETHotfix { [MessageHandler(AppType.Gate)] public class C2G_GetZhuanPanStateHandler : AMRpcHandler<C2G_GetZhuanPanState, G2C_GetZhuanPanState> { protected override async void Run(Session session, C2G_GetZhua...
1.821835
36483bfc20187225943106da5c3fa244
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
96264
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "JuegosSerios-UCM-Grupo2-20-21/MuseosUCM", "max_stars_repo_path": "MuseosUCM/Assets/uAdventure/__Scripts/Core/Models/Chapter/Conditions/Condition.cs", "provenance": "train-00000-of-00045.jsonl.gz:96265" }
starcoder
<filename>MuseosUCM/Assets/uAdventure/__Scripts/Core/Models/Chapter/Conditions/Condition.cs<gh_stars>1-10 using System; using UnityEngine; using System.Collections; namespace uAdventure.Core { /** * This class manages a condition in eAdventure */ [System.Serializable] public abstract class Condi...
2.831568
8e1d07b8df718a5da38125d2853eb0b9
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
96265
{ "extension": "c-sharp", "max_stars_count": "37.0", "max_stars_repo_name": "Baertierchen/OpenTracker", "max_stars_repo_path": "OpenTracker.Models/Dungeons/KeyLayouts/Factories/KeyLayoutFactory.cs", "provenance": "train-00000-of-00045.jsonl.gz:96266" }
starcoder
<filename>OpenTracker.Models/Dungeons/KeyLayouts/Factories/KeyLayoutFactory.cs using System; using System.Collections.Generic; namespace OpenTracker.Models.Dungeons.KeyLayouts.Factories { /// <summary> /// This class contains creation logic for key layout data. /// </summary> public class KeyLayoutFac...
2.424259
58be0951412849327e1aac8c4b42f98d
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
96266
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "dsalunga/mPortal", "max_stars_repo_path": "Portal/WebSystem/WCMS.Framework/Core/INameWebObject.cs", "provenance": "train-00000-of-00045.jsonl.gz:96267" }
starcoder
namespace WCMS.Framework.Core { public interface INameWebObject : IWebObject { string Name { get;} } }
1.620906
3909c3103e00f0f5f4c27c641d3b2d4c
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
96267
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "ukncsc/MailCheck.Public.Dkim", "max_stars_repo_path": "src/MailCheck.Dkim.Scheduler.Test/Processor/DkimPollSchedulerProcessorTests.cs", "provenance": "train-00000-of-00045.jsonl.gz:96268" }
starcoder
<reponame>ukncsc/MailCheck.Public.Dkim using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using FakeItEasy; using MailCheck.Common.Messaging.Abstractions; using MailCheck.Dkim.Contracts.Scheduler; using MailCheck.Dkim.Scheduler.Config; using MailCheck.Dkim.Scheduler.Dao; u...
1.963289
21ed5ec625d7010d867dfb56e9b9ebcc
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
96268
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "gitter-badger/extensions-2", "max_stars_repo_path": "src/Librame.Extensions.Core.Abstractions/Combiners/FileNameCombiner.cs", "provenance": "train-00000-of-00045.jsonl.gz:96269" }
starcoder
<reponame>gitter-badger/extensions-2 #region License /* ************************************************************************************** * Copyright (c) <NAME> All rights reserved. * * https://github.com/librame * * You must not remove this notice, or any other, from this software. * *******************...
2.569735
4875eb43ae4fb0afe4773048237ea67c
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
96269
{ "extension": "c-sharp", "max_stars_count": "3.0", "max_stars_repo_name": "RyanMarcotte/Functional.FluentAssertions", "max_stars_repo_path": "src/Functional.Primitives.SerilogExtensions/LoggerDestructuringConfigurationExtensions.cs", "provenance": "train-00000-of-00045.jsonl.gz:96270" }
starcoder
using System; using Functional; using Functional.Primitives.SerilogExtensions; // ReSharper disable once CheckNamespace (make the extensions easy to discover) namespace Serilog.Configuration { /// <summary> /// Extension methods for <see cref="LoggerDestructuringConfiguration"/> class. /// </summary> public stati...
2.657469
3a1390c3f0efd40a0b88bb2ec07d321b
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
96270
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "Q-holi/CrossRoad", "max_stars_repo_path": "Assets/Shaders/Scripts/KillBossEndText.cs", "provenance": "train-00000-of-00045.jsonl.gz:96271" }
starcoder
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using UnityEngine.SceneManagement; public class KillBossEndText : MonoBehaviour { public Animator transition; public float transitionTime = 2f; public Text TalkText; private int index = 0; private ...
2.29326
f13fbc586a7975e86bb6d060da22ca6a
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
96271
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "stormid/Robotify", "max_stars_repo_path": "src/Robotify/RobotsHttpHandler.cs", "provenance": "train-00000-of-00045.jsonl.gz:96272" }
starcoder
using System; using System.Diagnostics; using System.IO; using System.Linq; using System.Text; using System.Text.RegularExpressions; using System.Web; using Robotify.Config; namespace Robotify { public class RobotsHttpHandler : IHttpHandler { private static string _robotsContent; public void ProcessRequest(...
2.54116
616bc93267eb46d7e8db86e1165b722a
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
96272
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "raear/html-zoning", "max_stars_repo_path": "Serialization/Dom/Serialization/SerializableDocumentFactory.cs", "provenance": "train-00000-of-00045.jsonl.gz:96273" }
starcoder
<filename>Serialization/Dom/Serialization/SerializableDocumentFactory.cs /* Government Usage Rights Notice: The U.S. Government retains unlimited, royalty-free usage rights to this software, but not ownership, as provided by Federal law. Redistribution and use in source and binary forms, with or without modification...
2.363249
e226413c078d702ba2c045f33f845080
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
96273
{ "extension": "c-sharp", "max_stars_count": "541.0", "max_stars_repo_name": "endolith/ExcelMerge", "max_stars_repo_path": "FastWpfGrid/FastWpfGrid/FastGridCellImpl.cs", "provenance": "train-00000-of-00045.jsonl.gz:96274" }
starcoder
<reponame>endolith/ExcelMerge using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Media; namespace FastWpfGrid { public class FastGridBlockImpl : IFastGridCellBlock { public FastGridBlockType BlockType { get; set; } ...
2.121431
491d6b28fd8e2cbb37a513e4dd435054
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
96274
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "bsmr/WolvenKit-CyberCAT", "max_stars_repo_path": "CyberCAT.Core/Enums/Dumped Enums/EAICoverAction.cs", "provenance": "train-00000-of-00045.jsonl.gz:96275" }
starcoder
namespace CyberCAT.Core.DumpedEnums { public enum EAICoverAction { StepOut = 0, LeanOut = 1, StepUp = 2, LeanOver = 3, Undefined = 4 } }
1.182617
ecbf8810468c01fb68c13829d3efc22c
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
96275
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "jeffpanici75/Tsuki", "max_stars_repo_path": "PaniciSoftware.Tsuki/Compiler/Prefix.cs", "provenance": "train-00000-of-00045.jsonl.gz:96276" }
starcoder
// // Tsuki // // The MIT License (MIT) // // Copyright (c) 2014 <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 //...
2.034739
2dec4af1943bcc20be155992ad778915
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
96276
{ "extension": "c-sharp", "max_stars_count": "3147.0", "max_stars_repo_name": "martinhjulstrom/elsa-core", "max_stars_repo_path": "src/samples/console/Elsa.Samples.Forks/Workflows/SimpleForkWorkflow.cs", "provenance": "train-00000-of-00045.jsonl.gz:96277" }
starcoder
using Elsa.Activities.Console; using Elsa.Activities.ControlFlow; using Elsa.Builders; namespace Elsa.Samples.Forks.Workflows { /// <summary> /// Demonstrates connecting outcomes of activities to other activities. /// </summary> public class SimpleForkWorkflow : IWorkflow { public void Bui...
3.062755
e42ca0edc7c12b05bd6a97d05a5d67c8
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
96277
{ "extension": "c-sharp", "max_stars_count": "12.0", "max_stars_repo_name": "SimonDarksideJ/UnityUI-StarMap", "max_stars_repo_path": "Assets/Scripts/GlobalDefinitions.cs", "provenance": "train-00000-of-00045.jsonl.gz:96278" }
starcoder
<reponame>SimonDarksideJ/UnityUI-StarMap using UnityEngine; using System.Collections; public enum StarType {Red, Yellow, Blue}; public enum Allegiance {None, Independent, Federation}; public enum Economy {None, Agriculture, Extraction, Refinery, HighTech, Industrial}; public enum Government {}; public enum StationTyp...
2.042386
760a946801474225e1bced8be138b4c8
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
96278
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "igoreksiz/NetOffice", "max_stars_repo_path": "Source/MSHTML/Classes/HTMLBGsound.cs", "provenance": "train-00000-of-00045.jsonl.gz:96279" }
starcoder
<reponame>igoreksiz/NetOffice using System; using NetRuntimeSystem = System; using System.ComponentModel; using NetOffice.Attributes; namespace NetOffice.MSHTMLApi { #region Delegates #pragma warning disable public delegate void HTMLBGsound_onhelpEventHandler(); public delegate void HTMLBGsound_onclickEventHandl...
1.14962
46a00f598b7c433c19e86e6e3ff3e4e4
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
96279
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "ThomJN/FeatuR", "max_stars_repo_path": "test/FeatuR.Tests/Helpers/FeatureExtensions.cs", "provenance": "train-00000-of-00045.jsonl.gz:96280" }
starcoder
<filename>test/FeatuR.Tests/Helpers/FeatureExtensions.cs<gh_stars>0 using System.Collections.Generic; namespace FeatuR.Tests.Helpers { public static class FeatureExtensions { public static Feature CreateFeatureWithDefaultStrategy(string id, bool enabled) => new Feature { ...
2.165464
8809efd28c71feaead83b3832c6b3abd
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
96280
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "CreativeApp/RecruiterApp", "max_stars_repo_path": "API/Controllers/HomeController.cs", "provenance": "train-00000-of-00045.jsonl.gz:96281" }
starcoder
using RecruitApp.Models; using RecruitApp.Utility; using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Threading.Tasks; using System.Web.Http; using System.Web.Http.Description; namespace RecruitApp.Controllers { // [Authorize] ...
1.927422
1f8ba12f6cf36412e5b4c59b9ef22a43
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
96281
{ "extension": "c-sharp", "max_stars_count": "5.0", "max_stars_repo_name": "markeverard/Chief2moro.ImageDataExtensions", "max_stars_repo_path": "src/Chief2moro.ImageDataExtensions/ImageResizeDescriptorInitialization.cs", "provenance": "train-00000-of-00045.jsonl.gz:96282" }
starcoder
using EPiServer.Core; using EPiServer.Framework; using EPiServer.Framework.Initialization; using EPiServer.Logging; using EPiServer.ServiceLocation; namespace Chief2moro.ImageDataExtensions { [InitializableModule] [ModuleDependency(typeof(EPiServer.Web.InitializationModule))] public class ImageResizeDescr...
1.986852
d25b7e095df5a2d82248790294f61628
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
96282
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "dlabella/DataAlchemist", "max_stars_repo_path": "Data/NotBizTypeException.cs", "provenance": "train-00000-of-00045.jsonl.gz:96283" }
starcoder
<filename>Data/NotBizTypeException.cs<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Data { public class NotBizTypeException:Exception { public NotBizTypeException(Type t) : base("The Type [" + t.Name +...
2.446619
a35bb941994a26faa865c6ad6aef0a2b
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
96283
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "ElitsaDim/SoftUni", "max_stars_repo_path": "C# OOP/Problem 1/Problem 1/Program.cs", "provenance": "train-00000-of-00045.jsonl.gz:96284" }
starcoder
using Problem_1.Models; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; using System.Text; namespace Problem_1 { public class Program { static void Main(string[] args) { List<string> info = File.ReadAllLines(...
3.154282
4fbb470f4f57cbffda02b1cf02d8673f
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
96284
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "LooserName404/TheTestLab", "max_stars_repo_path": "Assets/Scripts/Rudder/Wrappers/GetRenderMode.cs", "provenance": "train-00000-of-00045.jsonl.gz:96285" }
starcoder
using UnityEngine; using Zenject; namespace Rudder.Wrappers { public class GetRenderMode : IGetRenderMode { private readonly Canvas _canvas; public GetRenderMode(Canvas canvas) { _canvas = canvas; } public RenderMode RenderMode => _canvas.renderMod...
1.900997
7cb2fb43c146481b458f38cc8bb35705
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
96285
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "3real/Unity-Tutorial", "max_stars_repo_path": "Assets/prefabs/scripts/obj.cs", "provenance": "train-00000-of-00045.jsonl.gz:96286" }
starcoder
<reponame>3real/Unity-Tutorial using System.Collections; using System.Collections.Generic; using UnityEngine; public class obj : MonoBehaviour { [SerializeField] private float objectSpeed = 10; [SerializeField] private float resetPosition = -33f; [SerializeField] private float startPosition = ...
2.308418
bd0dfc30bfa74922b7a06b89a44425f4
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
96286
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "sakapon/AtCoder-Contests", "max_stars_repo_path": "CSharp/CoderLib/CoderLib6/Values/ModuloHelper.cs", "provenance": "train-00000-of-00045.jsonl.gz:96287" }
starcoder
using System; namespace CoderLib6.Values { // M が素数のときに限定されるメソッド: MInv, MNcr // Test: https://onlinejudge.u-aizu.ac.jp/courses/library/7/DPL/5 // Test: https://atcoder.jp/contests/atc002/tasks/atc002_b static class ModuloHelper { //const long M = 998244353; const long M = 1000000007; const long ...
2.973817
a413be3db2204d744c5be70332c254ba
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
96287
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "BlaiseD/Enrollment.XPlatform", "max_stars_repo_path": "Enrollment.XPlatform/Enrollment.XPlatform/Services/IReadOnlyFieldsCollectionBuilder.cs", "provenance": "train-00000-of-00045.jsonl.gz:96288" }
starcoder
using Enrollment.Forms.Configuration.DataForm; using Enrollment.XPlatform.ViewModels; using System; namespace Enrollment.XPlatform.Services { public interface IReadOnlyFieldsCollectionBuilder { DetailFormLayout CreateFieldsCollection(IFormGroupSettings formSettings, Type modelType); } }
1.235705
1e98bb4593d23478e9d162b324aa3144
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
96288
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "Nachyn/blog-api", "max_stars_repo_path": "src/Infrastructure/Persistence/Configurations/AppUserConfiguration.cs", "provenance": "train-00000-of-00045.jsonl.gz:96289" }
starcoder
using Domain.Entities; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; namespace Infrastructure.Persistence.Configurations { public class AppUserConfiguration : IEntityTypeConfiguration<AppUser> { public void Configure(EntityTypeBuilder<AppUser> builder) ...
2.18196
f0299234c7afec6b723f714ecbe78194
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
96289
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "jameshosken/100-Plays-Of-Spaceships", "max_stars_repo_path": "Unity/100 Plays Of Spaceships/Assets/Scripts/RaycastSelectionController.cs", "provenance": "train-00000-of-00045.jsonl.gz:96290" }
starcoder
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; [RequireComponent(typeof(RayCastFromCameraTargetController))] public class RaycastSelectionController : MonoBehaviour { RayCastFromCameraTargetController caster; List<GameObject> selectedObjects = new List<GameObject...
2.251583
dbc33cd82e398f3993d443773da62f06
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
96290
{ "extension": "c-sharp", "max_stars_count": "75.0", "max_stars_repo_name": "FromDarkHell/BL3ProfileEditor", "max_stars_repo_path": "BL3ProfileEditor/Debug/RedirectWriter.cs", "provenance": "train-00000-of-00045.jsonl.gz:96291" }
starcoder
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Controls; namespace BL3ProfileEditor.Debug { public class RedirectWriter : StringWriter { public Action<String> OnWrite; private void Write...
2.821483
fb0164a64f514b09dfb6932dc882062f
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
96291
{ "extension": "c-sharp", "max_stars_count": "12.0", "max_stars_repo_name": "Meowv/meowv.core", "max_stars_repo_path": "Plus.Core/Plus/AspNetCore/Mvc/UI/Layout/IPageLayout.cs", "provenance": "train-00000-of-00045.jsonl.gz:96292" }
starcoder
<reponame>Meowv/meowv.core namespace Plus.AspNetCore.Mvc.UI.Layout { public interface IPageLayout { ContentLayout Content { get; } } }
1.469471
b8b8d69bf7ca74ded5278750f01cae5d
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
96292
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "TohmFr/Catmash", "max_stars_repo_path": "Model/CatmashContext.cs", "provenance": "train-00000-of-00045.jsonl.gz:96293" }
starcoder
<filename>Model/CatmashContext.cs<gh_stars>0 using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net.Http; using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; using Newtonsoft.Json; using Newtonsoft.Json.Linq; namespace catmash.Model { public class Catma...
2.938338
daa91a034fe73d9f0ccaa9fd0bace5f4
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
96293
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "Ampla/Ampla-Data", "max_stars_repo_path": "src/AmplaData.Tests/AmplaRepository/AmplaRepositoryDefaultFilterUnitTests.cs", "provenance": "train-00000-of-00045.jsonl.gz:96294" }
starcoder
using System; using System.Collections.Generic; using AmplaData.Attributes; using AmplaData.Modules.Production; using AmplaData.Records; using NUnit.Framework; namespace AmplaData.AmplaRepository { [TestFixture] public class AmplaRepositoryDefaultFilterUnitTests : AmplaRepositoryTestFixture<AmplaRepositoryDef...
2.486872
3c2f364432eb71f95274a957e29e73e7
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
96294
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "AleksandreGit/RayMarchUnity", "max_stars_repo_path": "Raymarching/Assets/RaymarchCamera.cs", "provenance": "train-00000-of-00045.jsonl.gz:96295" }
starcoder
using System.Collections; using System.Collections.Generic; using UnityEngine; [RequireComponent(typeof(Camera))] // We have to have a camera component [ExecuteInEditMode, ImageEffectAllowedInSceneView] // execute in edit mode, so that the raymarch shader is always updated on camera public class RaymarchCamera : Mono...
2.343013
0afad87bf2ca413185470c0f6c9a9ed5
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
96295
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "5118234/Platformus", "max_stars_repo_path": "src/Platformus.Forms.Backend/Areas/Backend/Controllers/FieldOptionsController.cs", "provenance": "train-00000-of-00045.jsonl.gz:96296" }
starcoder
<reponame>5118234/Platformus<gh_stars>0 // Copyright © 2015 <NAME>. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using ExtCore.Data.Abstractions; using ExtCore.Events; using Microsoft.AspNetCore.Authorization; using Microsoft.AspN...
1.287388
9b76f898b1f854a490c34845f17a4fdb
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
96296
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "jpann/NerdBot", "max_stars_repo_path": "NerdBot/NerdBotCommon/Importer/MtgData/MtgJsonCard.cs", "provenance": "train-00000-of-00045.jsonl.gz:96297" }
starcoder
<reponame>jpann/NerdBot using System.Collections.Generic; namespace NerdBotCommon.Importer.MtgData { public class MtgJsonCard { public string Layout { get; set; } // Contains layout of card, e.g. layout: "token" or layout: "normal" public string Name { get; set; } public string...
1.690404
7c01677be58de1f998cb73350233e3e2
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
96297
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "cgbNYU/programming_patterns_2019", "max_stars_repo_path": "Assets/Scripts/Follow.cs", "provenance": "train-00000-of-00045.jsonl.gz:96298" }
starcoder
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Follow : MonoBehaviour { //Script hookups public Target targetScript; public Movement moveScript; // Start is called before the first frame update void Start() { targetScript = GetComp...
2.373915
94f2ae50a0701e07bfe8d6ed1ce3615a
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
96298
{ "extension": "c-sharp", "max_stars_count": "17.0", "max_stars_repo_name": "BlazorHub/dcidr-blazor", "max_stars_repo_path": "Dcidr.Model/DecisionItemCollection.cs", "provenance": "train-00000-of-00045.jsonl.gz:96299" }
starcoder
<filename>Dcidr.Model/DecisionItemCollection.cs<gh_stars>10-100 using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Dcidr.Model { public class DecisionItemCollection { private HashSet<string> _items; public DecisionItemCollection() { ...
3.097037
12992d21835b3ca0b3f81ebb594a3178
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
96299
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "moto2002/kaituo_src", "max_stars_repo_path": "src/NodeCanvas.Tasks.Actions/MoveToGameObject.cs", "provenance": "train-00000-of-00045.jsonl.gz:96300" }
starcoder
<filename>src/NodeCanvas.Tasks.Actions/MoveToGameObject.cs using NodeCanvas.Framework; using ParadoxNotion.Design; using System; using UnityEngine; namespace NodeCanvas.Tasks.Actions { [Category("Movement"), Name("Move To Target")] public class MoveToGameObject : ActionTask<NavMeshAgent> { [RequiredField] publi...
2.32002
417e4375cb088a92cfe9202534324d77
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
96300
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "pablocity/Pathfinding-Base", "max_stars_repo_path": "PathfindingStage/PathfindingStage/MapGenerator.cs", "provenance": "train-00000-of-00045.jsonl.gz:96301" }
starcoder
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Drawing; using MapNavi; namespace PathfindingStage { public class MapGenerator { public static void GenerateMap(Graphics graphics, ref Map mapToGenerate) { ...
2.663637
65c5e74dd82a9fbdd3271c2f4aaa52f9
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
96301
{ "extension": "c-sharp", "max_stars_count": "104.0", "max_stars_repo_name": "playhardlab/EfficientDynamoDb", "max_stars_repo_path": "src/EfficientDynamoDb/Internal/Operations/TransactWriteItems/TransactWriteItemsParsingOptions.cs", "provenance": "train-00000-of-00045.jsonl.gz:96302" }
starcoder
<filename>src/EfficientDynamoDb/Internal/Operations/TransactWriteItems/TransactWriteItemsParsingOptions.cs using System.Text.Json; using EfficientDynamoDb.Internal.Reader; using EfficientDynamoDb.Internal.Reader.Metadata; namespace EfficientDynamoDb.Internal.Operations.TransactWriteItems { internal sealed class Tr...
1.695829
7dff5afe8a0e029f9a86d13778772dc4
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
96302
{ "extension": "c-sharp", "max_stars_count": "15.0", "max_stars_repo_name": "runeanielsen/Topos", "max_stars_repo_path": "Topos/Extensions/DictionaryExtensions.cs", "provenance": "train-00000-of-00045.jsonl.gz:96303" }
starcoder
using System; using System.Collections.Generic; using System.Linq; namespace Topos.Extensions { public static class DictionaryExtensions { public static Dictionary<string, string> Clone(this IDictionary<string, string> dictionary) { if (dictionary == null) throw new ArgumentNullExc...
3.119728
9b397c1ae968d65bc72c8c7b62ebbbe1
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
96303
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "Dabblelift/DiamondBet", "max_stars_repo_path": "Web/DiamondBet.Web/Controllers/GamesController.cs", "provenance": "train-00000-of-00045.jsonl.gz:96304" }
starcoder
<gh_stars>0 namespace DiamondBet.Web.Controllers { using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using DiamondBet.Services.Data; using DiamondBet.Web.ViewModels.Games; using Microsoft.AspNetCore.Mvc; public class GamesController : Bas...
1.786841
2c85a78b3fbeffa3904d8284e3cae36b
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
96304
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "YellowTulipShow/CSharp", "max_stars_repo_path": "dotnet_framework/YTS.Engine/IOAccess/AbsDAL.cs", "provenance": "train-00000-of-00045.jsonl.gz:96305" }
starcoder
using System; using YTS.Engine.ShineUpon; using YTS.Tools; using YTS.Tools.Model; namespace YTS.Engine.IOAccess { /// <summary> /// 抽象-数据访问层(Data Access Layer) /// </summary> /// <typeparam name="M">数据映射模型</typeparam> /// <typeparam name="W">查询条件</typeparam> /// <typeparam name="P">解析器</typepa...
2.118544
5122960c685ded0181ab3969a59ba830
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
96305
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "gengle/SimpleIdServer", "max_stars_repo_path": "src/OpenID/SimpleIdServer.OpenID/DTOs/AuthorizationRequestParameters.cs", "provenance": "train-00000-of-00045.jsonl.gz:96306" }
starcoder
<filename>src/OpenID/SimpleIdServer.OpenID/DTOs/AuthorizationRequestParameters.cs // Copyright (c) SimpleIdServer. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. namespace SimpleIdServer.OpenID.DTOs { public static class Authorizatio...
1.467022
e030045a114b239f08eac4363b7fc743
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
96306
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "SimonCropp/elasticsearch-net", "max_stars_repo_path": "src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/ClusterExistsComponentTemplateRequest.g.cs", "provenance": "train-00000-of-00045.jsonl.gz:96307" }
starcoder
// Licensed to Elasticsearch B.V under one or more agreements. // Elasticsearch B.V licenses this file to you under the Apache 2.0 License. // See the LICENSE file in the project root for more information. // // ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ // ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ // ██╔██╗...
1.600815
8e7339b3303c4336d0e81400703aa836
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
96307
{ "extension": "c-sharp", "max_stars_count": "12.0", "max_stars_repo_name": "gregswdl/PrestoClient", "max_stars_repo_path": "PrestoClient/Model/Sql/Planner/Plan/Specification.cs", "provenance": "train-00000-of-00045.jsonl.gz:96308" }
starcoder
<gh_stars>10-100 using Newtonsoft.Json; using System; using System.Collections.Generic; namespace BAMCIS.PrestoClient.Model.Sql.Planner.Plan { /// <summary> /// From com.facebook.presto.sql.planner.plan.WindowNode.java (internal class Specification) /// </summary> public class Specification { ...
2.309737
8921a5d3cac9a6e864e859571d873b3b
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
96308
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "RobHugh/ReactorLibrary", "max_stars_repo_path": "ReactorDLL/Reactor/Class/BlockingTcpSocketImpl.cs", "provenance": "train-00000-of-00045.jsonl.gz:96309" }
starcoder
using Reactor.Interface; using Reactor.Utilities; using System; using System.Net; using System.Net.Sockets; namespace Reactor.Class { class BlockingTcpSocketImpl : ISocket { private Socket userSocket; Socket ISocket.UserSocket { get { return userSocket; } } IntPtr ISocket.Handle { get ...
2.75637
2cef2c686dc28d5c835f543d63f23b84
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
96309
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "IlyaKurmaz/DIT.NET", "max_stars_repo_path": "DIT.Domain/Models/Project/ProjectConnector.cs", "provenance": "train-00000-of-00045.jsonl.gz:96310" }
starcoder
using DIT.Domain.Interfaces; using System; using System.Collections.Generic; using System.Text; namespace DIT.Domain.Models { public class ProjectConnector : IEntity { public Guid Id { get; set; } public Connector Connector { get; set; } public Project Project { get; set; } } }
1.711902
5e43efa1011536bb5c17b011a5ea9ece
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
96310
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "Avanade/OnRamp", "max_stars_repo_path": "src/OnRamp/Generators/CodeGeneratorBase.cs", "provenance": "train-00000-of-00045.jsonl.gz:96311" }
starcoder
// Copyright (c) Avanade. Licensed under the MIT License. See https://github.com/Avanade/OnRamp using OnRamp.Config; using OnRamp.Scripts; using System; namespace OnRamp.Generators { /// <summary> /// Provides the base code-generation capabilities leveraging <b>Handlebars</b>. /// </summary> public a...
2.703882
2f2c3488f338901f032e0e20fb72b747
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
96311
{ "extension": "c-sharp", "max_stars_count": "31.0", "max_stars_repo_name": "kaby76/Piggy", "max_stars_repo_path": "Symtab/FunctionType.cs", "provenance": "train-00000-of-00045.jsonl.gz:96312" }
starcoder
<gh_stars>10-100 namespace org.antlr.symtab { using System.Collections.Generic; /// <summary> /// For C types like "void (*)(int)", we need that to be a pointer to a function /// taking a single integer argument returning void. /// </summary> public class FunctionType : Type { pro...
2.786019
e4927259b9288ede73ee98ef24907a89
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
96312
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "jago2136/azure-powershell", "max_stars_repo_path": "src/Cdn/generated/api/Models/Api20210601/AfdOriginGroupUpdateParameters.cs", "provenance": "train-00000-of-00045.jsonl.gz:96313" }
starcoder
<filename>src/Cdn/generated/api/Models/Api20210601/AfdOriginGroupUpdateParameters.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 Generator. // Changes may ...
1.180901
46875b5bed8cbdec0cd3447cbaffbe78
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
96313
{ "extension": "c-sharp", "max_stars_count": "6.0", "max_stars_repo_name": "MattJeanes/SystemChecker", "max_stars_repo_path": "SystemChecker.Contracts/Data/CheckResults.cs", "provenance": "train-00000-of-00045.jsonl.gz:96314" }
starcoder
<reponame>MattJeanes/SystemChecker<gh_stars>1-10 using System.Collections.Generic; using SystemChecker.Contracts.DTO; namespace SystemChecker.Contracts.Data { public class CheckResults { public string MinDate { get; set; } public string MaxDate { get; set; } public List<CheckResultDTO> ...
1.72942
557421ff4549692c5d12f1da82cc4a59
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
96314
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "topalach/xunit", "max_stars_repo_path": "src/xunit.runner.visualstudio/Properties/AssemblyInfo.cs", "provenance": "train-00000-of-00045.jsonl.gz:96315" }
starcoder
using System.Reflection; #if NET452 [assembly: AssemblyTitle("xUnit.net Runner for Visual Studio (.NET 4.5.2)")] #elif NETCOREAPP1_0 [assembly: AssemblyTitle("xUnit.net Runner for Visual Studio (.NET Core 1.0)")] #elif WINDOWS_UAP [assembly: AssemblyTitle("xUnit.net Runner for Visual Studio (Universal Windows 10.0)")...
1.60935
f24a2fcf3fd62ce66e9f3bc6a3b20074
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
96315
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "mansoor-omrani/Locust.NET", "max_stars_repo_path": "Modules/Locust.Modules.Api/Service/ApiClient/SaveApis/StrategyBase.cs", "provenance": "train-00000-of-00045.jsonl.gz:96316" }
starcoder
<filename>Modules/Locust.Modules.Api/Service/ApiClient/SaveApis/StrategyBase.cs using Locust.ServiceModel; using Locust.ServiceModel.Babbage; using Locust.Modules.Api.Model; using Locust.Modules.Api.Service; namespace Locust.Modules.Api.Strategies { public abstract partial class ApiClientSaveApisStrategyBase : Babbag...
1.847338
185678cdd83865a7d7aa54775f0d74a8
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
96316
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "KamilVDono/Sparkler", "max_stars_repo_path": "Assets/Sparkler/Vendors/unity3d-class-type-reference-master/assets/Source/ClassTypeReferenceAttributesAttribute.cs", "provenance": "train-00000-of-00045.jsonl.gz:96317" }
starcoder
<reponame>KamilVDono/Sparkler<filename>Assets/Sparkler/Vendors/unity3d-class-type-reference-master/assets/Source/ClassTypeReferenceAttributesAttribute.cs<gh_stars>1-10 using System; using System.Collections.Generic; using System.Linq; namespace Sparkler.Rotorz.Games { [AttributeUsage( AttributeTargets.Field, AllowMu...
2.143521
5b927d6c987ae1d4b1442e36158f8a18
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
96317
{ "extension": "c-sharp", "max_stars_count": "14.0", "max_stars_repo_name": "eylvisaker/AgateLib", "max_stars_repo_path": "src/AgateLib/Mathematics/Geometry/RectangleF.cs", "provenance": "train-00000-of-00045.jsonl.gz:96318" }
starcoder
// // Copyright (c) 2006-2018 <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,...
2.732939
ec03d293bdf1e91ec1fc805638225f79
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
96318
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "Naya-san/LifeManagement", "max_stars_repo_path": "LifeManagement/Attributes/LocalizeAttribute.cs", "provenance": "train-00000-of-00045.jsonl.gz:96319" }
starcoder
<filename>LifeManagement/Attributes/LocalizeAttribute.cs using System.Globalization; using System.Threading; using System.Web.Mvc; namespace LifeManagement.Attributes { public class LocalizeAttribute : ActionFilterAttribute { public override void OnActionExecuting(ActionExecutingContext filterContext)...
2.746859
3d9fbd0933c42155c20dfac484590854
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
96319
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "SeriousM/DryIoc", "max_stars_repo_path": "src/DryIoc.Microsoft.Hosting/DryIocHosting.cs", "provenance": "train-00000-of-00045.jsonl.gz:96320" }
starcoder
<reponame>SeriousM/DryIoc using System; using DryIoc.Microsoft.DependencyInjection; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; namespace DryIoc.Microsoft.Hosting { /// <summary>Entry extension methods </summary> public static class DryIocHosting { /// <summa...
2.436399
8896c8ab4e1a77cd51828705aed7cd25
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
96320
{ "extension": "c-sharp", "max_stars_count": "32.0", "max_stars_repo_name": "vNEXTAU/azure-data-services-go-fast-codebase", "max_stars_repo_path": "solution/FunctionApp/Models/Options/DependencyOptions.cs", "provenance": "train-00000-of-00045.jsonl.gz:96321" }
starcoder
<reponame>vNEXTAU/azure-data-services-go-fast-codebase<filename>solution/FunctionApp/Models/Options/DependencyOptions.cs using System.Collections.Generic; namespace AdsGoFast.Models.Options { public class ApplicationOptions { public bool UseMSI { get; set; } public System.Int16 FrameworkWideMa...
1.404129
b479b084d6450bdc4693acf5d28428c1
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
96321
{ "extension": "c-sharp", "max_stars_count": "7.0", "max_stars_repo_name": "ta1H3n/Namiko", "max_stars_repo_path": "Maid/Program.cs", "provenance": "train-00000-of-00045.jsonl.gz:96322" }
starcoder
using Discord; using Discord.WebSocket; using System; using System.Linq; using System.Text.RegularExpressions; using System.Threading; using System.Threading.Tasks; namespace Maid { class Program { private static DiscordSocketClient Client; private static readonly CancellationTokenSource cts ...
2.798074
f305da44d26fd2bb21f88bcc79c2a045
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
96322
{ "extension": "c-sharp", "max_stars_count": "13.0", "max_stars_repo_name": "connellw/Firestorm", "max_stars_repo_path": "src/Firestorm.Engine.Additives/Writers/ConfirmOnlyFieldWriter.cs", "provenance": "train-00000-of-00045.jsonl.gz:96323" }
starcoder
<reponame>connellw/Firestorm using System; using System.Diagnostics.Contracts; using System.Threading.Tasks; using Firestorm.Data; using Firestorm.Engine.Deferring; using Firestorm.Engine.Fields; using JetBrains.Annotations; namespace Firestorm.Engine.Additives.Writers { /// <summary> /// An <see cref="IFieldW...
2.473186
2e507f791228dcf282aa3eacfdbf32a9
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
96323
{ "extension": "c-sharp", "max_stars_count": "807.0", "max_stars_repo_name": "sanmen359/abp-samples", "max_stars_repo_path": "SignInWithoutSpecifyingTenant/test/SignInWithoutSpecifyingTenant.Domain.Tests/SignInWithoutSpecifyingTenantDomainTestBase.cs", "provenance": "train-00000-of-00045.jsonl.gz:96324" }
starcoder
<gh_stars>100-1000 namespace SignInWithoutSpecifyingTenant { public abstract class SignInWithoutSpecifyingTenantDomainTestBase : SignInWithoutSpecifyingTenantTestBase<SignInWithoutSpecifyingTenantDomainTestModule> { } }
1.085082
55522ef80d475905e2bcca23c5a4d15f
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
96324
{ "extension": "c-sharp", "max_stars_count": "348.0", "max_stars_repo_name": "tianweimol/jimu", "max_stars_repo_path": "src/Jimu.Client/Diagnostic/DiagnosticModule.cs", "provenance": "train-00000-of-00045.jsonl.gz:96325" }
starcoder
using Autofac; using Jimu.Diagnostic; using Jimu.Module; using Microsoft.Extensions.Configuration; namespace Jimu.Client.Diagnostic { public class DiagnosticModule : ClientModuleBase { readonly DiagnosticClientOptions _options; public DiagnosticModule(IConfigurationRoot jimuAppSettings) : base...
1.776728
276a595fed46d6bc5b9161b9b835c846
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
96325
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "LindaLawton/IdentityServer4CleanTestSample", "max_stars_repo_path": "src/Ids/Config.cs", "provenance": "train-00000-of-00045.jsonl.gz:96326" }
starcoder
// Copyright (c) <NAME> & <NAME>. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. using IdentityServer4.Models; using System.Collections.Generic; using IdentityServer4; using IdentityServer4.Test; namespace Ids { public static clas...
2.045451
4b5657de03e2047a1b11fad9876da011
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
96326
{ "extension": "c-sharp", "max_stars_count": "6.0", "max_stars_repo_name": "Half-Shot/MagnetHS", "max_stars_repo_path": "HalfShot.MagnetHS/MessageQueue/Mocks/MockMessageQueue.cs", "provenance": "train-00000-of-00045.jsonl.gz:96327" }
starcoder
<reponame>Half-Shot/MagnetHS using System; namespace HalfShot.MagnetHS.MessageQueue.Mocks { public class MockMessageQueue : IMessageQueue { public TimeSpan RecieveTimeout { get => throw new NotImplementedException(); set => throw new NotImplementedException(); } public MQRequest ListenForReque...
2.005205
aa1ceb49a0a509971a760c9518aa7c06
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
96327
{ "extension": "c-sharp", "max_stars_count": "1010.0", "max_stars_repo_name": "MiggieNRG/microsoft-authentication-library-for-dotnet", "max_stars_repo_path": "src/client/Microsoft.Identity.Client/Platforms/iOS/iOSLegacyCachePersistance.cs", "provenance": "train-00000-of-00045.jsonl.gz:96328" }
starcoder
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using Foundation; using Microsoft.Identity.Client.Cache; using Microsoft.Identity.Client.Core; using Microsoft.Identity.Client.Internal; using Security; namespace Microsoft.Identity.Client.Platforms.iOS { ...
1.875427
284dcfef1950a8497baed90a531b9d56
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
96328
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "D3fau4/image2gnf", "max_stars_repo_path": "GFD-Studio/GFDLibrary/Models/TextureMap.cs", "provenance": "train-00000-of-00045.jsonl.gz:96329" }
starcoder
<reponame>D3fau4/image2gnf using GFDLibrary.IO; namespace GFDLibrary.Models { public sealed class TextureMap : Resource { public override ResourceType ResourceType => ResourceType.TextureMap; public string Name { get; set; } // 0x44 public int Field44 { get; set; } /...
2.161196
90917efce1882013077002d52c93c40b
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
96329
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "AGGP-NHTI/OutForAWalk", "max_stars_repo_path": "Items/HealthPickUp.cs", "provenance": "train-00000-of-00045.jsonl.gz:96330" }
starcoder
using System.Collections; using System.Collections.Generic; using UnityEngine; public class HealthPickUp : Item { public float HealingAmount; public GameObject damMan; public Game g; private GameObject playerInstance1; private GameObject playerInstance2; private PlayerHealth1 PH1; privat...
2.422709
cbbfccec6e97395c799c8db2b50af923
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
96330
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "zidad/Umbraco-CMS", "max_stars_repo_path": "src/Umbraco.Core/Persistence/Repositories/VersionableRepositoryBase.cs", "provenance": "train-00000-of-00045.jsonl.gz:96331" }
starcoder
using System; using System.Collections.Generic; using System.Linq; using Umbraco.Core.Models; using Umbraco.Core.Models.EntityBase; using Umbraco.Core.Models.Rdbms; using Umbraco.Core.Persistence.Caching; using Umbraco.Core.Persistence.Factories; using Umbraco.Core.Persistence.UnitOfWork; namespace Umbraco....
2.298176
10ed3550f1d1660abaf0f0367247cea1
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
96331
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "isabella232/ccme", "max_stars_repo_path": "src/shared/ServiceParityManager/RuleEngineUtils/Evaluators/ListRuleEvaluator.cs", "provenance": "train-00000-of-00045.jsonl.gz:96332" }
starcoder
<filename>src/shared/ServiceParityManager/RuleEngineUtils/Evaluators/ListRuleEvaluator.cs // ----------------------------------------------------------------------- // <copyright file="ListRuleEvaluator.cs" company="Microsoft Corporation"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> //...
2.447761
44c759211a03daee431e1133168e971b
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
96332
{ "extension": "c-sharp", "max_stars_count": "3.0", "max_stars_repo_name": "ajlopez/ScalaSharp", "max_stars_repo_path": "Src/ScalaSharp.Core/Ast/InvokeNode.cs", "provenance": "train-00000-of-00045.jsonl.gz:96333" }
starcoder
<gh_stars>1-10 namespace ScalaSharp.Core.Ast { using System; using System.Collections.Generic; using System.Linq; using System.Text; using ScalaSharp.Core.Contexts; using ScalaSharp.Core.Expressions; using ScalaSharp.Core.Language; public class InvokeNode : IExpressionNode ...
2.184
09c4acdf6fce003db7088c335cf8d2a8
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
96333
{ "extension": "c-sharp", "max_stars_count": "4.0", "max_stars_repo_name": "askalione/xdocumentor", "max_stars_repo_path": "src/XDocumentor/GenerationOptions.cs", "provenance": "train-00000-of-00045.jsonl.gz:96334" }
starcoder
using System; using System.Collections.Generic; using System.Text; namespace XDocumentor { class GenerationOptions { public string Target { get; } public string Output { get; } = "markdown"; public AccessibilityLevel AccessibilityLevel { get; } = AccessibilityLevel.All; public ...
2.689867
dbabeddd8758af06ea9b40a830cd6a76
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
96334
{ "extension": "c-sharp", "max_stars_count": "424.0", "max_stars_repo_name": "ionoy/AmmyUI", "max_stars_repo_path": "tools/XamlToAmmy/MainWindow.ammy.cs", "provenance": "train-00000-of-00045.jsonl.gz:96335" }
starcoder
using System; using System.Collections.Generic; using System.Linq; using System.Reactive.Disposables; using System.Reactive.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.Win32; using XamlToAmmy.ViewModels; namespace XamlToAmmy { public partial class MainWindow : IOpenFileDialog { ...
2.440005
6d92577fed8cbcc2220681c881afabec
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
96335
{ "extension": "c-sharp", "max_stars_count": "10.0", "max_stars_repo_name": "KaiNet-X/simple-network-library", "max_stars_repo_path": "SimpleNetwork/Examples/MessagingApp/MessageClient/LoginForm.cs", "provenance": "train-00000-of-00045.jsonl.gz:96336" }
starcoder
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Net; using System.Net.Sockets; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace MessageClient { public partial class Login : F...
2.550868
430eac4658f8c12de2e29dc16f8638b0
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
96336
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "ajmudrak/AppDevInterviewTechnicalTest2", "max_stars_repo_path": "AppDevInterviewTechnicalTest/Models/Db/Lookup_TicketStatus.cs", "provenance": "train-00000-of-00045.jsonl.gz:96337" }
starcoder
<gh_stars>0 namespace AppDevInterviewTechnicalTest.Models.Db { using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Data.Entity.Spatial; [Table("tickets.Lookup_TicketStatus")] public par...
2.045799
d3549347da63cb56e64632d49c53f5f6
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
96337
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "yuqtj/UnityGame_college", "max_stars_repo_path": "Assets/Scripts/Application/Manager/StoryManager.cs", "provenance": "train-00000-of-00045.jsonl.gz:96338" }
starcoder
<filename>Assets/Scripts/Application/Manager/StoryManager.cs using UnityEngine; using System.Collections; using System.Collections.Generic; public class StoryManager { private static StoryManager _instance; public static StoryManager Instance { get { if (_instance == null) ...
2.188431
20dcc7f1180beb2e9a2d6d1d5025e4e9
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
96338
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "IMICTO/dotnetcore3", "max_stars_repo_path": "Lab.SE03/Terme/01. Core/Terme.Core.Domain/Masters/Repositories/IMasterProductCommandRepository.cs", "provenance": "train-00000-of-00045.jsonl.gz:96339" }
starcoder
<reponame>IMICTO/dotnetcore3 using System; using System.Collections.Generic; using System.Text; using Terme.Core.Domain.Masters.Entities; namespace Terme.Core.Domain.Masters.Repositories { public interface IMasterProductCommandRepository { void Add(MasterProduct masterProduct); } }
1.43669
f3a3290df59fe59076d731263109547e
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
96339
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "Ping-Flood/Ping-Flood", "max_stars_repo_path": "MyFirtWebApi/MyFirtWebApi/Models/Users.cs", "provenance": "train-00000-of-00045.jsonl.gz:96340" }
starcoder
<filename>MyFirtWebApi/MyFirtWebApi/Models/Users.cs namespace MyFirtWebApi.Models { /// <summary> /// Users /// </summary> public class Users { /// <summary> /// Id /// </summary> public int Id { get; set; } /// <summary> /// Name /// </summa...
2.173519
63011c822354f1a75caaefe77df4794b
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
96340
{ "extension": "c-sharp", "max_stars_count": "6.0", "max_stars_repo_name": "Miruken-DotNet/miruken", "max_stars_repo_path": "Source/Miruken.Validate/DataAnnotations/ValidAttribute.cs", "provenance": "train-00000-of-00045.jsonl.gz:96341" }
starcoder
<reponame>Miruken-DotNet/miruken namespace Miruken.Validate.DataAnnotations { using System; using System.Collections; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using Callback; using Infrastructure; [AttributeUsage(AttributeTargets...
2.49634
fcf714c52cf7a7fb63418756c9192cd2
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
96341
{ "extension": "c-sharp", "max_stars_count": "11.0", "max_stars_repo_name": "bootzin/BootEngine", "max_stars_repo_path": "BootEngine/BootEngine/Events/EventSystem.cs", "provenance": "train-00000-of-00045.jsonl.gz:96342" }
starcoder
using BootEngine.ECS.Components.Events.Ecs; using BootEngine.Utils.ProfilingTools; using Leopotam.Ecs; namespace BootEngine.Events { internal sealed class EventSystem : IEcsRunSystem { private readonly EcsFilter<EcsGenericEvent> _events = default; private readonly EcsFilter<EcsKeyEvent> _keyEvents = default; ...
2.178387
ed571b3c3c46372b96e2e727b40c04e4
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
96342
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "scottenriquez/cdktf-alpha-csharp-testing", "max_stars_repo_path": "resources/.gen/aws/aws/IWafv2WebAclRuleStatementAndStatementStatementOrStatementStatementOrStatementStatementXssMatchStatementFieldToMatchAllQueryArguments.cs", "prove...
starcoder
using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 namespace aws { [JsiiInterface(nativeType: typeof(IWafv2WebAclRuleStatementAndStatementStatementOrStatementStatementOrStatementStatementXssMatchStatementFieldToMatchAllQueryArguments), fullyQualifiedName: "aws.Wafv2WebAclRuleStatementA...
1.399917
e29aeaf299b18f61b102279963db9c5e
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
96343
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "MagicMango/Mangos.ToDoApp", "max_stars_repo_path": "Mangos.ToDoApi/Controllers/ToDoListController.cs", "provenance": "train-00000-of-00045.jsonl.gz:96344" }
starcoder
<reponame>MagicMango/Mangos.ToDoApp using Mangos.ToDo.Core.Context; using Mangos.ToDo.Core.Repository; using Mangos.ToDo.Entities; using Mangos.ToDo.Interfaces; using Mangos.ToDoApi.Queue; using Microsoft.AspNetCore.Mvc; using System; using System.Linq; using System.Collections.Generic; namespace Mangos.ToDoApi.Contr...
2.007382
c6da6fe987955ba7aa5c8e64aced3efb
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
96344
{ "extension": "c-sharp", "max_stars_count": "911.0", "max_stars_repo_name": "cnork/referencesource", "max_stars_repo_path": "System.Web.Extensions/ui/WebControls/LinqDataSourceContextEventArgs.cs", "provenance": "train-00000-of-00045.jsonl.gz:96345" }
starcoder
//------------------------------------------------------------------------------ // <copyright file="LinqDataSourceContextEventArgs.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> //---------------...
2.018624
4a1d4443e1b317257aa6c48f652946d4
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
96345
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "meanxson/Scream-Into-The-Empty", "max_stars_repo_path": "Assets/Client/Scripts/UI/Window/Windows/SettingWindow/VolumeSettingModel.cs", "provenance": "train-00000-of-00045.jsonl.gz:96346" }
starcoder
using Client.Scripts.Common; using UnityEngine; using UnityEngine.Audio; using UnityEngine.UI; namespace Client.Scripts.UI.Window.Windows.SettingWindow { public class VolumeSettingModel { private readonly Slider[] _slider; private readonly AudioMixer _mixer; private readonly string[] ...
2.191478
5b44c6d9e148db61ae492efbd8b2f027
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
96346
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "jennyxiaqc/SuperStore", "max_stars_repo_path": "Xy.SuperStore/Xy.SuperStore.Data.Repository/IProductRepository.cs", "provenance": "train-00000-of-00045.jsonl.gz:96347" }
starcoder
<reponame>jennyxiaqc/SuperStore using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Xy.SuperStore.Data.Entities; namespace Xy.SuperStore.Data.Repository { public interface IProductRepository { void AddProduct(int id, string name, de...
1.860983
793f29328187f3fd6b153d8067017084
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
96347
{ "extension": "c-sharp", "max_stars_count": "6.0", "max_stars_repo_name": "cagdaskarademir/aspnetcore-graphql-dapper-sqlkata-sqlserver", "max_stars_repo_path": "src/Smoothie.Migration/BaseMigration.cs", "provenance": "train-00000-of-00045.jsonl.gz:96348" }
starcoder
<gh_stars>1-10 namespace Smoothie.Migration { public class BaseMigration : FluentMigrator.Migration { public override void Up() { } public override void Down() { } } }
1.392675
128de7d13e1bc1b9bfc551e879737763
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
96348
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "victorvelepucha/OOExample", "max_stars_repo_path": "WindowsFormsApp1/WindowsFormsApp1/Abstraction/Square.cs", "provenance": "train-00000-of-00045.jsonl.gz:96349" }
starcoder
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace WindowsFormsApp1 { // class 'AreaClass' inherit // in child class 'Square' class Square : Figure { int side = 0; // constructor public Square(int n)...
3.20224
0aeb5f3cbeac84e31992b6800aed8af0
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
96349
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "Telvy/ScumSmackerArena_Repo", "max_stars_repo_path": "Assets/RVModules/RVSmartAI/Editor/CustomInspectors/StageNodeInspector.cs", "provenance": "train-00000-of-00045.jsonl.gz:96350" }
starcoder
// Created by <NAME>. All rights reserved // 22.09.2020. using System.Collections.Generic; using System.Linq; using RVModules.RVSmartAI.Editor.SelectWindows; using RVModules.RVSmartAI.GraphElements; using RVModules.RVSmartAI.GraphElements.Utilities; using RVModules.RVSmartAI.Nodes; using RVModules.RVUtilities.Editor; ...
1.739234
d14875d65c9ce47854270e78f10b7ecf
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
96350
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "threax/Threax.Provision.Azure", "max_stars_repo_path": "Threax.Provision.AzPowershell/ISqlServerManager.cs", "provenance": "train-00000-of-00045.jsonl.gz:96351" }
starcoder
<reponame>threax/Threax.Provision.Azure using System; using System.Security; using System.Threading.Tasks; namespace Threax.Provision.AzPowershell { public interface ISqlServerManager { Task Create(string name, string resourceGroupName, string location, string adminUser, string adminPass); ...
1.756176
ca488ea7aad3cc9a6a9df0b34f5c048e
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
96351
{ "extension": "c-sharp", "max_stars_count": "7.0", "max_stars_repo_name": "zigurous/unity-data-structures", "max_stars_repo_path": "Runtime/Structs/ColorRange.cs", "provenance": "train-00000-of-00045.jsonl.gz:96352" }
starcoder
using UnityEngine; namespace Zigurous.DataStructures { /// <summary> /// A range of Color values. /// </summary> [System.Serializable] public struct ColorRange : INumberRange<Color> { /// <summary> /// Shorthand for writing <c>ColorRange(Color.black, Color.black)</c>. /...
3.190906
c83a0f780b94bdcaafcb6dddb5fa9ce0
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
96352
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "nghiank/CasinosClient", "max_stars_repo_path": "Assets/Script/XLua.Gen/CasinosCardWrap.cs", "provenance": "train-00000-of-00045.jsonl.gz:96353" }
starcoder
#if USE_UNI_LUA using LuaAPI = UniLua.Lua; using RealStatePtr = UniLua.ILuaState; using LuaCSFunction = UniLua.CSharpFunctionDelegate; #else using LuaAPI = XLua.LuaDLL.Lua; using RealStatePtr = System.IntPtr; using LuaCSFunction = XLua.LuaDLL.lua_CSFunction; #endif using XLua; using System.Collections.Generic; name...
1.994652
9fb53097d73287c05e0859a56b7d56cb
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
96353
{ "extension": "c-sharp", "max_stars_count": "46.0", "max_stars_repo_name": "itye-msft/fhir-codegen", "max_stars_repo_path": "src/Microsoft.Health.Fhir.SpecManager/fhir/R5/ValueSets/TitleType.cs", "provenance": "train-00000-of-00045.jsonl.gz:96354" }
starcoder
<filename>src/Microsoft.Health.Fhir.SpecManager/fhir/R5/ValueSets/TitleType.cs // <auto-generated /> // Built from: hl7.fhir.r5.core version: 4.6.0 // Option: "NAMESPACE" = "fhirCsR5" using fhirCsR5.Models; namespace fhirCsR5.ValueSets { /// <summary> /// Used to express the reason and specific aspect for the v...
2.268649
89c39e2df0921a7ade262d6111419e99
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
96354
{ "extension": "c-sharp", "max_stars_count": "7.0", "max_stars_repo_name": "saineshwar/VueTicket", "max_stars_repo_path": "VueTicketCore/TicketCore.Web/Controllers/SignupController.cs", "provenance": "train-00000-of-00045.jsonl.gz:96355" }
starcoder
<filename>VueTicketCore/TicketCore.Web/Controllers/SignupController.cs using Microsoft.AspNetCore.Mvc; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Web; using AutoMapper; using DNTCaptcha.Core; using Microsoft.AspNetCo...
1.949491
a053d058d0a0bcd9f15a40bed37ac6de
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
96355
{ "extension": "c-sharp", "max_stars_count": "7.0", "max_stars_repo_name": "indrivo/GEAR", "max_stars_repo_path": "src/GR.Extensions/GR.Identity.Extension/GR.Identity.Clients.Razor/ViewModels/RoleViewModels/RoleListViewModel.cs", "provenance": "train-00000-of-00045.jsonl.gz:96356" }
starcoder
using GR.Identity.Abstractions; namespace GR.Identity.Clients.Razor.ViewModels.RoleViewModels { public class RoleListViewModel : GearRole { public string ClientName { get; set; } } }
1.185851
3d4006956c2d253a0e83612841301534
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
96356
{ "extension": "c-sharp", "max_stars_count": "7.0", "max_stars_repo_name": "pekkah/tanka-graphql-samples", "max_stars_repo_path": "src/Messages.Host/Startup.cs", "provenance": "train-00000-of-00045.jsonl.gz:96357" }
starcoder
using System; using System.IdentityModel.Tokens.Jwt; using System.Linq; using System.Net.Http; using System.Security.Claims; using System.Threading; using System.Threading.Tasks; using IdentityModel.Client; using Microsoft.AspNetCore.Authentication.JwtBearer; using Microsoft.AspNetCore.Authorization; using Microsoft.A...
1.734663
c6a902b821aa7f8bc6ed859fcae1e20c
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
96357
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "sporestec/Example-in-Microservices", "max_stars_repo_path": "src/ApiGateways/Web.BFF/Services/NumberOne.cs", "provenance": "train-00000-of-00045.jsonl.gz:96358" }
starcoder
using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Threading.Tasks; using Microsoft.Extensions.Options; using Newtonsoft.Json; using NumberOne.API.Models; using Web.BFF.Config; namespace Web.BFF.Services { public class NumberOne : INumberOne { privat...
2.476055
fe67c5b45a3e28a9aba698a9e9b96267
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
96358
{ "extension": "c-sharp", "max_stars_count": "15.0", "max_stars_repo_name": "silkfire/RoslynTestKit", "max_stars_repo_path": "src/RoslynTestKit/Utils/DocumentExtensions.cs", "provenance": "train-00000-of-00045.jsonl.gz:96359" }
starcoder
<gh_stars>10-100 using System; using System.Collections.Generic; using System.Linq; using Microsoft.CodeAnalysis; namespace RoslynTestKit.Utils { static class DocumentExtensions { public static IReadOnlyList<Diagnostic> GetErrors(this Document document) { var diagnostics...
1.94367
fd68ec800ab815d5f43fd1b568d7a638
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
96359
{ "extension": "c-sharp", "max_stars_count": "53.0", "max_stars_repo_name": "jtark/Totem", "max_stars_repo_path": "src/Totem.Timeline/Client/ClientHost.cs", "provenance": "train-00000-of-00045.jsonl.gz:96360" }
starcoder
<reponame>jtark/Totem using System; using System.Threading.Tasks; using Totem.Runtime; using Totem.Runtime.Hosting; namespace Totem.Timeline.Client { /// <summary> /// Hosts a timeline client as a service in the .NET runtime /// </summary> public class ClientHost : ConnectedService, IClientObserver { rea...
2.200954
1f7b42646b2e4a3e68068bfce21c0445
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
96360
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "alkihuri/LavaProject", "max_stars_repo_path": "LavaProject.Unity/Assets/Scripts/GameCore/Cameras/CameraSwitcher.cs", "provenance": "train-00000-of-00045.jsonl.gz:96361" }
starcoder
<gh_stars>0 using System.Collections; using System.Collections.Generic; using UnityEngine; using Cinemachine; using UnityEngine.Events; using System; public class CameraSwitcher : MonoBehaviour { #region events public UnityEvent OnCameraChanged = new UnityEvent (); #endregion #region fields [Seri...
1.808677
14512ef5522c2bb7da7b535aa9fa31b8