added
string
created
string
id
string
metadata
dict
source
string
text
string
code-score
float64
md5
string
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8831512
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "cmygla/c_training", "max_stars_repo_path": "mantis_tests/mantis_tests/appmanager/ProjectManagementHelper.cs", "provenance": "train-00027-of-00045.jsonl.gz:150732" }
starcoder
<filename>mantis_tests/mantis_tests/appmanager/ProjectManagementHelper.cs<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using OpenQA.Selenium; using System.Text.RegularExpressions; namespace mantis_tests { public class ProjectManage...
2.519954
3e3b55d3034525f881596ac2ed8addb9
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8831513
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "RSchwoerer/snippets", "max_stars_repo_path": "WPF Flexible StackPanel/FlexStackPanelApp/ResourceKey.cs", "provenance": "train-00027-of-00045.jsonl.gz:150733" }
starcoder
// Copyright (c) 2013 xmetropol. // This code is distributed under the Microsoft Public License (Ms-PL). // All rights reserved. using System; using System.Windows.Markup; namespace xMetropol.Util.XamlExtensions { public class ResourceKey : MarkupExtension { public object Value { get; set; } public over...
1.648061
0e603a2ca006036720af9d7eabcb8cde
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8831514
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "pokornysimon/NetfoxDetective", "max_stars_repo_path": "NetfoxCore/Detective/App/Netfox.Detective/ViewModelsDataEntity/Exports/ModelWrappers/ChatMessageVm.cs", "provenance": "train-00027-of-00045.jsonl.gz:150734" }
starcoder
using Castle.Windsor; using Netfox.Core.Interfaces.Model.Exports; namespace Netfox.Detective.ViewModelsDataEntity.Exports.ModelWrappers { public class ChatMessageVm : DetectiveDataEntityViewModelBase { public ChatMessageVm(WindsorContainer applicationWindsorContainer) : base(applicationWindsorContaine...
1.627513
5040dd64e56c5ea2f415b44e755024a8
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8831515
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "fluffy-mods/MusicManager", "max_stars_repo_path": "Source/DebugLog.cs", "provenance": "train-00027-of-00045.jsonl.gz:150735" }
starcoder
namespace MusicManager { internal static class Log { [System.Diagnostics.Conditional("DEBUG")] public static void Debug(string msg) { Message(msg); } public static void Message(string msg) { Verse.Log.Message($"MusicManager :: {msg}"); } publ...
2.368395
536f816961fe8c6ac7bfb97fe3a1c272
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8831516
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "mmcconnell1618/BV-Commerce-Community", "max_stars_repo_path": "App/source/BVSoftware.CommerceDTO/v1/Catalog/PageOfProducts.cs", "provenance": "train-00027-of-00045.jsonl.gz:150736" }
starcoder
<filename>App/source/BVSoftware.CommerceDTO/v1/Catalog/PageOfProducts.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace BVSoftware.CommerceDTO.v1.Catalog { public class PageOfProducts { public List<ProductDTO> Products { get; set; } pu...
2.276617
c16e550affb3dce1b976fcde8de0b6ad
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8831517
{ "extension": "c-sharp", "max_stars_count": "22.0", "max_stars_repo_name": "FDYdarmstadt/BoSSS", "max_stars_repo_path": "src/Utils/MatrixVisualizer/MatrixVisualizer/VisualizationProvider.cs", "provenance": "train-00027-of-00045.jsonl.gz:150737" }
starcoder
<reponame>FDYdarmstadt/BoSSS<filename>src/Utils/MatrixVisualizer/MatrixVisualizer/VisualizationProvider.cs using BoSSS.Foundation; using BoSSS.Platform; using ilPSP; using ilPSP.LinSolvers; using ilPSP.Utils; using System.Drawing; using System.Globalization; using System.Windows.Forms; namespace MatrixVisual...
2.677265
073fd742eaafc6bc30c2db7ea5abb82e
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8831518
{ "extension": "c-sharp", "max_stars_count": "43.0", "max_stars_repo_name": "strongstrongyiwen/Windows-universal-samples", "max_stars_repo_path": "Samples/LanguageFont/cs/localfontinfo.cs", "provenance": "train-00027-of-00045.jsonl.gz:150738" }
starcoder
<gh_stars>10-100 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Windows.Globalization.Fonts; using Windows.Graphics.Display; using Windows.UI.Xaml; using Windows.UI.Text; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Data; us...
2.220207
ffcdb9fd00a40b5dc41317bc32347f25
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8831519
{ "extension": "c-sharp", "max_stars_count": "27.0", "max_stars_repo_name": "SteveSandersonMS/dotnetfoundation-website", "max_stars_repo_path": "src/Models/MeetupEvent.cs", "provenance": "train-00027-of-00045.jsonl.gz:150739" }
starcoder
<filename>src/Models/MeetupEvent.cs<gh_stars>10-100 using Newtonsoft.Json; using System; using System.Collections.Generic; namespace dotnetfoundation.Models { public partial class MeetupEventData { [JsonProperty("results")] public List<MeetupEvent> Results { get; set; } [JsonProperty(...
2.253672
24e36accb02804ec50131492933dafb8
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8831520
{ "extension": "c-sharp", "max_stars_count": "6.0", "max_stars_repo_name": "shniqq/terrain-generation", "max_stars_repo_path": "Runtime/Modifiers/Texture/ToBlackWhite.cs", "provenance": "train-00027-of-00045.jsonl.gz:150740" }
starcoder
<filename>Runtime/Modifiers/Texture/ToBlackWhite.cs using System; using UnityEngine; namespace TerrainGeneration.Modifiers.Texture { [Serializable] public class ToBlackWhite : AbstractTextureModifier { [SerializeField, Range(0, 1)] private float _threshold = 0.5f; protected override float ...
2.513364
d1305586751d389a6b9a22005102da08
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8831521
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "djfdyuruiry/go-figure", "max_stars_repo_path": "GoFigure.App/Views/Controls/SolutionView.xaml.cs", "provenance": "train-00027-of-00045.jsonl.gz:150741" }
starcoder
using System.Windows.Controls; namespace GoFigure.App.Views.Controls { public partial class SolutionView : UserControl { public SolutionView() => InitializeComponent(); } }
1.234905
684c182c7a8ec5c4856926cf68a6fe1b
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8831522
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "davidaramant/tiledriver", "max_stars_repo_path": "src/Tiledriver.Core.Tests/FormatModels/Textures/Writing/TextureWriterTests.cs", "provenance": "train-00027-of-00045.jsonl.gz:150742" }
starcoder
// Copyright (c) 2021, <NAME> // Distributed under the 3-clause BSD license. For full terms see the file LICENSE. using System; using System.Collections.Immutable; using System.IO; using System.Text; using FluentAssertions; using Tiledriver.Core.FormatModels.Textures; using Tiledriver.Core.FormatModels.Textures.Writ...
2.422988
38e3ea084ec873c47d241a9cba6296b1
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8831523
{ "extension": "c-sharp", "max_stars_count": "13.0", "max_stars_repo_name": "captainjono/rxns", "max_stars_repo_path": "src/Rxns/Collections/ExpiringCache.cs", "provenance": "train-00027-of-00045.jsonl.gz:150743" }
starcoder
<reponame>captainjono/rxns<filename>src/Rxns/Collections/ExpiringCache.cs using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Reactive.Concurrency; using System.Reactive.Disposables; using System.Reactive.Linq; using System.Reac...
2.533387
db3184b21b49c307a793736d13e801b7
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8831524
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "wizir/Gold-Chat", "max_stars_repo_path": "Gold-Chat/Gold_Client/View/RegistrationWindow.xaml.cs", "provenance": "train-00027-of-00045.jsonl.gz:150744" }
starcoder
using Gold_Client.ViewModel; using System; namespace Gold_Client.View { public partial class RegistrationWindow { public RegistrationWindow(LoginPresenter login) { InitializeComponent(); if (DataContext != null) { ((dynamic)DataContext).login...
1.981358
39a2f33c9ae396eb929a6a8b9e045bdc
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8831525
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "AdmiralTool/Admiral", "max_stars_repo_path": "smartadmiral.tests/AdmiralTests.cs", "provenance": "train-00027-of-00045.jsonl.gz:150745" }
starcoder
using System.Linq; using System.Security; using Moq; using Ploeh.AutoFixture; using Ploeh.AutoFixture.AutoMoq; using smartadmiral.common; using smartadmiral.common.Directives; using smartadmiral.common.Parsers; using smartadmiral.common.Tasks; using smartadmiral.console.Core; using Xunit; namespace smartadmiral.tests...
2.070718
ea51c170127b3ef40acae57eee2f4b0e
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8831526
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "sbergot/DiceSharp", "max_stars_repo_path": "DiceCafe.WebApp/Pages/Error.cshtml", "provenance": "train-00027-of-00045.jsonl.gz:150746" }
starcoder
<reponame>sbergot/DiceSharp<gh_stars>0 @page @model ErrorModel <h1>Erreur</h1> <p>Une erreur s'est produite</p> @if (Model.ShowRequestId) { <p> <strong>Request ID:</strong> <code>@Model.RequestId</code> </p> }
2.021219
6cbbf95a2c0739458172ca1d481f9d38
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8831527
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "bjorkstromm/omnisharp-roslyn", "max_stars_repo_path": "src/OmniSharp.MSBuild/ProjectFile/PropertyConverter.cs", "provenance": "train-00027-of-00045.jsonl.gz:150747" }
starcoder
<gh_stars>0 using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using NuGet.Frameworks; using NuGet.Versioning; namespace OmniSharp.MSBuild.ProjectFile { internal static class PropertyConverter { ...
2.190934
431f2437a3c5f2b3cc6d4d6a78124e5d
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8831528
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "Amos-A/DC-ILR-1819-Test-Data-Generation", "max_stars_repo_path": "src/ESFA.DC.ILR.TestDataGenerator.Functors/Learner/ULN/ULN_12.cs", "provenance": "train-00027-of-00045.jsonl.gz:150748" }
starcoder
<filename>src/ESFA.DC.ILR.TestDataGenerator.Functors/Learner/ULN/ULN_12.cs using System.Collections.Generic; using DCT.ILR.Model; namespace DCT.TestDataGenerator.Functor { public class ULN_12 : ILearnerMultiMutator { public FilePreparationDateRequired FilePreparationDate() { ...
2.106489
48aa5e1046922d5e2fc9a1c8d1e01c00
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8831529
{ "extension": "c-sharp", "max_stars_count": "3.0", "max_stars_repo_name": "monoman/NugetCracker", "max_stars_repo_path": "NugetCracker.Core/Commands/AddNugetCommand.cs", "provenance": "train-00027-of-00045.jsonl.gz:150749" }
starcoder
using System; using System.Collections.Generic; using System.Linq; using NugetCracker.Data; using NugetCracker.Interfaces; using NugetCracker.Persistence; using NugetCracker.Utilities; namespace NugetCracker.Commands { public class AddNugetCommand : ICommand { public bool Matches(string commandPattern) { com...
2.965607
01560786c1eee8b105dcee1372fded10
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8831530
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "Lenscorpx/Attendance_App", "max_stars_repo_path": "Attendance_App/UserControls/uc_splash.Designer.cs", "provenance": "train-00027-of-00045.jsonl.gz:150750" }
starcoder
<reponame>Lenscorpx/Attendance_App<gh_stars>1-10 namespace Attendance_App.UserControls { partial class uc_splash { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean ...
1.679346
4556193ecec4b4172da7fca3612ac0e7
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8831531
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "BookingProtect/InsuranceHub.Client.Net", "max_stars_repo_path": "InsuranceHub.Client/IHashGenerator.cs", "provenance": "train-00027-of-00045.jsonl.gz:150751" }
starcoder
<filename>InsuranceHub.Client/IHashGenerator.cs namespace InsuranceHub.Client { public interface IHashGenerator { string GenerateHash(string data); string GenerateHash(string data, string key); } }
2.0273
a191825ecfec305bc8e977e67d1d92ce
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8831532
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "ap0llo/wolpertinger", "max_stars_repo_path": "Nerdcave.Common/IO/IOHelper.cs", "provenance": "train-00027-of-00045.jsonl.gz:150752" }
starcoder
<reponame>ap0llo/wolpertinger<filename>Nerdcave.Common/IO/IOHelper.cs /* Licensed under the new BSD-License Copyright (c) 2011-2013, <NAME> All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: ...
2.69796
ee8cfa0bfde0c18725bcc94fe96fd772
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8831533
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "ArcherPeng/MotionFramework", "max_stars_repo_path": "Assets/MotionFramework/Scripts/Runtime/Engine/Engine.Patch/PatchManifest.cs", "provenance": "train-00027-of-00045.jsonl.gz:150753" }
starcoder
<filename>Assets/MotionFramework/Scripts/Runtime/Engine/Engine.Patch/PatchManifest.cs //-------------------------------------------------- // Motion Framework // Copyright©2018-2021 何冠峰 // Licensed under the MIT license //-------------------------------------------------- using System; using System.IO; using System.Co...
2.320851
b13da8cce3fb07c014e532edfb2506a6
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8831534
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "Coestaris/hasm", "max_stars_repo_path": "HASMIde/Classes/OutputType.cs", "provenance": "train-00027-of-00045.jsonl.gz:150754" }
starcoder
<reponame>Coestaris/hasm namespace HASM { public enum OutputType { Hex, Dec, Char, Bin } }
0.973171
3f1ac3ded94e9ec705967daf12a385b8
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8831535
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "nelson1987/InternetBankingTeste", "max_stars_repo_path": "src/BGB.InternetBanking.Models/InvestmentBalance.cs", "provenance": "train-00027-of-00045.jsonl.gz:150755" }
starcoder
<gh_stars>0 using System; namespace BGB.InternetBanking.Models { public class InvestmentBalance { public virtual int Id { get; set; } public virtual CheckingAccount CheckingAccount { get; set; } public virtual DateTime ReferenceDate { get; set; } public virtual Paper Paper { ge...
1.719926
e498f53de9fdc643fc67dd8ac8040f8c
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8831536
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "thiagocbechara/deck_cards_api", "max_stars_repo_path": "Project/DeckAPI/DeckAPI.API/Dtos/DeckDto.cs", "provenance": "train-00027-of-00045.jsonl.gz:150756" }
starcoder
namespace DeckAPI.API.Dtos { public class DeckDto { public string Guid { get; set; } public string[] Cards { get; set; } } }
1.676039
426250903c8f9d4ec839c2b415f57aab
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8831537
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "QuinnBryant/DevExpressMVVMCustomEmittedActionSampleProject", "max_stars_repo_path": "DevExpress.Mvvm/Services/ApplicationJumpListService/Native/IApplicationJumpItemInfoSource.cs", "provenance": "train-00027-of-00045.jsonl.gz:150757" }
starcoder
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace DevExpress.Mvvm.Native { public interface IApplicationJumpItemInfoSource { } }
0.95291
365f9bac41857a0a61ef2b43abc0441f
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8831538
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "Zulkir/RAVC", "max_stars_repo_path": "Source/Ravc.Tests/Encoding/EntropyTransformTests.cs", "provenance": "train-00027-of-00045.jsonl.gz:150758" }
starcoder
<filename>Source/Ravc.Tests/Encoding/EntropyTransformTests.cs #region License /* Copyright (c) 2014 RAVC Project - <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, incl...
2.291783
99326da8ef7924443cc563d0c711aeaa
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8831539
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "liunc/Easysoft-PssS", "max_stars_repo_path": "EasySoft.PssS.Domain.Service/PurchaseItemService.cs", "provenance": "train-00027-of-00045.jsonl.gz:150759" }
starcoder
<reponame>liunc/Easysoft-PssS // ---------------------------------------------------------- // 系统名称:EasySoft PssS // 项目名称:领域服务类库 // 创 建 人:刘年超 // 创建时间:2017-01-14 // ---------------------------------------------------------- // 修改记录: // // // ---------------------------------------------------------- // 版权所有:易则科技工作室 ...
2.035
87f0c80a38c66e25cc49dbf1a194bd1c
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8831540
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "FayaDev/Emergency-Callouts", "max_stars_repo_path": "Emergency Callouts/Callouts/Burglary.cs", "provenance": "train-00027-of-00045.jsonl.gz:150760" }
starcoder
<reponame>FayaDev/Emergency-Callouts<filename>Emergency Callouts/Callouts/Burglary.cs using EmergencyCallouts.Essential; using LSPD_First_Response.Engine.Scripting.Entities; using LSPD_First_Response.Mod.API; using LSPD_First_Response.Mod.Callouts; using Rage; using Rage.Native; using RAGENativeUI; using System; using...
1.750493
8442d0eb7a27d8520a57bde38d18e85e
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8831541
{ "extension": "c-sharp", "max_stars_count": "6.0", "max_stars_repo_name": "vbilopav/CodeFirstConfig", "max_stars_repo_path": "CodeFirstConfig.Tests/InheritConfigTests.cs", "provenance": "train-00027-of-00045.jsonl.gz:150761" }
starcoder
<filename>CodeFirstConfig.Tests/InheritConfigTests.cs using Microsoft.VisualStudio.TestTools.UnitTesting; namespace CodeFirstConfig.Tests { [TestClass] public class InheritConfigTests { public class TestClass : ConfigManager<TestClass> { public string Value1 { get; set; } = "My...
2.892625
43406050e24cb7686f013f607839e5ab
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8831542
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "hlmclgl/RentaCarProject", "max_stars_repo_path": "DataAccess/Concrete/EntityFramework/EfCustomerFindeksScoreDal.cs", "provenance": "train-00027-of-00045.jsonl.gz:150762" }
starcoder
<reponame>hlmclgl/RentaCarProject using Core.DataAccess.EntityFramework; using DataAccess.Abstract; using Entities.Concrete; using System; using System.Collections.Generic; using System.Text; namespace DataAccess.Concrete.EntityFramework { public class EfCustomerFindeksScoreDal : EfEntityRepositoryBase<CustomerFi...
0.881733
2bb013b1c059e1cd0172fe861990a184
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8831543
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "BoomlabsInc/BCSF", "max_stars_repo_path": "2022-S1/W6/polymorph/AnimalesHechosPorNico/Human.cs", "provenance": "train-00027-of-00045.jsonl.gz:150763" }
starcoder
namespace Polymorphism { public class Human : IAnimal { public string Type { get; set; } = "Human"; public int legs { get; set; } = 2; public void SayHi() { Console.WriteLine("Hi!"); } } }
3.164028
2c1a77e1d5c629e912f79f650bf7c90f
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8831544
{ "extension": "c-sharp", "max_stars_count": "24.0", "max_stars_repo_name": "shoshins/apple-receipt", "max_stars_repo_path": "Apple.Receipt.Verificator/Models/AppleReceiptVerificationSettings.cs", "provenance": "train-00027-of-00045.jsonl.gz:150764" }
starcoder
<filename>Apple.Receipt.Verificator/Models/AppleReceiptVerificationSettings.cs<gh_stars>10-100 using System.Collections.Generic; namespace Apple.Receipt.Verificator.Models { public class AppleReceiptVerificationSettings { public string? VerifyReceiptSharedSecret { get; set; } public AppleRece...
2.17799
c67449795e0cdb8a9b2ea1b367e18825
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8831545
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "TobiasHall/MaterMinds", "max_stars_repo_path": "MaterMinds/View/Pegs/GreenPeg.xaml.cs", "provenance": "train-00027-of-00045.jsonl.gz:150765" }
starcoder
using System.Windows.Media; using System.Windows.Shapes; namespace MaterMinds { public partial class GreenPeg : MasterPeg { public GreenPeg() { InitializeComponent(); CreatePeg(); } private void CreatePeg() { Ellipse ellipse = new El...
2.522888
af39cc6f5a90aecda733f292bb20a35e
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8831546
{ "extension": "c-sharp", "max_stars_count": "13.0", "max_stars_repo_name": "amadeus4dev/amadeus-dotne", "max_stars_repo_path": "amadeus/travel/analytics/AirTraffic.cs", "provenance": "train-00027-of-00045.jsonl.gz:150766" }
starcoder
using System; namespace amadeus.travel.analytics.airTraffic { /// <summary> /// <para> /// A namespaced client for the /// <code>/v1/travel/analytics/air-traffic</code> endpoints. /// </para> /// /// <para> /// Access via the Amadeus client object. /// </para> /// /// <c...
2.550972
85247df5ed06ce677095b0c2e864b2fd
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8831547
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "LBHackney-IT/lbh-project-finder-api", "max_stars_repo_path": "ProjectFinderApi/V1/UseCase/ProjectMembersUseCase.cs", "provenance": "train-00027-of-00045.jsonl.gz:150767" }
starcoder
<reponame>LBHackney-IT/lbh-project-finder-api<filename>ProjectFinderApi/V1/UseCase/ProjectMembersUseCase.cs using ProjectFinderApi.V1.Boundary.Request; using ProjectFinderApi.V1.Boundary.Response; using ProjectFinderApi.V1.Gateways.Interfaces; using ProjectFinderApi.V1.UseCase.Interfaces; using ProjectFinderApi.V1.Exce...
2.42117
4e065944bfa72c488d1d190d1fcdd1c8
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8831548
{ "extension": "c-sharp", "max_stars_count": "3.0", "max_stars_repo_name": "rasmus-s/r7insight_dotnet", "max_stars_repo_path": "src/R7InsightCore/IAsyncLoggerConfig.cs", "provenance": "train-00027-of-00045.jsonl.gz:150768" }
starcoder
<gh_stars>1-10 namespace InsightCore.Net { /// <summary> /// Logentries Asynchronous Logger configuration parameters /// </summary> public interface IAsyncLoggerConfig { /// <summary> /// GUID for Token-based input (LOGENTRIES_TOKEN), recommended logging method /// ...
2.398022
15840b5edc7cdd8fb218adee8740f11f
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8831549
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "VantageSoftware/Vantage.Measurements", "max_stars_repo_path": "src/Vantage.Measurements/Units/Mass/Stone.cs", "provenance": "train-00027-of-00045.jsonl.gz:150769" }
starcoder
<filename>src/Vantage.Measurements/Units/Mass/Stone.cs namespace Vantage.Measurements.Units.Mass { public class Stone : IMassUnit { public string Symbol { get; set; } = "st."; public string Name { get; set; } = nameof(Stone); public string PluralName { get; set; } = nameof(S...
3.033614
fd8f4c4f7201f37b8332e5b434c9d37e
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8831550
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "wk-j/dynamic-table", "max_stars_repo_path": "src/DynamicTables/DynamicTable.cs", "provenance": "train-00027-of-00045.jsonl.gz:150770" }
starcoder
<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Runtime.CompilerServices; using System.Text; using System.Text.RegularExpressions; namespace DynamicTables { public class DynamicTable { public IList<object> Columns { get; set; } pu...
2.955761
2accf0d7432993a3538a552039b16e60
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8831551
{ "extension": "c-sharp", "max_stars_count": "9.0", "max_stars_repo_name": "sharwell/ef6tools", "max_stars_repo_path": "src/EntityFramework/DataAnnotations/Schema/ColumnAttribute.cs", "provenance": "train-00027-of-00045.jsonl.gz:150771" }
starcoder
<filename>src/EntityFramework/DataAnnotations/Schema/ColumnAttribute.cs // Copyright (c) Microsoft. All Rights Reserved. Licensed under the MIT license. See License.txt in the project root for license information. #if NET40 namespace System.ComponentModel.DataAnnotations.Schema { using System.Data.Entity.Util...
2.765525
f76d1961b0cebe675c98241600c34ca4
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8831552
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "EdonGashi/Material.Data", "max_stars_repo_path": "InMemory/InMemoryDbSet.cs", "provenance": "train-00027-of-00045.jsonl.gz:150772" }
starcoder
<filename>InMemory/InMemoryDbSet.cs using System; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Data.Entity; using System.Data.Entity.Infrastructure; using System.Linq; using System.Linq.Expressions; namespace Material.Data.InMemory { public class I...
2.601849
5c587910a8392b2a5d96a40ee90dd254
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8831553
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "sant-sh/musicmink", "max_stars_repo_path": "MusicMink/Dialogs/EditPlaylist.xaml.cs", "provenance": "train-00027-of-00045.jsonl.gz:150773" }
starcoder
<reponame>sant-sh/musicmink<gh_stars>1-10 using MusicMink.ViewModels; using MusicMinkAppLayer.Diagnostics; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; namespace MusicMink.Dialogs { public sealed partial class EditPlaylist : ContentDialog { private PlaylistViewModel Playlist { ...
2.13529
33566b76ebf8811acbcb3e32c8c1cba0
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8831554
{ "extension": "c-sharp", "max_stars_count": "8570.0", "max_stars_repo_name": "MCCshreyas/aspnetcore", "max_stars_repo_path": "src/Mvc/Mvc.NewtonsoftJson/src/MediaTypeHeaderValues.cs", "provenance": "train-00027-of-00045.jsonl.gz:150774" }
starcoder
<gh_stars>1000+ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using Microsoft.Net.Http.Headers; namespace Microsoft.AspNetCore.Mvc.NewtonsoftJson; internal static class MediaTypeHeaderValues { public static readonly MediaT...
1.441442
34c57b5fcf5d26ebe800d85f9487a6d0
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8831555
{ "extension": "c-sharp", "max_stars_count": "3.0", "max_stars_repo_name": "willitscale/OAI-Mitel-Inter-Tel-Library", "max_stars_repo_path": "OAI/Packets/Commands/OAIClearConnection.cs", "provenance": "train-00027-of-00045.jsonl.gz:150775" }
starcoder
<filename>OAI/Packets/Commands/OAIClearConnection.cs<gh_stars>1-10 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using OAI.Models; using OAI.Controllers; using OAI.Queues; using OAI.Packets.Delays; namespace OAI.Packets.Commands { /** * C...
2.684405
7a2d59b98825db29d091564ceab59eab
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8831556
{ "extension": "c-sharp", "max_stars_count": "3.0", "max_stars_repo_name": "paulcbetts/reactiveui", "max_stars_repo_path": "ReactiveUI.Xaml/ReactiveCommand.cs", "provenance": "train-00027-of-00045.jsonl.gz:150776" }
starcoder
using System; using System.Collections.Generic; using System.Linq; using System.Reactive.Concurrency; using System.Reactive.Linq; using System.Reactive.Subjects; using System.Reactive.Threading.Tasks; using System.Threading.Tasks; using System.Windows.Input; using ReactiveUI; namespace ReactiveUI.Xaml { /// <summ...
2.433312
cb8c1eeb04f1627a2c468261da7bb5e9
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8831557
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "advorange/SongProcessor", "max_stars_repo_path": "tests/SongProcessor.Tests/Models/VolumeModifier_Tests.cs", "provenance": "train-00027-of-00045.jsonl.gz:150777" }
starcoder
using FluentAssertions; using Microsoft.VisualStudio.TestTools.UnitTesting; using SongProcessor.Models; namespace SongProcessor.Tests.Models; [TestClass] public sealed class VolumeModifier_Tests { [TestMethod] public void ConstructorInvalidPercentage_Test() { foreach (var value in new[] { double.MinValue, -1,...
2.42272
1c9007f1ca4bfa48e3c845ad2679b433
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8831558
{ "extension": "c-sharp", "max_stars_count": "3.0", "max_stars_repo_name": "spatialcadets/virtualworlds", "max_stars_repo_path": "workers/unity/Assets/Gamelogic/Global/PlayerManagementBehaviour.cs", "provenance": "train-00027-of-00045.jsonl.gz:150778" }
starcoder
using Assets.Gamelogic.Core; using Assets.Gamelogic.EntityTemplate; using Assets.Gamelogic.Utils; using Improbable; using Improbable.Collections; using Improbable.Core; using Improbable.Entity.Component; using Improbable.Global; using Improbable.Unity.Core; using Improbable.Unity.Visualizer; using Improbable.Worker; us...
2.018952
8c9eed421b6caa4cf4a982882e626758
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8831559
{ "extension": "c-sharp", "max_stars_count": "198.0", "max_stars_repo_name": "tfly0072/Calamari", "max_stars_repo_path": "source/Calamari.Tests/Fixtures/Bash/BashProxyFixture.cs", "provenance": "train-00027-of-00045.jsonl.gz:150779" }
starcoder
using Calamari.Tests.Fixtures.Integration.Proxies; using Calamari.Tests.Helpers; using NUnit.Framework; namespace Calamari.Tests.Fixtures.Bash { [TestFixture] [Category(TestCategory.CompatibleOS.OnlyNixOrMac)] public class BashProxyFixture : ScriptProxyFixtureBase { protected override CalamariR...
1.47836
41b655d70d80c55d43473a2b4951d0e7
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8831560
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "asyncnet/asyncnet", "max_stars_repo_path": "AsyncNet.Selenium.Common/Configuration/ISeleniumSettings.cs", "provenance": "train-00027-of-00045.jsonl.gz:150780" }
starcoder
<filename>AsyncNet.Selenium.Common/Configuration/ISeleniumSettings.cs using System; using System.Collections.Generic; using System.Text; namespace AsyncNet.Selenium.Common.Configuration { public interface ISeleniumSettings { string BaseUrl { get; } } }
1.533528
e6d0338585c9f008620a91c99219d3cd
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8831561
{ "extension": "c-sharp", "max_stars_count": "6.0", "max_stars_repo_name": "mby-qlik/Qlik-SupportTools", "max_stars_repo_path": "Code/Tools/Gjallarhorn/Gjallarhorn/Common/IoHelper.cs", "provenance": "train-00027-of-00045.jsonl.gz:150781" }
starcoder
using System; using System.IO; namespace Gjallarhorn.Common { public static class IoHelper { /// Returns true if the path is a dir, false if it's a file and null if it's neither or doesn't exist. public static bool? IsPathDirOrFile(this string path) { bool? result = null; ...
3.319108
eeea3b54b83c60135cc707664a25d7d0
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8831562
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "AlessandroDelSole/XF4Demo", "max_stars_repo_path": "XF4Demo/ViewModel/CarouselViewModel.cs", "provenance": "train-00027-of-00045.jsonl.gz:150782" }
starcoder
<reponame>AlessandroDelSole/XF4Demo<filename>XF4Demo/ViewModel/CarouselViewModel.cs using XF4Demo.Model; using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Text; namespace XF4Demo.ViewModel { public class CarouselViewModel { public ObservableCo...
2.578035
d21d42ead037c7e94da4796863d9f505
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8831563
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "yscorecore/ys.meta", "max_stars_repo_path": "src/YS.Meta.Rest.Api/MetaController.cs", "provenance": "train-00027-of-00045.jsonl.gz:150783" }
starcoder
using System; using System.Collections.Generic; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; namespace YS.Meta.Rest.Api { [ApiController] [Route("meta")] public class MetaController : IMetaService { private readonly IMetaService metaService; public MetaController(IMet...
2.085212
b85793670f8ffc55bf95203ac648c9c2
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8831564
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "buraktaban0/UnityCommon", "max_stars_repo_path": "Assets/UnityCommon/Scripts/Runtime/Extensions/GameObjectExtensions.cs", "provenance": "train-00027-of-00045.jsonl.gz:150784" }
starcoder
using System; using System.Collections.Generic; using UnityEngine; namespace UnityCommon.Runtime.Extensions { public static class GameObjectExtensions { public static T GC<T>(this GameObject go) => go.GetComponent<T>(); public static T GC<T>(this MonoBehaviour go) => go.GetComponent<T>(); public static...
2.6147
6a7a82e58ca10059d9b3ef81e955b040
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8831565
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "Israel-IT/dotnet-mockup-be", "max_stars_repo_path": "DummyWebApp.BLL/Services/Abstraction/IAuthService.cs", "provenance": "train-00027-of-00045.jsonl.gz:150785" }
starcoder
namespace DummyWebApp.BLL.Services.Abstraction { using System.Threading; using System.Threading.Tasks; using Dtos.Auth; using ResultModel.Abstraction; using ResultModel.Abstraction.Generics; public interface IAuthService { Task<IResult> RegisterUserAsync(RegisterUserDto registerUse...
2.029099
68ed0f48ae7beec7a17a44f06b35ec35
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8831566
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "IonPostglacial/Taxonomix", "max_stars_repo_path": "Data/Hierarchy.cs", "provenance": "train-00027-of-00045.jsonl.gz:150786" }
starcoder
<filename>Data/Hierarchy.cs using System.Collections.Generic; namespace Taxonomix.Data { public class Hierarchy<T> { public int Id { get; set; } public T Entry { get; set; } public List<Hierarchy<T>> Children { get; set; } = new(); public IEnumerable<T> IterTree() { ...
2.839482
53dc2acbf517c0b6ec0f96572b033f52
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8831567
{ "extension": "c-sharp", "max_stars_count": "1365.0", "max_stars_repo_name": "dmolokanov/iotedge", "max_stars_repo_path": "tools/IoTEdgeDevOps/DevOpsLibTest/JsonPathConverterTest.cs", "provenance": "train-00027-of-00045.jsonl.gz:150787" }
starcoder
using System; using System.Collections.Generic; using System.Text; namespace DevOpsLibTest { using DevOpsLib; using Newtonsoft.Json; using NUnit.Framework; [TestFixture] public class JsonPathConverterTest { [Test] public void TestCanConvert() { Assert.False(...
2.430315
7c9e25e8524e16d713a03f2a7f3c1c9d
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8831568
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "anieri/XamarinReduxExample", "max_stars_repo_path": "ReduxExample/ReduxExample/Reducers/TodoReducer.cs", "provenance": "train-00027-of-00045.jsonl.gz:150788" }
starcoder
using ReduxExample.Actions; using ReduxExample.Store; using System; using System.Collections.Generic; using System.Text; namespace ReduxExample.Reducers { public static class TodoReducer { public static TodoState Reduce(TodoState prevState, ITodoAction todoAction) { if (todoAction is AddTodoAc...
3.16654
47cc38327aaceabc6f87876a7252adf7
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8831569
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "maikvandergaag/msft-demo-development", "max_stars_repo_path": "msft-demo-development/demo.core/IValidatable.cs", "provenance": "train-00027-of-00045.jsonl.gz:150789" }
starcoder
<reponame>maikvandergaag/msft-demo-development using System.ComponentModel.Composition; namespace Core { [InheritedExport(typeof(IValidatable))] public interface IValidatable { void Validate(); bool IsValid(); } }
1.521523
c4fd635926042c5e0777899fd0be49cf
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8831570
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "philphilphil/WikiCore", "max_stars_repo_path": "src/Models/EditModel.cs", "provenance": "train-00027-of-00045.jsonl.gz:150790" }
starcoder
<reponame>philphilphil/WikiCore using System; using System.Collections.Generic; using System.Linq; using Microsoft.AspNetCore.Mvc.Rendering; using WikiCore.DB; namespace WikiCore.Models { public class EditModel { private readonly IDBService _dbs; public string pageContent { get; set; } ...
2.23328
703697a5e41e9d8cda0f60eb73c7f25c
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8831571
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "eXtensoft/eXtensoft-core", "max_stars_repo_path": "src/XF.Data.Abstractions/services/ApiCommandService`1.cs", "provenance": "train-00027-of-00045.jsonl.gz:150791" }
starcoder
using XF.CQRS.Abstractions; using System; using System.Collections.Generic; using System.Text; namespace XF.Data.Abstractions { public class ApiCommandService<T> : ICommandService<T> where T : class, new() { ICommandContext<T> ICommandService<T>.Delete(ICommandContext<T> context) { ...
1.975357
630bae6bb894b25ff20e5c23fb4dbd2b
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8831572
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "brl2002/blackjackgame", "max_stars_repo_path": "Assets/Scripts/UI/RoundResultBlackjackView.cs", "provenance": "train-00027-of-00045.jsonl.gz:150792" }
starcoder
<gh_stars>0 using UnityEngine; public class RoundResultBlackjackView : PlayBlackjackView { protected override void Awake() { base.Awake(); Game.OnSeatWin += OnSeatWin; Game.OnSeatLose += OnSeatLose; Game.OnSeatBust += OnSeatBust; Game.OnDealerBust += OnDealerBust; } private void OnDestroy() { Game.On...
1.485467
e97dd06e23703bcdb9230185cddb3c8f
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8831573
{ "extension": "c-sharp", "max_stars_count": "666.0", "max_stars_repo_name": "codbugs/powershell", "max_stars_repo_path": "src/Commands/Enums/StorageEntityScope.cs", "provenance": "train-00027-of-00045.jsonl.gz:150793" }
starcoder
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace PnP.PowerShell.Commands.Enums { public enum StorageEntityScope { Site = 1, Tenant = 2 } }
1.234438
f208e6609ad5298338f2c8e6f4fc898d
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8831574
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "gitter-badger/DefaultEcs", "max_stars_repo_path": "source/DefaultEcs/Technical/ComponentManager.cs", "provenance": "train-00027-of-00045.jsonl.gz:150794" }
starcoder
<filename>source/DefaultEcs/Technical/ComponentManager.cs<gh_stars>0 using System.Runtime.CompilerServices; using DefaultEcs.Technical.Helper; using DefaultEcs.Technical.Message; namespace DefaultEcs.Technical { internal static class ComponentManager<T> { #region Fields private static readonl...
2.407705
5ab8e210f3ffc64d19e8915ac665bfbe
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8831575
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "Firkata/Drinks-System", "max_stars_repo_path": "DrinksProg/DrinksProg/Extras.cs", "provenance": "train-00027-of-00045.jsonl.gz:150795" }
starcoder
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DrinksProg { public class Extras : Product { private bool isExtraOfDrink; public Extras() { } //public Extras(Extras extra) // : ...
2.801482
f8ab040a675ff8141220ff0a51c34726
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8831576
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "vabalcar/NetworkOperator", "max_stars_repo_path": "Sources/Operations/Mouse/Mouse.cs", "provenance": "train-00027-of-00045.jsonl.gz:150796" }
starcoder
using System; using System.Collections.Generic; using System.Drawing; using System.Windows.Forms; using System.Threading; using System.Runtime.InteropServices; using NetworkOperator.InteropServices; namespace NetworkOperator.IO { public class Mouse : IDisposable { [DllImport(WindowsAPILibraries.USER32...
2.352276
0cc8c99724aed6673a8cef5c435adcfa
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8831577
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "ScriptBox99/msgraph-beta-sdk-dotnet", "max_stars_repo_path": "src/Microsoft.Graph/Generated/model/DeviceManagementConfigurationSecretSettingValue.cs", "provenance": "train-00027-of-00045.jsonl.gz:150797" }
starcoder
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
1.88022
dab470dd01cd34a57164e504bbe27c32
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8831578
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "RusJJ/NoAmbient", "max_stars_repo_path": "NoAmbient/Source Code/Main.cs", "provenance": "train-00027-of-00045.jsonl.gz:150798" }
starcoder
<gh_stars>0 using BepInEx; using BepInEx.Configuration; using HarmonyLib; using System; using System.IO; using UnityEngine; namespace NoAmbientMod { [HarmonyPatch(typeof(GorillaLocomotion.Player))] [HarmonyPatch("Awake", MethodType.Normal)] internal class PlayerAwake { private static void Post...
1.82598
8a77e9086f0023f38b3a53d349fd44c1
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8831579
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "chochohtunn/santedb", "max_stars_repo_path": "SanteDB.Persistence.Data.ADO/Data/Model/Concepts/DbReferenceTermName.cs", "provenance": "train-00027-of-00045.jsonl.gz:150799" }
starcoder
<gh_stars>0 /* * Based on OpenIZ - Based on OpenIZ, Copyright (C) 2015 - 2019 Mohawk College of Applied Arts and Technology * Portions Copyright 2019-2020, Fyfe Software Inc. and the SanteSuite Contributors (See NOTICE) * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this f...
1.771551
c7d76a95ae68a3bcdc715628b9b019dc
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8831580
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "Trustyshm/LD49", "max_stars_repo_path": "LD49 Game/Assets/Scripts/SpawnerController.cs", "provenance": "train-00027-of-00045.jsonl.gz:150800" }
starcoder
using System.Collections; using System.Collections.Generic; using UnityEngine; using Cinemachine; public class SpawnerController : MonoBehaviour { public Transform[] spawnSpots; public GameObject[] tableBreakables; public GameObject[] tables; public GameObject[] breakables; public SmashCounter sma...
2.258237
159d5810d2f7e208392ccf21bf389030
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8831581
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "SunilRao01/Alien-Trial", "max_stars_repo_path": "Assets/Scripts/Tools/Bounce.cs", "provenance": "train-00027-of-00045.jsonl.gz:150801" }
starcoder
using UnityEngine; using System.Collections; public class Bounce : MonoBehaviour { public float bounceDistance; public float bounceSpeed; void Start () { } void Update () { // Set the y position to loop much faster between -3 and 3 Vector3 newPosition = transform.position; newPosition.y = Mathf.S...
2.726062
baf23f34a341f479aeb371e296251444
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8831582
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "hozuki/shallow-light-illusion", "max_stars_repo_path": "AchievementUnlocker/Steam/AchievementInfo.cs", "provenance": "train-00027-of-00045.jsonl.gz:150802" }
starcoder
<reponame>hozuki/shallow-light-illusion<filename>AchievementUnlocker/Steam/AchievementInfo.cs using System; using Steamworks; namespace AchievementUnlocker.Steam { internal sealed class AchievementInfo { private AchievementInfo(string apiName, string displayName, string description, bool isAchieved, bool...
2.57531
00939a54a14744dc083abc4742dfab8a
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8831583
{ "extension": "c-sharp", "max_stars_count": "3.0", "max_stars_repo_name": "PacktPublishing/DotNET-Standard-2-Cookbook", "max_stars_repo_path": "Chapter04/Chapter4.Functions/Chapter4.Functions.CoreConsoleApp/Program.cs", "provenance": "train-00027-of-00045.jsonl.gz:150803" }
starcoder
using System; using System.Linq; using Chapter4.Functions.FuncLib; namespace Chapter4.Functions.CoreConsoleApp { class Program { static void Main(string[] args) { var helper = new Helper(); Console.WriteLine(helper.AddOne(5)); int[] numbers = new int[] { 1...
3.037176
8305156038000c7436441dae4e872630
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8831584
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "Redouane64/weapons-inventory-system-for-unity3d", "max_stars_repo_path": "Assets/Inventory-System/Scripts/Weapon.cs", "provenance": "train-00027-of-00045.jsonl.gz:150804" }
starcoder
<reponame>Redouane64/weapons-inventory-system-for-unity3d using UnityEngine; using WeaponsInventorySystem.Abstraction; using WeaponsInventorySystem.Helpers; using WeaponsInventorySystem.Inputs; namespace WeaponsInventorySystem { public class Weapon : WeaponBase { protected override void Update() ...
2.129131
303d8adbf3c70081bb9196cd9331f30a
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8831585
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "deb761/BikeMap", "max_stars_repo_path": "GMap/GMap.NET/Size.cs", "provenance": "train-00027-of-00045.jsonl.gz:150805" }
starcoder
namespace GMap.NET { using System.Globalization; /// <summary> /// the size /// </summary> public struct Size { public static readonly Size Empty = new Size(); private int width; private int height; public Size(Point pt) { width = pt.X; height = pt.Y...
3.654627
3b03cac6edfad2fe6f813da03cffc534
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8831586
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "7digital/SevenDigital.Api.Schema", "max_stars_repo_path": "src/Schema/Artists/ArtistTopTracks.cs", "provenance": "train-00027-of-00045.jsonl.gz:150806" }
starcoder
<filename>src/Schema/Artists/ArtistTopTracks.cs<gh_stars>1-10 using System; using System.Collections.Generic; using System.Xml.Serialization; using SevenDigital.Api.Schema.Attributes; using SevenDigital.Api.Schema.ParameterDefinitions.Get; using SevenDigital.Api.Schema.Tracks; namespace SevenDigital.Api.Schema...
2.042264
d6a347a8cd7520b0f95d1814cef1940e
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8831587
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "0xCM/z0", "max_stars_repo_path": "src/rules/src/Spaces.cs", "provenance": "train-00027-of-00045.jsonl.gz:150807" }
starcoder
//----------------------------------------------------------------------------- // Copyright : (c) <NAME>, 2020 // License : MIT //----------------------------------------------------------------------------- namespace Z0 { using System; using System.Runtime.CompilerServices; using System.Runtime.In...
2.326249
eaafd9b10ee06cc17f33683fb727d27b
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8831588
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "Luminis-Arnhem/MT940Parser", "max_stars_repo_path": "MT940Parser/Parsing/StatementParser.cs", "provenance": "train-00027-of-00045.jsonl.gz:150808" }
starcoder
using System; using System.IO; using System.Linq; namespace programmersdigest.MT940Parser.Parsing { public class StatementParser { private StreamReader _reader; private readonly BalanceParser _balanceParser = new BalanceParser(); private readonly StatementLineParser _statementLineParser = ...
2.974527
747d711d7e9f7187db57dbf2c1a12297
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8831589
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "GalacticGlum/BlackJack", "max_stars_repo_path": "Assets/Game/Scripts/Helpers/ArrayHelper.cs", "provenance": "train-00027-of-00045.jsonl.gz:150809" }
starcoder
using UnityEngine; public static class ArrayHelper { public static T Choose<T>(this T[] array) => array[Random.Range(0, array.Length - 1)]; }
2.422421
93ff1db7c3250995f22693f6184d637e
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8831590
{ "extension": "c-sharp", "max_stars_count": "16.0", "max_stars_repo_name": "Jsn2win/MSBotFrameworkBook", "max_stars_repo_path": "Chapter14/AILib/CognitiveService.cs", "provenance": "train-00027-of-00045.jsonl.gz:150810" }
starcoder
<gh_stars>10-100 using AILib.Models; using Newtonsoft.Json; using System; using System.Configuration; using System.Linq; using System.Net.Http; using System.Text; using System.Threading.Tasks; using System.Xml.Linq; namespace AILib { [Serializable] public class CognitiveService { co...
2.486366
6acdfa372e75fa1bb9c8e89b8be35bbe
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8831591
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "gromozeka07b9/Gosh", "max_stars_repo_path": "QuestHelper/QuestHelper.Server/Auth/AuthOptions.cs", "provenance": "train-00027-of-00045.jsonl.gz:150811" }
starcoder
<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.IdentityModel.Tokens; namespace QuestHelper.Server.Auth { public class AuthOptions { public const string ISSUER = "iGosh.pro"; // издатель токена #if DEBUG ...
1.798868
d287f2fb6d6dac88c72ab66483fbe099
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8831592
{ "extension": "c-sharp", "max_stars_count": "15.0", "max_stars_repo_name": "bjorkqvist/FakerDotNet", "max_stars_repo_path": "tests/FakerDotNet.Tests/Fakers/DateFakerTests.cs", "provenance": "train-00027-of-00045.jsonl.gz:150812" }
starcoder
<reponame>bjorkqvist/FakerDotNet using System; using FakerDotNet.Fakers; using FakerDotNet.Tests.Helpers; using FakerDotNet.Wrappers; using NUnit.Framework; namespace FakerDotNet.Tests.Fakers { [TestFixture] [Parallelizable] public class DateFakerTests { [SetUp] public void SetUp() ...
2.949089
eb46e09086a7cd424fff6207922909da
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8831593
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "MHarisMumtaz/E-Pages", "max_stars_repo_path": "EPages/Models/AccountDetails.cs", "provenance": "train-00027-of-00045.jsonl.gz:150813" }
starcoder
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace EPages.Models { public class AccountDetails { public int AccID { get; set; } public int PayID { get; set; } public string AccNumber { get; set; } } }
1.465859
f99a25b7567a115f66e9ba4c89468c87
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8831594
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "CnDouglasYoung/WorkBar", "max_stars_repo_path": "App_Code/alertv.cs", "provenance": "train-00027-of-00045.jsonl.gz:150814" }
starcoder
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Web; /// <summary> /// js方法弹出提示框 /// </summary> public class alertv { /// <summary> /// js方法弹出提示框 /// </summary> /// <param name="msg">提示信息</param> /// <param name="goUrl">跳转页面</param> /// <retur...
2.599903
bc59d2a2a37520d885202b27876be591
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8831595
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "kamilbaczek/estimation-tool", "max_stars_repo_path": "Src/Bootstrapper/Divstack.Company.Estimation.Tool.Bootstrapper/Program.cs", "provenance": "train-00027-of-00045.jsonl.gz:150815" }
starcoder
namespace Divstack.Company.Estimation.Tool.Bootstrapper; using Common.Configurations; using Common.Extensions; using Shared.Infrastructure.Api; public sealed class Program { public static void Main(string[] args) { CreateHostBuilder(args).Build().Run(); } public static IHostBuilder CreateHos...
1.528534
8e54617aeadbd842d852747fd5986b19
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8831596
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "BobAtParticular/Case00022492-", "max_stars_repo_path": "Case00022492.Host/Config/StartNES.cs", "provenance": "train-00027-of-00045.jsonl.gz:150816" }
starcoder
<filename>Case00022492.Host/Config/StartNES.cs using NES.NServiceBus; using NServiceBus; using NServiceBus.Config; namespace Case00022492.Host.Config { public class StartNES : IWantToRunWhenConfigurationIsComplete { public void Run(Configure config) { config.NES(); } } }
1.487861
70b5ef61ce8238780806f14c8364c2d1
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8831597
{ "extension": "c-sharp", "max_stars_count": "133.0", "max_stars_repo_name": "allisterb/nledger", "max_stars_repo_path": "Source/NLedger.Tests/Iterators/BasicAccountsIteratorTests.cs", "provenance": "train-00027-of-00045.jsonl.gz:150817" }
starcoder
// ********************************************************************************** // Copyright (c) 2015-2021, <NAME>. All rights reserved. // Licensed under the FreeBSD Public License. See LICENSE file included with the distribution for details and disclaimer. // // This file is part of NLedger that is a .Ne...
2.633022
c57c9a20e052ba9cfa5c47b9d67a2daa
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8831598
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "Maxuss/CopperSharp", "max_stars_repo_path": "CopperSharp/Blocks/State/FurnaceState.cs", "provenance": "train-00027-of-00045.jsonl.gz:150818" }
starcoder
using CopperSharp.Item; namespace CopperSharp.Blocks.State; /// <summary> /// Represents block state of furnace-like items /// </summary> public class FurnaceState : InventoryBlock<FurnaceInventory>, ILockable { /// <inheritdoc /> internal FurnaceState(Material id) : base(id) { Inventory = new...
2.926507
14eaed10d21a9209ee75ea94b2baed79
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8831599
{ "extension": "c-sharp", "max_stars_count": "429.0", "max_stars_repo_name": "skeptycal/RTVS", "max_stars_repo_path": "src/Windows/Markdown/Editor/Impl/Publishing/Commands/PreviewPdfCommand.cs", "provenance": "train-00027-of-00045.jsonl.gz:150819" }
starcoder
<gh_stars>100-1000 // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using System.Diagnostics; using System.Threading.Tasks; using Microsoft.Common.Core.Services; using Microsoft.Markdown.Editor.Commands; using Micr...
1.597747
34c2955979b6317c6308d7547c414406
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8831600
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "crismogram/TV5Library", "max_stars_repo_path": "MemberArea/Messages.cshtml", "provenance": "train-00027-of-00045.jsonl.gz:150820" }
starcoder
@{ WebSecurity.RequireAuthenticatedUser(); Layout = "~/_MemberLayout.cshtml"; Page.Title = "Dashboard"; var message = Request.Unvalidated().QueryString["message"]; if(message == null) { Response.Redirect("~/MemberArea/Dashboard.cshtml"); } } <div class="col-lg-12 text-center"> ...
2.183689
d213f6f938cc80581ddd1f282621632e
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8831601
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "ipetk0v/InvenioReportingSystem", "max_stars_repo_path": "Presentation/Invenio.Web/Invenio.Web/Administration/Views/Currency/_CreateOrUpdate.cshtml", "provenance": "train-00027-of-00045.jsonl.gz:150821" }
starcoder
@using Invenio.Core.Domain.Directory @using Invenio.Services @using Invenio.Admin.Models.Directory @model CurrencyModel @Html.ValidationSummary(true) @Html.HiddenFor(model => model.Id) <div class="content"> <div class="form-horizontal"> <div class="panel-group"> <div class="panel panel-defaul...
2.078128
4153696907216a83cd7bc9cb87897320
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8831602
{ "extension": "c-sharp", "max_stars_count": "3.0", "max_stars_repo_name": "Ariequ/googleads-mobile-plugins", "max_stars_repo_path": "unity/samples/HelloWorld/Assets/GoogleMobileAds/Platforms/Android/InAppPurchaseListener.cs", "provenance": "train-00027-of-00045.jsonl.gz:150822" }
starcoder
#if UNITY_ANDROID using UnityEngine; using GoogleMobileAds.Common; namespace GoogleMobileAds.Android { internal class InAppPurchaseListener : AndroidJavaProxy { private IInAppPurchaseListener listener; internal InAppPurchaseListener(IInAppPurchaseListener listener) : base(Utils.Pl...
1.961666
fbc493e2df2c3e2791af61850269808f
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8831603
{ "extension": "c-sharp", "max_stars_count": "7.0", "max_stars_repo_name": "simonferquel/simcim", "max_stars_repo_path": "SimCim.Root.Virtualization.V2/ClassMsvmElementCapabilities.cs", "provenance": "train-00027-of-00045.jsonl.gz:150823" }
starcoder
<reponame>simonferquel/simcim using Microsoft.Management.Infrastructure; using System; using System.Collections.Generic; using System.Linq; using SimCim.Core; namespace SimCim.Root.Virtualization.V2 { public class MsvmElementCapabilities : CIMElementCapabilities { public MsvmElementCapabilit...
1.322589
3e05bf951fe9eb8eac1abcc09412e8ff
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8831604
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "chanfort/UnityECSCustomUpdate", "max_stars_repo_path": "Assets/Scripts/Components/UpdateOrder.cs", "provenance": "train-00027-of-00045.jsonl.gz:150824" }
starcoder
<gh_stars>0 using System; using Unity.Entities; [Serializable] public struct UpdateOrder : ISharedComponentData { public float Value; } // public class UpdateOrderComponent : SharedComponentDataProxy<UpdateOrder> { }
1.021222
28de22411c5f7b23c837131919262029
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8831605
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "ryankelley/kokugen", "max_stars_repo_path": "src/kokugen.core/Persistence/Repositories/ICardRepository.cs", "provenance": "train-00027-of-00045.jsonl.gz:150825" }
starcoder
using System; using System.Collections.Generic; using System.Linq; using Kokugen.Core.Domain; using NHibernate; namespace Kokugen.Core.Persistence.Repositories { public interface ICardRepository : IRepository<Card> { IEnumerable<CumalitiveFlowData> GetCumalitiveFlowForProject(Guid projectId); } ...
2.795342
12ff8f0c165ea036359267e71227e7d4
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8831606
{ "extension": "c-sharp", "max_stars_count": "8.0", "max_stars_repo_name": "jonny-xhl/Cy.WeChat", "max_stars_repo_path": "Cy.WeChat.Models/Contents/UserMessageContent.cs", "provenance": "train-00027-of-00045.jsonl.gz:150826" }
starcoder
using System; using System.Collections.Generic; using System.Text; namespace Cy.WeChat.Models { public class UserMessageContent:MessageBody { /// <summary> /// 接收者 /// </summary> public string[] To { get; set; } } }
1.647294
897cf498a2a18c62f4fbaa5bfd56086a
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8831607
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "dkntksh/nvflbintvl", "max_stars_repo_path": "MoveFileByInternal/MainPage.xaml.cs", "provenance": "train-00027-of-00045.jsonl.gz:150827" }
starcoder
<reponame>dkntksh/nvflbintvl<gh_stars>0 using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime; using System.Threading.Tasks; using Windows.Foundation; using Windows.Foundation.Collections; using Windows.UI.Xaml; using Windows.UI.Xaml.Con...
2.229356
eb04b698bdb66db42d3541c1b5170238
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8831608
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "BartoszBaczek/Pong", "max_stars_repo_path": "Pong/Pong/Game1.cs", "provenance": "train-00027-of-00045.jsonl.gz:150828" }
starcoder
<filename>Pong/Pong/Game1.cs #region Using Statements using System; using System.CodeDom; using System.Collections.Generic; using System.ComponentModel.Design; using System.Diagnostics; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Content; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Fra...
2.205786
45a960c9e9081f99d35d6c1142d89bc1
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8831609
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "fengylm/Twinkle.Framework", "max_stars_repo_path": "Twinkle/Models/Sys_User.cs", "provenance": "train-00027-of-00045.jsonl.gz:150829" }
starcoder
<reponame>fengylm/Twinkle.Framework<gh_stars>0 using System; namespace Twinkle.Models { public class Sys_User : BaseModel { [ModelProperty(Identity = true)] public double? ID { get; set; } [ModelProperty(Key = true)] public string TenantId { get; set; } [ModelProperty...
1.473921
340672911b8522b0ba5834f0506b3857
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8831610
{ "extension": "c-sharp", "max_stars_count": "38.0", "max_stars_repo_name": "OpenNefia/OpenNefia", "max_stars_repo_path": "OpenNefia.XamlInjectors/CompileOpenNefiaXamlTask.cs", "provenance": "train-00027-of-00045.jsonl.gz:150830" }
starcoder
using System; using System.Diagnostics; using System.IO; using System.Linq; using Microsoft.Build.Framework; namespace OpenNefia.XamlInjectors { /// <summary> /// Based on https://github.com/AvaloniaUI/Avalonia/blob/c85fa2b9977d251a31886c2534613b4730fbaeaf/src/Avalonia.Build.Tasks/CompileAvaloniaXamlTask.cs ...
2.178683
466a4de71f8cb8fd66e283215367872d
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8831611
{ "extension": "c-sharp", "max_stars_count": "3.0", "max_stars_repo_name": "coding-flamingo/HotdogApp", "max_stars_repo_path": "Hotdogapp/Shared/Services/DataURLServices.cs", "provenance": "train-00027-of-00045.jsonl.gz:150831" }
starcoder
using System; using System.IO; namespace Hotdogapp.Shared.Services { public static class DataURLServices { public static string ToDataUrl(this MemoryStream data, string format) { var span = new Span<byte>(data.GetBuffer()).Slice(0, (int)data.Length); return $"data:{form...
2.904053
36343caa90c8cfcd8f54ec7894ea03cb