added
stringclasses
11 values
created
stringclasses
11 values
id
stringlengths
4
8
metadata
dict
source
stringclasses
1 value
text
stringlengths
9
1.04M
code-score
float64
-0.5
4.71
md5
stringlengths
32
32
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8811518
{ "extension": "c-sharp", "max_stars_count": "3.0", "max_stars_repo_name": "anadale/hotchocolate", "max_stars_repo_path": "src/HotChocolate/Core/src/Types/Types/Extensions/InterfaceTypeDescriptorExtensions.cs", "provenance": "train-00027-of-00045.jsonl.gz:130738" }
starcoder
using System; using System.Linq.Expressions; using HotChocolate.Language; namespace HotChocolate.Types; public static class InterfaceTypeDescriptorExtensions { public static IInterfaceTypeDescriptor<T> Ignore<T>( this IInterfaceTypeDescriptor<T> descriptor, Expression<Func<T, object>> propertyOrMe...
2.773444
07a1c4d092bd6cdf6c6e811a196422fc
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8811519
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "richstep/TVWS-DB-Code", "max_stars_repo_path": "src/Common/INativeMethodService.cs", "provenance": "train-00027-of-00045.jsonl.gz:130739" }
starcoder
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. namespace Microsoft.Whitespace.Common { using System; using System.Collections.Generic; using System.ServiceModel; using Entities; /// <summary> /// Interface INativeMethodService /// </summ...
2.279555
d5b1e9ffe209d613ef7c500defa321a5
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8811520
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "rubiksmaster02/X10D", "max_stars_repo_path": "X10D.Performant/src/ReExposed/DecimalExtensions/DoubleExtensions/System.Double.cs", "provenance": "train-00027-of-00045.jsonl.gz:130740" }
starcoder
namespace X10D.Performant.ReExposed; [SuppressMessage("ReSharper", "UnusedMember.Global")] [SuppressMessage("ReSharper", "UnusedType.Global")] public static partial class DoubleExtensions { /// <inheritdoc cref="double.IsFinite(double)"/> public static bool IsFinite(this double value) => double.IsFinite(value...
2.278119
e2f3066012d8c49ce198bb969e9a001f
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8811521
{ "extension": "c-sharp", "max_stars_count": "72.0", "max_stars_repo_name": "azsdaja/Osnowa", "max_stars_repo_path": "Osnowa.Tests/ECS/EcsIntegrationTests.cs", "provenance": "train-00027-of-00045.jsonl.gz:130741" }
starcoder
using System; using System.Diagnostics; using Assets.Osnowa.Osnowa.Core; using Entitas; using NUnit.Framework; namespace Osnowa.Tests.ECS { [TestFixture] public class EcsIntegrationTests : ZenjectUnitTestFixture { [Test] public void Showcase() { var stopwatch = Stopwatch.StartNew(); var gameContext...
2.215204
56a0bfd4bc880ca697485757eca8d8b3
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8811522
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "sususu98/ScottPlot", "max_stars_repo_path": "src/ScottPlot/Plot/Plot.cs", "provenance": "train-00027-of-00045.jsonl.gz:130742" }
starcoder
using ScottPlot.Plottable; using System; using System.Diagnostics; using System.Drawing; using System.Linq; namespace ScottPlot { public partial class Plot { /// <summary> /// The settings object stores all state (configuration and data) for a plot /// </summary> private readon...
3.132047
9b2b9b4e2514fad9356fc9e3e4f9d25b
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8811523
{ "extension": "c-sharp", "max_stars_count": "55.0", "max_stars_repo_name": "tgiachi/Neon.HomeControl", "max_stars_repo_path": "Neon.HomeControl.Api/Core/Interfaces/Controllers/IBaseApiController.cs", "provenance": "train-00027-of-00045.jsonl.gz:130743" }
starcoder
using Microsoft.AspNetCore.Mvc; using Neon.HomeControl.Api.Core.Interfaces.Dao; using Neon.HomeControl.Api.Core.Interfaces.Dto; using Neon.HomeControl.Api.Core.Interfaces.Entities; using System.Collections.Generic; namespace Neon.HomeControl.Api.Core.Interfaces.Controllers { public interface IBaseApiController<TEnti...
1.617017
6646416b7ac860814f9c1973c5282ca2
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8811524
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "Snijderman/Snijderman", "max_stars_repo_path": "Samples/Common/Snijderman.Samples.Common/Services/CustomerService.cs", "provenance": "train-00027-of-00045.jsonl.gz:130744" }
starcoder
<gh_stars>0 using System.Collections.Generic; using System.Threading.Tasks; using Snijderman.Samples.Common.Model; namespace Snijderman.Samples.Common.Services; public class CustomerService : ICustomerService { private readonly ISampleDataService _sampleDataService; public CustomerService(ISampleDataService sa...
1.82788
3a7762b48f399a0cf7cf10b8c149d5e8
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8811525
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "costahigor/App-para-cadastro-de-series-de-tv", "max_stars_repo_path": "Interfaces/InterfaceRepositorio.cs", "provenance": "train-00027-of-00045.jsonl.gz:130745" }
starcoder
<reponame>costahigor/App-para-cadastro-de-series-de-tv using System.Collections.Generic; namespace Cadastro.Series.Interfaces { public interface InterfaceRepositorio<T> { System.Collections.Generic.List<T> Lista(); T RetornaPorId(int id); void Inserir(T entidade); void Exclu...
1.746109
ffa5964278f051b86d4276f7d1e41c5e
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8811526
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "CaptainHummus/Lost-Dungeon", "max_stars_repo_path": "Lost Dungeon/Assets/My Scripts/Old Scripts (dont look pls)/OldEnemy.cs", "provenance": "train-00027-of-00045.jsonl.gz:130746" }
starcoder
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class OldEnemy : MonoBehaviour { public int health; public int deckLength = 6; public int[] combatDeck; public GameObject combatUIPrefab; private GameObject combatUI; public GameObject ...
2.562233
8f3e658925ec7d263d17b1489ebfb58f
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8811527
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "x1crypto/x1-producer", "max_stars_repo_path": "src/X1-Producer/State/CoinCache.cs", "provenance": "train-00027-of-00045.jsonl.gz:130747" }
starcoder
using System.Collections.Generic; using System.Linq; using X1.Producer.Domain.Addresses; namespace X1.Producer.State { public static class CoinCache { static readonly object LockObject = new object(); static SegWitCoin[] _coins; public static void ReplaceCoins(List<SegWitCoin> coins)...
2.378483
aa8347f36e8c5cf0dd635ae5dcd1c8c0
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8811528
{ "extension": "c-sharp", "max_stars_count": "37.0", "max_stars_repo_name": "sandsalamand/owml", "max_stars_repo_path": "src/OWML.Common/Interfaces/IPathFinder.cs", "provenance": "train-00027-of-00045.jsonl.gz:130748" }
starcoder
<reponame>sandsalamand/owml namespace OWML.Common { public interface IPathFinder { string FindGamePath(); } }
1.181458
213dada077629b74405ef9905a03f032
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8811529
{ "extension": "c-sharp", "max_stars_count": "29.0", "max_stars_repo_name": "PyneTrading/Sharpkit.Learn", "max_stars_repo_path": "src/Sharpkit.Learn.Test/CrossValidationTest.cs", "provenance": "train-00027-of-00045.jsonl.gz:130749" }
starcoder
<gh_stars>10-100 // ----------------------------------------------------------------------- // <copyright file="CrossValidationTest.cs" company=""> // TODO: Update copyright text. // </copyright> // ----------------------------------------------------------------------- namespace Sharpkit.Learn.Test { using Syste...
2.225626
8cac0d8689137f8beeff04557f5290cb
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8811530
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "rafalkozik/fireblender-datagen", "max_stars_repo_path": "src/Fireblender.DataGen.ListeningHistory/Models/ListeningHistoryDataPoint.cs", "provenance": "train-00027-of-00045.jsonl.gz:130750" }
starcoder
<reponame>rafalkozik/fireblender-datagen<gh_stars>0 namespace Fireblender.DataGen.ListeningHistory.Models { using System; using Fireblender.DataGen.Common.Interfaces; internal class ListeningHistoryDataPoint : IDataPoint { public Guid Id { get; set; } public Guid UserId { get; set; } ...
1.712964
04fba255b3e00d789b7d7cdae9cce984
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8811531
{ "extension": "c-sharp", "max_stars_count": "911.0", "max_stars_repo_name": "cnork/referencesource", "max_stars_repo_path": "System.ServiceModel/System/ServiceModel/Dispatcher/CodeGenerator.cs", "provenance": "train-00027-of-00045.jsonl.gz:130751" }
starcoder
//----------------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- // ***NOTE*** If this code is changed, make corresponding changes in System.Runtime.Serialization...
1.908391
6db6dcd1fd3749b73cca8c10aec79e54
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8811532
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "1stResponder/em-serializers", "max_stars_repo_path": "NIEM/EMS.NIEM.Sensor/XYZLocationSensorDetails.cs", "provenance": "train-00027-of-00045.jsonl.gz:130752" }
starcoder
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Xml.Serialization; namespace EMS.NIEM.Sensor { /// <summary> /// Base class for location sensor information /// </summary> public class XYZLocationSensorDetails : XYLocationSensorDetails { priva...
2.898843
67a644cb69102496563429ed8939d8ef
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8811533
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "Sembium/Sembium.ContentStorage", "max_stars_repo_path": "Sembium.ContentStorage.Replication.FileSystem.Classes/Endpoints/Destination/FileSystemDestination.cs", "provenance": "train-00027-of-00045.jsonl.gz:130753" }
starcoder
<filename>Sembium.ContentStorage.Replication.FileSystem.Classes/Endpoints/Destination/FileSystemDestination.cs<gh_stars>0 using Sembium.ContentStorage.Common.MonthHash; using Sembium.ContentStorage.Misc; using Sembium.ContentStorage.Replication.Common.Endpoints.Source; using Sembium.ContentStorage.Replication.FileS...
1.881614
d00f89c932eb877d03f706e655e71f1a
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8811534
{ "extension": "c-sharp", "max_stars_count": "8.0", "max_stars_repo_name": "smdx24/CPI-Source-Code", "max_stars_repo_path": "Disney.Mix.SDK/IInvalidEmailError.cs", "provenance": "train-00027-of-00045.jsonl.gz:130754" }
starcoder
<reponame>smdx24/CPI-Source-Code // IInvalidEmailError Decompiled was cancelled.
0.725683
e4dac6229979b88439717899c1cee0dc
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8811535
{ "extension": "c-sharp", "max_stars_count": "3.0", "max_stars_repo_name": "jbravobr/Xamarin.Plugins", "max_stars_repo_path": "Components/ibm-worklight-7.1.0.1/samples/WorklightSample/Data/CommandItem.cs", "provenance": "train-00027-of-00045.jsonl.gz:130755" }
starcoder
<filename>Components/ibm-worklight-7.1.0.1/samples/WorklightSample/Data/CommandItem.cs using System; namespace WorklightSample { public class CommandItem { public string Command { get; set; } public string Image { get; set; } public Action ItemSelected { get;set; } } }
1.863321
34b430d0f206572b7b0120be3a484a56
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8811536
{ "extension": "c-sharp", "max_stars_count": "5.0", "max_stars_repo_name": "aopell/DiscordBot", "max_stars_repo_path": "DiscordBotNew/CommandLoader/CommandContext/DiscordDynamicMessageContext.cs", "provenance": "train-00027-of-00045.jsonl.gz:130756" }
starcoder
<filename>DiscordBotNew/CommandLoader/CommandContext/DiscordDynamicMessageContext.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Discord; namespace DiscordBotNew.CommandLoader.CommandContext { public class DiscordDynamicMessage...
2.733317
1967f5a2419097a2f0ce5d640b398980
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8811537
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "LuohuaRain/payment", "max_stars_repo_path": "src/Essensoft.AspNetCore.Payment.Alipay/Domain/DeviceApplyOrderItemModel.cs", "provenance": "train-00027-of-00045.jsonl.gz:130757" }
starcoder
<gh_stars>1-10 using System.Text.Json.Serialization; namespace Essensoft.AspNetCore.Payment.Alipay.Domain { /// <summary> /// DeviceApplyOrderItemModel Data Structure. /// </summary> public class DeviceApplyOrderItemModel : AlipayObject { /// <summary> /// 申请数量,和sn数量保持一致 //...
1.589852
a441883d1d7f3c078a5601d405299b37
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8811538
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "lukaspj/AUIC-GradeAverageCalculator", "max_stars_repo_path": "NationalitetsParser/Form1.cs", "provenance": "train-00027-of-00045.jsonl.gz:130758" }
starcoder
using System.Collections.Generic; using System.IO; using System.Linq; using System.Windows.Forms; using Microsoft.Office.Interop.Excel; namespace NationalitetsParser { public partial class Form1 : Form { private Dictionary<string, Student> mStudents; public Form1() { In...
2.403045
694fc7f476f68cdde88c048708989176
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8811539
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "trembon/HomeAutomation", "max_stars_repo_path": "HomeAutomation/Services/EvaluateConditionService.cs", "provenance": "train-00027-of-00045.jsonl.gz:130759" }
starcoder
<filename>HomeAutomation/Services/EvaluateConditionService.cs using HomeAutomation.Entities; using HomeAutomation.Entities.Conditions; using HomeAutomation.Models.Conditions; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace HomeAutomation.Services { public...
2.919599
cb39936e979a1a6b1a2dcd08b8e30bfa
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8811540
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "akobr/textum.ui", "max_stars_repo_path": "Commands/Commands.CodeBaseSearch/CodeBaseSearchConstants.cs", "provenance": "train-00027-of-00045.jsonl.gz:130760" }
starcoder
namespace Commands.CodeBaseSearch { public static class CodeBaseSearchConstants { public const string COMMAND_NAME = "code-base-search"; public const string QUERY_SEARCH = "search"; public const string QUERY_CATEGORIES = "categories"; public const string QUERY_INIT = "init"; ...
1.269021
4e4a1b74e79d7ded9075862f4656d9ae
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8811541
{ "extension": "c-sharp", "max_stars_count": "9.0", "max_stars_repo_name": "xiaomi7732/CodeSaar", "max_stars_repo_path": "CodeNameK/src/CodeNameK.Contracts/Utilities/DateTimeUtilities.cs", "provenance": "train-00027-of-00045.jsonl.gz:130761" }
starcoder
<reponame>xiaomi7732/CodeSaar using System; using System.Globalization; namespace CodeNameK.Core.Utilities { public static class DateTimeUtilities { /// <summary> /// Gets the begining of the date of a given date. /// </summary> public static DateTime StartOfWeek(this DateTime g...
3.144245
77a5b6bc116cbb803687a9547feb2f8a
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8811542
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "jlits/JsonApiDotNetCore", "max_stars_repo_path": "src/JsonApiDotNetCore/Serialization/Client/Internal/DeserializedResponseBase.cs", "provenance": "train-00027-of-00045.jsonl.gz:130762" }
starcoder
<filename>src/JsonApiDotNetCore/Serialization/Client/Internal/DeserializedResponseBase.cs using System.Collections.Generic; using JetBrains.Annotations; using JsonApiDotNetCore.Serialization.Objects; namespace JsonApiDotNetCore.Serialization.Client.Internal { /// Base class for "single data" and "many data" deseri...
2.055614
29cb5c8639407ad4bca973fdaf94bd20
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8811543
{ "extension": "c-sharp", "max_stars_count": "3.0", "max_stars_repo_name": "joch0a/coding-exercises", "max_stars_repo_path": "InterviewPreparation/CommonExercises/Easy-SearchAndSorting/MergeTwoSortedArray.cs", "provenance": "train-00027-of-00045.jsonl.gz:130763" }
starcoder
using System; namespace InterviewPreparation.CommonExercises.Easy_SearchAndSorting { class MergeTwoSortedArray { //First approach space & time O(N) public void Solve1(int[] nums1, int m, int[] nums2, int n) { var solution = new int[nums1.Length]; var i = 0; ...
3.727785
a19b0b955979964c18ed1d0d1135380c
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8811544
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "xLightling/ProjectArchivist_WinForms", "max_stars_repo_path": "ProjectArchivist/GeneralMessageForm.cs", "provenance": "train-00027-of-00045.jsonl.gz:130764" }
starcoder
<filename>ProjectArchivist/GeneralMessageForm.cs using System; using System.Windows.Forms; using System.Media; namespace ProjectArchivist { /// <summary> /// The general message form is used primarily for notifying of successful script creation /// </summary> public partial class GeneralMessageForm : ...
2.981958
3810061e4ca4eaa65665b84e4cf143fa
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8811545
{ "extension": "c-sharp", "max_stars_count": "48.0", "max_stars_repo_name": "nclient/nclient", "max_stars_repo_path": "tests/NClient/NClient.Tests/ClientTests/ResilienceNClientTest.cs", "provenance": "train-00027-of-00045.jsonl.gz:130765" }
starcoder
using System; using System.Linq; using System.Net.Http; using FluentAssertions; using FluentAssertions.Execution; using FluentAssertions.Extensions; using NClient.Exceptions; using NClient.Providers.Resilience; using NClient.Providers.Resilience.Polly; using NClient.Standalone.Tests.Clients; using NClient.Testing.Comm...
1.785302
09c13e73a076ab2551288f4cd5ff8cbe
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8811546
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "JFouts-BlueModus/kentico-contrib", "max_stars_repo_path": "src/CMS/CMSModules/Admin/accessdenied.aspx.cs", "provenance": "train-00027-of-00045.jsonl.gz:130766" }
starcoder
using System; using CMS.Base.Web.UI; using CMS.Membership; using CMS.Membership.Web.UI; using CMS.SiteProvider; using CMS.UIControls; public partial class CMSModules_Admin_accessdenied : AccessDeniedPage { #region "Page events" protected void Page_Load(object sender, EventArgs e) { ...
1.424856
482b6073fccbd4baf5f31d635a6bf141
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8811547
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "dkleczko/FilmViewer", "max_stars_repo_path": "FilmViewer/Views/Moderator/AddPhotoToFilm.cshtml", "provenance": "train-00027-of-00045.jsonl.gz:130767" }
starcoder
@using FilmViewer.AppHelpers @model FilmViewer.Models.Moderator.AddPhotoToMovieViewModel @{ Layout = "~/Views/Shared/_Layout.cshtml"; Html.RenderPartial("_SearchFull"); } @section styles{ @Styles.Render( "~/bundles/styles/dropzone", "~/bundles/styles/panelCr...
2.245428
1873acb68f8386bd82f2a3bf992fa5eb
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8811548
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "Frank-Buss/utest", "max_stars_repo_path": "Assets/agg/agg_span_image_filter_rgba.cs", "provenance": "train-00027-of-00045.jsonl.gz:130768" }
starcoder
//---------------------------------------------------------------------------- // Anti-Grain Geometry - Version 2.4 // Copyright (C) 2002-2005 <NAME> (http://www.antigrain.com) // // C# port by: <NAME> // <EMAIL> // Copyright (C) 2007 // // Permission to copy, use, modify, sell and distribute this soft...
2.014418
523195db7ad2076e558f7b19059d39ae
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8811549
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "aguirrerodrigo/xamarin-xsl", "max_stars_repo_path": "XslSample/ViewModels/MainPageViewModel.cs", "provenance": "train-00027-of-00045.jsonl.gz:130769" }
starcoder
<gh_stars>0 using XslSample.Services; namespace XslSample.ViewModels { public class MainPageViewModel : ViewModelBase { private IDocumentService documentService; private string content; public string Content { get { return this.content; } set ...
2.147527
948e96380f1759593ce7e31f03e70a32
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8811550
{ "extension": "c-sharp", "max_stars_count": "10.0", "max_stars_repo_name": "dbogatov/ore-benchmark", "max_stars_repo_path": "src/crypto/cloz-ore/CLOZ.cs", "provenance": "train-00027-of-00045.jsonl.gz:130770" }
starcoder
<filename>src/crypto/cloz-ore/CLOZ.cs using System; using System.Collections.Generic; using System.Linq; using System.Numerics; using Crypto.Shared; using Crypto.Shared.Primitives.PPH; using Crypto.Shared.Primitives.PRF; using Crypto.Shared.Primitives.PRP; namespace Crypto.CLOZ { public class Key : IGetSize { pub...
2.342986
faacb6f4b1b6425a3e1ccfc8c5233380
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8811551
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "cdcd72/Net.JwtAuth.Demo", "max_stars_repo_path": "src/API/Helpers/Auth/Token/RefreshTokenHelper.cs", "provenance": "train-00027-of-00045.jsonl.gz:130771" }
starcoder
using Microsoft.Extensions.Options; namespace API.Helpers.Auth.Token; public class RefreshTokenHelper : TokenHelper { private readonly JwtConfiguration jwtConfig; public RefreshTokenHelper(IOptions<JwtConfiguration> jwtConfig) => this.jwtConfig = jwtConfig.Value; public string GenerateToken() =>...
2.332288
d56b41c3f1c8ba6421227671fc322cf9
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8811552
{ "extension": "c-sharp", "max_stars_count": "4.0", "max_stars_repo_name": "bonesbro/RimWorld-ResearchPal", "max_stars_repo_path": "Source/Queue/Undo.cs", "provenance": "train-00027-of-00045.jsonl.gz:130772" }
starcoder
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using RimWorld; namespace ResearchPal { public class UndoStateHandler<S> { private List<S> undoMemory = new List<S>(); private int currentStateIndex = -1; public readonly in...
2.99313
8c7850a0b4ff90bd00e0dbe31e89bc6d
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8811553
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "stwright9/VendingMachineCore", "max_stars_repo_path": "VendingMachineCore/VendingMachineApp.cs", "provenance": "train-00027-of-00045.jsonl.gz:130773" }
starcoder
using System; using System.Collections.Generic; using System.Linq; namespace VendingMachineCore { class VendingMachineApp { public static Inventory item = new Inventory(); public static bool purchasedItem = false; private static bool exactChange = false; static void Main() ...
3.078498
3d4072ee7e9922d8c88b6bc8173e1304
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8811554
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "illfygli/azure-sdk-for-net", "max_stars_repo_path": "sdk/network/Azure.ResourceManager.Network/tests/Tests/RouteFilterTests.cs", "provenance": "train-00027-of-00045.jsonl.gz:130774" }
starcoder
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Azure.Core; using Azure.Core.TestFramework; using Azure.ResourceManager.Resources; using Azure.ResourceManager.Resource...
1.690981
8858fa2f04bc85d31d79d0b80b64346b
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8811555
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "rustedwizard/BuildXL", "max_stars_repo_path": "Public/Src/Tools/DropDaemon/DropConfig.cs", "provenance": "train-00027-of-00045.jsonl.gz:130775" }
starcoder
<reponame>rustedwizard/BuildXL // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System; namespace Tool.DropDaemon { /// <summary> /// Drop configuration. /// </summary> public sealed class DropConfig { #region ConfigOptions /// <su...
1.684355
2344a0f940e6687f3572c01ceb7a46d7
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8811556
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "SamTheBay/WormHole", "max_stars_repo_path": "TunnelDecent/TunnelDecent/ScreenManager/MenuScreen.cs", "provenance": "train-00027-of-00045.jsonl.gz:130776" }
starcoder
<filename>TunnelDecent/TunnelDecent/ScreenManager/MenuScreen.cs using System; using System.Collections.Generic; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; namespace TunnelDecent { abstract class MenuScreen : GameScreen { List<MenuEntry> menuEntries = new List<MenuEntry>();...
2.482238
332d2dceac8cfc58eae11d664139b81c
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8811557
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "Pub-Dev/Lesson-DotNet-UnitTest", "max_stars_repo_path": "tests/API.Tests/Services/ClientServiceTest.cs", "provenance": "train-00027-of-00045.jsonl.gz:130777" }
starcoder
<gh_stars>0 namespace PubDev.Store.API.Tests.Services; public class ClientServiceTest { private readonly NotificationContext _notificationContext = new(); private readonly Mock<IClientRepository> _mockClientRepository = new(); private ClientService GetClientService() { return new( ...
2.141711
2bed968f1c937e245cda1e446c0ca516
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8811558
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "antoniodlp/squidex", "max_stars_repo_path": "backend/src/Squidex.Web/ContextExtensions.cs", "provenance": "train-00027-of-00045.jsonl.gz:130778" }
starcoder
<reponame>antoniodlp/squidex<filename>backend/src/Squidex.Web/ContextExtensions.cs // ========================================================================== // Squidex Headless CMS // ========================================================================== // Copyright (c) Squidex UG (haftungsbeschränkt) // A...
1.910344
f2f78f03916048bc176173ae9a60806c
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8811559
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "ansel86castro/cybtans-cli", "max_stars_repo_path": "src/Cybtans.Proto/Scope.cs", "provenance": "train-00027-of-00045.jsonl.gz:130779" }
starcoder
using Cybtans.Proto.AST; using System; using System.Collections.Generic; using System.Linq; using System.Text; #nullable enable namespace Cybtans.Proto { public class Scope { Scope? _parent; Dictionary<string, Scope> _packages = new Dictionary<string, Scope>(); Dictionary<string, IT...
2.637077
51e9417c9d525688a624dd2aaaab6f9c
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8811560
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "vivlimmsft/PTVS", "max_stars_repo_path": "Python/Tests/CookiecutterTests/GitClientTests.cs", "provenance": "train-00027-of-00045.jsonl.gz:130780" }
starcoder
<reponame>vivlimmsft/PTVS<gh_stars>1-10 // Python Tools for Visual Studio // Copyright(c) Microsoft Corporation // 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...
2.124905
3d1ad27b8ed10b05bbbdbcac7773811a
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8811561
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "naosoft/Parse-SDK-dotNET", "max_stars_repo_path": "Parse/Internal/Push/IParsePushPlugins.cs", "provenance": "train-00027-of-00045.jsonl.gz:130781" }
starcoder
using Parse.Core.Internal; namespace Parse.Push.Internal { public interface IParsePushPlugins { void Reset(); IParseCorePlugins CorePlugins { get; } IParsePushChannelsController PushChannelsController { get; } IParsePushController PushController { get; } IParseCurren...
1.092209
9235a083cadb72bca94ae1dc3c397778
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8811562
{ "extension": "c-sharp", "max_stars_count": "9.0", "max_stars_repo_name": "quirijnslings/dynamic-delivery-4-tridion", "max_stars_repo_path": "dotnet/DD4T.ContentModel.Contracts/Exceptions/ModelNotCreatedException.cs", "provenance": "train-00027-of-00045.jsonl.gz:130782" }
starcoder
namespace DD4T.ContentModel.Exceptions { using System; [Serializable] public class ModelNotCreatedException : ApplicationException { public ModelNotCreatedException(string viewName) : base(string.Format("model for view '{0}' is not created", viewName)) { }...
2.508344
c9cb618ae32c3ad6e0d40d4df9435e90
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8811563
{ "extension": "c-sharp", "max_stars_count": "3.0", "max_stars_repo_name": "ivandrofly/corefx", "max_stars_repo_path": "src/System.Net.Http/src/System/Net/Http/Unix/CurlHandler.MultiAgent.cs", "provenance": "train-00027-of-00045.jsonl.gz:130783" }
starcoder
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Runtime.CompilerServices; ...
2.144299
55403e6ec64101bd3e484309b86e91d8
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8811564
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "rockrider001/FastExcelDemo", "max_stars_repo_path": "FastExcelDemo/Program.cs", "provenance": "train-00027-of-00045.jsonl.gz:130784" }
starcoder
using FastExcel; using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using NPOI.HSSF.UserModel; using NPOI.HPSF; using NPOI.POIFS.FileSystem; using NPOI.Util; namespace FastExcelDemo { public class Program ...
2.465333
36427aefe202d94cac46c8bf7b1220d8
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8811565
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "BattleRush/ETH-DINFK-Bot", "max_stars_repo_path": "ETHDINFKBot/CronJobs/Jobs/DailyCleanup.cs", "provenance": "train-00027-of-00045.jsonl.gz:130785" }
starcoder
<gh_stars>1-10 using Discord; using Discord.WebSocket; using ETHDINFKBot.Helpers; using Microsoft.Extensions.Logging; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; namespace ETHDINFKBot.CronJobs.Jobs { public class Daily...
2.513088
7f8f6235b861aae0e3576f1d8a294194
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8811566
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "opensourceios/toggle-mobile", "max_stars_repo_path": "Ross/Theme/Style.NavMenu.cs", "provenance": "train-00027-of-00045.jsonl.gz:130786" }
starcoder
<reponame>opensourceios/toggle-mobile using System; using UIKit; using Toggl.Ross.Views; namespace Toggl.Ross.Theme { public static partial class Style { public static class NavMenu { public static void Background (UIView v) { v.BackgroundColor = Color.Bl...
1.902053
6c6b99d72cda1c455c505f1cf42f3e7d
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8811567
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "wouterfennis/BankReader", "max_stars_repo_path": "Application/Models/GroupedTransaction.cs", "provenance": "train-00027-of-00045.jsonl.gz:130787" }
starcoder
using Bankreader.Domain.Models; namespace Bankreader.Application.Models { public class GroupedTransaction { public decimal Amount { get; private set; } public YearMonth YearMonth { get; } public TransactionDirection TransactionDirection { get; } public GroupedTransaction(deci...
2.862712
a46d8a72ffa331ccfb87104434fbb2ec
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8811568
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "x-stars/DotNetExtensions", "max_stars_repo_path": "XstarS.DynamicProxy/WrapProxyTypeBuildingHelper.cs", "provenance": "train-00027-of-00045.jsonl.gz:130788" }
starcoder
using System; using System.Reflection; using System.Reflection.Emit; namespace XstarS.Reflection.Emit { /// <summary> /// 提供包装代理类型运行时类型生成相关的帮助方法。 /// </summary> internal static class WrapProxyTypeBuildingHelper { /// <summary> /// 确定当前 <see cref="MemberInfo"/> 是否应由 <see cref="WrapP...
2.502918
53cd6f74f8d29bdacb04a68faf49c50e
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8811569
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "gsgfintech/monitoring-aspnetcore", "max_stars_repo_path": "StratedgemeMonitor/Controllers/Positions/PositionsController.cs", "provenance": "train-00027-of-00045.jsonl.gz:130789" }
starcoder
using Capital.GSG.FX.Data.Core.AccountPortfolio; using Capital.GSG.FX.Data.Core.ContractData; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using StratedgemeMonitor.Models.Accounts; using StratedgemeMonitor.Models.Positions; using System.Threading.Tasks; namespace StratedgemeMonitor.Contro...
2.010388
afb07a11a0f6475a29a6260d4d03f24c
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8811570
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "joaoGoncalves81/GrocerySales", "max_stars_repo_path": "tests/UnitTests/ApplicationCore/Specifications/BasketWithItemsSpecification.cs", "provenance": "train-00027-of-00045.jsonl.gz:130790" }
starcoder
using ApplicationCore.Specifications; using ApplicationCore.Entities.BasketAggregate; using System.Collections.Generic; using System.Linq; using Xunit; namespace UnitTests { public class BasketWithItems { private int _testBasketId = 123; [Fact] public void MatchesBasketWithGivenId() ...
2.849186
216e37cce68f166882d2f9fef57d0914
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8811571
{ "extension": "c-sharp", "max_stars_count": "4.0", "max_stars_repo_name": "larsmichael/DomainServices", "max_stars_repo_path": "Source/DomainServices/FullName.cs", "provenance": "train-00027-of-00045.jsonl.gz:130791" }
starcoder
namespace DomainServices { using System; using Ardalis.GuardClauses; /// <summary> /// Struct representing the full name of an entity. A full name is a combination of a group and an entity name. /// </summary> public readonly struct FullName { /// <summary> /// Init...
3.495717
f7ad103ceffa89366b9ddf31ec50f920
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8811572
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "VictorRayan/Algorithms", "max_stars_repo_path": "Portuguese/Loop - C#/quintoEx.cs", "provenance": "train-00027-of-00045.jsonl.gz:130792" }
starcoder
using System; class quintoEx { public static void algStart() { int numero = 0, contador = 0; double soma = 0; Console.WriteLine("Inicializado quintoEx.cs" + "\n"); Console.WriteLine("Digite um número inteiro e positivo para exibir a soma dos quadrados até o informado...
3.555411
b3244d88e08d5b3b4b77b5db894a0a07
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8811573
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "p1x/QSPNet", "max_stars_repo_path": "QSP.CodeAnalysis/Binding/BoundErrorStatement.cs", "provenance": "train-00027-of-00045.jsonl.gz:130793" }
starcoder
namespace QSP.CodeAnalysis { public class BoundErrorStatement : BoundStatement { private BoundErrorStatement() : base(BoundNodeKind.ErrorStatement) { } public static BoundErrorStatement Instance { get; } = new BoundErrorStatement(); } }
2.014436
a70c7e83d23d00384b6d82d0d93b874e
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8811574
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "Ultz/SimpleServer", "max_stars_repo_path": "Ultz.SimpleServer.Minimal/Internals/Http2/HttpTwoStream.cs", "provenance": "train-00027-of-00045.jsonl.gz:130794" }
starcoder
<gh_stars>0 // HttpTwoStream.cs - Ultz.SimpleServer.Minimal // // Copyright (C) 2018 Ultz Limited // // This file is part of SimpleServer. // // SimpleServer is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Fo...
2.179683
88fabc74c089587258d7f02b5a980849
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8811575
{ "extension": "c-sharp", "max_stars_count": "4.0", "max_stars_repo_name": "eppsa/unity-ar-accordion", "max_stars_repo_path": "Assets/ARAccordion/Scripts/PostFX.cs", "provenance": "train-00027-of-00045.jsonl.gz:130795" }
starcoder
using UnityEngine; using UnityEngine.Rendering.PostProcessing; public class PostFX : MonoBehaviour { [SerializeField] PostProcessProfile fxProfile; private DepthOfField dof; public delegate void UpdateAction(float focusDistance, float aperture, float focalLength); public static event Upd...
2.257008
c1c63198395389003316040827a12ccb
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8811576
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "jperezsoy/SoftPV", "max_stars_repo_path": "SoftPV/Proveedor.cs", "provenance": "train-00027-of-00045.jsonl.gz:130796" }
starcoder
<filename>SoftPV/Proveedor.cs 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; using SoftPV.BAL; using SoftPV.Entities; namespace SoftPV { public part...
2.182986
6628a655a2fb9b66988ebe1fce7fc484
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8811577
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "coenm/FlexKids2015", "max_stars_repo_path": "src/FlexKidsScheduler/IReportScheduleChange.cs", "provenance": "train-00027-of-00045.jsonl.gz:130797" }
starcoder
using System.Collections.Generic; using FlexKidsScheduler.Model; namespace FlexKidsScheduler { public interface IReportScheduleChange { bool HandleChange(IList<ScheduleDiff> schedule); } }
1.543368
da0e3d5fc909564411fdb29c407e969f
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8811578
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "bLeenstra/DatabaseHelper", "max_stars_repo_path": "DatabaseHelperExtension/DataResults.cs", "provenance": "train-00027-of-00045.jsonl.gz:130798" }
starcoder
<reponame>bLeenstra/DatabaseHelper<filename>DatabaseHelperExtension/DataResults.cs using System; using System.Collections.Generic; using System.Data; using System.Data.Common; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DatabaseHelperExtension { public class DataResults { ...
2.547143
dc64aa96e52cdc6f0b2ae0204d9416b0
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8811579
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "Donkeyfumbler/Playnite", "max_stars_repo_path": "source/PlayniteSDK/Events/GameInstalledEvent.cs", "provenance": "train-00027-of-00045.jsonl.gz:130799" }
starcoder
<reponame>Donkeyfumbler/Playnite<gh_stars>1-10 using Playnite.SDK.Models; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Playnite.SDK.Events { /// <summary> /// Represents game event. /// </summary> public class...
2.263663
5f5320edac814ef7f4d291dd25d5496d
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8811580
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "GabrielDSousa/LojaGeek", "max_stars_repo_path": "LojaGeek/Views/Shared/_MenuLogado.cshtml", "provenance": "train-00027-of-00045.jsonl.gz:130800" }
starcoder
<reponame>GabrielDSousa/LojaGeek<gh_stars>0 @using LojaGeek.Model.Utils <div> <ul class="nav navbar-nav"> <li>@Html.ActionLink(" ", "Index", "Home", null, new { @class = "glyphicon glyphicon-home" })</li> <li> <div class="form-group"> <div class="form-inline"> ...
1.787941
e9b9ac15a03332e2faaf6bda4a88bb10
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8811581
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "Vanquish875/DotLToExcel", "max_stars_repo_path": "DotL/StationFields.cs", "provenance": "train-00027-of-00045.jsonl.gz:130801" }
starcoder
<gh_stars>0 namespace DotLToExcel.DotL { public static class StationFields { public static string[] Fields = { "name ", "group ", "dataset ", "description", "flag.bmsg ", "Address1", "Address2", ...
1.304451
35eddc3dfcb5c9c3155a156e312002e4
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8811582
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "ViktorAleksandrov/SoftUni--CSharp-Fundamentals", "max_stars_repo_path": "1. CSharp Advanced/3. Streams - Exercise/P4.CopyBinaryFile/CopyBinaryFile.cs", "provenance": "train-00027-of-00045.jsonl.gz:130802" }
starcoder
<gh_stars>0 namespace P4.CopyBinaryFile { using System.IO; public class CopyBinaryFile { public static void Main() { using (var source = new FileStream("copyMe.png", FileMode.Open)) { using (var destination = new FileStream("copyMe-COPY.png", FileMod...
3.110251
7c74e867f0e629c3aa1baa4b3cbc99a3
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8811583
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "luxiaodong/Game", "max_stars_repo_path": "Assets/XLua/Gen/Game_CCustomUIWrap.cs", "provenance": "train-00027-of-00045.jsonl.gz:130803" }
starcoder
#if USE_UNI_LUA using LuaAPI = UniLua.Lua; using RealStatePtr = UniLua.ILuaState; using LuaCSFunction = UniLua.CSharpFunctionDelegate; #else using LuaAPI = XLua.LuaDLL.Lua; using RealStatePtr = System.IntPtr; using LuaCSFunction = XLua.LuaDLL.lua_CSFunction; #endif using XLua; using System.Collections.Gene...
1.820409
56efa3b1c98d2e9c733732d48627e7b6
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8811584
{ "extension": "c-sharp", "max_stars_count": "95.0", "max_stars_repo_name": "goldshtn/msos", "max_stars_repo_path": "msos/HeapIndex.cs", "provenance": "train-00027-of-00045.jsonl.gz:130804" }
starcoder
<gh_stars>10-100 using CmdLine; using Microsoft.Diagnostics.Runtime; using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.IO.Compression; using System.Linq; using System.Runtime.Serialization.Formatters.Binary; using System.Text; u...
2.608339
66a378c9917cc38160c371138e6126f5
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8811585
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "OsamaNsr/Udacity-A-Maze", "max_stars_repo_path": "A Maze/Assets/UdacityVR/Scripts/Key.cs", "provenance": "train-00027-of-00045.jsonl.gz:130805" }
starcoder
<reponame>OsamaNsr/Udacity-A-Maze using UnityEngine; using _MyScripts; namespace UdacityVR.Scripts { public class Key : MonoBehaviour { // TODO: Create variables to reference the game objects we need access to // Declare a GameObject named 'keyPoofPrefab' and assign the 'KeyPoof' prefab to the fie...
2.522408
0a55294b903aedcb8aa6266a74130484
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8811586
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "famoser/ETHZMensa", "max_stars_repo_path": "Famoser.ETHZMensa.Business/Helpers/HtmlParser.cs", "provenance": "train-00027-of-00045.jsonl.gz:130806" }
starcoder
<gh_stars>1-10 using System; using System.Linq; using System.Text.RegularExpressions; using Famoser.ETHZMensa.Business.Models; using Famoser.ETHZMensa.Business.Models.Eth; using Famoser.FrameworkEssentials.Logging; using Famoser.FrameworkEssentials.Singleton; using Newtonsoft.Json; namespace Famoser.ETHZMensa.Busines...
2.741142
f0c8c2f6f3a12df81d1e97c6f3971987
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8811587
{ "extension": "c-sharp", "max_stars_count": "7.0", "max_stars_repo_name": "Mihai-Canea/Ars-Project", "max_stars_repo_path": "cube3D_WPF/cube3D_WPF/Cubo2D.cs", "provenance": "train-00027-of-00045.jsonl.gz:130807" }
starcoder
<filename>cube3D_WPF/cube3D_WPF/Cubo2D.cs<gh_stars>1-10 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Diagnostics; using System.IO; namespace cube3D_WPF { public class Cubo2D { private int size; public Faccie[,] projection { get; private set...
2.935287
65dadecc6e9d8c06cf532cf751973606
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8811588
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "zbecknell/azure-sdk-for-net", "max_stars_repo_path": "sdk/digitaltwins/Azure.DigitalTwins.Core/samples/DigitalTwinsClientSample/CustomDigitalTwin.cs", "provenance": "train-00027-of-00045.jsonl.gz:130808" }
starcoder
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System.Text.Json.Serialization; using Azure.DigitalTwins.Core.Serialization; namespace Azure.DigitalTwins.Core.Samples { /// <summary> /// Custom type for a sample illustrating how someone can create their o...
2.355122
0d767ab386c6e08d10afda9670e17a53
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8811589
{ "extension": "c-sharp", "max_stars_count": "53.0", "max_stars_repo_name": "guilherme-stefano/Microservices", "max_stars_repo_path": "Chapter 11/.NET Core 3.1/FlixOne.BookStore.UserService/Extensions/Context/UserModelBuilderExtension.cs", "provenance": "train-00027-of-00045.jsonl.gz:130809" }
starcoder
using FlixOne.BookStore.UserService.Models; using FlixOne.BookStore.UserService.Models.Identity; using Microsoft.EntityFrameworkCore; namespace FlixOne.BookStore.UserService.Extensions.Context { public static class UserModelBuilderExtension { public static void Seed(this ModelBuilder modelBuilder) ...
2.424972
8efc22e8b95a336c7e3e1bbd3d460b14
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8811590
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "martinsmith1968/dnx.utils.strings", "max_stars_repo_path": "Test.DNX.Helpers/Converters/BuiltInTypeConvertExtensionsTests.cs", "provenance": "train-00027-of-00045.jsonl.gz:130810" }
starcoder
using DNX.Helpers.Converters; using NUnit.Framework; namespace Test.DNX.Helpers.Converters { [TestFixture] public class BuiltInTypeConvertExtensionsTests { [TestCase(25, ExpectedResult = "25")] [TestCase(49, ExpectedResult = "49")] [TestCase(null, ExpectedResult = null)] [T...
2.416121
5b917a04f39f12bae662ee76a635b560
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8811591
{ "extension": "c-sharp", "max_stars_count": "4.0", "max_stars_repo_name": "aubergemediale/xds_temp", "max_stars_repo_path": "src/components/NBitcoin/BIP32/ExtPubKey.cs", "provenance": "train-00027-of-00045.jsonl.gz:130811" }
starcoder
<gh_stars>1-10 using System; using System.Linq; using NBitcoin.Crypto; using NBitcoin.DataEncoders; namespace NBitcoin.BIP32 { /// <summary> /// A public HD key /// </summary> public class ExtPubKey : IBitcoinSerializable, IDestination { const int FingerprintLength = 4; const i...
2.424642
12d265fdbac7dfb89da2c4026511b35b
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8811592
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "mcskik/utilities", "max_stars_repo_path": "Notepod/Notepod/EditCsvKeyValuePairToAndroidResouceArray.cs", "provenance": "train-00027-of-00045.jsonl.gz:130812" }
starcoder
<filename>Notepod/Notepod/EditCsvKeyValuePairToAndroidResouceArray.cs using Notepod.Models; using System.Collections.Generic; namespace Notepod { /// <summary> /// Edit CSV key value pair to Android resource array XML. /// </summary> /// <author><NAME></author> public class EditCsvKeyValuePairToAnd...
2.60726
25197a568ee5abc40b0a6aa100317bd1
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8811593
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "sAspen/BinarySearchTree", "max_stars_repo_path": "Trees/KdTree.cs", "provenance": "train-00027-of-00045.jsonl.gz:130813" }
starcoder
using System; using System.Collections.Generic; using System.Linq; namespace Trees { public class KdTree : EnumerableBinaryTree<double[]>, ICollection<double[]> { private KdTreeNode root = null; public KdTree() { } public KdTree(ICollection<double[]> data) { if (da...
3.324758
418fdf44d2e491cef6f13e69bacfd128
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8811594
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "banqUP/.NET", "max_stars_repo_path": "Psd2Hub.Sdk/Psd2Hub.Sdk/Exceptions/ResponseDeserializationException.cs", "provenance": "train-00027-of-00045.jsonl.gz:130814" }
starcoder
using System; using System.Collections; using System.Collections.Generic; namespace Psd2Hub.Sdk.Exceptions { public class ResponseDeserializationException : ApiException { private readonly Dictionary<string, object> _data; public ResponseDeserializationException(string responseContent, ...
2.683959
3a56fa342635c06e15839291eb5b6569
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8811595
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "MyJetWallet/Service.SimplexPayment", "max_stars_repo_path": "src/Service.SimplexPayment.Grpc/Models/RequestPaymentRequest.cs", "provenance": "train-00027-of-00045.jsonl.gz:130815" }
starcoder
<filename>src/Service.SimplexPayment.Grpc/Models/RequestPaymentRequest.cs using System.Runtime.Serialization; namespace Service.SimplexPayment.Grpc.Models { [DataContract] public class RequestPaymentRequest { [DataMember(Order = 1)] public string ClientId { get; set; } [DataMember(O...
1.648238
a8cffffa04eecb9657eca1d81b50ac6c
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8811596
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "mbialecka/azure-sdk-for-net", "max_stars_repo_path": "sdk/webpubsub/Azure.Messaging.WebPubSub/src/WebPubSubAuthenticationPolicy.cs", "provenance": "train-00027-of-00045.jsonl.gz:130816" }
starcoder
<reponame>mbialecka/azure-sdk-for-net<filename>sdk/webpubsub/Azure.Messaging.WebPubSub/src/WebPubSubAuthenticationPolicy.cs // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.Net.Http.Headers; using System.Text; using Azure.Core; using Azure.Core....
1.941376
6e8fb765b58f466041b2d38e718a25a5
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8811597
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "ialexdm/fastfood", "max_stars_repo_path": "presentation/Fastfood.Web/Views/Dish/Index.cshtml", "provenance": "train-00027-of-00045.jsonl.gz:130817" }
starcoder
@model Dish @{ ViewData["Title"] = Model.Name; } <h1>@Model.Name</h1> <p><strong>@Model.Category</strong></p> <p>@Model.Description</p> <p>Price <strong>@Model.Price</strong></p> <form action="@Url.Action("AddItem", "Order")" method="post"> <input type="hidden" name="id" value="@Model.Id" /> <button clas...
2.368983
0a85c4b6840db20f42f11ef9b3936dca
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8811598
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "Winward996/Chat_Socket", "max_stars_repo_path": "Assets/UIWidgets/Standart Assets/Notify/Notify.cs", "provenance": "train-00027-of-00045.jsonl.gz:130818" }
starcoder
using UnityEngine; using UnityEngine.UI; using System.Collections; using System.Collections.Generic; using System; using System.Linq; namespace UIWidgets { /// <summary> /// Notify. /// Manage notifications. /// /// How to use: /// 1. Create container or containers with layout component. Notifications will be s...
2.595057
ad31e1862d261d3be2e50b1d79c2174a
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8811599
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "vijayraavi/ServiceBusExplorer", "max_stars_repo_path": "src/NotificationHubs/Helpers/NotificationInfo.cs", "provenance": "train-00027-of-00045.jsonl.gz:130819" }
starcoder
#region Copyright //======================================================================================= // Microsoft Azure Customer Advisory Team // // This sample is supplemental to the technical guidance published on my personal // blog at http://blogs.msdn.com/b/paolos/. // // Author: <NAME> //==============...
2.126693
68907d1e97ae43a0b0bd7ccff4878386
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8811600
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "clovett/SmartSockets", "max_stars_repo_path": "SmartSockets/SmartSocketTypeResolver.cs", "provenance": "train-00027-of-00045.jsonl.gz:130820" }
starcoder
<gh_stars>0 // ------------------------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // --------------------------------------------...
2.089177
2c7ccc9405f58efe90070362dab0dbb8
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8811601
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "Djohnnie/SwmSuite-Original", "max_stars_repo_path": "SwmSuite.Business/LoginLogBll.cs", "provenance": "train-00027-of-00045.jsonl.gz:130821" }
starcoder
using System; using System.Collections.Generic; using System.Linq; using System.Text; using SwmSuite.DataAccess.Interface; using SwmSuite.Data.DataObjects; using SwmSuite.Data.BusinessObjects; using SwmSuite.Business.DataMapping; namespace SwmSuite.Business { public class LoginLogBll { #region -_ Private Members...
2.405281
74d2514ccb4c0077741e409daa2eb240
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8811602
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "GabrielMelegaro/senai-roman-desafio-lucasegabriel", "max_stars_repo_path": "Senai.Roman.WebApi/Senai.Roman.WebApi/Domains/Professor.cs", "provenance": "train-00027-of-00045.jsonl.gz:130822" }
starcoder
<reponame>GabrielMelegaro/senai-roman-desafio-lucasegabriel using System; using System.Collections.Generic; namespace Senai.Roman.WebApi.Domains { public partial class Professor { public int IdProfessor { get; set; } public string Nome { get; set; } } }
1.218083
c63c3704e72e7dc63b63346eff8f0bd8
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8811603
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "kpundt93/PierresTreats.Solution", "max_stars_repo_path": "PierresTreats/Views/Flavors/Create.cshtml", "provenance": "train-00027-of-00045.jsonl.gz:130823" }
starcoder
<reponame>kpundt93/PierresTreats.Solution @model PierresTreats.Models.Flavor <h3>Add a new flavor</h3> @using (Html.BeginForm()) { @Html.LabelFor(m => m.Description) @Html.TextBoxFor(m => m.Description) <br> <button type="submit" value="Add new flavor" class="btn btn-primary">Add</button> }
2.083583
556db33bb31f4289bcfe0cae45243b74
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8811604
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "EasyLOB/EasyLOB-Northwind-1", "max_stars_repo_path": "Northwind.Mvc.AJAX/Models/Northwind/ViewModels/EmployeeTerritoryViewModel.cs", "provenance": "train-00027-of-00045.jsonl.gz:130824" }
starcoder
<gh_stars>0 using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using Northwind.Data; using Northwind.Data.Resources; using EasyLOB.Data; using EasyLOB.Library; namespace Northwind.Mvc { public partial class EmployeeTerritoryViewModel : ZViewBa...
2.061088
30984068add67832c8ec9817a1427fe4
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8811605
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "mryp/favoshelf", "max_stars_repo_path": "Data/ScrapbookItemNavigateParameter.cs", "provenance": "train-00027-of-00045.jsonl.gz:130825" }
starcoder
<filename>Data/ScrapbookItemNavigateParameter.cs using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using Windows.Foundation; using Windows.Storage; namespace favoshelf.Data { class ScrapbookItemNavigatePar...
2.541135
fede04fa5360a5f8300424b6c349313d
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8811606
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "maca88/CoreSharp", "max_stars_repo_path": "CoreSharp.NHibernate/Conventions/ForeignKeyNameConvention.cs", "provenance": "train-00027-of-00045.jsonl.gz:130826" }
starcoder
<reponame>maca88/CoreSharp<gh_stars>0 using System; using System.Linq; using System.Text.RegularExpressions; using FluentNHibernate.Conventions; using FluentNHibernate.Conventions.Inspections; using FluentNHibernate.Conventions.Instances; namespace CoreSharp.NHibernate.Conventions { public class ForeignKeyNameCon...
2.566029
d6554837c7deb7487fba6e2afbf3d84e
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8811607
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "NickPolyder/ObjectComparison", "max_stars_repo_path": "Tests/NP.ObjectComparison.Tests/Mocks/SkipTestObject.cs", "provenance": "train-00027-of-00045.jsonl.gz:130827" }
starcoder
<gh_stars>0 using System; using NP.ObjectComparison.Attributes; namespace NP.ObjectComparison.Tests.Mocks { public class SkipTestObject : ICloneable, IEquatable<SkipTestObject> { [SkipAnalyze] public string FirstProperty { get; set; } public int SecondProperty { get; set; } public DateTime ThirdProperty {...
2.370948
60fda136fa9699a05a33394c1070fcbd
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8811608
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "KacperKenjiLesniak/crowded-dinosaur", "max_stars_repo_path": "Assets/Scripts/Events/AiConfigEvent.cs", "provenance": "train-00027-of-00045.jsonl.gz:130828" }
starcoder
<filename>Assets/Scripts/Events/AiConfigEvent.cs using System; using DefaultNamespace.AI; using UnityEngine.Events; namespace DefaultNamespace.Events { [Serializable] public class AiConfigEvent : UnityEvent<AiConfig> { } }
1.382492
e8e822cc55225072732995386c5f8b7a
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8811609
{ "extension": "c-sharp", "max_stars_count": "263.0", "max_stars_repo_name": "gordonjohnpatrick/XobotOS", "max_stars_repo_path": "android/naked-stubs/org/xml/sax/helpers/XMLReaderAdapter.cs", "provenance": "train-00027-of-00045.jsonl.gz:130829" }
starcoder
<filename>android/naked-stubs/org/xml/sax/helpers/XMLReaderAdapter.cs using Sharpen; namespace org.xml.sax.helpers { [Sharpen.NakedStub] public class XMLReaderAdapter { [Sharpen.NakedStub] internal sealed class AttributesAdapter { } } }
1.374919
1d309befa2224746d393ca256256a1ee
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8811610
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "Encryptior/EncryptiorDotNetApp", "max_stars_repo_path": "Encryptior/TransferForm.Designer.cs", "provenance": "train-00027-of-00045.jsonl.gz:130830" }
starcoder
namespace Encryptior { partial class TransferForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <...
1.852623
148a2f1bd103b84a2d308eb1d20bdd17
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8811611
{ "extension": "c-sharp", "max_stars_count": "149.0", "max_stars_repo_name": "tebeco/HdrHistogram.NET", "max_stars_repo_path": "HdrHistogram.Benchmarking/LeadingZeroCount/StringManipulation.cs", "provenance": "train-00027-of-00045.jsonl.gz:130831" }
starcoder
<reponame>tebeco/HdrHistogram.NET<gh_stars>100-1000 using System; namespace HdrHistogram.Benchmarking.LeadingZeroCount { public static class StringManipulation { public static int GetLeadingZeroCount(long value) { var str = Convert.ToString(value, 2).PadLeft(64, '0'); re...
2.462876
63d157d0e28715f0104d4d69abe849c0
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8811612
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "Methuselah96/performance", "max_stars_repo_path": "src/benchmarks/micro/corefx/System.Text.Json/Utf8JsonReader/Utf8JsonReader.Comments.Tests.cs", "provenance": "train-00027-of-00045.jsonl.gz:130832" }
starcoder
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using BenchmarkDotNet.Attributes; using MicroBenchmarks; using System.Buffers; using System.Collections.Generic; usi...
2.43986
7a549a7dd7ae93d76d0c6cd7daac701a
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8811613
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "robjuca/Suite", "max_stars_repo_path": "Shared/Message/Suite.Shared.Message/Message/Handle/IHandle.cs", "provenance": "train-00027-of-00045.jsonl.gz:130833" }
starcoder
/*---------------------------------------------------------------- Copyright (C) 2001 R&R Soft - All rights reserved. author: <NAME> ----------------------------------------------------------------*/ //----- Include using Caliburn.Micro; //---------------------------// namespace Shared.Message { public int...
1.271986
e1bbc7e3bf55fde392ae04ca02877626
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8811614
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "gortegaMS/loderunner", "max_stars_repo_path": "src/LodeRunner.Core/Automapper/BasePayloadAutoMapperHelper.cs", "provenance": "train-00027-of-00045.jsonl.gz:130834" }
starcoder
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using AutoMapper; using LodeRunner.Core.Models; namespace LodeRunner.Core.Automapper { /// <summary> /// BasePayload AutoMapper Helper. /// </summary> ...
2.473261
4cd5a349cb2dc7012fb6ec7dcbf00ca7
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8811615
{ "extension": "c-sharp", "max_stars_count": "136.0", "max_stars_repo_name": "platformdotnet/Platform.VirtualFileSystem", "max_stars_repo_path": "src/Platform.VirtualFileSystem/AbstractService.cs", "provenance": "train-00027-of-00045.jsonl.gz:130835" }
starcoder
<filename>src/Platform.VirtualFileSystem/AbstractService.cs using System; namespace Platform.VirtualFileSystem { /// <summary> /// Summary description for AbstractService. /// </summary> public abstract class AbstractService { /// <summary> /// Property Name (string) /// </summary> public stri...
2.477502
b2a82a393b9c17f0c73888a41e01287a
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8811616
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "boone34/Data.Entity.Edmx", "max_stars_repo_path": "Model/Storage/PropertyBase.cs", "provenance": "train-00027-of-00045.jsonl.gz:130836" }
starcoder
using TechNoir.Data.Entity.Edmx.Serialization; namespace TechNoir.Data.Entity.Edmx.Model.Storage { public class PropertyBase : AnyDocumentation { public string Name { get; } public string Type { get; } public bool Nullable { get; } public string DefaultVal...
2.052905
0c987a5512ad44ee5efe770e613c8a5b
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8811617
{ "extension": "c-sharp", "max_stars_count": "21.0", "max_stars_repo_name": "microsoftgraph/msgraph-sdk-dotnet-contrib", "max_stars_repo_path": "src/Models/HttpMessages/UpdateSiteScriptRequest.cs", "provenance": "train-00027-of-00045.jsonl.gz:130837" }
starcoder
<gh_stars>10-100 using System; using System.Text.Json.Serialization; namespace Graph.Community { public class UpdateSiteScriptRequest { public Info updateInfo { get; set; } public UpdateSiteScriptRequest(string siteScriptId, SiteScriptMetadata siteScriptMetadata) { if (siteScriptId is null) { throw...
2.174546
e86b1cdd748ff2ecf3dcc41fed3af966