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.396Z
2023-09-08T23:13:54.396Z
8813018
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "CeriQ/CeriQ.Svea.Checkout", "max_stars_repo_path": "src/CeriQ.Svea.Checkout/Http/IHttpClient.cs", "provenance": "train-00027-of-00045.jsonl.gz:132238" }
starcoder
<gh_stars>0 using System.Net.Http; using System.Threading.Tasks; namespace CeriQ.Svea.Checkout.Http { /// <summary> /// Interface for implementing a HttpClient. Used to mock automatic tests without actually calling out to the network. /// </summary> public interface IHttpClient { Task<Http...
1.715687
0e025147e6cd392b4f502a49989aa1f1
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8813019
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "huaweicloud/huaweicloud-sdk-net-dis", "max_stars_repo_path": "DotNet/DISCommon/DISWeb/HttpHeaderKeys.cs", "provenance": "train-00027-of-00045.jsonl.gz:132239" }
starcoder
<gh_stars>1-10 using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Com.Bigdata.Dis.Sdk.DISCommon.DISWeb { public abstract class HttpHeaderKeys { public const string SdkData = "X-Sdk-Date"; public const string SdkShaContent = "x-sdk-content-sha256"; ...
1.393931
6bb5160e5e37ebe49d05a31c88c714c0
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8813020
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "riQQ/DirectN", "max_stars_repo_path": "DirectN/DirectN/Generated/tagLOGCOLORSPACEW.cs", "provenance": "train-00027-of-00045.jsonl.gz:132240" }
starcoder
<gh_stars>1-10 // c:\program files (x86)\windows kits\10\include\10.0.18362.0\um\wingdi.h(769,9) using System; using System.Runtime.InteropServices; namespace DirectN { [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode)] public partial struct tagLOGCOLORSPACEW { public uint lcsSignatu...
1.432382
90bee54ada05ed1cd137c8ddacd6451d
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8813021
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "kawasawa/MyLib.Wpf", "max_stars_repo_path": "MyLib.Wpf/WinFormsWin32Window.cs", "provenance": "train-00027-of-00045.jsonl.gz:132241" }
starcoder
<reponame>kawasawa/MyLib.Wpf<filename>MyLib.Wpf/WinFormsWin32Window.cs using System; using System.Windows; using System.Windows.Interop; namespace MyLib.Wpf { /// <summary> /// <see cref="System.Windows.Forms.IWin32Window"/> を実装するクラスを表します。 /// </summary> public class WinFormsWin32Window : System.Windo...
2.400033
08d0d87eff51ba93da8185f8ce024032
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8813022
{ "extension": "c-sharp", "max_stars_count": "5.0", "max_stars_repo_name": "0xF6/Genome", "max_stars_repo_path": "lib/TwoBitFile/F2Bit.cs", "provenance": "train-00027-of-00045.jsonl.gz:132242" }
starcoder
namespace System.Collections.Sequence { using Generic; using IO; using JetBrains.Annotations; using Linq; using Runtime.InteropServices; using Threading.Tasks; [PublicAPI] public partial class F2Bit { public Head Header; public List<Index> Indexes = new ...
2.623626
2ec285ff65916d9b20472a1d17417aa4
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8813023
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "marknic/column-encryption", "max_stars_repo_path": "src/Microsoft.ColumnEncryption/EncryptionProviders/KeyInfoValidator.cs", "provenance": "train-00027-of-00045.jsonl.gz:132243" }
starcoder
using Microsoft.ColumnEncryption.Metadata; using System; using System.Collections.Generic; using System.Linq; namespace Microsoft.ColumnEncryption.EncryptionProviders { /// <summary> Helper to validate whether all key information is well formed </summary> internal static class KeyInfoValidator { /...
2.837456
fb0f54e8704f3ce7bd227462fba033ed
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8813024
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "amironov73/ManagedIrbis5", "max_stars_repo_path": "Source/Libs/ManagedIrbis5/Source/Mx/Handlers/FileAppendHandler.cs", "provenance": "train-00027-of-00045.jsonl.gz:132244" }
starcoder
// This is an open source non-commercial project. Dear PVS-Studio, please check it. // PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com // ReSharper disable CheckNamespace // ReSharper disable CommentTypo // ReSharper disable IdentifierTypo // ReSharper disable MemberCanBePrivate.Global // ReS...
1.976617
8c75c6bdcdea5650886d777102bfcd26
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8813025
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "ayaha401/SpriteLitShader", "max_stars_repo_path": "SpriteLit_BRP/Editor/SpriteLitOpaqueShaderGUI.cs", "provenance": "train-00027-of-00045.jsonl.gz:132245" }
starcoder
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEditor; public class SpriteLitOpaqueShaderGUI : ShaderGUI { MaterialProperty MainTex; MaterialProperty Color; public override void OnGUI(MaterialEditor materialEditor, MaterialProperty[] Prop) { var mater...
1.976585
3f659ae7a2c44944e5987750be34f5bf
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8813026
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "MarcBommert/iotbroker.cloud-windows-client", "max_stars_repo_path": "WindowsClientDAL/network/dtls/AsyncDtlsRecordLayer.cs", "provenance": "train-00027-of-00045.jsonl.gz:132246" }
starcoder
<reponame>MarcBommert/iotbroker.cloud-windows-client using DotNetty.Buffers; using DotNetty.Transport.Channels; using DotNetty.Transport.Channels.Sockets; using Org.BouncyCastle.Crypto.Tls; using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Text; using System.Threading.Ta...
1.851939
f7daa09eb10d9847cb671dc7d4228ece
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8813027
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "Kosta1994/PixiEditor", "max_stars_repo_path": "PixiEditor/ViewModels/SubViewModels/Main/UpdateViewModel.cs", "provenance": "train-00027-of-00045.jsonl.gz:132247" }
starcoder
using System; using System.ComponentModel; using System.Diagnostics; using System.IO; using System.Linq; using System.Threading.Tasks; using System.Windows; using PixiEditor.Helpers; using PixiEditor.Models.Dialogs; using PixiEditor.Models.Processes; using PixiEditor.Models.UserPreferences; using PixiEditor.UpdateModul...
2.232962
14276697ffb57fbfe8e969343d5ecc15
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8813028
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "AlexNDRmac/stryker-net", "max_stars_repo_path": "src/Stryker.Core/Stryker.Core/Mutants/CsharpMutantOrchestrator.cs", "provenance": "train-00027-of-00045.jsonl.gz:132248" }
starcoder
<filename>src/Stryker.Core/Stryker.Core/Mutants/CsharpMutantOrchestrator.cs using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.Syntax; using Microsoft.Extensions.Logging; using ...
2.431284
3eb8e9f3321c3baa23e79ad274c44cc7
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8813029
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "telmengedar/NightlyCode.Core", "max_stars_repo_path": "Core.Tests/ComponentModel/ActionPipelineTest.cs", "provenance": "train-00027-of-00045.jsonl.gz:132249" }
starcoder
using System.Threading; using NightlyCode.Core.ComponentModel; using NUnit.Framework; namespace GM.Core.Tests.ComponentModel { [TestFixture] public class ActionPipelineTest { [Test] public void PipelineDoesntBlock() { ActionPipeline<object> pipeline = new ActionPipeline<...
2.765272
afa74f13806ead6d02ca3f3f6e44589c
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8813030
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "JFouts-BlueModus/kentico-contrib", "max_stars_repo_path": "src/CMS/CMSModules/ImportExport/Controls/SelectWebTemplate.ascx.cs", "provenance": "train-00027-of-00045.jsonl.gz:132250" }
starcoder
using System; using System.Data; using CMS.CMSImportExport; using CMS.Helpers; using CMS.UIControls; public partial class CMSModules_ImportExport_Controls_SelectWebTemplate : CMSUserControl { /// <summary> /// Selected template ID. /// </summary> public int WebTemplateId { ...
1.901662
49cd1d805062a2097fb0a769ee395243
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8813031
{ "extension": "c-sharp", "max_stars_count": "203.0", "max_stars_repo_name": "ChristianEder/promitor", "max_stars_repo_path": "src/Promitor.Agents.Scraper/Validation/MetricDefinitions/MetricScrapingValidator.cs", "provenance": "train-00027-of-00045.jsonl.gz:132251" }
starcoder
<filename>src/Promitor.Agents.Scraper/Validation/MetricDefinitions/MetricScrapingValidator.cs using System.Collections.Generic; using Promitor.Core.Scraping.Configuration.Model; namespace Promitor.Agents.Scraper.Validation.MetricDefinitions { public class MetricScrapingValidator { private readonly Met...
2.345324
4ffe23f0ef660e8f7b1a08988350e624
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8813032
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "neurolib-io/net-api-client", "max_stars_repo_path": "Src/Neurolib.ApiClient/ApiRequests/ListSearchSynonyms.cs", "provenance": "train-00027-of-00045.jsonl.gz:132252" }
starcoder
/* This file is auto-generated, do not edit */ using System; using System.Collections.Generic; using System.Net.Http; using Neurolib.ApiClient.Bindings; using Neurolib.ApiClient.Util; namespace Neurolib.ApiClient.ApiRequests { /// <summary>List search synonyms</summary> /// <remarks>Gives the list of synony...
2.439533
76df923e339f299775d65a57716436c7
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8813033
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "ryzngard/razor-tooling", "max_stars_repo_path": "src/Razor/test/Microsoft.AspNetCore.Razor.LanguageServer.Test/CodeActions/CSharp/AddUsingsCSharpCodeActionResolverTest.cs", "provenance": "train-00027-of-00045.jsonl.gz:132253" }
starcoder
<gh_stars>0 // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT license. See License.txt in the project root for license information. #nullable disable using System; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc.Razor.Extensions; using Microsoft.AspNetCore.Razor.Language; ...
1.687397
e91d2e048a51b4632795e760b6808b76
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8813034
{ "extension": "c-sharp", "max_stars_count": "2605.0", "max_stars_repo_name": "shunfy/ET", "max_stars_repo_path": "Unity/Assets/ThirdParty/ILRuntime/Mono.Cecil/symbols/pdb/Microsoft.Cci.Pdb/PdbTokenLine.cs", "provenance": "train-00027-of-00045.jsonl.gz:132254" }
starcoder
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; namespace Microsoft.Cci.Pdb { internal class PdbTokenLine { internal uint token; internal uint file_id; internal uint line; internal ui...
1.995999
93c0d6c825bc18996ac9a1ba2964ab7e
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8813035
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "koppor/motionEAP", "max_stars_repo_path": "motionEAPAdmin/ContentProviders/SettingsManager.cs", "provenance": "train-00027-of-00045.jsonl.gz:132255" }
starcoder
<gh_stars>1-10 // <copyright file=SettingsManager.cs // <copyright> // Copyright (c) 2016, University of Stuttgart // 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, includ...
1.913176
1138719320019f69f07f2b6f64338943
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8813036
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "HenkVanMilligen/Philcosa", "max_stars_repo_path": "Philcosa.Application/Features/Countries/Queries/GetAll/GetAllCountriesResponse.cs", "provenance": "train-00027-of-00045.jsonl.gz:132256" }
starcoder
<reponame>HenkVanMilligen/Philcosa using Philcosa.Domain.Entities; using System.Collections.Generic; namespace Philcosa.Application.Features.Countries.Queries.GetAll { public class GetAllCountriesResponse { public int Id { get; set; } public string Code { get; set; } public string Name...
1.373994
892f3925185eaa05a0a5ca2217d43cc8
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8813037
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "wardensky/wardensky-demo", "max_stars_repo_path": "csharp/ChinaTtlWifi/ChinaTtlWifi.NewUI/Form2.cs", "provenance": "train-00027-of-00045.jsonl.gz:132257" }
starcoder
using ChinaTtlWifi.NewEntity; using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace ChinaTtlWifi.NewUI { public partial class Form2 : Form { public ...
1.746926
9a7b492bc06be814857598e3c74a12ba
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8813038
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "georgepaoli/CountLinesOfCode", "max_stars_repo_path": "CommandLineArgs/ParameterInformation.cs", "provenance": "train-00027-of-00045.jsonl.gz:132258" }
starcoder
<filename>CommandLineArgs/ParameterInformation.cs using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Text; using System.Threading.Tasks; namespace CommandLineArgs { public class ParameterInformation { // TODO: following tw...
2.759295
39c644ed4ffc1dea7da5720e045f1fc5
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8813039
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "KennanChan/Bimface.SDK", "max_stars_repo_path": "Bimface.SDK.Standard/Bimface.SDK/Utilities/AsyncLocker.cs", "provenance": "train-00027-of-00045.jsonl.gz:132259" }
starcoder
<filename>Bimface.SDK.Standard/Bimface.SDK/Utilities/AsyncLocker.cs<gh_stars>1-10 #region using System.Threading; using System.Threading.Tasks; using Bimface.SDK.Extensions; #endregion namespace Bimface.SDK.Utilities { /// <summary> /// A locker to ensure that only one thread can access the resource at ...
3.041229
50eaefc3c2c4983fbd00a16dbc806769
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8813040
{ "extension": "c-sharp", "max_stars_count": "4.0", "max_stars_repo_name": "easykeys/EasyKeys.Extensions", "max_stars_repo_path": "src/EasyKeys.Extensions.Data.Dapper/Sorting/SortingDirection.cs", "provenance": "train-00027-of-00045.jsonl.gz:132260" }
starcoder
namespace EasyKeys.Extensions.Data.Dapper.Sorting { public enum SortingDirection { Ascending, Descending } }
1.53132
3177b405033b03c97d3b2a4b9c54cbf1
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8813041
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "b-y-t-e/DynLan", "max_stars_repo_path": "DynLan/Evaluator/ExpressionEvaluator.cs", "provenance": "train-00027-of-00045.jsonl.gz:132261" }
starcoder
<reponame>b-y-t-e/DynLan using System; using System.Collections.Generic; using System.Linq; using System.Text; using DynLan; using DynLan.Classes; using DynLan.OnpEngine.Models; namespace DynLan.Evaluator { public static class ExpressionEvaluator { public static Boolean NextStep( DynContex...
2.106558
6a1e2e2461b5060c4b45ec92d63f565a
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8813042
{ "extension": "c-sharp", "max_stars_count": "43.0", "max_stars_repo_name": "MaguiSantosSilva-CAL/csharp-interfaces-resources", "max_stars_repo_path": "net50/module5/before/ExplicitImplementation/CatalogSaver/Library.cs", "provenance": "train-00027-of-00045.jsonl.gz:132262" }
starcoder
<filename>net50/module5/before/ExplicitImplementation/CatalogSaver/Library.cs using System; namespace CatalogSaver { public interface ISaveable { void Save(); } public class Catalog { } }
1.65588
bd3837bab4e12eb9e7f848460c43d042
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8813043
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "HNochev/SoftUni-CSharp-Software-Engineering", "max_stars_repo_path": "C# Advanced/C# OOP/Exercise 6 - SOLID/Logger/Factories/ErrorFactory.cs", "provenance": "train-00027-of-00045.jsonl.gz:132263" }
starcoder
<reponame>HNochev/SoftUni-CSharp-Software-Engineering namespace Exercise_6___SOLID.Factories { using System; using System.Globalization; using Contracts; using Exceptions; using Models.Contracts; using Models.Enumerations; using Models.Errors; public class ErrorFactory : IErrorFactory...
3.073114
5fdab6aca68049d25bd2c6dc9461ac26
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8813044
{ "extension": "c-sharp", "max_stars_count": "378.0", "max_stars_repo_name": "spacechase0/StardewMods", "max_stars_repo_path": "Common/Integrations/LineSprinklers/LineSprinklersIntegration.cs", "provenance": "train-00027-of-00045.jsonl.gz:132264" }
starcoder
<gh_stars>100-1000 using System.Collections.Generic; using Microsoft.Xna.Framework; using StardewModdingAPI; namespace Pathoschild.Stardew.Common.Integrations.LineSprinklers { /// <summary>Handles the logic for integrating with the Line Sprinklers mod.</summary> internal class LineSprinklersIntegration : BaseI...
2.231918
cb69e6b7fadbbc190364a9bc821aabd4
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8813045
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "alegaio7/JwtInsideCookie", "max_stars_repo_path": "UI/Pages/Account/Logout.cshtml.cs", "provenance": "train-00027-of-00045.jsonl.gz:132265" }
starcoder
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Authentication; using Microsoft.AspNetCore.Authentication.Cookies; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Mvc; using Mic...
1.922765
00e2ff006b3a2ea1407e961c7cbf7e4a
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8813046
{ "extension": "c-sharp", "max_stars_count": "117.0", "max_stars_repo_name": "alipay/alipay-sdk-net", "max_stars_repo_path": "AlipaySDKNet/Domain/NoInvoicePayOrder.cs", "provenance": "train-00027-of-00045.jsonl.gz:132266" }
starcoder
using System; using System.Xml.Serialization; namespace Aop.Api.Domain { /// <summary> /// NoInvoicePayOrder Data Structure. /// </summary> [Serializable] public class NoInvoicePayOrder : AopObject { /// <summary> /// 账单单据号 /// </summary> [XmlElemen...
1.525024
fb48da41806f889284be5b86d272550a
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8813047
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "CrudoDeV/Studies-C-", "max_stars_repo_path": "notas/notas/Program.cs", "provenance": "train-00027-of-00045.jsonl.gz:132267" }
starcoder
using System; namespace notas { class MainClass { public static void Main(string[] args) { double n1, n2, n3, media; Console.WriteLine("Digite três notas"); n1 = double.Parse(Console.ReadLine("nota1",n1)); n2 = double.Parse(Console.ReadLine("not...
2.62189
e8637b1c9f1d4e033db082646d0475e0
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8813048
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "KaloyanIT/FilmLibraryApp", "max_stars_repo_path": "FilmLibraryApp/FilmLibraryApp/Views/FilmView.xaml.cs", "provenance": "train-00027-of-00045.jsonl.gz:132268" }
starcoder
using System.Windows.Controls; namespace FilmLibraryApp.Views { /// <summary> /// Interaction logic for FilmView.xaml /// </summary> public partial class FilmView : UserControl { public FilmView() { this.InitializeComponent(); } } }
1.428931
74e8f72806aad8a7a4122a2a3144e620
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8813049
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "potatoorgylt/PhysicsImplementationWindAndDrag", "max_stars_repo_path": "Assets/Scripts/SystemInterface.cs", "provenance": "train-00027-of-00045.jsonl.gz:132269" }
starcoder
<filename>Assets/Scripts/SystemInterface.cs  public interface ISystemInterface { // Use this for initialization void Start(World world); // Update is called once per frame void Update(World world, float time = 0f, float deltaTime = 0f); }
2.110934
67069f3c2fb2ed9335b337605da961cb
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8813050
{ "extension": "c-sharp", "max_stars_count": "6.0", "max_stars_repo_name": "NamelessHoodie/FLVERSerializer", "max_stars_repo_path": "SoulsFormats/Formats/MSB/MSB3/PointParam.cs", "provenance": "train-00027-of-00045.jsonl.gz:132270" }
starcoder
using System; using System.Collections.Generic; using System.IO; using System.Numerics; namespace SoulsFormats { public partial class MSB3 { internal enum RegionType : uint { InvasionPoint = 1, EnvironmentMapPoint = 2, //Region3 = 3, Sound = 4, ...
2.457856
1f9f59564a5625eb142e2eb03ae89a14
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8813051
{ "extension": "c-sharp", "max_stars_count": "5.0", "max_stars_repo_name": "metaprov/modeldapi", "max_stars_repo_path": "lang/csharp/src/Github/Com/Metaprov/Modeldapi/Services/Modelpipeline/V1/Modelpipeline.g.cs", "provenance": "train-00027-of-00045.jsonl.gz:132271" }
starcoder
<gh_stars>1-10 // <auto-generated> // Generated by the protocol buffer compiler. DO NOT EDIT! // source: github.com/metaprov/modelaapi/services/modelpipeline/v1/modelpipeline.proto // </auto-generated> #pragma warning disable 1591, 0612, 3021 #region Designer generated code using pb = global::Google.Protobuf;...
1.528664
9d97becbae721ee6157f16d9ff8c5707
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8813052
{ "extension": "c-sharp", "max_stars_count": "4.0", "max_stars_repo_name": "pixeltris/ModTMNF", "max_stars_repo_path": "ModTMNF/Game/Classic/CClassicArchive.cs", "provenance": "train-00027-of-00045.jsonl.gz:132272" }
starcoder
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ModTMNF.Game { public struct CClassicArchive { public IntPtr Address; public CClassicArchive(IntPtr address) { Address = address; } public static implicit opera...
2.254934
c3b2db874f769f6adb2cb9cac710792a
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8813053
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "P-de-Jong/coravel", "max_stars_repo_path": "Demo/Controllers/SampleController.cs", "provenance": "train-00027-of-00045.jsonl.gz:132273" }
starcoder
<gh_stars>0 using System.Threading.Tasks; using Coravel.Queuing.Interfaces; using Demo.Invocables; using Demo.Models; using Microsoft.AspNetCore.Mvc; namespace Demo.Controllers { public class SampleController : Controller { private IQueue _queue; public SampleController(IQueue queue) {...
1.757142
f1d2b4c5991da1291864310e15d17ce7
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8813054
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "codetancy/GeekTextAPI", "max_stars_repo_path": "src/Web/Errors/UserDoesNotOwnResource.cs", "provenance": "train-00027-of-00045.jsonl.gz:132274" }
starcoder
namespace Web.Errors { public struct UserDoesNotOwnResource : IError { private const string ErrorTemplate = "User {0} does not own the requested resource."; public UserDoesNotOwnResource(string userName) { Message = string.Format(ErrorTemplate, userName); } ...
2.56888
ab337b81547203ccefef78a84fb418da
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8813055
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "davidsh/runtime", "max_stars_repo_path": "src/libraries/System.Text.Json/tests/Serialization/CollectionTests/CollectionTests.KeyValuePair.cs", "provenance": "train-00027-of-00045.jsonl.gz:132275" }
starcoder
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Collections.Generic; using System.Text.Encodings.Web; using Xunit; namespace System.Text.Json.Seriali...
2.645876
bc066cdde94501688184b2377b2b631c
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8813056
{ "extension": "c-sharp", "max_stars_count": "43.0", "max_stars_repo_name": "Fiusen/Loretta", "max_stars_repo_path": "src/Compilers/Core/Portable/InternalUtilities/SpecializedCollections.Empty.Collection.cs", "provenance": "train-00027-of-00045.jsonl.gz:132276" }
starcoder
<gh_stars>10-100 // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; namespace Loretta.Utilities { internal static partial class SpecializedCollections { private static...
2.461816
a5ab0132adcbfc2b850a55966921248b
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8813057
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "nayanshah/BuildXL", "max_stars_repo_path": "Public/Src/FrontEnd/TypeScript.Net/TypeScript.Net.UnitTests/Reformatter/FormattingTests.cs", "provenance": "train-00027-of-00045.jsonl.gz:132277" }
starcoder
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using TypeScript.Net.Reformatter; using TypeScript.Net.Types; using TypeScript.Net.UnitTests.Utils; using Xunit; namespace Test.DScript.Reformatter { pub...
2.470428
c893260f53639e5b10652d18bdcf73bf
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8813058
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "Tornadocraver/MSG_SERVER", "max_stars_repo_path": "MSG_SERVER/MSG_SERVER/Main.cs", "provenance": "train-00027-of-00045.jsonl.gz:132278" }
starcoder
<gh_stars>0 using System; using System.Collections.Generic; using System.Drawing; using System.Linq; using System.Security; using System.Threading; using System.Windows.Forms; using Microsoft.VisualBasic; namespace MSG_SERVER { public partial class Main : Form { #region Variables MsgServer cli...
1.889131
af6ddf6c92e698370c2c63d052974ead
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8813059
{ "extension": "c-sharp", "max_stars_count": "15.0", "max_stars_repo_name": "leegoonz/shaders", "max_stars_repo_path": "Runtime/InstancedPropertyBlocks.cs", "provenance": "train-00027-of-00045.jsonl.gz:132279" }
starcoder
#if !VRC_SDK_VRCSDK3 || UNITY_EDITOR using System; using System.Collections; using System.Collections.Generic; using UnityEditor; using UnityEngine; namespace z3y.Shaders { [ExecuteInEditMode, AddComponentMenu("z3y/Instanced Properties"), HelpURL("https://github.com/z3y/shaders/wiki/Avanced-Features#instanced-pr...
2.05846
e472108a1cac68d94634608308f68f26
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8813060
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "roboticeyes/ump-rex-rexfile-io", "max_stars_repo_path": "Assets/package/Runtime/RexFileReader/Utils.cs", "provenance": "train-00027-of-00045.jsonl.gz:132280" }
starcoder
<reponame>roboticeyes/ump-rex-rexfile-io /* * Copyright (c) 2019 Robotic Eyes GmbH software * * THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY * KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A * PARTICULAR PU...
2.614773
5a1ea37a5b0d62904b308fe4ccd8560d
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8813061
{ "extension": "c-sharp", "max_stars_count": "8.0", "max_stars_repo_name": "CG0323/jobboard.backend", "max_stars_repo_path": "src/jobboard.Data/Repositories/JobRepository.cs", "provenance": "train-00027-of-00045.jsonl.gz:132281" }
starcoder
<filename>src/jobboard.Data/Repositories/JobRepository.cs using jobboard.Data.Abstract; using jobboard.Model.Entities; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; namespace jobboard.Data.Repositories { public class JobReposi...
2.461452
4589ad2e25a7c0f8c61d7c7209a511a7
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8813062
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "chenqiangdage/YouGe.Core", "max_stars_repo_path": "YouGe.Core.DBEntitys/Sys/SysDictData.cs", "provenance": "train-00027-of-00045.jsonl.gz:132282" }
starcoder
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations.Schema; using System.Text; namespace YouGe.Core.DBEntitys.Sys { [Table("sys_dict_data")] public class SysDictData:BaseModel<int> { /// <summary> /// 字典编码 /// </summary> [Column("dict...
2.179622
21ffea44adf4b03240ac98eedaa0ea7c
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8813063
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "aredfox/ConvertToGSAK", "max_stars_repo_path": "Source/Backend/Kf.ConverToGSAK.Api.Tests/Gsak/GsakTestHelper.cs", "provenance": "train-00027-of-00045.jsonl.gz:132283" }
starcoder
<reponame>aredfox/ConvertToGSAK using System.Collections.Generic; using Kf.ConverToGSAK.Api.Gsak; namespace Kf.ConverToGSAK.Api.Tests.Gsak { public static class GsakTestHelper { public static GsakFile EmptyGsakFile => new GsakFile(); public static GsakFileLine EmptyGsakFileLine ...
1.957011
b4abb90c69874b532ba566e822f5bd88
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8813064
{ "extension": "c-sharp", "max_stars_count": "15.0", "max_stars_repo_name": "KuromeSan/corefx", "max_stars_repo_path": "src/System.Threading.ThreadPool/tests/ThreadPoolTests.netcoreapp.cs", "provenance": "train-00027-of-00045.jsonl.gz:132284" }
starcoder
<filename>src/System.Threading.ThreadPool/tests/ThreadPoolTests.netcoreapp.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 information. using System.Collections.Generic; usin...
2.25449
ca1958bcdcb52920a2b20b24153d17c7
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8813065
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "Dot42Xna/master", "max_stars_repo_path": "Dot42/Internal/EnumInfo.cs", "provenance": "train-00027-of-00045.jsonl.gz:132285" }
starcoder
// Copyright (C) 2014 dot42 // // Original filename: EnumInfo.cs // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requir...
2.437825
d8d45442dff7d3db975914d950a41bd0
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8813066
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "panuoksala/csharp-driver", "max_stars_repo_path": "src/Cassandra/ReplicationStrategies.cs", "provenance": "train-00027-of-00045.jsonl.gz:132286" }
starcoder
// // Copyright (C) DataStax Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable la...
2.559228
d070f31c8d6f2203b9a6e34f41769152
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8813067
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "caxe/BookCatalog", "max_stars_repo_path": "BookCatalog/BookCatalog/GlobalMethods/LoadGenres.cs", "provenance": "train-00027-of-00045.jsonl.gz:132287" }
starcoder
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using BookCatalog.Models; namespace BookCatalog.GlobalMethods { public class Load { private ApplicationDbContext db = new ApplicationDbContext(); public SelectList LoadDropDownGenre(object selectedGenre =...
2.418258
f58ac1cf12f8d4e718f6a07f79b039f0
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8813068
{ "extension": "c-sharp", "max_stars_count": "6.0", "max_stars_repo_name": "345paul/aimmodel", "max_stars_repo_path": "tests/Microsoft.AzureIntegrationMigration.ApplicationModel.Tests/LiquidSnippetRendererFeature.cs", "provenance": "train-00027-of-00045.jsonl.gz:132288" }
starcoder
// Copyright (c) Microsoft Corporation. // Licensed under the MIT license. using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading; using FluentAssertions; using Microsoft.AzureIntegrationMigration.ApplicationModel.Generator; using Microsoft.AzureInt...
1.915527
95f701b887d4acf9d2ac3dc8d599e545
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8813069
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "git-custom-code/AutomatedTesting", "max_stars_repo_path": "src/AutomatedTesting.Mocks/Interception/Async/AsyncGenericValueTaskInvocation.cs", "provenance": "train-00027-of-00045.jsonl.gz:132289" }
starcoder
namespace CustomCode.AutomatedTesting.Mocks.Interception.Async { using Interception.ReturnValue; using System.Threading.Tasks; /// <summary> /// Implementation of an <see cref="IInvocationFeature"/> for invocations of asynchronous methods /// that return a <see cref="ValueTask{TResult}"/>. /// ...
2.261907
209d6371080c42227056ad5a2847deb5
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8813070
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "sdrmaps/dotspatial", "max_stars_repo_path": "Source/DotSpatial.Positioning/NetworkDevice.cs", "provenance": "train-00027-of-00045.jsonl.gz:132290" }
starcoder
// ******************************************************************************************************** // Product Name: DotSpatial.Positioning.dll // Description: A library for managing GPS connections. // ********************************************************************************************************...
2.265408
a5d6790bab94e30435374d877f1d2450
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8813071
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "jvirico/augmented-reality-poc-unity", "max_stars_repo_path": "src/Library/PackageCache/com.unity.scriptablebuildpipeline@1.7.3/Tests/Editor/CacheServer/ByteArrayStream.cs", "provenance": "train-00027-of-00045.jsonl.gz:132291" }
starcoder
using System; using System.Diagnostics; using System.IO; using System.Security.Cryptography; namespace UnityEditor.CacheServerTests { internal class ByteArrayStream : Stream { private int m_pos; public override bool CanRead { get { return true; } ...
2.718339
b4f2ad1843d1895b48883b238fe2700a
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8813072
{ "extension": "c-sharp", "max_stars_count": "296.0", "max_stars_repo_name": "Andre-Capjoy/GMap.NET", "max_stars_repo_path": "GMap.NET/GMap.NET.Core/SizeLatLng.cs", "provenance": "train-00027-of-00045.jsonl.gz:132292" }
starcoder
<filename>GMap.NET/GMap.NET.Core/SizeLatLng.cs using System.Globalization; namespace GMap.NET { /// <summary> /// the size of coordinates /// </summary> public struct SizeLatLng { public static readonly SizeLatLng Empty; public SizeLatLng(SizeLatLng size) { ...
3.513972
8a319257f979d684fb9e5ddee9ff0a86
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8813073
{ "extension": "c-sharp", "max_stars_count": "572.0", "max_stars_repo_name": "awei1688/aliyun-openapi-net-sdk", "max_stars_repo_path": "aliyun-net-sdk-rtc/Rtc/Transform/V20180111/DescribeRtcChannelMetricResponseUnmarshaller.cs", "provenance": "train-00027-of-00045.jsonl.gz:132293" }
starcoder
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
1.166306
44f1aebc4e6f63df2c6f98f215be9913
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8813074
{ "extension": "c-sharp", "max_stars_count": "88.0", "max_stars_repo_name": "ZaynMalik1/Blumind", "max_stars_repo_path": "Code/Blumind/ChartControls/ChartOverviewBox.cs", "provenance": "train-00027-of-00045.jsonl.gz:132294" }
starcoder
<filename>Code/Blumind/ChartControls/ChartOverviewBox.cs using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Text; using System.Windows.Forms; namespace Blumind.Controls { class ChartOverviewBox : BaseControl, IIconProvider { ScrollableContro...
2.175979
d69aad72b2896e03d8dd23d3557ff645
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8813075
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "undersoft-org/NET.Undersoft.Dors", "max_stars_repo_path": "Undersoft.Doors.Fwk/Data/Afectors/Sql/Afector/SqlAfector.cs", "provenance": "train-00027-of-00045.jsonl.gz:132295" }
starcoder
using System.Linq; using System.Data.SqlClient; namespace System.Doors.Data.Afectors.Sql { public class SqlAfector { private string cnString; private SqlConnection sqlcn; private Afect afect; private AfectUpdate nUpdate; private AfectInsert nInsert; private Afec...
2.450897
9dc2dd4ac98f7f24c5ff26f938e5e6d1
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8813076
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "ocoanet/nunit", "max_stars_repo_path": "src/NUnitFramework/framework/Internal/Execution/SimpleWorkItem.cs", "provenance": "train-00027-of-00045.jsonl.gz:132296" }
starcoder
<gh_stars>1-10 // *********************************************************************** // Copyright (c) 2012-2018 <NAME>, <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 witho...
2.062935
02c9060f03331e54c159769fef07417b
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8813077
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "CharlesZHENG/Geckofx", "max_stars_repo_path": "Geckofx-Core/WebIDL/Generated/Location.cs", "provenance": "train-00027-of-00045.jsonl.gz:132297" }
starcoder
namespace Gecko.WebIDL { using System; public class Location : WebIDLBase { public Location(nsISupports thisObject) : base(thisObject) { } public USVString Href { get { ...
1.648319
0fb8621c17d3e856f4af0b97e44323c7
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8813078
{ "extension": "c-sharp", "max_stars_count": "18.0", "max_stars_repo_name": "kkwpsv/lsjutil", "max_stars_repo_path": "Src/Lsj.Util.JSON/CustomSerializeAttribute.cs", "provenance": "train-00027-of-00045.jsonl.gz:132298" }
starcoder
using System; namespace Lsj.Util.JSON { /// <summary> /// Custom Seriailize Attribute /// </summary> [AttributeUsage(AttributeTargets.Property, AllowMultiple = false)] public class CustomSerializeAttribute : Attribute { /// <summary> /// Serializer Type /// </summary> ...
2.629347
c2bc424f88b2651904abc143817bf10f
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8813079
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "fabioerter/Sample", "max_stars_repo_path": "GAB.Default.Domain.Core/Interfaces/Repositories/IRepository.cs", "provenance": "train-00027-of-00045.jsonl.gz:132299" }
starcoder
using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; namespace $safeprojectname$.Interfaces.Repositories { public interface IRepository<TEntity> : IDisposable where TEntity : class { void Delete(Guid id); void Delete(TEntity obj); ...
2.232565
5f0032e42a7a0d723b5d1569de366484
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8813080
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "Infosys/Intelligent-Bot-Management-", "max_stars_repo_path": "Data Integration Framework/ParserGen/ParserGenerator UI/Configurations/XsdObjectGeneratorConfig.cs", "provenance": "train-00027-of-00045.jsonl.gz:132300" }
starcoder
<reponame>Infosys/Intelligent-Bot-Management-<filename>Data Integration Framework/ParserGen/ParserGenerator UI/Configurations/XsdObjectGeneratorConfig.cs using System; using System.Collections; using System.Xml.Serialization; /**************************************************************** * This file is a part of th...
2.14518
db05ff119360d64dcaaad8c48f73855d
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8813081
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "Allann/OrchardCore.Commerce", "max_stars_repo_path": "OrchardCore.Commerce/Serialization/PrioritizedPriceConverter.cs", "provenance": "train-00027-of-00045.jsonl.gz:132301" }
starcoder
<reponame>Allann/OrchardCore.Commerce using Money; using OrchardCore.Commerce.Models; using System; using System.Text.Json; using System.Text.Json.Serialization; namespace OrchardCore.Commerce.Serialization; internal class PrioritizedPriceConverter : JsonConverter<PrioritizedPrice> { private const strin...
2.603956
0cc3ca24614d9d3f66855b408af93d9b
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8813082
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "Dojo-Engineering/source-generators", "max_stars_repo_path": "Dojo.OpenApiGenerator/Exceptions/NotFoundApiException.cs", "provenance": "train-00027-of-00045.jsonl.gz:132302" }
starcoder
<filename>Dojo.OpenApiGenerator/Exceptions/NotFoundApiException.cs using System; using Microsoft.AspNetCore.Http; namespace Dojo.OpenApiGenerator.Exceptions { public class NotFoundApiException : ApiException { public NotFoundApiException() : base(StatusCodes.Status404NotFound) { } ...
2.245924
82245d315c6c5812f0e696145c57a5c3
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8813083
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "gsgfintech/utils", "max_stars_repo_path": "Utils/TimeProvider.cs", "provenance": "train-00027-of-00045.jsonl.gz:132303" }
starcoder
<filename>Utils/TimeProvider.cs using System; namespace Net.Teirlinck.Utils { public interface ITimeProvider { DateTimeOffset Now(); DateTime Today(); void SetCurrentTime(DateTimeOffset time); void SetCurrentTime(int year, int month, int day, int hours, TimeSpan offset, int ...
3.213728
d98b88fb73158c5b7999d7ca737bc632
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8813084
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "KnJbMfLAgdkwZL/iLearningSolution", "max_stars_repo_path": "Business/Dto/Options/UploadOptions.cs", "provenance": "train-00027-of-00045.jsonl.gz:132304" }
starcoder
<filename>Business/Dto/Options/UploadOptions.cs namespace Business.Dto.Options; public class UploadOptions { public string DropBoxAccessToken { get; set; } = string.Empty; public string MegaEmail { get; set; } = string.Empty; public string MegaPassword { get; set; } = string.Empty; public string AzureS...
1.633188
9a72beea0f423b204d97758e75bb42b4
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8813085
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "ekovalenko-softheme/mono", "max_stars_repo_path": "mcs/tools/monodoc/Lucene.Net/Lucene.Net/Search/TopScoreDocCollector.cs", "provenance": "train-00027-of-00045.jsonl.gz:132305" }
starcoder
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
2.330736
d284015bea583165481ad7b4985b2c0c
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8813086
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "ItzWarty/Constructors", "max_stars_repo_path": "Constructors/ConstructorParameterEqualityComparer.cs", "provenance": "train-00027-of-00045.jsonl.gz:132306" }
starcoder
<gh_stars>0 using System.Collections.Generic; using Mono.Cecil; namespace Constructors.Fody { public class ConstructorParameterEqualityComparer : IEqualityComparer<ParameterDefinition> { public bool Equals(ParameterDefinition x, ParameterDefinition y) { return x.ParameterType.Equals(y.ParameterType);...
1.970258
da729c5c791dbb0b690a71ff52c3a3d4
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8813087
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "nguyenvanhieuvn/QuanLyThuVien", "max_stars_repo_path": "QLTV.DLL/DocGiaDLL.cs", "provenance": "train-00027-of-00045.jsonl.gz:132307" }
starcoder
<filename>QLTV.DLL/DocGiaDLL.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using QLTV.Entity; using QLTV.DAL; namespace QLTV.DLL { public class DocGiaDLL { DocGiaDAL obj = new DocGiaDAL(); public List<DocGia> getAll(Stri...
2.024155
37160bf52dec6e87da80b2635bdf4af9
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8813088
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "piql/tusdotnet", "max_stars_repo_path": "Source/tusdotnet/Helpers/Internal/EventHelper.cs", "provenance": "train-00027-of-00045.jsonl.gz:132308" }
starcoder
<reponame>piql/tusdotnet<gh_stars>0 using System; using System.Threading.Tasks; using tusdotnet.Adapters; using tusdotnet.Extensions; using tusdotnet.Models; using tusdotnet.Models.Configuration; using System.Reflection; using System.Collections.Generic; namespace tusdotnet.Helpers { internal static class EventHe...
2.004233
86aacdd985a0521f8f704376f9bb5e40
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8813089
{ "extension": "c-sharp", "max_stars_count": "251.0", "max_stars_repo_name": "wanjabachmann/sccmclictr", "max_stars_repo_path": "SCCMCliCtrWPF/SCCMCliCtrWPF/Controls/SWStatusGrid.xaml.cs", "provenance": "train-00027-of-00045.jsonl.gz:132309" }
starcoder
<gh_stars>100-1000 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging; ...
1.859705
b9eab3ebedd4d171bce96645762e561e
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8813090
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "Minskaya/Cinch", "max_stars_repo_path": "sourceCode/cinch/V1 (VS2008 WPF Only)/cinch/MVVM.ViewModels/ViewModels/MainWindowViewModel.cs", "provenance": "train-00027-of-00045.jsonl.gz:132310" }
starcoder
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Collections.Specialized; using System.ComponentModel; using System.Windows; using System.Windows.Data; using Cinch; using MVVM.Models; namespace MVVM.ViewModels { public delegate void DummyDelegate(Boolean dummy)...
2.525403
8190a461e5539fe4a210bca5369335dd
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8813091
{ "extension": "c-sharp", "max_stars_count": "7.0", "max_stars_repo_name": "beethoven21/managedCuda", "max_stars_repo_path": "Samples/ManagedCudaSamples/FluidsGLCSharp/Form1.cs", "provenance": "train-00027-of-00045.jsonl.gz:132311" }
starcoder
<gh_stars>1-10 /* * This software contains source code provided by NVIDIA Corporation. * FluidsGLCSharp is a C# port of fluidsGL from the CUDA SDK using * the ManagedCUDA and OpenTK libraries. */ using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing;...
2.132263
8e36a072da86799485345a322c43aa77
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8813092
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "budgetdevv/Sdk", "max_stars_repo_path": "UnluacNET/Decompile/Statement/FunctionCallStatement.cs", "provenance": "train-00027-of-00045.jsonl.gz:132312" }
starcoder
<reponame>budgetdevv/Sdk<gh_stars>0 // Copyright (c) 2020-2021, Els_kom org. // https://github.com/Elskom/ // All rights reserved. // license: see LICENSE for more details. namespace Elskom.Generic.Libs.UnluacNET { using System.Diagnostics.CodeAnalysis; [SuppressMessage("StyleCop.CSharp.DocumentationRules", ...
2.175493
d3daf2da94aa8dad5040bba9f7cba5ac
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8813093
{ "extension": "c-sharp", "max_stars_count": "50.0", "max_stars_repo_name": "thefringeninja/jschema", "max_stars_repo_path": "src/Json.Schema.ToDotNet/PropertyInfoDictionary.cs", "provenance": "train-00027-of-00045.jsonl.gz:132313" }
starcoder
// Copyright (c) Microsoft Corporation. All Rights Reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections; using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; using Microsof...
2.804249
2e8b22b0f7c6ee2cb3f7a1ce75d82257
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8813094
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "v-kaifazhang/azure-sdk-for-net", "max_stars_repo_path": "sdk/formrecognizer/Azure.AI.FormRecognizer/src/Generated/DocumentAnalysisRestClient.cs", "provenance": "train-00027-of-00045.jsonl.gz:132314" }
starcoder
<gh_stars>0 // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; using System.IO; using System.Text.Json; using System.Threading; using System.Threading.Tasks; using Azure; using Azure.AI.FormRecognizer; using Azure.Core;...
2.039489
d0742821e3040a77ab353e107ebb2ebe
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8813095
{ "extension": "c-sharp", "max_stars_count": "3.0", "max_stars_repo_name": "timoles/codeql", "max_stars_repo_path": "csharp/extractor/Semmle.Util/StringExtensions.cs", "provenance": "train-00027-of-00045.jsonl.gz:132315" }
starcoder
<reponame>timoles/codeql<gh_stars>1-10 using System.Collections.Generic; using System.Linq; namespace Semmle.Util { public static class StringExtensions { public static (string, string) Split(this string self, int index0) { var split = self.Split(new[] { index0 }); retur...
2.809877
4988c4a25f8b63c6431dff5a74242c5c
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8813096
{ "extension": "c-sharp", "max_stars_count": "124.0", "max_stars_repo_name": "Steph55/DirectN", "max_stars_repo_path": "DirectN/DirectN/Generated/IVMRMixerBitmap.cs", "provenance": "train-00027-of-00045.jsonl.gz:132316" }
starcoder
<filename>DirectN/DirectN/Generated/IVMRMixerBitmap.cs // c:\program files (x86)\windows kits\10\include\10.0.22000.0\um\strmif.h(21146,5) using System; using System.Runtime.InteropServices; namespace DirectN { [ComImport, Guid("1e673275-0257-40aa-af20-7c608d4a0428"), InterfaceType(ComInterfaceType.Interfac...
1.578821
1faaa497ab408131adc134f637b07171
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8813097
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "leroyvandijk/LockUnlockPowerProfile", "max_stars_repo_path": "src/LockUnlockPowerProfile/Services/PluginService.cs", "provenance": "train-00027-of-00045.jsonl.gz:132317" }
starcoder
using LockUnlockPowerProfile.Interfaces; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; using LockUnlockPowerProfile.Models; namespace LockUnlockPowerProfile.Services { internal class PluginService { // Dictionary with plugins. Bool in dictionary repre...
2.865589
5d5644a2ee8af5679f5bf0f186304183
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8813098
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "hulukaihuaba/DataPithy", "max_stars_repo_path": "Ivony.Data.SqlQueries/SqlDom/Expressions/SqlConstantExpression.cs", "provenance": "train-00027-of-00045.jsonl.gz:132318" }
starcoder
<reponame>hulukaihuaba/DataPithy<gh_stars>0 using System; using System.Linq.Expressions; namespace Ivony.Data.SqlQueries.SqlDom.Expressions { public sealed class SqlConstantExpression : SqlValueExpression { internal SqlConstantExpression( object value ) { Value = value ?? System.DBNull.Value; }...
1.914078
475a66a4ba7688300d8a1db9bf20ff6f
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8813099
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "ryanheath/ravendb", "max_stars_repo_path": "src/Raven.Server/Documents/Indexes/IndexMerging/IndexVisitor.cs", "provenance": "train-00027-of-00045.jsonl.gz:132319" }
starcoder
using System.Collections.Generic; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.Syntax; namespace Raven.Server.Documents.Indexes.IndexMerging { internal class IndexVisitor : CSharpSyntaxVisitor { private readonly IndexData _indexData; public IndexVisitor(I...
2.049268
4483df4d37b54198acf5c72d0cc5adf2
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8813100
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "farislr/Ryujinx", "max_stars_repo_path": "Ryujinx.Graphics.GAL/Format.cs", "provenance": "train-00027-of-00045.jsonl.gz:132320" }
starcoder
<gh_stars>0 namespace Ryujinx.Graphics.GAL { public enum Format { R8Unorm, R8Snorm, R8Uint, R8Sint, R16Float, R16Unorm, R16Snorm, R16Uint, R16Sint, R32Float, R32Uint, R32Sint, R8G8Unorm, R8G8Snorm, ...
1.214444
5c9660ef29b7f4b6332aec4787545caf
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8813101
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "denmitchell/ConfigCore", "max_stars_repo_path": "src/ConfigCore/DbSource/SqlClientAdo.cs", "provenance": "train-00027-of-00045.jsonl.gz:132321" }
starcoder
 using ConfigCore.Models; using System; using System.Collections.Generic; using System.ComponentModel; using Microsoft.Data.SqlClient; using System.Text; namespace ConfigCore.DbSource { public interface ISqlClientAdo { List<ConfigSetting> GetDbRows(); } public class SqlClientAdo : ISqlClient...
2.744627
d387f7a6318fca58d99d740ca6deeae8
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8813102
{ "extension": "c-sharp", "max_stars_count": "5.0", "max_stars_repo_name": "jornletnes/pull-request-monitor", "max_stars_repo_path": "PullRequestMonitor/Factories/ITrayIconFactory.cs", "provenance": "train-00027-of-00045.jsonl.gz:132322" }
starcoder
using PullRequestMonitor.Model; namespace PullRequestMonitor.Factories { public interface ITrayIconFactory { ITrayIcon Create(IMonitor monitor); void Release(ITrayIcon trayIcon); } }
1.640282
786db39b84be6676d4e8fab02077db48
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8813103
{ "extension": "c-sharp", "max_stars_count": "6.0", "max_stars_repo_name": "nebusokuhibari/Adaptive-Code-Unity", "max_stars_repo_path": "99-Main/Assets/Scripts/Input/InputBase.cs", "provenance": "train-00027-of-00045.jsonl.gz:132323" }
starcoder
<gh_stars>1-10 using System.Collections; using System.Collections.Generic; using UnityEngine; public class InputBase : MonoBehaviour { virtual public Vector2 Move { get { return new Vector2(); } } }
1.677695
acbd576a340dccdf24abfe12f0dd0f64
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8813104
{ "extension": "c-sharp", "max_stars_count": "300.0", "max_stars_repo_name": "WeihanLi/dotnet-monitor", "max_stars_repo_path": "src/Microsoft.Diagnostics.Monitoring.WebApi/EncodingCache.cs", "provenance": "train-00027-of-00045.jsonl.gz:132324" }
starcoder
<reponame>WeihanLi/dotnet-monitor<gh_stars>100-1000 // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Text; namespace Microsoft.Diagnostics.Monitoring....
1.426017
a3099290e890bed96a41c59377f2e7e9
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8813105
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "BostonPublicSchools/EdFi-to-OneRoster-Utility", "max_stars_repo_path": "EF2OR/Providers/WebUserProvider.cs", "provenance": "train-00027-of-00045.jsonl.gz:132325" }
starcoder
<gh_stars>0 using EF2OR.Utils; using Microsoft.AspNet.Identity; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace EF2OR.Providers { internal class WebUserProvider : IUserProvider { string IUserProvider.IpAddress { ...
1.700532
d907ea1b6f11b00e9d1176c5eec56822
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8813106
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "shearnie/azres", "max_stars_repo_path": "azres/Program.cs", "provenance": "train-00027-of-00045.jsonl.gz:132326" }
starcoder
<reponame>shearnie/azres using Newtonsoft.Json; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace azres { class Program { static void Main(string[] args) { var fin = "d:\\all.txt"; // args[...
2.936583
3a14731810becc0a53b6d733654faebd
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8813107
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "vsugrob/GrabbingDolls", "max_stars_repo_path": "Assets/Scripts/Arm/ArmIdleController.cs", "provenance": "train-00027-of-00045.jsonl.gz:132327" }
starcoder
using UnityEngine; using System.Collections; // TODO: consider making base class managing armIKController, muscleTensionController, Stretch and Relax. [RequireComponent ( typeof ( ArmIKController ), typeof ( MuscleTensionController ) )] public class ArmIdleController : MonoBehaviour { public Transform Chest; public...
2.047403
d3c5bdc06c0c9924492674f38bf07242
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8813108
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "929496959/Open-XML-SDK", "max_stars_repo_path": "src/DocumentFormat.OpenXml/GeneratedCode/schemas-microsoft-com_office_powerpoint.g.cs", "provenance": "train-00027-of-00045.jsonl.gz:132328" }
starcoder
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. #nullable enable #pragma warning disable CS0618 // Type or member is obsolete using DocumentFormat.OpenXml; using DocumentFormat.OpenXml.Framework; using DocumentFor...
2.289903
38e1fc2202fd1ec0a28c5cda93f5c5f1
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8813109
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "andrepaulovich/includedayservices", "max_stars_repo_path": "IncludeDay.Data/Entities/Feedback.cs", "provenance": "train-00027-of-00045.jsonl.gz:132329" }
starcoder
<reponame>andrepaulovich/includedayservices using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; namespace IncludeDay.Data.Entities { public class Feedback { [Key] public int Id { get; set; } public int Loc...
1.4681
6bc2d2621ac7d2c68f97572589c07050
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8813110
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "AJH16/tokenizer", "max_stars_repo_path": "Tokenizer.Tests/Validators/IsPhoneNumberValidatorTests.cs", "provenance": "train-00027-of-00045.jsonl.gz:132330" }
starcoder
using NUnit.Framework; namespace Tokens.Validators { [TestFixture] public class IsPhoneNumberValidatorTests { private IsPhoneNumberValidator validator; [SetUp] public void SetUp() { validator = new IsPhoneNumberValidator(); } [Test] pub...
2.620177
54e0803911015fa72b13e077ff9ac3f4
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8813111
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "dapathy/ffdc-sample-csharp", "max_stars_repo_path": "ffdc-client-credentials/src/Views/Data/results.cshtml", "provenance": "train-00027-of-00045.jsonl.gz:132331" }
starcoder
@model ffdc_client_credentials.Models.Countries @{ ViewData["Title"] = "results"; Layout = "~/Views/_Layout.cshtml"; } <main class="main"> <div class="row"> @foreach (var result in Model.countries) { <div class="col-lg-2 col-md-4 col-sm-6"> <div class="card"> ...
2.561827
4d2483120b6b7678c10428653d56b007
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8813112
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "rpaschoal/net-core-containerized-back-office", "max_stars_repo_path": "ContainerizedNetCore/Infrastructure.CrossCutting/Extensions/EnumExtensions.cs", "provenance": "train-00027-of-00045.jsonl.gz:132332" }
starcoder
<filename>ContainerizedNetCore/Infrastructure.CrossCutting/Extensions/EnumExtensions.cs using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Infrastructure.CrossCutting.Extensions { public static class EnumUtility { /// <summary> /// Return...
3.391117
a5abb18c1b6e76b05e8229dfd37c53bf
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8813113
{ "extension": "c-sharp", "max_stars_count": "52.0", "max_stars_repo_name": "Technoguyfication/Minecraft-Unity3D", "max_stars_repo_path": "Minecraft Client/Assets/_Project/Scripts/Protocol/Packets/Clientbound/SpawnPlayerPacket.cs", "provenance": "train-00027-of-00045.jsonl.gz:132333" }
starcoder
<gh_stars>10-100 using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; /// <summary> /// Spawns a player on the client /// </summary> public class SpawnPlayerPacket : Packet { public int EntityID { get; set; } public Guid PlayerUUID { ge...
2.520026
31e5d00d73538378052f7c2dcb939e92
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8813114
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "romarioGI/diploma", "max_stars_repo_path": "source/ParserSubsystem/ParsingContext.cs", "provenance": "train-00027-of-00045.jsonl.gz:132334" }
starcoder
using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; namespace ParserSubsystem { internal class ParsingContext { public const int NotFound = -1; private readonly ImmutableArray<Lexeme> _lexemes; private readonly int _begin; priv...
2.940235
ae2862eba9ee7fa14e72ca42b7f84ec4
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8813115
{ "extension": "c-sharp", "max_stars_count": "3.0", "max_stars_repo_name": "timotheyca/TMGmod", "max_stars_repo_path": "build/src/NY/Peppergun.cs", "provenance": "train-00027-of-00045.jsonl.gz:132335" }
starcoder
using DuckGame; using JetBrains.Annotations; using TMGmod.Core.WClasses; namespace TMGmod.NY { [EditorGroup("TMG|Misc|Holiday")] [UsedImplicitly] // ReSharper disable once InconsistentNaming public class PPLMG : BaseLmg { public PPLMG (float xval, float yval) : base(xval, yval) ...
1.966895
308a4355e113ff584ba8ff022f014650
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8813116
{ "extension": "c-sharp", "max_stars_count": "7.0", "max_stars_repo_name": "cassidydotdk/Sym2018", "max_stars_repo_path": "src/Project/Website/Components/Jumbotron/JumbotronController.cs", "provenance": "train-00027-of-00045.jsonl.gz:132336" }
starcoder
using System.Web.Mvc; using Project.Website.Components.TopNavigation; using Sitecore.Data.Fields; using Sitecore.Data.Items; namespace Project.Website.Components.Jumbotron { public class JumbotronController : ComponentController { private readonly NavigationRepository _navigationRepository; public J...
2.130127
3d29f7559675c0cf576236b811ac7b5a
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8813117
{ "extension": "c-sharp", "max_stars_count": "13846.0", "max_stars_repo_name": "tomaswesterlund/aspnetcore", "max_stars_repo_path": "src/Mvc/shared/Mvc.Views.TestCommon/TestFileChangeToken.cs", "provenance": "train-00027-of-00045.jsonl.gz:132337" }
starcoder
<filename>src/Mvc/shared/Mvc.Views.TestCommon/TestFileChangeToken.cs // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System; namespace Microsoft.Extensions.Primitives { public class TestFileChangeToken : IChangeToken ...
1.920342
27ae35078d7fa24f53722b9929661aec