added
string
created
string
id
string
metadata
dict
source
string
text
string
code-score
float64
md5
string
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
65933
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "danimart1991/xamarin-example-jobintown", "max_stars_repo_path": "src/App/JobInTown/Pages/ItemDetailPage.xaml.cs", "provenance": "train-00000-of-00045.jsonl.gz:65934" }
starcoder
using System.ComponentModel; using System.Threading.Tasks; using Models; using Xamarin.Forms.Maps; using Xamarin.Forms.Xaml; using static Core.Extensions.PositionExtensions; namespace JobInTown.Pages { [XamlCompilation(XamlCompilationOptions.Compile)] public partial class ItemDetailPage { public I...
2.487828
77cdb311d882a9a657f7b099a27b491d
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
65934
{ "extension": "c-sharp", "max_stars_count": "3.0", "max_stars_repo_name": "JTOne123/edi-api-client", "max_stars_repo_path": "EdiApi.Client/Types/Internal/DocumentSpecificFields/RetdesFields.cs", "provenance": "train-00000-of-00045.jsonl.gz:65935" }
starcoder
using System; using SkbKontur.EdiApi.Client.Types.Internal.GoodItems; namespace SkbKontur.EdiApi.Client.Types.Internal.DocumentSpecificFields { public class RetdesFields : OrderBasedDocumentFields { public string CurrencyCode { get; set; } public decimal? DesadvTotal { get => desadvTotal ?? ...
1.61509
ad84aed8390fbbc7fa940303d0150b61
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
65935
{ "extension": "c-sharp", "max_stars_count": "334.0", "max_stars_repo_name": "nhatphuongb1/Restaurant-App", "max_stars_repo_path": "src/Server/services/identity.api/Identity.API/Model/DataTransferObjects/LoginDto.cs", "provenance": "train-00000-of-00045.jsonl.gz:65936" }
starcoder
<reponame>nhatphuongb1/Restaurant-App<filename>src/Server/services/identity.api/Identity.API/Model/DataTransferObjects/LoginDto.cs<gh_stars>100-1000 using Newtonsoft.Json; namespace Identity.API.Model.DataTransferObjects { public class LoginDto { [JsonProperty("login")] public string Login { g...
1.766774
2db921fd404488ebef42f810fd0139e3
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
65936
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "SevcanAlkan/NGA", "max_stars_repo_path": "NGA.Data/ViewModel/UserVM.cs", "provenance": "train-00000-of-00045.jsonl.gz:65937" }
starcoder
<reponame>SevcanAlkan/NGA using NGA.Core.Enum; using NGA.Core.Model; using System; using System.Collections.Generic; using System.ComponentModel; using System.ComponentModel.DataAnnotations; using System.Text; namespace NGA.Data.ViewModel { public class UserVM : BaseVM { public string UserName { get;...
2.066607
97d1ff507b988e71046dde6cb406a141
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
65937
{ "extension": "c-sharp", "max_stars_count": "25.0", "max_stars_repo_name": "psygames/HotUnity", "max_stars_repo_path": "HotProject/HotProject/Test/TestBasic.cs", "provenance": "train-00000-of-00045.jsonl.gz:65938" }
starcoder
using HotUnity; using UnityEngine; namespace HotProject { /// <summary> /// 基本测试 /// </summary> public class TestBasic : HotScript { public string testText; public Vector3 testVec3; public override void Awake() { Debug.Log(name); Debug.Log(te...
1.637981
5bfd4500db99de7e00d8f0ba12d16d4d
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
65938
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "DayanaKyuchukova/TitanGate.Website", "max_stars_repo_path": "test/TitanGate.Website.UnitTests/Controllers/WebSiteControllerTests.cs", "provenance": "train-00000-of-00045.jsonl.gz:65939" }
starcoder
using Microsoft.AspNetCore.Mvc; using Moq; using System.Collections.Generic; using System.Threading.Tasks; using TitanGate.Website.Api.Controllers; using TitanGate.Website.Service.Abstract; using TitanGate.Website.Service.Models; using Xunit; namespace TitanGate.Website.UnitTests.Controllers { public class WebSit...
2.025154
362f10dc712548fff42327c4c879e061
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
65939
{ "extension": "c-sharp", "max_stars_count": "3.0", "max_stars_repo_name": "Skyprx/maui", "max_stars_repo_path": "System.Maui.Controls.Issues/System.Maui.Controls.Issues.Shared/Issue3798.xaml.cs", "provenance": "train-00000-of-00045.jsonl.gz:65940" }
starcoder
using System; using System.Collections.Generic; using System.Maui; using System.Threading.Tasks; using System.Collections.ObjectModel; using System.ComponentModel; using System.Maui.CustomAttributes; using System.Maui.Internals; #if UITEST using Xamarin.UITest; using NUnit.Framework; using System.Maui.Core.UITests; #en...
1.99405
b180f06c1e75a7932a7e11b1217e99f8
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
65940
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "929496959/Open-XML-SDK", "max_stars_repo_path": "src/DocumentFormat.OpenXml/Features/IFeatureEvent.cs", "provenance": "train-00000-of-00045.jsonl.gz:65941" }
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 DocumentFormat.OpenXml.Features { /// <summary> /// Interface for general feature eventing. /// </summary> /// <typeparam name...
2.016542
930c8cd34d17dae5158de426526133d2
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
65941
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "MountainAddicted4U/MountainSelection", "max_stars_repo_path": "MountainAddicted.Library/Elevation/ElevationResponse.cs", "provenance": "train-00000-of-00045.jsonl.gz:65942" }
starcoder
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Newtonsoft.Json; namespace MountainAddicted.Library.Elevation { [JsonObject(MemberSerialization.OptIn)] public class ElevationResponse : IServiceResponse { /// <sum...
2.173909
144e3219c85c426028e6a2a4a4176eab
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
65942
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "chickn666/ios", "max_stars_repo_path": "Sample - BestSellers/BestSellers/BestSellers/ViewModels/BookViewModel.cs", "provenance": "train-00000-of-00045.jsonl.gz:65943" }
starcoder
<filename>Sample - BestSellers/BestSellers/BestSellers/ViewModels/BookViewModel.cs using System; using System.IO; using System.Linq; using System.Net; using System.Threading; using System.Xml.Linq; using BestSellers.Helpers; namespace BestSellers.ViewModels { public class BookViewModel : BaseViewModel { ...
2.59972
ea18deea7ee8101462735784579a2979
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
65943
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "PhoenixAceVFX/The-Black-Arms-SDX", "max_stars_repo_path": "VRCSDX2 Modded/VRCSDK/Dependencies/VRChat/Scripts/TBA Utilities/MeshGenerator.cs", "provenance": "train-00000-of-00045.jsonl.gz:65944" }
starcoder
<reponame>PhoenixAceVFX/The-Black-Arms-SDX<filename>VRCSDX2 Modded/VRCSDK/Dependencies/VRChat/Scripts/TBA Utilities/MeshGenerator.cs using UnityEngine; using UnityEngine.UI; using System.Collections; using System.Collections.Generic; using UnityEngine.SceneManagement; #if UNITY_EDITOR using UnityEditor; using UnityEdi...
2.239199
d258c5838aad277892d1aba99f3574d4
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
65944
{ "extension": "c-sharp", "max_stars_count": "31.0", "max_stars_repo_name": "Jmw150/dafny", "max_stars_repo_path": "Source/DafnyPipeline.Test/TranslatorTest.cs", "provenance": "train-00000-of-00045.jsonl.gz:65945" }
starcoder
<gh_stars>10-100 using System.Collections.Generic; using Bpl = Microsoft.Boogie; using Xunit; using Microsoft.Dafny; namespace DafnyPipeline.Test; [Collection("Dafny translator tests")] public class TranslatorTest { private void Expect(Bpl.Expr expr, bool isAlwaysTrue, bool isAlwaysFalse) { Assert.Equal(isAlw...
2.10703
bd890e1aabb9ec94d5f1ba33eeca93dd
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
65945
{ "extension": "c-sharp", "max_stars_count": "3.0", "max_stars_repo_name": "zigurous/unity-ui-toolkit", "max_stars_repo_path": "Editor/UIGradientShaderGUI.cs", "provenance": "train-00000-of-00045.jsonl.gz:65946" }
starcoder
using System; using System.Linq; using UnityEditor; using UnityEngine; namespace Zigurous.UI.Editor { public sealed class UIGradientShaderGUI : ShaderGUI { public override void OnGUI(MaterialEditor materialEditor, MaterialProperty[] properties) { EditorGUILayout.Space(); ...
2.229428
e2c1414fb92a1a6f876f358a105bb360
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
65946
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "sosowjb/framework", "max_stars_repo_path": "src/main/SOSOWJB.Framework.Application/Organizations/OrganizationUnitAppService.cs", "provenance": "train-00000-of-00045.jsonl.gz:65947" }
starcoder
<filename>src/main/SOSOWJB.Framework.Application/Organizations/OrganizationUnitAppService.cs using System.Linq; using System.Linq.Dynamic.Core; using System.Threading.Tasks; using Abp.Application.Services.Dto; using Abp.Authorization; using Abp.Authorization.Users; using Abp.Domain.Repositories; using Abp.Extensions; ...
1.886456
30bbf99ced8ef76e45ef13b714ad8fb3
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
65947
{ "extension": "c-sharp", "max_stars_count": "334.0", "max_stars_repo_name": "panesofglass/FSharpx.Extras", "max_stars_repo_path": "tests/FSharpx.CSharpTests/EnumerableTests.cs", "provenance": "train-00000-of-00045.jsonl.gz:65948" }
starcoder
<gh_stars>100-1000 using System; using NUnit.Framework; using Microsoft.FSharp.Core; using FSharpx; namespace FSharpx.CSharpTests { [TestFixture] public class EnumerableTests { [Test] public void FirstOrNone_None() { var a = new int[0]; Assert.AreEqual(FSharpOption<int>...
2.416117
968c2a2b487a112e6a68f5d1432b4ceb
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
65948
{ "extension": "c-sharp", "max_stars_count": "8016.0", "max_stars_repo_name": "helloausrine/MahApps.Metro", "max_stars_repo_path": "src/MahApps.Metro/Automation/Peers/WindowCommandsAutomationPeer.cs", "provenance": "train-00000-of-00045.jsonl.gz:65949" }
starcoder
<reponame>helloausrine/MahApps.Metro // 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.Windows; using System.Windows.Automation.Peers; using JetBrains.A...
1.749441
f4b60fbfe3ac53e9bc0007e792a49041
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
65949
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "rexor12/pokemon", "max_stars_repo_path": "DataProviders/ProviderBase.cs", "provenance": "train-00000-of-00045.jsonl.gz:65950" }
starcoder
using System; using System.Collections.Generic; namespace PokemonGame.DataProviders { /// <summary> /// Abstract base class for providers. /// </summary> /// <typeparam name="T">The type of the entities the service provides.</typeparam> public abstract class ProviderBase<T> : IProvider<T> { ...
3.152808
1578ec0b458919778d1a93917f6841ed
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
65950
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "WickedFlame/RubberStamp", "max_stars_repo_path": "src/RubberStamp.UnitTest/Conditions/LessOrEqualThanConditionTests.cs", "provenance": "train-00000-of-00045.jsonl.gz:65951" }
starcoder
using RubberStamp.Conditions; using NUnit.Framework; namespace RubberStamp.UnitTest.Conditions { [TestFixture] public class LessOrEqualThanConditionTests { [Test] public void RubberStamp_Conditions_LessOrEqualThanCondition_String_Equal_Test() { var condition = new LessO...
2.735064
0d5435a2940aff2cdc97bba904fbd1af
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
65951
{ "extension": "c-sharp", "max_stars_count": "39.0", "max_stars_repo_name": "ludovic-henry/referencesource", "max_stars_repo_path": "mscorlib/system/security/cryptography/hmacmd5.cs", "provenance": "train-00000-of-00045.jsonl.gz:65952" }
starcoder
<gh_stars>10-100 // ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== // <OWNER>[....]</OWNER> // // // HMACMD5.cs // namespace System.Security.Cryptography { [System.Runtime.InteropServices.ComVisible(true)] public class HMACMD5 : HMAC { // // public co...
1.866003
c9a1e01e1ed11af79e78bce9b27fc347
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
65952
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "Marfusios/kotas-utils", "max_stars_repo_path": "src/Kotas.Utils.RabbitMQ/Bus/IBus.cs", "provenance": "train-00000-of-00045.jsonl.gz:65953" }
starcoder
<gh_stars>0 using System; using System.Threading.Tasks; using Kotas.Utils.RabbitMQ.Handlers; using Kotas.Utils.RabbitMQ.Infrastructure; namespace Kotas.Utils.RabbitMQ.Bus { public interface IBus : IDisposable { /// <summary> /// Initialize Bus, must be called once /// </summary> ...
2.10849
ef3f9337bb1338cc61c4dac296cb25ba
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
65953
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "MyJetWallet/Service.Fireblocks.CoSignerCallback", "max_stars_repo_path": "src/Service.Fireblocks.CoSignerCallback/ApplicationLifetimeManager.cs", "provenance": "train-00000-of-00045.jsonl.gz:65954" }
starcoder
using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; using MyJetWallet.Sdk.NoSql; using MyJetWallet.Sdk.Service; using MyJetWallet.Sdk.ServiceBus; using MyNoSqlServer.Abstractions; using MyServiceBus.TcpClient; using Service.Fireblocks.CoSignerCallback.Domain; using Service.Fireblocks.CoSignerCallba...
1.640429
a8054aa69b615a61dffbe5a2db43ce8a
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
65954
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "sapphire119/NullPro", "max_stars_repo_path": "src/Services/UnprofessionalsApp.DataTransferObjects/Reoorts/ReportCreateDto.cs", "provenance": "train-00000-of-00045.jsonl.gz:65955" }
starcoder
using System; using System.Collections.Generic; using System.Text; namespace UnprofessionalsApp.DataTransferObjects.Reoorts { public class ReportCreateDto { public string Description { get; set; } public int? CommentId { get; set; } public int? PostId { get; set; } public int? ReplyId { get; set; } pu...
1.702901
5a500277a17d21bcb96bd6702fffb20d
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
65955
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "kenshinthebattosai/DotNetAnalytics.Google", "max_stars_repo_path": "src/LinqAn.Google/Dimensions/CustomVarName11.cs", "provenance": "train-00000-of-00045.jsonl.gz:65956" }
starcoder
using System.ComponentModel; namespace LinqAn.Google.Dimensions { /// <summary> /// The name for the requested custom variable. /// </summary> [Description("The name for the requested custom variable.")] public class CustomVarName11: Dimension { /// <summary> /// Instantiates a <seealso cref="CustomVarName...
2.401407
433b961fd65fec1362d856c6f62dd077
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
65956
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "ipms-io/my-node", "max_stars_repo_path": "my-node/Program.cs", "provenance": "train-00000-of-00045.jsonl.gz:65957" }
starcoder
<reponame>ipms-io/my-node using NBitcoin; using NBitcoin.Protocol; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading; using System.Threading.Tasks; using ZeroFormatter.Formatters; namespace my_node { class Program { private static SlimChain _cha...
2.186428
beadfa44ea52d4b40cefe073e247b355
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
65957
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "LykkeCity/Lykke.Service.BlockchainSettings", "max_stars_repo_path": "client/Lykke.Service.BlockchainSettings.Contract/Requests/BlockchainSettingsUpdateRequest.cs", "provenance": "train-00000-of-00045.jsonl.gz:65958" }
starcoder
<filename>client/Lykke.Service.BlockchainSettings.Contract/Requests/BlockchainSettingsUpdateRequest.cs using System.ComponentModel.DataAnnotations; using System.Runtime.Serialization; namespace Lykke.Service.BlockchainSettings.Contract.Requests { [DataContract] public class BlockchainSettingsUpdateRequest : B...
1.677616
464a67715016cbbfb27d0fa95b6979c1
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
65958
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "TolikPylypchuk/Crypto", "max_stars_repo_path": "Crypto/Alphabet.cs", "provenance": "train-00000-of-00045.jsonl.gz:65959" }
starcoder
<filename>Crypto/Alphabet.cs using System; using System.Collections; using System.Collections.Generic; using System.Linq; namespace Crypto { /// <summary> /// Represents an alphabet - a numbered set of unique characters. /// </summary> public class Alphabet : IEnumerable<char>, IEquatable<Alphabet> { /// <summ...
3.881371
66e888fe89a892b289ec0cf6411822dd
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
65959
{ "extension": "c-sharp", "max_stars_count": "208.0", "max_stars_repo_name": "neonowy/vrs", "max_stars_repo_path": "Test/Test.VirtualRadar.Interface/WebSite/ServerConfigJsonTests.cs", "provenance": "train-00000-of-00045.jsonl.gz:65960" }
starcoder
<filename>Test/Test.VirtualRadar.Interface/WebSite/ServerConfigJsonTests.cs // Copyright © 2013 onwards, <NAME> // All rights reserved. // // Redistribution and use of this software in source and binary forms, with or without modification, are permitted provided that the following conditions are met: // * Redis...
1.791737
47ca5dcd2ee87b2bdae3fbf9dd2e207b
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
65960
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "skipper876/Detached", "max_stars_repo_path": "src/Detached.DataAnnotations/Plugins/PartialKey/PKeyAttribute.cs", "provenance": "train-00000-of-00045.jsonl.gz:65961" }
starcoder
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Detached.DataAnnotations.Plugins.KeyAnnotation { [System.AttributeUsage(AttributeTargets.Property, Inherited = true, AllowMultiple = false)] public sealed class PKeyAttribute : Attribute { in...
2.429348
87ae5897ca18f2c7d8270f3067166222
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
65961
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "NewOrganizationNika/Survival-Run", "max_stars_repo_path": "Survival Run/Assets/Scripts/Utilities/Extensions/CollectionExtensions.cs", "provenance": "train-00000-of-00045.jsonl.gz:65962" }
starcoder
using System; using System.Linq; namespace Utilities.Extensions { public static class CollectionExtensions { public static System.Collections.Generic.IEnumerable<T> Shuffle<T>( this System.Collections.Generic.IEnumerable<T> array) { var originalList = array.ToList(); ...
3.26656
420b35adcf2f36e61867eb6f9f567907
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
65962
{ "extension": "c-sharp", "max_stars_count": "6.0", "max_stars_repo_name": "uwx/test", "max_stars_repo_path": "HSNXT.DSharpPlus.Extended/ReflectionUtils.cs", "provenance": "train-00000-of-00045.jsonl.gz:65963" }
starcoder
<filename>HSNXT.DSharpPlus.Extended/ReflectionUtils.cs<gh_stars>1-10 using System; using System.Linq.Expressions; using System.Reflection; using System.Threading.Tasks; using DSharpPlus; using DSharpPlus.Entities; namespace HSNXT.DSharpPlus.Extended { /// <summary> /// Utility methods to reflectively access pr...
2.634424
a8701e5d8376ca8669fa6cceb958fdfa
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
65963
{ "extension": "c-sharp", "max_stars_count": "91.0", "max_stars_repo_name": "wrsxinlang/MiCake", "max_stars_repo_path": "src/framework/MiCake.DDD.Extensions/Metadata/IDomainMetadataProvider.cs", "provenance": "train-00000-of-00045.jsonl.gz:65964" }
starcoder
namespace MiCake.DDD.Extensions.Metadata { /// <summary> /// Provider a way to get <see cref="DomainMetadata"/> /// </summary> public interface IDomainMetadataProvider { DomainMetadata GetDomainMetadata(); } }
1.918361
87c6c0464b5fc1fade22b7325ff1aa56
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
65964
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "thondrill/TheRcketLegume", "max_stars_repo_path": "Assets/Scripts/loseTextScroll.cs", "provenance": "train-00000-of-00045.jsonl.gz:65965" }
starcoder
using System.Collections; using System.Collections.Generic; using UnityEngine; public class loseTextScroll : MonoBehaviour { public GameObject text1; public GameObject text2; public GameObject text3; // Start is called before the first frame update void Start() { } // Update ...
2.172648
6464f487cc17bfe7d32bc18e3ff40275
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
65965
{ "extension": "c-sharp", "max_stars_count": "9.0", "max_stars_repo_name": "pashcovich/mptanks2d", "max_stars_repo_path": "MPTanks-MK5/Engine/Rendering/RenderableComponent.cs", "provenance": "train-00000-of-00045.jsonl.gz:65966" }
starcoder
using Microsoft.Xna.Framework; using MPTanks.Engine.Assets; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MPTanks.Engine.Rendering { public class RenderableComponent : IHasSpriteInfo { public Vector2 Offset { get; set; } =...
2.611709
4c564d750a0d9a541d0668d4e2ad2888
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
65966
{ "extension": "c-sharp", "max_stars_count": "4.0", "max_stars_repo_name": "tomenoss/Estudos-Notes", "max_stars_repo_path": "C# aulas/aula59/aula59.cs", "provenance": "train-00000-of-00045.jsonl.gz:65967" }
starcoder
<gh_stars>1-10 using System; using System.Collections.Generic; class Aula59 { static void Main(string[] args) { Queue<string> veiculos = new Queue<string>(); veiculos.Enqueue("Carro"); veiculos.Enqueue("Moto"); veiculos.Enqueue("Navio"); veiculos.Enqueue("Aviao"); ...
3.420094
342858453eb8824bb92644babd6c9200
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
65967
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "SzymonPobiega/Suteki.TardisBank", "max_stars_repo_path": "src/Suteki.TardisBank/Model/PaymentSchedule.cs", "provenance": "train-00000-of-00045.jsonl.gz:65968" }
starcoder
using System; namespace Suteki.TardisBank.Model { public class PaymentSchedule { public PaymentSchedule(int id, DateTime nextRun, Interval interval, decimal amount, string description) { Id = id; NextRun = nextRun; Interval = interval; Amount = a...
2.84976
fe5918706d555be1de8bc0074784ea1a
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
65968
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "itoledo/Birdie.Tesseract", "max_stars_repo_path": "tvn-cosine.ai/tvn-cosine.ai/environment/vacuum/FullyObservableVacuumEnvironmentPercept.cs", "provenance": "train-00000-of-00045.jsonl.gz:65969" }
starcoder
<gh_stars>0 using tvn.cosine.ai.agent.api; namespace tvn.cosine.ai.environment.vacuum { /** * Implements a fully observable environment percept, in accordance with page * 134, AIMAv3. * * @author <NAME> */ public interface FullyObservableVacuumEnvironmentPercept : IPercept { ...
1.865671
302617e6ddc68ae55eca631b364d2af0
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
65969
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "yusufsefasezer/aspnet-mvc-blog", "max_stars_repo_path": "aspnet-mvc-blog/Areas/Admin/ViewModels/RegisterViewModel.cs", "provenance": "train-00000-of-00045.jsonl.gz:65970" }
starcoder
<filename>aspnet-mvc-blog/Areas/Admin/ViewModels/RegisterViewModel.cs using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Web; namespace aspnet_mvc_blog.Areas.Admin.ViewModels { public class RegisterViewModel : LoginViewModel { [...
2.530636
0ab87290008e786eef150ab38e37b2ec
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
65970
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "henriktao/pulumi-azure", "max_stars_repo_path": "sdk/dotnet/ContainerService/Inputs/KubernetesClusterIngressApplicationGatewayArgs.cs", "provenance": "train-00000-of-00045.jsonl.gz:65971" }
starcoder
<gh_stars>0 // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serializa...
1.481251
98b6b0ac705acfb7764ea8d7e9998ed4
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
65971
{ "extension": "c-sharp", "max_stars_count": "15.0", "max_stars_repo_name": "tlmii/BrowserLinkInspector", "max_stars_repo_path": "src/Helpers/VsHelpers.cs", "provenance": "train-00000-of-00045.jsonl.gz:65972" }
starcoder
using EnvDTE; using EnvDTE80; using Microsoft.VisualStudio; using Microsoft.VisualStudio.ComponentModelHost; using Microsoft.VisualStudio.Editor; using Microsoft.VisualStudio.Shell; using Microsoft.VisualStudio.Text.Editor; using Microsoft.VisualStudio.TextManager.Interop; namespace BrowserLinkInspector { interna...
1.822116
b658eac818149072eca209f8e27318ca
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
65972
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "olekstra/Olekstra.Sdk.LikePharma", "max_stars_repo_path": "Olekstra.LikePharma.Client.Tests/Validators/Digit19CardNumberValidatorTests.cs", "provenance": "train-00000-of-00045.jsonl.gz:65973" }
starcoder
namespace Olekstra.LikePharma.Client.Validators { using System; using System.ComponentModel.DataAnnotations; using Xunit; public class Digit19CardNumberValidatorTests { private readonly ICardNumberValidator validator = new Digit19CardNumberValidator(); [Theory] [InlineData...
2.814453
86ec96dd040261758e6314fffce47ac2
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
65973
{ "extension": "c-sharp", "max_stars_count": "3.0", "max_stars_repo_name": "alanbarros/masstrasnsit_debug_vscode", "max_stars_repo_path": "src/messages-listener/Program.cs", "provenance": "train-00000-of-00045.jsonl.gz:65974" }
starcoder
namespace EventPublisher { using System; using System.Threading; using System.Threading.Tasks; using MassTransit; using messages_contracts; public class Program { private static readonly AutoResetEvent autoResetEvent = new AutoResetEvent(false); public static async Task Ma...
2.894113
b941638eca25e22041d186a9caca2dc3
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
65974
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "dc-koromo/koromo-copy-old", "max_stars_repo_path": "Koromo Copy/JS/ANTLR/JSParser.cs", "provenance": "train-00000-of-00045.jsonl.gz:65975" }
starcoder
/*** Copyright (C) 2018-2020. dc-koromo. All Rights Reserved. Author: Koromo Copy Developer ***/ using Antlr4.Runtime; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Koromo_Copy.JS.ANTLR { public class JSParser { ...
2.53052
2c264f5b359e9e1c42b69c64f9c5a2c8
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
65975
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "baatochan/KredekCSharpProgrammingCourse", "max_stars_repo_path": "Egzamin/Rodziewicz_Egzamin_D/Rodziewicz_Egzamin_D/Form1.cs", "provenance": "train-00000-of-00045.jsonl.gz:65976" }
starcoder
<filename>Egzamin/Rodziewicz_Egzamin_D/Rodziewicz_Egzamin_D/Form1.cs using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Data.SqlClient; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namesp...
2.482437
1bac688000d53f4773bd2ae6af5c49b8
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
65976
{ "extension": "c-sharp", "max_stars_count": "15.0", "max_stars_repo_name": "tellandev/FO.NET", "max_stars_repo_path": "src/Core/DataTypes/TableColLength.cs", "provenance": "train-00000-of-00045.jsonl.gz:65977" }
starcoder
<reponame>tellandev/FO.NET //Apache2, 2017, WinterDev //Apache2, 2009, griffm, FO.NET using Fonet.Fo.Expr; namespace Fonet.DataTypes { internal class TableColLength : Length { private double tcolUnits; public TableColLength(double tcolUnits) { this.tcolUnits = tcolUnits; ...
2.079695
16463c3a33d16eca1fd820981cd169b2
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
65977
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "otto-gebb/Reinforced.Typings", "max_stars_repo_path": "Reinforced.Typings/Fluent/ConfigurationBuilderExtensions/ConfigurationBuildersExtensions.Classes.cs", "provenance": "train-00000-of-00045.jsonl.gz:65978" }
starcoder
using System; using System.Collections.Generic; using Reinforced.Typings.Exceptions; using Reinforced.Typings.Fluent.Generic; using Reinforced.Typings.Fluent.Interfaces; // ReSharper disable CheckNamespace namespace Reinforced.Typings.Fluent { public static partial class ConfigurationBuildersExtensions { ...
2.387104
a9969b4c5c12b9049590b6d1650163b0
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
65978
{ "extension": "c-sharp", "max_stars_count": "568.0", "max_stars_repo_name": "heroboy/XUnity.AutoTranslator", "max_stars_repo_path": "src/XUnity.AutoTranslator.Plugin.Core/Endpoints/Http/HttpEndpoint.cs", "provenance": "train-00000-of-00045.jsonl.gz:65979" }
starcoder
using System; using System.Collections; using XUnity.AutoTranslator.Plugin.Core.Web; namespace XUnity.AutoTranslator.Plugin.Core.Endpoints.Http { /// <summary> /// An implementation of ITranslateEndpoint that simplifies implementing /// the interface based on a web service. /// </summary> public abstra...
2.595333
b18ff00087728eed4468fc9795791cca
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
65979
{ "extension": "c-sharp", "max_stars_count": "41.0", "max_stars_repo_name": "oOFlyOo/PureJSB", "max_stars_repo_path": "Assets/Standard Assets/JSBinding/Generated/JSB_UnityEngine_Profiler.cs", "provenance": "train-00000-of-00045.jsonl.gz:65980" }
starcoder
<reponame>oOFlyOo/PureJSB  //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by CSGenerator. // </auto-generated> //------------------------------------------------------------------------------ using UnityEngine; using System; using System....
1.46866
bbb1c93a4940941a9e04aaf2523de654
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
65980
{ "extension": "c-sharp", "max_stars_count": "6.0", "max_stars_repo_name": "TradeArcher/TradeArcher", "max_stars_repo_path": "TradeArcher2020/TradeArcher/Views/TradesPage.xaml.cs", "provenance": "train-00000-of-00045.jsonl.gz:65981" }
starcoder
using Windows.UI.Xaml.Controls; using TradeArcher.ViewModels; // The Blank Page item template is documented at https://go.microsoft.com/fwlink/?LinkId=234238 namespace TradeArcher.Views { /// <summary> /// An empty page that can be used on its own or navigated to within a Frame. /// </summary> public...
1.910201
14904df4b84709c3dc94540a2822388a
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
65981
{ "extension": "c-sharp", "max_stars_count": "112.0", "max_stars_repo_name": "olivr70/Eto.Parse", "max_stars_repo_path": "Eto.Parse/Writers/Code/ParserWriter.cs", "provenance": "train-00000-of-00045.jsonl.gz:65982" }
starcoder
using System; using Eto.Parse.Parsers; using System.Collections.Generic; using System.IO; namespace Eto.Parse.Writers.Code { public class ParserWriter<T> : TextParserWriter.IParserWriterHandler where T: Parser { protected virtual bool WriteNewObject { get { return true; } } public virtual string GetName(TextP...
2.598752
932e2c710d001737183dbcd430bd2c86
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
65982
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "andri0331/cetaku", "max_stars_repo_path": "Libraries/Nop.Services/Web References/EuropaCheckVatService/Reference.cs", "provenance": "train-00000-of-00045.jsonl.gz:65983" }
starcoder
<filename>Libraries/Nop.Services/Web References/EuropaCheckVatService/Reference.cs //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect beh...
1.813164
126398a7b9e13a79fc47eedaee4f162f
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
65983
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "bberak/Poker.NET", "max_stars_repo_path": "BB.Poker.Logic/Game/GameRoutines/TexasHoldem/TurnRiverOrFlopRoutine/TurnRiverOrFlopRoutine.cs", "provenance": "train-00000-of-00045.jsonl.gz:65984" }
starcoder
<filename>BB.Poker.Logic/Game/GameRoutines/TexasHoldem/TurnRiverOrFlopRoutine/TurnRiverOrFlopRoutine.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using BB.Poker.Common; namespace BB.Poker.Logic { public partial class TexasHoldemTable { protected class TurnRi...
2.500094
d8453032506f86ca2b1811e63daba4f6
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
65984
{ "extension": "c-sharp", "max_stars_count": "9.0", "max_stars_repo_name": "ygoe/CecilExplorer", "max_stars_repo_path": "CecilExplorer/App.xaml.cs", "provenance": "train-00000-of-00045.jsonl.gz:65985" }
starcoder
<gh_stars>1-10 using System; using System.Windows; using CecilExplorer.ViewModels; using CecilExplorer.Views; using Unclassified.Util; namespace CecilExplorer { public partial class App : Application { #region Startup protected override void OnStartup(StartupEventArgs args) { base.OnStartup(...
2.34391
14cd86e9ec06a6f492ca74ee9bbcba7a
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
65985
{ "extension": "c-sharp", "max_stars_count": "94.0", "max_stars_repo_name": "emreyigit/hazelcast-csharp-client", "max_stars_repo_path": "src/Hazelcast.Net/Serialization/Collections/ReadOnlyLazyDictionaryOfList.cs", "provenance": "train-00000-of-00045.jsonl.gz:65986" }
starcoder
// Copyright (c) 2008-2021, Hazelcast, Inc. All Rights Reserved. // // 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...
2.5773
42215f05f2405c6ec84de92dae49c1c7
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
65986
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "MarcosMeli/Roslynator", "max_stars_repo_path": "source/Refactorings/Refactorings/ReplaceMethodGroupWithLambdaRefactoring.cs", "provenance": "train-00000-of-00045.jsonl.gz:65987" }
starcoder
// Copyright (c) <NAME>. All rights reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Diagnostics; using System.Linq; using System.Threading; using System.Threading.Tasks; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CShar...
2.133956
0b439d2e76f25d213a9e1925502270cd
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
65987
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "JeremyKuhne/terrafx.interop.windows", "max_stars_repo_path": "sources/Interop/Windows/Windows/shared/ipifcons/MIB.cs", "provenance": "train-00000-of-00045.jsonl.gz:65988" }
starcoder
// Copyright © <NAME> Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from shared/ipifcons.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. using static TerraFX.Interop.Windows.INTE...
1.105058
a46a557213e7c1d0a7cc259d32c27d17
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
65988
{ "extension": "c-sharp", "max_stars_count": "3.0", "max_stars_repo_name": "darshanrampatel/Advent-of-Code-2017", "max_stars_repo_path": "AoC2017.Tests/Day8Test.cs", "provenance": "train-00000-of-00045.jsonl.gz:65989" }
starcoder
<filename>AoC2017.Tests/Day8Test.cs using System; using Xunit; namespace AoC2017.Tests { public class Day8Test { [Theory] [InlineData(@"b inc 5 if a > 1 a inc 1 if b < 5 c dec -10 if a >= 1 c inc -20 if c == 10", 1)] public void Part1(string input, int output) { var ...
2.957424
c25661ecaf4e914f7fa139caf00c3887
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
65989
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "jonataspiazzi/Aula", "max_stars_repo_path": "CSharp/Aulas/Matriz/v2/Program.cs", "provenance": "train-00000-of-00045.jsonl.gz:65990" }
starcoder
using System; namespace Exercise52 { class Program { static void Main(string[] args) { Console.OutputEncoding = System.Text.Encoding.UTF8; double[,] notas; double media; string[] nomes; int qtdAlunos, qtdNota, contAluno, contNota; ...
3.253586
ba4f0380c5a5482f05cc61c69804f69f
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
65990
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "ZCLLemon/Util", "max_stars_repo_path": "src/Util.Security/Identity/Services/Abstractions/IRoleManager.cs", "provenance": "train-00000-of-00045.jsonl.gz:65991" }
starcoder
using Util.Domains.Services; using Util.Security.Identity.Models; namespace Util.Security.Identity.Services.Abstractions { /// <summary> /// 角色服务 /// </summary> /// <typeparam name="TRole">角色类型</typeparam> /// <typeparam name="TKey">角色标识类型</typeparam> /// <typeparam name="TParentId">角色父标识类型</t...
1.995235
2f95220bf729c55bf4b91fcf867b555d
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
65991
{ "extension": "c-sharp", "max_stars_count": "37.0", "max_stars_repo_name": "unoplatform/Uno.WindowsCommunityToolk", "max_stars_repo_path": "CommunityToolkit.WinUI.SampleApp/MainWindow.xaml.cs", "provenance": "train-00000-of-00045.jsonl.gz:65992" }
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. namespace CommunityToolkit.WinUI.SampleApp { public sealed partial class MainWindow { public MainWin...
1.66821
8ee53a0d92bc41d995e26b78dd304a4f
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
65992
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "mike-moede/MMALSharp", "max_stars_repo_path": "src/MMALSharp/Native/MMALParameters.cs", "provenance": "train-00000-of-00045.jsonl.gz:65993" }
starcoder
// <copyright file="MMALParameters.cs" company="Techyian"> // Copyright (c) <NAME>. All rights reserved. // Licensed under the MIT License. Please see LICENSE.txt for License info. // </copyright> using System; using System.Runtime.InteropServices; namespace MMALSharp.Native { #pragma warning disable CS1591 // Missi...
1.758826
3700e37b27f11b6ab4ae9baf121cba78
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
65993
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "efikalti/CityBuilding", "max_stars_repo_path": "Assets/Scripts/Building.cs", "provenance": "train-00000-of-00045.jsonl.gz:65994" }
starcoder
using UnityEngine; using System.Collections; public class Building : MonoBehaviour { public BUILDING type; public Vector2Int size; void Awake() { // Calculate and save size MeshRenderer mesh = GetComponent<MeshRenderer>(); size = new Vector2Int(Mathf.CeilToInt(mesh.bounds.size...
2.569836
ec95bede325e134fac21bd334533d2df
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
65994
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "voidmainbalamurugan/BatchJob", "max_stars_repo_path": "src/BatchProcess.AutoJob/Hooks/MessageHook.cs", "provenance": "train-00000-of-00045.jsonl.gz:65995" }
starcoder
using System; namespace BatchProcess.AutoJob { /// <summary> /// Dto for messaging hook. /// </summary> public class MessageHook { public MessageType Type { get; set; } public string Purpose { get; set; } public string Text { get; set; } public DateTime CreatedUtc {...
3.008828
39c32075a862e10fc903c956eac10d2d
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
65995
{ "extension": "c-sharp", "max_stars_count": "75.0", "max_stars_repo_name": "thomz12/h5", "max_stars_repo_path": "H5/H5/System/Text/UTF8Encoding.cs", "provenance": "train-00000-of-00045.jsonl.gz:65996" }
starcoder
namespace System.Text { public class UTF8Encoding : Encoding { private bool encoderShouldEmitUTF8Identifier; private bool throwOnInvalid; public UTF8Encoding() : this(false) { } public UTF8Encoding(bool encoderShouldEmitUTF8Identifier) : this(encoderShouldEmitUT...
2.598513
ea813ad194d67876223c0689d2c3b14b
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
65996
{ "extension": "c-sharp", "max_stars_count": "3.0", "max_stars_repo_name": "jasoncable/i-can-program-too", "max_stars_repo_path": "code/SampleConsoleApp/Chapter12/DatesAndTimes.cs", "provenance": "train-00000-of-00045.jsonl.gz:65997" }
starcoder
using System; namespace SampleConsoleApp.Chapter12 { public class DatesAndTimes { public static void RunMe() { DateTime epoch = new DateTime(1970, 1, 1); DateTime birthDay = new DateTime(1980, 3, 3, 19, 5, 0); TimeSpan ts = birthDay - epoch; long epochTim...
3.332003
ffd02c9cd083769ff8d7e8d0d8cba6fd
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
65997
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "elliotmoule/named-pipes-unity-csharp", "max_stars_repo_path": "Named Pipes/Assets/Scripts/Utilities/PipeUtilities.cs", "provenance": "train-00000-of-00045.jsonl.gz:65998" }
starcoder
using System; public static class PipeUtilities { public static void SendPipedMessage(StreamString streamString, string message) { try { if (!string.IsNullOrWhiteSpace(message)) { if (streamString != null) { streamStri...
2.920504
05f8dd7690bf6b6c8a141a8774db451f
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
65998
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "wforney/cs-multihash", "max_stars_repo_path": "test/Multiformats.Hash.Tests/ExtensionTests.cs", "provenance": "train-00000-of-00045.jsonl.gz:65999" }
starcoder
<gh_stars>0 namespace Multiformats.Hash.Tests; using System; using System.IO; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; using Xunit; public class ExtensionTests { public HashType[] SupportedHashTypes { get; } public ExtensionTests() { SupportedHas...
2.34617
bbc93b297e592d9bdc9a5860a56e846f
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
65999
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "parloti/FluentRegex", "max_stars_repo_path": "TypeRegexTest/CharacterGroup/NegativeUnicodeCategoryTest.cs", "provenance": "train-00000-of-00045.jsonl.gz:66000" }
starcoder
using System; using System.Reflection; using System.Text.RegularExpressions; using TypeRegex; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace TypeRegexTest { [TestClass] public class NegativeUnicodeCategoryTest { [TestMethod] public void Test() { var prope...
2.570934
c4652404e685befc5040bbacebad71a4
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
66000
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "PatrickRatzow/space-dotnet-sdk", "max_stars_repo_path": "src/JetBrains.Space.Client/Generated/Partials/CodeReviewWithCountPartialBuilder.generated.cs", "provenance": "train-00000-of-00045.jsonl.gz:66001" }
starcoder
// ------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> // ---------------------------------------...
1.678664
dad09d5e4c7070b3663159c7623d09ff
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
66001
{ "extension": "c-sharp", "max_stars_count": "2376.0", "max_stars_repo_name": "RyanHill-MSFT/kudu", "max_stars_repo_path": "Kudu.Core/Infrastructure/IniFile.cs", "provenance": "train-00000-of-00045.jsonl.gz:66002" }
starcoder
<gh_stars>1000+ using System; using System.Collections.Generic; using System.IO; using IniLookup = System.Collections.Generic.Dictionary<string, System.Collections.Generic.Dictionary<string, string>>; namespace Kudu.Core.Infrastructure { public class IniFile { private readonly string _path; pr...
2.855241
0d7b806b80750f861481a9e4ae06605b
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
66002
{ "extension": "c-sharp", "max_stars_count": "57.0", "max_stars_repo_name": "laomengT/YIME-1", "max_stars_repo_path": "YIME/Program.cs", "provenance": "train-00000-of-00045.jsonl.gz:66003" }
starcoder
<reponame>laomengT/YIME-1 using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Reflection; using System.Runtime.InteropServices; using System.Text; using System.Threading.Tasks; using TSF.InteropTypes; using TSF.TypeLib; namespace YIME { class Program { ...
2.064891
feca18fe7ad706879bf61e3d7b08c491
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
66003
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "nimblybr/OfxSharp", "max_stars_repo_path": "Lib/TransactionCorrectionType.cs", "provenance": "train-00000-of-00045.jsonl.gz:66004" }
starcoder
using System.ComponentModel; namespace OfxSharpLib { public enum TransactionCorrectionType { [Description("No correction needed")] NA, [Description("Replace this transaction with one referenced by CORRECTFITID")] REPLACE, [Description("Delete transaction")] DELE...
1.679666
845287dea305b9269cc6375fbcef6632
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
66004
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "AdrianJSClark/aydsko-iracingdata", "max_stars_repo_path": "src/Aydsko.iRacingData/Leagues/RosterMember.cs", "provenance": "train-00000-of-00045.jsonl.gz:66005" }
starcoder
<reponame>AdrianJSClark/aydsko-iracingdata // © 2022 <NAME> // This file is licensed to you under the MIT license. namespace Aydsko.iRacingData.Leagues; public class RosterMember { [JsonPropertyName("cust_id")] public int CustomerId { get; set; } [JsonPropertyName("display_name")] public string Disp...
1.547699
5417d8729c9a031aace719cd4c3d183c
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
66005
{ "extension": "c-sharp", "max_stars_count": "3.0", "max_stars_repo_name": "michaelbui99/VIA-BnB", "max_stars_repo_path": "t2/SEP3T2API/SEP3T2API/UnitTests/CityServiceTest/CreateCityTest.cs", "provenance": "train-00000-of-00045.jsonl.gz:66006" }
starcoder
using System; using Moq; using NUnit.Framework; using SEP3T2GraphQL.Models; using SEP3T2GraphQL.Repositories; using SEP3T2GraphQL.Services; using SEP3T2GraphQL.Services.Impl; using SEP3T2GraphQL.Services.Validation; namespace UnitTests.CityServiceTest { [TestFixture] public class CreateCityTest { ...
2.599036
5a4e41a132ec5ad902f899b129c23984
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
66006
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "jakubmacek/PathfinderKingmakerInventoryTweaks", "max_stars_repo_path": "UI/ContainersUIController.cs", "provenance": "train-00000-of-00045.jsonl.gz:66007" }
starcoder
using Kingmaker.PubSubSystem; using ModMaker; using ModMaker.Utility; using System.Reflection; using static InventoryTweaks.Main; namespace InventoryTweaks.UI { class ContainersUIController : IModEventHandler, ISceneHandler { public int Priority => 400; public ContainersUIManager ContainersUI...
1.834622
0beb962700fbfe5e9166ee00ba54af5e
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
66007
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "Yaroslav08/KyivSmartCityApi", "max_stars_repo_path": "KyivSmartCityApi/KyivSmartCityApi/Models/CreateSmartCardModel.cs", "provenance": "train-00000-of-00045.jsonl.gz:66008" }
starcoder
using System.Text.Json.Serialization; using System; using System.Collections.Generic; using System.Text; namespace KyivSmartCityApi.Models { public class CreateSmartCardModel { [JsonPropertyName("name")] public string Name { get; set; } [JsonPropertyName("number")] public string...
1.758569
62c1b184df58d9786c34af1fef86c75c
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
66008
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "Rotvig/Votiee", "max_stars_repo_path": "Votiee/VotieeBackend/ViewModels/SurveyViewModel.cs", "provenance": "train-00000-of-00045.jsonl.gz:66009" }
starcoder
using System.Collections.Generic; namespace VotieeBackend.ViewModels { public class SurveyViewModel { public int SurveyId { get; set; } public string Name { get; set; } public List<SurveyItemViewModel> SurveyItems { get; set; } } }
1.797427
a61acd0965211f3b2643a3c6ab1b2fb2
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
66009
{ "extension": "c-sharp", "max_stars_count": "10.0", "max_stars_repo_name": "codetuner/Arebis.Common", "max_stars_repo_path": "Arebis.Pdf/Common/PdfTextStream.cs", "provenance": "train-00000-of-00045.jsonl.gz:66010" }
starcoder
using System; using System.Text; namespace Arebis.Pdf.Common { [Serializable] public class PdfTextStream : PdfStream { public PdfTextStream() { this.Content = new StringBuilder(); } public StringBuilder Content { get; set; } public overr...
2.353019
1b7e96810cdb2612335ded93cb0c40bc
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
66010
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "ebetap/C-DesktopAppVisualStudio", "max_stars_repo_path": "FINAL/Hapus.cs", "provenance": "train-00000-of-00045.jsonl.gz:66011" }
starcoder
using MetroFramework; using MetroFramework.Forms; using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace FINAL { public partial cla...
2.309802
56f03b1275d8a675b52dbf58ffed10e8
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
66011
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "recreationx/uberstrok", "max_stars_repo_path": "src/UberStrok.Realtime.Server/ApplicationConfiguration.cs", "provenance": "train-00000-of-00045.jsonl.gz:66012" }
starcoder
<gh_stars>0 using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Text; namespace UberStrok.Realtime.Server { public class ApplicationConfiguration { public static readonly ApplicationConfiguration Default = new ApplicationConfiguration { We...
2.170088
4c615e2a15fbe029a5e29da67419c772
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
66012
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "p4j4dyxcry/WPF-", "max_stars_repo_path": "SandBox/FileViewModel.cs", "provenance": "train-00000-of-00045.jsonl.gz:66013" }
starcoder
<gh_stars>0 namespace SandBox { public class FileViewModel { public string Name => _fileModel.Name; public string Extension => _fileModel.Extension; public string AbsolutePath => _fileModel.AbsolutePath; public string FileSize { get; } private rea...
2.624042
b114f1fb9dd62184dd46c6044d3f3b6f
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
66013
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "fernandolozer/CursoAspNetCore1", "max_stars_repo_path": "LinguagemCS6/LinguagemCS6/IniciarPropriedades.cs", "provenance": "train-00000-of-00045.jsonl.gz:66014" }
starcoder
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace LinguagemCS6 { class IniciarPropriedades { static void Main(string[] args) { // exercicio 1 - string interpolation 1 var prod = new Produto ...
3.449165
0d29ab3be59ce310ab6df62858ff8165
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
66014
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "ReiiYuki/RuneTapping", "max_stars_repo_path": "Assets/Rune Tapping/Scripts/Game/Position/GroundBehaviour.cs", "provenance": "train-00000-of-00045.jsonl.gz:66015" }
starcoder
<filename>Assets/Rune Tapping/Scripts/Game/Position/GroundBehaviour.cs using UnityEngine; public class GroundBehaviour : MonoBehaviour { void OnCollisionEnter2D(Collision2D collision) { collision.transform.parent.SendMessage("OnHitFloor"); } }
1.844752
e27ce23315b00e96b30f86000a4961d3
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
66015
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "nakky/WatchingDemon", "max_stars_repo_path": "app/DefaultPacketTriggerPlugin/AppMonitoringSwitchTrigger.cs", "provenance": "train-00000-of-00045.jsonl.gz:66016" }
starcoder
using System; using System.Collections.Generic; using System.Diagnostics; using System.Text; using ProcessMonitor; namespace PacketTrigger { class AppMonitoringSwitchTrigger : Plugin { public override string PluginName { get { return "AppMonitoringSwitch"; } } public override short Id { get ...
2.329026
f5e4291e45e9767b4f4ecb2aa39dcb94
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
66016
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "James-Tolley/Tolley.Data", "max_stars_repo_path": "src/Tolley.Data/DataContext.cs", "provenance": "train-00000-of-00045.jsonl.gz:66017" }
starcoder
using System; using System.Data; namespace Tolley.Data { /// <summary> /// A data context on an <see cref="IDbConnection"/> /// </summary> public class DataContext : IDataContext, IDisposable { private int _transactionCount; private bool _disposed; /// <summary> //...
2.992415
a4eb7c3fb5a17dc5877451b48a21a7fd
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
66017
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "StevenLiekens/EventEoursingWorkshop", "max_stars_repo_path": "SprotyFy/SprotyFy.Controller.Api/Events/SongToPlayListAdded.cs", "provenance": "train-00000-of-00045.jsonl.gz:66018" }
starcoder
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace SprotFy.Controller.Events { public class SongFromPlayListRemoved { public string Userid { get; set; } public Guid PlayListId { get; set; } public Guid SongId { get; set; } } }...
1.559561
7732b8c3976f8cf246c1c0a0cf17e0e7
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
66018
{ "extension": "c-sharp", "max_stars_count": "31.0", "max_stars_repo_name": "VakuWare/teds-terminal", "max_stars_repo_path": "src/tterm/Ui/TerminalControl.cs", "provenance": "train-00000-of-00045.jsonl.gz:66019" }
starcoder
using System; using System.Collections.Generic; using System.Diagnostics; using System.Globalization; using System.Threading; using System.Windows; using System.Windows.Controls; using System.Windows.Input; using System.Windows.Media; using System.Windows.Threading; using tterm.Ansi; using tterm.Terminal; using Select...
2.257601
717174c8b9a6181ac74e20965473c362
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
66019
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "qq863391602/demo", "max_stars_repo_path": "T4-Template-POCO-Example/Export/T_SmsDetail.cs", "provenance": "train-00000-of-00045.jsonl.gz:66020" }
starcoder
using System; using NPoco; using System.ComponentModel.DataAnnotations; namespace Electric.Domain.Entities { /// <summary> /// Represents a T_SmsDetail. /// NOTE: 这个类是从T4模板生成的——你不应该手动修改它。 /// </summary> [MetadataType(typeof(SmsDetailMetadata))] [PrimaryKey("SmsID")] [TableName("[dbo].[T_SmsDetail]"...
2.539272
3aaa46ba386b295bf1cfa2b12c4dbd32
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
66020
{ "extension": "c-sharp", "max_stars_count": "29.0", "max_stars_repo_name": "indietom/Gleed2D", "max_stars_repo_path": "src/Gleed2D.Core/ISubscriber.cs", "provenance": "train-00000-of-00045.jsonl.gz:66021" }
starcoder
<filename>src/Gleed2D.Core/ISubscriber.cs using System; namespace Gleed2D.Core { /// <summary> /// Interface to be implemented by event subscribers. /// </summary> /// <remarks> /// Event subscribers implement this interface to allow them to receive events with subjects /// of type <typeparamref name="T"/>. ///...
2.949609
20b6103e92bdd203b0213fcccedf63fd
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
66021
{ "extension": "c-sharp", "max_stars_count": "3.0", "max_stars_repo_name": "rhuber1279/SmartLifeForDotNet", "max_stars_repo_path": "SmartLife.Applications/SmartLife.Client.Merchant/frmWorkOrderProcessingDetail.Designer.cs", "provenance": "train-00000-of-00045.jsonl.gz:66022" }
starcoder
namespace SmartLife.Client.Merchant { partial class frmWorkOrderProcessingDetail { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. ...
1.654686
0cf18d550ec789e33320e970f7a52f02
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
66022
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "dibley1973/Dibware.Template.Presentation.Web", "max_stars_repo_path": "Dibware.Template.Core.Application/Base/DataService.cs", "provenance": "train-00000-of-00045.jsonl.gz:66023" }
starcoder
using Dibware.Template.Core.Application.Exceptions; using Dibware.Template.Core.Domain.Contracts.Repositories.Base; using Dibware.Template.Core.Domain.Contracts.Services; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Dibware.Temp...
2.703948
aeb168437da194fd41e969d1712436ed
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
66023
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "mbogaerts/DevExpress.XAF", "max_stars_repo_path": "src/Modules/Office.DocumentStyleManager/ModelLogic.cs", "provenance": "train-00000-of-00045.jsonl.gz:66024" }
starcoder
<reponame>mbogaerts/DevExpress.XAF using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing.Design; using System.Linq; using System.Reactive.Linq; using DevExpress.ExpressApp; using DevExpress.ExpressApp.DC; using DevExpress.ExpressApp.Editors; using DevExpress.ExpressApp.Model...
1.606817
88ed4cf2fef0e63c42f70b88d58fa2c9
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
66024
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "hoppfull/Legacy-CSharp", "max_stars_repo_path": "Basics/ex07 local scope/Program.cs", "provenance": "train-00000-of-00045.jsonl.gz:66025" }
starcoder
<filename>Basics/ex07 local scope/Program.cs using System; namespace ex07 { class Program { static void Main(string[] args) { int x = 5; // x exists in sub-scope as well as local scope { // define local scope int y = 7; // y exists only in local scope ...
3.218868
28bce4f07af54d715032063547115030
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
66025
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "hodlwallet/hodlwallet", "max_stars_repo_path": "HodlWallet/Core/Services/WalletService.cs", "provenance": "train-00000-of-00045.jsonl.gz:66026" }
starcoder
<gh_stars>1-10 // // WalletService.cs // // Author: // <NAME> <<EMAIL>> // // Copyright (c) 2019 HODL Wallet // // 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, i...
1.499084
f4dbbd43be308ae9c5aec67c369ba1a9
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
66026
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "OpenCodeDev/OpenCodeDev.Blazor.Foundation", "max_stars_repo_path": "Blazor_Foundation_6_Lib/Components/Media/ResponsiveEmbedAspectRatio.razor.cs", "provenance": "train-00000-of-00045.jsonl.gz:66027" }
starcoder
<filename>Blazor_Foundation_6_Lib/Components/Media/ResponsiveEmbedAspectRatio.razor.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.AspNetCore.Components; using Microsoft.AspNetCore.Components.Web; namespace OpenCodeDev.Blazor.Foun...
1.615307
bb483e0219cdd5adb9878672e74a5311
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
66027
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "naumanmy/case-apps", "max_stars_repo_path": "2022/Case.ParallelWalls/Case.ParallelWalls/Entry/CmdMain.cs", "provenance": "train-00000-of-00045.jsonl.gz:66028" }
starcoder
<gh_stars>0 using System; using Autodesk.Revit.Attributes; using Autodesk.Revit.DB; using Autodesk.Revit.UI; using Case.ParallelWalls.Data; using Case.ParallelWalls.UI; using Microsoft.Win32; namespace Case.ParallelWalls.Entry { [Transaction(TransactionMode.Manual)] public class CmdMain : IExternalCommand { ...
1.948859
5ca0499244a02814ee36d5938541b086
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
66028
{ "extension": "c-sharp", "max_stars_count": "156.0", "max_stars_repo_name": "bholbrook/Simple.OData.Client", "max_stars_repo_path": "src/ActionProviderImplementation/IParameterMarshaller.cs", "provenance": "train-00000-of-00045.jsonl.gz:66029" }
starcoder
using System.Data.Services.Providers; using System.Data.Services; namespace ActionProviderImplementation; public interface IParameterMarshaller { object[] Marshall(DataServiceOperationContext operationContext, ServiceAction serviceAction, object[] parameters); }
1.290833
aafdd413684498d25239aeba6705a8e1
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
66029
{ "extension": "c-sharp", "max_stars_count": "38.0", "max_stars_repo_name": "xamarin/amazon", "max_stars_repo_path": "AWSSDK/Amazon.DynamoDB/Model/UpdateItemRequest.cs", "provenance": "train-00000-of-00045.jsonl.gz:66030" }
starcoder
<filename>AWSSDK/Amazon.DynamoDB/Model/UpdateItemRequest.cs /* * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at...
2.29479
a472ec2245119bf401c4564084bac919
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
66030
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "gitter-badger/Blazorise", "max_stars_repo_path": "Source/Blazorise/ProgressBar.cshtml", "provenance": "train-00000-of-00045.jsonl.gz:66031" }
starcoder
@inherits Base.BaseProgressBar @if ( !ComponentMapper.HasRegistration( this ) ) { <div class="@ClassMapper.Class" style="@StyleMapper.Style" role="progressbar" aria-valuenow="@Value " aria-valuemin="@Min" aria-valuemax="@Max"> @ChildContent </div> } else { @RenderCustomComponent() }
2.262338
df0136767a3eea71fe6f759bc839ad08
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
66031
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "sguzunov/Telerik-Academy-2015-2016", "max_stars_repo_path": "KPK/Structural Patterns/Flyweight pattern/SpaceBattle/SpaceBattle/AssaultShip.cs", "provenance": "train-00000-of-00045.jsonl.gz:66032" }
starcoder
namespace SpaceBattle { using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; public class AssaultShip : SpaceUnit { public AssaultShip() { this.HitPonts = 65; this.Live = 90; } ...
3.35355
ad182d2509f98b2e9e1b7f70847c6db9
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
66032
{ "extension": "c-sharp", "max_stars_count": "44.0", "max_stars_repo_name": "dotnet-standard-ui/standard-ui", "max_stars_repo_path": "src/StandardUI.Mac/generated/Media/GradientBrush.cs", "provenance": "train-00000-of-00045.jsonl.gz:66033" }
starcoder
<gh_stars>10-100 // This file is generated from IGradientBrush.cs. Update the source file to change its contents. using Microsoft.StandardUI.Media; namespace Microsoft.StandardUI.Mac.Media { public class GradientBrush : Brush, IGradientBrush { public static readonly UIProperty GradientStopsProperty = ...
2.158864
876236d308c989c71fe47ee1419eb287