added string | created string | id string | metadata dict | source string | text string | code-score float64 | md5 string |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817218 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "dskprt/nylium",
"max_stars_repo_path": "Starfield.Core/Level/Storage/AbstractWorldFormat.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136438"
} | starcoder | using System;
using Starfield.Core.Entity.Entities;
namespace Starfield.Core.Level.Storage {
public abstract class AbstractWorldFormat : IDisposable {
public World World { get; }
public AbstractWorldFormat(World world) {
World = world;
}
public abstract... | 2.371493 | 0b87ce1711b68e5e5cfd3b6d70dc2207 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817219 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vdamvdam/the_building_coder_samples",
"max_stars_repo_path": "BuildingCoder/CmdSetRoomOccupancy.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136439"
} | starcoder | <gh_stars>0
#region Header
//
// CmdSetRoomOccupancy.cs - read and set room occupancy
//
// Copyright (C) 2009-2021 by <NAME>,
// Autodesk Inc. All rights reserved.
//
// Keywords: The Building Coder Revit API C# .NET add-in.
//
#endregion // Header
#region Namespaces
using System.Collections.Generic;
using System.... | 2.536674 | 90d4b476244fc1c4af48f366051eb34e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817220 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "always-awaken/OKEx.Net",
"max_stars_repo_path": "Okex.Net/RestObjects/Swap/OkexSwapPositions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136440"
} | starcoder | <filename>Okex.Net/RestObjects/Swap/OkexSwapPositions.cs
using CryptoExchange.Net.Attributes;
using CryptoExchange.Net.Converters;
using Okex.Net.Converters;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using Okex.Net.Enums;
namespace Okex.Net.RestObjects
{
public class OkexSwapPositions... | 2.336269 | b2dbe36ade0d5a4a18bbe95866b71b06 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817221 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "BohdanMosiyuk/samples",
"max_stars_repo_path": "snippets/csharp/VS_Snippets_WebNet/System.Web.UI.WebControls.LinqDataSourceSelectEventArgs/cs/Default2.aspx.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136441"
} | starcoder | <gh_stars>1-10
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
public partial class De... | 2.21099 | 6db66985385526171d577c3b05d6416c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817222 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "Santarh/UnityC2InterpolatingSplines",
"max_stars_repo_path": "Assets/C2InterpolatingSplines/Scripts/Core/EllipticalInterpolationFunctionProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136442"
} | starcoder | using System;
using UnityEngine;
namespace C2InterpolatingSplines.Core
{
public sealed class EllipticalInterpolationFunctionProvider : IInterpolationFunctionProvider
{
public SplinePiece Interpolate(Vector2 point0, Vector2 point1, Vector2 point2)
{
throw new NotImplementedException(... | 2.201613 | b5feeaa60c0c7ece3fbc6a58e962a4b1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817223 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "jnhtt/advanced-urp",
"max_stars_repo_path": "Assets/Chapter1/Scripts/CustomRenderPass/BackgroundRenderPassFeature.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136443"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Rendering.Universal;
namespace Chapter1
{
public class BackgroundRenderPassFeature : ScriptableRendererFeature
{
private BackgroundRenderPass currentPass;
public override void Create()
{
... | 2.112952 | 09de6fa2aaa49c032d52b07aead9531b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817224 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SLdragon/pcs-device-simulation",
"max_stars_repo_path": "Services/Diagnostics/Logger.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136444"
} | starcoder | // Copyright (c) Microsoft. All rights reserved.
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
namespace Microsoft.Azure.IoTSolutions.DeviceSimulation.Services.Diagnostics
{
public interface ILogger
{
LogLevel LogLevel { get; }
st... | 2.370325 | 24abb436fdd28d122f0fb1496e91ade7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817225 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JurekInholland/Programming-Assignments",
"max_stars_repo_path": "Term 1.2/week 3/Assignment01/Course.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136445"
} | starcoder | <reponame>JurekInholland/Programming-Assignments
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Assignment01
{
class Course
{
public string name;
public int theoryGrade;
public PracticalGrade practicalGrade;... | 2.926882 | 74a89f91c61c3d699f7a7a10e0082ec2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817226 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ChristopherButtars/aws-sdk-net",
"max_stars_repo_path": "sdk/src/Services/DatabaseMigrationService/Generated/Model/MySQLSettings.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136446"
} | starcoder | /*
* Copyright 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
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fi... | 1.833272 | 1dff2fd7028c7f7ca606e94e2270732a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817227 | {
"extension": "c-sharp",
"max_stars_count": "1745.0",
"max_stars_repo_name": "bsf2dev/bsf",
"max_stars_repo_path": "Source/Scripting/bsfSharp/Generated/AnimWrapMode.generated.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136447"
} | starcoder | //********************************* bs::framework - Copyright 2018-2019 <NAME> ************************************//
//*********** Licensed under the MIT license. See LICENSE.md for full terms. This notice is not to be removed. ***********//
using System;
using System.Runtime.CompilerServices;
using System.Runtime.Int... | 2.469646 | ddc7b8b2c150380511589b6a95f614c5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817228 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rajenderkundhuri/aspnetcore-taghelper",
"max_stars_repo_path": "AspNetCore.Mvc.Bootstrap/TagHelper/ListgroupItemTagHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136448"
} | starcoder | /**********************************************************************
* Copyright (c) 2019
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
*
* ##URL##
*
**********************************************************************/
using Mic... | 2.426069 | 8a38e103a7dfcc1cd6f260cb52af4b54 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817229 | {
"extension": "c-sharp",
"max_stars_count": "3294.0",
"max_stars_repo_name": "BaruaSourav/docs",
"max_stars_repo_path": "samples/snippets/csharp/VS_Snippets_Wpf/XBAPAppStartupSnippets/CSharp/App.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136449"
} | starcoder | <gh_stars>1000+
//<SnippetStartupXBAPCODEBEHIND>
using System;
using System.Windows;
using System.Windows.Navigation;
namespace SDKSample
{
public partial class App : Application
{
void App_Startup(object sender, StartupEventArgs e)
{
((NavigationWindow)this.MainWindow).Navigate(ne... | 2.165362 | ce3d47f8bd429fd8eec0dba30216c3c6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817230 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "Kreisverkehr/discord-event-bot",
"max_stars_repo_path": "DiscordEventBot.Common/Attributes/Preconditions/RequireBotAdministrator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136450"
} | starcoder | using Discord.Commands;
using Discord.WebSocket;
using DiscordEventBot.Model;
using Microsoft.Extensions.DependencyInjection;
using System;
using System.Linq;
using System.Threading.Tasks;
namespace DiscordEventBot.Common.Attributes.Preconditions
{
public class RequireBotAdministratorAttribute : PreconditionAttri... | 2.709415 | e4a57c4814957e05982672cbcce73b06 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817231 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mpaulosky/IRCERApplication",
"max_stars_repo_path": "src/Tests/TestHelpers/MockHelpers.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136451"
} | starcoder | using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Threading.Tasks;
using IRCER.Core.Models;
using IRCER.DAL.Infrastructure;
using Microsoft.EntityFrameworkCore;
using Moq;
namespace TestHelpers
{
/// <summary>
/// <![CDATA[https://github.com/dot... | 2.70253 | cb43f1aadfcccef5d508d553e4ad549d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817232 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "fredericaltorres/JSonQueryRunTime",
"max_stars_repo_path": "JSonQueryRunTime/JsonQueryRuntime.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136452"
} | starcoder | using System;
using System.Linq;
using System.Collections.Generic;
using HiSystems.Interpreter;
using JsonQueryRunTime;
using Newtonsoft.Json.Linq;
namespace JsonQueryRunTimeNS
{
public enum TextType {
JSON = 1,
JSON_LINES = 2,
TEXT = 4,
};
public class JsonQueryRuntime
{
... | 2.950817 | 175870392ddb8836da65acbb131b50df |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817233 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Geo3gamer/OpenPDN",
"max_stars_repo_path": "src/Updates/UpdateAvailableState.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136453"
} | starcoder | /////////////////////////////////////////////////////////////////////////////////
// Paint.NET //
// Copyright (C) dotPDN LLC, <NAME>, <NAME>, and contributors. //
// Portions Copyright (C) Microsoft Corporation. All Rights Reserved. //
... | 2.231692 | 8c426414f6dcf74ee780a4532a0e1227 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817234 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "philbe/OrleansIndexing-old",
"max_stars_repo_path": "src/Orleans/IDs/StreamId.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136454"
} | starcoder | using System;
using System.Runtime.Serialization;
using System.Text;
using Orleans.Concurrency;
using Orleans.Runtime;
namespace Orleans.Streams
{
/// <summary>
/// Identifier of an Orleans virtual stream.
/// </summary>
[Serializable]
[Immutable]
internal class StreamId : IStreamIdentity, IRin... | 2.426024 | 693b3516f5a9ed15c7b6d58afd91ccc8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817235 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DavidChristiansen/MassTransit",
"max_stars_repo_path": "src/MassTransit.Tests/Saga/RegisterUserSaga.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136455"
} | starcoder | <filename>src/MassTransit.Tests/Saga/RegisterUserSaga.cs
// Copyright 2007-2008 The Apache Software Foundation.
//
// 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.27967 | 411c3e9e2d6057606ff715e6817d07b9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817236 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "linwenda/Notex",
"max_stars_repo_path": "src/Notex.Api/Models/AddCommentReplyModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136456"
} | starcoder | namespace Notex.Api.Models;
public class AddCommentReplyModel
{
public string Text { get; set; }
} | 1.376148 | 372a33251d2fc3916b96cb4287268e95 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817237 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "x-stars/GuidGenerator",
"max_stars_repo_path": "XstarS.GuidGen.CLI/Commands/NewNameBasedGuidCommand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136457"
} | starcoder | using System;
namespace XstarS.GuidGenerators.Commands;
internal sealed class NewNameBasedGuidCommand : ProgramCommand
{
internal static readonly NewNameBasedGuidCommand Version3 =
new NewNameBasedGuidCommand(GuidVersion.Version3);
internal static readonly NewNameBasedGuidCommand Version5 =
... | 2.829396 | 522661f6a058a8bc7c67bb1ee349b592 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817238 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jonfortescue/winforms",
"max_stars_repo_path": "src/System.Windows.Forms/src/System/Windows/Forms/RichTextBoxWordPunctuations.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136458"
} | starcoder | <filename>src/System.Windows.Forms/src/System/Windows/Forms/RichTextBoxWordPunctuations.cs<gh_stars>1-10
// 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 ... | 2.784808 | 7113ed56ec6cf87f8ed0ef318683b7b9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817239 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "idialab/StellariumUnity",
"max_stars_repo_path": "Assets/Stellarium/Tests/ViewServiceTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136459"
} | starcoder | using UnityEngine;
using Stellarium;
using Stellarium.Services;
using System.Collections.Generic;
public class ViewServiceTest : MonoBehaviour {
private void OnEnable() {
ViewService.OnGotLandscapeDescription += ViewService_OnGotLandscapeDescription;
ViewService.OnGotLandscapeList += ViewService_... | 1.915944 | 7c71ba79467e6dbc5805d5b86110ed73 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817240 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Pournaeim/UtilityKnife",
"max_stars_repo_path": "ConsoleApp1/ConsoleApp1/Converters/FahrenheitToCelsius.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136460"
} | starcoder | <filename>ConsoleApp1/ConsoleApp1/Converters/FahrenheitToCelsius.cs
using System;
using System.Collections.Generic;
using System.Text;
namespace ConsoleApp1.Converters
{
public class FahrenheitToCelsius
{
public double FahrenheitToCelsiusConverter(double FahrenheitTemp)
{
double _c... | 3.223529 | c53c4a32a12e9d7ae72c33bc1dc50a2e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817241 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "uk-gov-mirror/SkillsFundingAgency.das-payments-V2",
"max_stars_repo_path": "src/SFA.DAS.Payments.ScheduledJobs.UnitTests/Monitoring/ApprenticeshipData/ApprenticeshipDataServiceTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:13... | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
using Moq;
using NUnit.Framework;
using SFA.DAS.Payments.Application.Infrastructure.Telemetry;
using SFA.DAS.Payments.Application.Repositories;
using SFA.DAS.Payments.Model.Core.Entitie... | 1.658829 | e7b428b9d7dc09828efdc7ebc1a26002 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817242 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "christiannagel/ProfessionalCSharp2021",
"max_stars_repo_path": "1_CS/ObjectOrientation/RecordsInheritance/Shape.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136462"
} | starcoder | <filename>1_CS/ObjectOrientation/RecordsInheritance/Shape.cs
public record Position(int X, int Y);
public record Size(int Width, int Height);
public abstract record Shape(Position Position, Size Size)
{
public void Draw() => DisplayShape();
protected virtual void DisplayShape()
{
Console.WriteLi... | 3.445906 | d0aff891822769f6706cc4dba6e6a7fd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817243 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Key4ce/Websitepanel",
"max_stars_repo_path": "WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/Common/Extensions/LogExtension.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136463"
} | starcoder | <reponame>Key4ce/Websitepanel
// Copyright (c) 2019, WebsitePanel-Support.net.
// Distributed by websitepanel-support.net
// Build and fixed by Key4ce - IT Professionals
// https://www.key4ce.com
//
// Original source:
// Copyright (c) 2015, Outercurve Foundation.
// All rights reserved.
//
// Redistribution ... | 2.013983 | d1583a375334550f75b7db4154f42d98 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817244 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wieslawsoltes/SvgGradientsDemo",
"max_stars_repo_path": "SvgGradientsDemo/Pages/pservers-grad-04-b.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136464"
} | starcoder | using System.Windows.Controls;
namespace SvgGradientsDemo.Pages
{
/// <summary>
/// Interaction logic for pservers_grad_04_b.xaml
/// </summary>
public partial class pservers_grad_04_b : UserControl
{
public pservers_grad_04_b()
{
InitializeComponent();
}
}
... | 1.35919 | 01fd610e4b1fd4c3553860543a77a133 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817245 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "EdutechSRL/Adevico",
"max_stars_repo_path": "3-Business/2-Core/lm.Comol.Core.DomainModel/Domain/Repository/Lite/liteBaseCommunityFile.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136465"
} | starcoder | <gh_stars>1-10
using System;
using lm.Comol.Core.DomainModel.Repository;
namespace lm.Comol.Core.DomainModel
{
[Serializable(), CLSCompliant(true)]
public class liteBaseCommunityFile: DomainObject<long>
{
public virtual Boolean IsInternal {get;set;}
public virtual liteCommunity CommunityOwner { g... | 1.722405 | 98c78429cac82960c3a7b3fee4977ac6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817246 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ykazarov/Com.ArmatSoftware.Code.Engine.NetFramework",
"max_stars_repo_path": "Com.ArmatSoftware.Code.Engine.NetFramework.Tests/TestSubject.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136466"
} | starcoder | <filename>Com.ArmatSoftware.Code.Engine.NetFramework.Tests/TestSubject.cs
using System;
namespace Com.ArmatSoftware.Code.Engine.NetFramework.Tests
{
public class TestSubject
{
public int Id { get; set; }
public string Data { get; set; }
public DateTime Date { get; set; }
}
}
| 1.851384 | f2888ad75db59df1404b271bdad6f16d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817247 | {
"extension": "c-sharp",
"max_stars_count": "21.0",
"max_stars_repo_name": "TheMoogle/space-station-14",
"max_stars_repo_path": "Content.Server/Xenoarchaeology/XenoArtifacts/Effects/Systems/TemperatureArtifactSystem.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136467"
} | starcoder | <gh_stars>10-100
using Content.Server.Atmos;
using Content.Server.Atmos.EntitySystems;
using Content.Server.Xenoarchaeology.XenoArtifacts.Effects.Components;
using Content.Server.Xenoarchaeology.XenoArtifacts.Events;
namespace Content.Server.Xenoarchaeology.XenoArtifacts.Effects.Systems;
public sealed class Temperat... | 2.018778 | 832fb5cde05b059a694398b5f5a2f3d3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817248 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "mkarpusiewicz/SwiftHelpers",
"max_stars_repo_path": "src/UnitTests/Extensions/ActionWrapper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136468"
} | starcoder | <filename>src/UnitTests/Extensions/ActionWrapper.cs
using System.Linq.Expressions;
namespace UnitTests.Extensions
{
public class ActionWrapper<T>
{
private readonly string _methodName;
public readonly T Do;
public ActionWrapper(Expression<T> action)
{
Do = action.C... | 2.943786 | f9a7c7592ca27cad24a9efe7cac4cdbb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817249 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AlmirJusic/eLibrary",
"max_stars_repo_path": "eLibrary/eLibrary.ModelForMobile/Requests/Korisnik/KorisnikUpdateRequest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136469"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace eLibrary.ModelForMobile.Requests.Korisnik
{
public class KorisnikUpdateRequest
{
public string? Ime { get; set; }
public string? Prezime { get; set; }
public st... | 1.540681 | 6804e7cd0027e3fe3cdc62be29ff788b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817250 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "devhuseyinkartal/eyazisma.online.api",
"max_stars_repo_path": "src/eyazisma.online.api.net5/Classes/EkDosya.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136470"
} | starcoder | <filename>src/eyazisma.online.api.net5/Classes/EkDosya.cs<gh_stars>0
using System;
using System.IO;
using eyazisma.online.api.Interfaces.Fluents;
namespace eyazisma.online.api.Classes
{
/// <summary>
/// Eke ait elektronik dosyanın bilgileridir.
/// </summary>
public sealed class EkDosya
{
... | 3.080264 | 523cb0023238b0b0674c674ea4c647cb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817251 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "tagcode/Lexical.Localization",
"max_stars_repo_path": "Lexical.Localization/Line/Parts/LineFormatProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136471"
} | starcoder | <filename>Lexical.Localization/Line/Parts/LineFormatProvider.cs
// --------------------------------------------------------
// Copyright: <NAME>
// Date: 3.5.2019
// Url: http://lexical.fi
// --------------------------------------------------------
using System;
using System.Reflection;
using... | 2.392625 | decfde0097b5438cab22e9708db0fc9b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817252 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "fisherLB/NX1222",
"max_stars_repo_path": "www/JN.Web/obj/Release/Package/PackageTmp/Areas/UserCenter/Views/Shared/_Layoutmmm.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:136472"
} | starcoder | <reponame>fisherLB/NX1222<gh_stars>1-10
@{
string controller = ViewContext.RouteData.Values["controller"].ToString().ToLower();
string action = ViewContext.RouteData.Values["action"].ToString().ToLower();
var sysEntity = MvcCore.Unity.Get<JN.Data.Service.ISysSettingService>().Single(1);
var cacheSysPar... | 1.516957 | 0bf51ba7a43e95a3c293f23ddf630817 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817253 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dotKokott/PeacefulGardenVR",
"max_stars_repo_path": "THEBRAIN/Assets/_Code/Manager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136473"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using System.IO;
using UnityEngine;
using UnityEngine.VR;
using UnityEngine.XR;
using Valve.VR;
public class Manager : MonoBehaviour {
public float RenderScale = 1f;
public Transform Floor;
public GameObject[] Controllers;
... | 1.881498 | e55fa3489a6fb78f8489addb51039da3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817254 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "japgorco/C-l",
"max_stars_repo_path": "Car/Truck.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136474"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Car
{
internal class Truck : Car
{
private int _carrying;
//add constructor with three parameters (_weight, car model, VIN code)
public Truck(int carrying, st... | 3.404313 | 9484d3f2e765cf011fd1d1e56863519a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817255 | {
"extension": "c-sharp",
"max_stars_count": "179.0",
"max_stars_repo_name": "DapperLib/DapperAOT",
"max_stars_repo_path": "test/Dapper.AOT.Test/SamplesTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136475"
} | starcoder | <gh_stars>100-1000
using Dapper.CodeAnalysis;
using System.Collections.Generic;
using System.IO;
using System.Text;
using Xunit;
using Xunit.Abstractions;
using System.Linq;
using System;
using System.Text.RegularExpressions;
using System.Runtime.CompilerServices;
namespace Dapper.AOT.Test
{
public partial class ... | 2.26226 | a6a3dbc2db9ad453d3d947fb934e4f72 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817256 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "matarillo/NemerleExperiment",
"max_stars_repo_path": "NemerleCompilerCore/FieldBuilder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136476"
} | starcoder | <gh_stars>0
namespace Nemerle.Compiler
{
public class FieldBuilder
{
}
} | 0.727252 | dd9e756ef98c482123a2b358d001cb4b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817257 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "ShadyWhite/Milvaneth",
"max_stars_repo_path": "Client/Milvaneth/AboutPage.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136477"
} | starcoder | using System;
using System.ComponentModel;
using System.IO;
using Milvaneth.Service;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
namespace Milvaneth
{
/// <summary>
/// Interaction logic for about.xaml
/// </summary>
public partial class AboutPage : Page
{
... | 2.355604 | 273e02d1885a94fb983957c57555b8d1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817258 | {
"extension": "c-sharp",
"max_stars_count": "874.0",
"max_stars_repo_name": "pelshen/BlazorStrap",
"max_stars_repo_path": "src/BlazorStrap/Components/Media/BSMedia.razor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136478"
} | starcoder | using BlazorComponentUtilities;
using Microsoft.AspNetCore.Components;
using System.Collections.Generic;
namespace BlazorStrap
{
public partial class BSMedia : ComponentBase
{
[Parameter(CaptureUnmatchedValues = true)] public IDictionary<string, object> UnknownParameters { get; set; }
protecte... | 2.515454 | 8d8e839a61cb86cbc800430d06d761b0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817259 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "peplau/helix-solution",
"max_stars_repo_path": "src/Feature/Timeline/code/Templates.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136479"
} | starcoder | <reponame>peplau/helix-solution
// ------------------------------------------------------------------------------
// <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.975575 | 32118eb9e5f68669594f225d8f7d3912 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817260 | {
"extension": "c-sharp",
"max_stars_count": "44.0",
"max_stars_repo_name": "AaronFriel/pulumi-google-native",
"max_stars_repo_path": "sdk/dotnet/WebSecurityScanner/V1Beta/Outputs/ScanRunWarningTraceResponse.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136480"
} | starcoder | // *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** 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.Serialization;
namespace Pulumi.Goog... | 1.94137 | b57e8e05eb7933ebfd0d8647f847490f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817261 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tetracube/Language-Palace",
"max_stars_repo_path": "Assets/Scripts/Interfaz/MenuPrincipal.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136481"
} | starcoder | using System.Collections;
using UnityEngine;
using UnityEngine.UI;
public class MenuPrincipal : MonoBehaviour
{
private static MenuPrincipal instance;
[SerializeField]
private Button continuar;
[SerializeField]
private Button seleccionarCapitulo;
[SerializeField]
private GameObject nuevaP... | 2.181592 | 7a4611764327c01f3f2eb4c4da43f503 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817262 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "emilia98/AngularProject-SoftUni",
"max_stars_repo_path": "HomeForMe/API/Models/InputModels/LoginInputModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136482"
} | starcoder | <gh_stars>0
using System.ComponentModel.DataAnnotations;
namespace API.Models.InputModels
{
public class LoginInputModel
{
[Required]
public string Username { get; set; }
[Required]
public string Password { get; set; }
}
} | 1.662198 | af285e29635af7efc115dd4c5cb7d4db |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817263 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "proggy/Tellurian.Trains.ModulesRegistryApp",
"max_stars_repo_path": "SourceCode/App/Validators/StationCustomerCargoValidator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136483"
} | starcoder | using FluentValidation;
using Microsoft.Extensions.Localization;
using ModulesRegistry.Data;
namespace ModulesRegistry.Validators
{
public class StationCustomerCargoValidator : AbstractValidator<StationCustomerCargo>
{
public StationCustomerCargoValidator(IStringLocalizer<App> localizer)
{
... | 2.398248 | e4b7537dac4c9c9c66140d2574127536 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817264 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "losttech/YOLOv4",
"max_stars_repo_path": "src/datasets/ObjectDetection/MS_COCO.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136484"
} | starcoder | namespace tensorflow.datasets.ObjectDetection {
using System;
using System.Linq;
public static class MS_COCO {
public static int InputSize => 416;
public static int ClassCount => 80;
public static ReadOnlySpan<string> ClassNames => classNames;
static readonly string[] clas... | 2.05641 | e47fea36d5155ab8c5f5cec32bc4d5da |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817265 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pablotdv/MvcSiteMapProvider",
"max_stars_repo_path": "src/MvcSiteMapProvider/MvcSiteMapProvider.Core/ChangeFrequency.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136485"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MvcSiteMapProvider
{
/// <summary>
/// Change frequency for the node
/// </summary>
[Serializable]
public enum ChangeFrequency
{
/// <summary>
... | 1.943177 | 2ae9e81543d5c451a5346602e4794f19 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817266 | {
"extension": "c-sharp",
"max_stars_count": "1390.0",
"max_stars_repo_name": "honkuan86/Brighter",
"max_stars_repo_path": "samples/WebAPI_EFCore/GreetingsWatcher/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136486"
} | starcoder | <filename>samples/WebAPI_EFCore/GreetingsWatcher/Program.cs<gh_stars>1000+
using System;
using System.IO;
using System.Threading.Tasks;
using GreetingsWatcher.Requests;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Paramore.Brighter;... | 1.955045 | 069a0719da1a71f29f36d7609a3d35b3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817267 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "retr0-13/ADCollector",
"max_stars_repo_path": "ADCollector3/Display/DisplayADCS.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136487"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ADCollector3
{
public class DisplayADCS : IDisplay
{
public static IDisplay daclDisplayer { get; set; } = new DisplayDACL();
public void DisplayResult(List<ADCS> certsr... | 2.44577 | 026daf57f813e205b5199b50ffc334db |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817268 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "IceRaptor/CleverGirl",
"max_stars_repo_path": "CleverGirl/CleverGirl/Patches/BehaviorNodes/GenerateJumpMoveCandidatesNodePatch.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136488"
} | starcoder | using BattleTech;
using Harmony;
using IRBTModUtils.Extension;
using System.Collections.Generic;
using System.Reflection;
using UnityEngine;
namespace CleverGirl.Patches {
[HarmonyPatch]
static class GenerateJumpMoveCandidatesNode_Tick {
static MethodBase TargetMethod() {
var type = Acce... | 2.16608 | 2a063ed10a6c8537d357ffd3fab4b87e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817269 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "marlandolaud/presentations",
"max_stars_repo_path": "WPF/MVVMFromBook/AutoLotDAL/Models/Partials/InventoryPartial.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136489"
} | starcoder | <filename>WPF/MVVMFromBook/AutoLotDAL/Models/Partials/InventoryPartial.cs<gh_stars>1-10
using System.ComponentModel.DataAnnotations.Schema;
namespace AutoLotDAL.Models
{
public partial class Inventory
{
public override string this[string columnName]
{
get
{
st... | 2.83854 | a50121a36e33bd7cb5a99842f213aff5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817270 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Remodor/TLD_Ankle-Support",
"max_stars_repo_path": "src/Settings.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136490"
} | starcoder | <filename>src/Settings.cs
using ModSettings;
namespace AnkleSupport
{
internal class AnkleSupport_Settings : JsonModSettings
{
[Section("Ankle/ Wrist Support (A common sprain probability would be 30%)")]
[Name("Boot Toughness Factor")]
[Description("This value specifies how much each ... | 2.451362 | c91b800b602692d6f43be9f49347058f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817271 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "migueldesousa/XpdfNet",
"max_stars_repo_path": "src/XpdfNet.Tests/Service/ProcessServiceTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136491"
} | starcoder | namespace XpdfNet.Tests
{
using System;
using System.ComponentModel;
using Xunit;
public class ProcessServiceTest
{
private ProcessService processService;
[Fact]
public void ToText_ShouldThrowExceptionWithPathInformation_WhenPDFToTextExeCanNotBeFound()
{
... | 2.722489 | f9cf01db544500d47a9e60c4c83ee932 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817272 | {
"extension": "c-sharp",
"max_stars_count": "37.0",
"max_stars_repo_name": "unoplatform/Uno.WindowsCommunityToolk",
"max_stars_repo_path": "CommunityToolkit.WinUI.UI.Controls.DataGrid/DataGrid/DataGridCellEditEndingEventArgs.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136492"
} | 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.ComponentModel;
using Microsoft.UI.Xaml;
namespace CommunityToolkit.WinUI.UI.Controls
{
/// <summa... | 2.398452 | 39c2bfd98d4af35c3a0dce8e50ea0d2c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817273 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "thxu/Th.Validator",
"max_stars_repo_path": "Th.Validator.Test/Models/NotEmptyModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136493"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Text;
using Th.Validator.Constraints;
namespace Th.Validator.Test.Models
{
public class NotEmptyModel
{
public int[] ArrayFields { get; set; }
[NotEmpty("字符串不能为null且字符串... | 2.169727 | a55716eeb027124e12bad236c380001d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817274 | {
"extension": "c-sharp",
"max_stars_count": "18.0",
"max_stars_repo_name": "Lex45x/QueryNinja",
"max_stars_repo_path": "QueryNinja.Examples.AspNetCore/Migrations/20201229230601_InitialMigration.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136494"
} | starcoder | using Microsoft.EntityFrameworkCore.Migrations;
// ReSharper disable All
namespace QueryNinja.Examples.AspNetCore.Migrations
{
internal partial class InitialMigration : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
... | 2.267966 | 7564b55b6fd3b4ef7a98015bc9f91986 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817275 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Vector241-Eric/RandomLineupGenerator",
"max_stars_repo_path": "src/UnitTests/_Helpers/Generators.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136495"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using Newtonsoft.Json;
using NUnit.Framework;
using RandomLineupGenerator;
using RandomLineupGenerator.Csv;
using RandomLineupGenerator.Model;
using RandomLineupGenerator.Services;
namespace UnitTests._Helpers
{
[TestFixture]
public class Genera... | 2.624138 | e28424ffc630a2ffd72e734a3bc9e443 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817276 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "JuDelCo/Core",
"max_stars_repo_path": "Runtime/Util/Time/Clock.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136496"
} | starcoder | // SPDX-License-Identifier: MIT
// Copyright (c) 2016-2021 <NAME> (@JuDelCo)
using System;
using Ju.Handlers;
using Ju.Services.Internal;
namespace Ju.Time
{
public partial class Clock<T> : IClock where T : ITimeDeltaEvent
{
private readonly DisposableLinkHandler linkHandler;
private Span elapsed;
private rea... | 2.579817 | 8c588fa2592ab3fc174e06bdf5c6ed0e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817277 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "murrple-1/SumoSmash",
"max_stars_repo_path": "SumoSmash/Assets/Game/Scripts/Sumo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136497"
} | starcoder | using UnityEngine;
public class Sumo : MonoBehaviour
{
private static readonly string XAxis = "_LA_X";
private static readonly string YAxis = "_LA_Y";
private static readonly string AButton = "_A";
private static readonly string BButton = "_B";
private static readonly float AxisThreshold = ... | 2.145224 | 38963be58c419e6a525a12f4b7252462 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817278 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "predictiple/MFT",
"max_stars_repo_path": "MFT/Other/ExtensionMethods.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136498"
} | starcoder | <reponame>predictiple/MFT
using System.Collections.Generic;
using System.Linq;
using MFT.Attributes;
namespace MFT.Other
{
public static class ExtensionMethods
{
public static int GetReferenceCount(this FileRecord record)
{
var fns = record.Attributes.Where(t => t.AttributeType == ... | 2.486631 | 1c1398534d491873ed49e55c989b8c12 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817279 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kenwrites/HaikuMajigger",
"max_stars_repo_path": "SyllableCounterTests/RecordTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136499"
} | starcoder | using Xunit;
using SyllableCounter;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SyllableCounter.Tests
{
public class RecordTests
{
[Fact()]
public void RecordIWordPairConstructorTest()
{
IWord... | 2.534614 | 3df64cc55a9409af47dbe397755595bc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817280 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Acidburn0zzz/SignaturePad",
"max_stars_repo_path": "src/SignaturePad.Windows81/SignaturePad.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136500"
} | starcoder | <reponame>Acidburn0zzz/SignaturePad
using System;
using System.IO;
using System.Threading.Tasks;
using Windows.Foundation;
using Windows.UI;
using Windows.UI.Text;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Media;
using Windows.UI.Xaml.Media.Imaging;
namespace Xamarin.Controls
{
pub... | 2.133744 | 3e6d1640c73aabb7e564e5aaaa3e6472 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817281 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "VictorMartinsSilva/OlivaTech",
"max_stars_repo_path": "src/OlivaTech/OlivaTech.Site/Views/_ViewImports.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:136501"
} | starcoder | <filename>src/OlivaTech/OlivaTech.Site/Views/_ViewImports.cshtml
@using OlivaTech.Site
@using OlivaTech.Site.Models
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
@addTagHelper "*, OlivaTech.Site" | 1.354648 | cc31935148685f896b46441260a65d5a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817282 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jbebesi/WeatherApplication",
"max_stars_repo_path": "SourceCode/WeatherApplication/SubscriptionService/Services/SubscriptionService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136502"
} | starcoder | using SubscriptionService.Interfaces;
using System;
using WeatherApplication.Shared.Dtos.Misc;
namespace SubscriptionService.Services
{
public class SubscriptionService : ISubscriptionService
{
public Subscription GetSubscription(string subscriptionName)
{
return new Subs... | 2.24262 | f64bd1d83c6876408b105604b8c5083d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817283 | {
"extension": "c-sharp",
"max_stars_count": "345.0",
"max_stars_repo_name": "tondat/maui",
"max_stars_repo_path": "src/Essentials/samples/Samples/Model/PermissionItem.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136503"
} | starcoder | <reponame>tondat/maui<gh_stars>100-1000
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;
using System.Windows.Input;
using Microsoft.Maui.Essentials;
using Samples.ViewModel;
using Xamarin.Forms;
namespace Samples.Model
{
public class PermissionItem : ObservableObject
{... | 2.031726 | 60faf281c6b5d8cd2ed22f907650b0ac |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817284 | {
"extension": "c-sharp",
"max_stars_count": "314.0",
"max_stars_repo_name": "wbonbon/ACT.Hojoring",
"max_stars_repo_path": "source/FFXIV.Framework/FFXIV.Framework/Common/JobIconDictionary.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136504"
} | starcoder | <gh_stars>100-1000
using System;
using System.Collections.Generic;
using System.IO;
using System.Windows.Media.Imaging;
using FFXIV.Framework.XIVHelper;
using Sharlayan.Core.Enums;
namespace FFXIV.Framework.Common
{
public class JobIconDictionary
{
#region Singleton
private static JobIconDicti... | 2.414342 | 48ea0f3346cda807200e6e5809890f2b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817285 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "naithagoni/book-store",
"max_stars_repo_path": "server/Startup.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136505"
} | starcoder | using System;
using System.IO;
using System.Reflection;
using Microsoft.OpenApi.Models;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Options;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection... | 2.178076 | d29b9e9a8cc9fd2f82b2d7815dc86720 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817286 | {
"extension": "c-sharp",
"max_stars_count": "294.0",
"max_stars_repo_name": "charsleysa/MOSA-Project",
"max_stars_repo_path": "Source/Mosa.Compiler.Framework/StubMethodAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136506"
} | starcoder | // Copyright (c) MOSA Project. Licensed under the New BSD License.
using System;
namespace Mosa.Compiler.Framework
{
public delegate void StubMethodDelegate(Context context, MethodCompiler methodCompiler);
/// <summary>
/// Used for defining targets when using intrinsic replacements
/// </summary>
[AttributeUs... | 2.22901 | 7da200d9b9ecb4b461e0bf4dc3515439 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817287 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "IInspectable/Nav-Language-Extensions",
"max_stars_repo_path": "Nav.Cli/Logging/ConsoleLogger.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136507"
} | starcoder | #region Using Directives
using System;
using Pharmatechnik.Nav.Language.Generator;
#endregion
namespace Pharmatechnik.Nav.Language.Logging {
public class ConsoleLogger : ILogger {
public ConsoleLogger(bool fullPaths, bool noWarnings = false, bool verbose = false, string verbosePrefix = nul... | 2.610432 | 6bbca5650066ec44bd3865bb12828e23 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817288 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Kalystee/TacticalTurnedBase",
"max_stars_repo_path": "Assets/Scripts/Game/Battleground/Events/Battleground_OnEntitySpawnedArgs.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136508"
} | starcoder | using PNN.Entities;
public class Battleground_OnEntitySpawnedArgs
{
public readonly Entity affectedEntity;
public Battleground_OnEntitySpawnedArgs(Entity affectedEntity)
{
this.affectedEntity = affectedEntity;
}
}
| 1.703348 | e74fe6bb3b9440d88e76b278b6b7a809 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817289 | {
"extension": "c-sharp",
"max_stars_count": "73.0",
"max_stars_repo_name": "chikashimiyama/uPD",
"max_stars_repo_path": "Unity Project/Assets/Magicolo/AudioTools/PureData/PureDataPatchManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136509"
} | starcoder | using System.Collections.Generic;
using System.IO;
using UnityEngine;
using System.Collections;
using LibPDBinding;
namespace Magicolo.AudioTools {
[System.Serializable]
public class PureDataPatchManager {
public PureData pureData;
Dictionary<string, int> patchIdDict = new Dictionary<string, int>();
publi... | 2.28478 | 4cb8326ec056bef36f9751a63dfa7b5a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817290 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "saludnqn/laboratorio",
"max_stars_repo_path": "WebLab/Resultados/PesquisaNeonatalView.aspx.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136510"
} | starcoder | <reponame>saludnqn/laboratorio
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Business;
using Business.Data.Laboratorio;
using System.Data;
using System.Data.SqlClient;
using CrystalDecisions.Web;
using NHibern... | 1.204459 | 94bb809746fe12218e3f5c8b0e3ebcfe |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817291 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SARITHA90/deliveggie-app",
"max_stars_repo_path": "DeliVeggieApp/DeliVeggieApp.APIGateway/Controllers/ProductsController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136511"
} | starcoder | <reponame>SARITHA90/deliveggie-app<gh_stars>0
using DeliVeggieApp.Infrastructure.BuildingBlocks.Models.Requests;
using DeliVeggieApp.Infrastructure.BuildingBlocks.Models.Responses;
using DeliVeggieApp.Infrastructure.Messaging;
using Microsoft.AspNetCore.Mvc;
namespace DeliVeggieApp.APIGateway.Controllers
{
[Route... | 2.369353 | 17835df222d00b90320ba792f2eb38b3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817292 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ChrisCarrAu/webcrawler",
"max_stars_repo_path": "AzureWebCrawlerFunction/Service/Interface/IUriParser.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136512"
} | starcoder | <reponame>ChrisCarrAu/webcrawler
using System;
using System.Threading.Tasks;
using AzureWebCrawlerFunction.Model;
namespace AzureWebCrawlerFunction.Service.Interface
{
public interface IUriParser
{
Task Crawl(Anchor uri);
}
}
| 1.465096 | 6dbe0fc0225670215924f4779fc00f8a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817293 | {
"extension": "c-sharp",
"max_stars_count": "2251.0",
"max_stars_repo_name": "hjred/stride",
"max_stars_repo_path": "sources/presentation/Stride.Core.Presentation/XamlMarkdown.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136513"
} | starcoder | <reponame>hjred/stride
// Copyright (c) .NET Foundation and Contributors (https://dotnetfoundation.org/ & https://stride3d.net) and Silicon Studio Corp. (https://www.siliconstudio.co.jp)
// Distributed under the MIT license. See the LICENSE.md file in the project root for more information.
#region Copyright and licens... | 1.888889 | 8749adb375ab36447d8aed0bb1e59a60 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817294 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "manu-silicon/wcl",
"max_stars_repo_path": "Sources/structs/Point.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136514"
} | starcoder | // Copyright (c) 2015 manu-silicon
// This file is distributed under the MIT License. See LICENSE.md for details.
using System;
using System.Runtime.InteropServices;
namespace WCL.Structs
{
/// <summary>
/// Encapsulation of the Win32 POINT structure.
/// See https://msdn.microsoft.com/en-us/library/dd162805(v... | 2.509337 | a7c30671227340f8a5bcea5c0c71da20 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817295 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "semion-akimtsev/Contour",
"max_stars_repo_path": "Sources/Contour/Receiving/Sagas/ISagaLifecycle.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136515"
} | starcoder | namespace Contour.Receiving.Sagas
{
/// <summary>
/// Контролирует время жизни саги.
/// </summary>
/// <typeparam name="TS">Тип данных саги.</typeparam>
/// <typeparam name="TM">Тип данных сообщения.</typeparam>
/// <typeparam name="TK">Тип идентификатора саги.</typeparam>
internal interfa... | 2.739875 | f36eba6ae22d4a8c5aa06d2d548d3605 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817296 | {
"extension": "c-sharp",
"max_stars_count": "132.0",
"max_stars_repo_name": "geffzhang/hipresentations",
"max_stars_repo_path": "2020-04-16 Refactoring-Testing-AcikSeminer/src/step-final/RefactoringDemo/Price.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136516"
} | starcoder | namespace RefactoringDemo
{
public abstract class Price
{
public abstract double GetAmount(int daysRented);
public abstract int GetFrequentRenterPoints(int daysRented);
}
}
| 2.368907 | 7bd6a2bf815368852adcef433863bc3d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817297 | {
"extension": "c-sharp",
"max_stars_count": "3336.0",
"max_stars_repo_name": "mbentancour/azure-powershell",
"max_stars_repo_path": "src/AlertsManagement/AlertsManagement/OutputModels/PSSmartGroupModification.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136517"
} | starcoder | // ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// 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://w... | 1.686505 | 4c027c8bb448425c93b02bad28851479 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817298 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "qaniqani/UdemyCourse",
"max_stars_repo_path": "aspnet-core/src/Udemy.Course.EntityFrameworkCore/Migrations/20220310143033_removePrefix.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136518"
} | starcoder | using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace Udemy.Course.Migrations
{
public partial class removePrefix : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropForeignKey(
name: "FK_AbpDynam... | 1.418434 | 33428e3eed6326878517b035bd4630f9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817299 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wiktork/dotnet-monitor",
"max_stars_repo_path": "src/Tests/Microsoft.Diagnostics.Monitoring.UnitTestApp/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136519"
} | 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 Microsoft.Diagnostics.Monitoring.UnitTestApp.Scenarios;
using System.CommandLine.Builder;
using System.Comman... | 1.738232 | d6f876952037e17d2dfa67e39c6c44bc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817300 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "miroshkin/verivox",
"max_stars_repo_path": "Verivox/Verivox/TariffModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136520"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Verivox
{
public class TariffModel
{
private List<Product> _products;
public TariffModel()
{
_products = new List<Product>();
}
/... | 3.598455 | 257f2059ecfafa8011b4df3e2a5f20dc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817301 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "MitchellSmithDeveloper/UnityAnimationFrameDataEditor",
"max_stars_repo_path": "Scripts/ColliderData.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136521"
} | starcoder | <gh_stars>1-10
using System.Collections.Generic;
using UnityEngine;
public enum ColliderType
{
Box,
Capsule,
Circle,
Polygon
}
[System.Serializable]
public class ColliderData
{
public ColliderType type;
public Vector2 position;
public float rotation;
public Vector2 size;
public Ca... | 2.565532 | 503cc9f3a7f6ca077e59d9d18d7ed6ee |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817302 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Basher207/NeuralNet",
"max_stars_repo_path": "Neural stuff/NeuralNet/Assets/Chart And Graph/Editor/AutoFloatInspector.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136522"
} | starcoder | <gh_stars>0
#define Graph_And_Chart_PRO
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEditor;
using UnityEngine;
namespace ChartAndGraph
{
[CustomPropertyDrawer(typeof(AutoFloat))]
class AutoFloatInspector : PropertyDrawer
{
public ove... | 1.755437 | 3632b1db5ed72896e3d9a9971086bcc0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817303 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tw-prospa-csharp-learning/csharp-learning",
"max_stars_repo_path": "MoreEffectiveC#-Item26.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136523"
} | starcoder | <reponame>tw-prospa-csharp-learning/csharp-learning
using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Reflection;
using System.Threading;
using System.Threading.Tasks;
using Xunit.Abstractions;
/*
* 在迭代器与异步方法中定义局部函数,以便尽早的报错*
*/
namespace Xunit
{
/*
* Tip1: 调用迭代器方法的时候,程序不会立刻... | 3.215031 | be3a50711a3d13f08fb554335059c0ac |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817304 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "giantchen2012/czml-writer",
"max_stars_repo_path": "DotNet/ShapefileToCesiumLanguage/CzmlDocument.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136524"
} | starcoder | using System.IO;
using CesiumLanguageWriter;
namespace ShapefileToCesiumLanguage
{
/// <summary>
/// Contains the <see cref="CesiumOutputStream"/> and <see cref="CesiumStreamWriter"/> for converting to CZML.
/// </summary>
public class CzmlDocument
{
/// <summary>
/// Initializes a... | 2.827403 | 3dbd8cb15296654f228ccfe46df56a19 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817305 | {
"extension": "c-sharp",
"max_stars_count": "375.0",
"max_stars_repo_name": "chrissnell/HeaterMeter",
"max_stars_repo_path": "tools/ArduinoSerialUpload/Form1.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136525"
} | starcoder | <reponame>chrissnell/HeaterMeter
// HeaterMeter Copyright 2016 <NAME> <<EMAIL>>
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.IO;
namespace ArduinoSerialUpload
{
public partial clas... | 2.462158 | 4bc140959e822fb5e2842a7d2109942b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817306 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "shby0527/WebBase",
"max_stars_repo_path": "Umi.Web.Metadatas/Attributes/ServiceAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136526"
} | starcoder | using System;
namespace Umi.Web.Metadatas.Attributes
{
/// <summary>
/// 依赖注入标记
/// </summary>
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = false)]
public sealed class ServiceAttribute : Attribute
{
/// <summary>
/// 服务名称
/// </summary>
... | 2.356901 | 930552fbe0700128ab49df8f1c169c23 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817307 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pmsereno/Dnn.Platform",
"max_stars_repo_path": "DNN Platform/Library/ExtensionPoints/Filters/IExtensionPointFilter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136527"
} | starcoder | <filename>DNN Platform/Library/ExtensionPoints/Filters/IExtensionPointFilter.cs
//
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
//
namespace DotNetNuke.ExtensionPoints.Filters
{
public interface IExten... | 1.207884 | f2a3acb22411340fcc6af097b05d2023 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817308 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "devalbo/netcore-cloud-chat",
"max_stars_repo_path": "ChatBackend/ChatBackend/Controllers/MessagesController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136528"
} | starcoder | using ChatBackend.Auth;
using ChatBackend.Db.Models;
using ChatBackend.Db.Repositories;
using ChatBackend.Dto;
using ChatBackend.Middleware.Auth;
using Microsoft.AspNetCore.Cors;
using Microsoft.AspNetCore.Mvc;
namespace ChatBackend.Controllers
{
[ApiController]
[Route("messages")]
[EnableCors]
public... | 2.265693 | 825cd0b6b59e90e74cd17dbc6e74a596 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817309 | {
"extension": "c-sharp",
"max_stars_count": "34.0",
"max_stars_repo_name": "S41L0R/Cafe-Shader-Studio",
"max_stars_repo_path": "CafeStudio.UI/Helpers/ImguiPropertyBinding.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136529"
} | starcoder | <reponame>S41L0R/Cafe-Shader-Studio
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;
using ImGuiNET;
using System.Numerics;
namespace CafeStudio.UI
{
public partial class ImGuiHelper
{
public static bool InputFromInt(string label, object obj, string prope... | 2.713882 | 0bfd70858be38579167380c963bef875 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817310 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "uglybugger/Sourcerer",
"max_stars_repo_path": "src/Sourcerer.SchemaUpgradeTests.v0/Domain/StudentAggregate/Student.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136530"
} | starcoder | <reponame>uglybugger/Sourcerer
using System;
using Sourcerer.DomainConcepts.Entities;
using Sourcerer.SchemaUpgradeTests.v0.Domain.StudentAggregate.Facts;
namespace Sourcerer.SchemaUpgradeTests.v0.Domain.StudentAggregate
{
[Serializable]
public class Student : AggregateRoot
{
public static Student... | 2.516715 | 7bdbc6fe5b906df43087bd35eb20d295 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817311 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "shenlei149/ProjectEuler",
"max_stars_repo_path": "XUnitTestProjectEuler/UnitTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136531"
} | starcoder | <reponame>shenlei149/ProjectEuler
using ProjectEuler;
using Xunit;
namespace XUnitTestProjectEuler
{
[Collection("Collection #01")]
public class UnitTest01
{
[Fact]
public void Test001To050()
{
Assert.Equal("70600674", new S11().GetAnswer());
Assert.Equal("76... | 2.844368 | 2c767552a7c2757f9ffa77b764486f07 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817312 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "owolp/TelerikAcademy",
"max_stars_repo_path": "Module-2/Design-Patterns/Materials/DI.NET/ComplexCommerce/CampaignPresentationLogic/CampaignItemPresenter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136532"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Ploeh.Samples.Commerce.CampaignPresentation
{
public class CampaignItemPresenter
{
public decimal? DiscountPrice { get; set; }
public int Id { get; set; }
public bool IsFeatured { get; set... | 1.86983 | 13323407c601f9f5483833904b870373 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817313 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LANDIS-II-Foundation/Core-Model-v5",
"max_stars_repo_path": "raster-io/Metadata.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136533"
} | starcoder | <reponame>LANDIS-II-Foundation/Core-Model-v5
using System.Collections.Generic;
namespace Landis.RasterIO
{
/// <summary>
/// The metadata for a raster.
/// </summary>
/// <remarks>
/// A simple implementation of IMetadata interface that library
/// implementors may use.
/// </remarks>
public class Metadata
:... | 2.904676 | 9b9b3a60657a8a88443d47ba47affe45 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817314 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ogendogen/refuel",
"max_stars_repo_path": "Refuel/Models/VehicleFormModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136534"
} | starcoder | <reponame>ogendogen/refuel<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Database.Models;
using Refuel.Areas.Panel.Pages.Components.VehiclesForm;
namespace Refuel.Models
{
public class VehicleFormModel
{
public VehiclesFormMode Vehicl... | 1.022586 | 50e27ff8c29d4c535c475f3c4c84df38 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817315 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MateuszWkDev/white-label-bank-app",
"max_stars_repo_path": "MainframeSvc/MainServices/Services/ITransactionService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136535"
} | starcoder | using System.Collections.Generic;
using System.Runtime.Serialization;
using System.ServiceModel;
namespace MainServices.Services
{
[ServiceContract]
public interface ITransactionService
{
[OperationContract]
List<TransactionContract> GetTransactionsForUser(int userId);
[OperationC... | 2.331018 | 2f8e1ddddc5c862cc0dc9daa946ec913 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817316 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mustaphakd/epidemie",
"max_stars_repo_path": "src/frontend-mobile/Makolo/Citizen/Feature/Login/ViewModels/LoginPageViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136536"
} | starcoder | using Citizen.Extensions;
using Citizen.Services;
using System.Threading.Tasks;
using Xamarin.Essentials;
using Xamarin.Forms;
using Xamarin.Forms.Internals;
namespace Citizen.Feature.Login.ViewModels
{
/// <summary>
/// ViewModel for login page.
/// </summary>
[Preserve(AllMembers = true)]
public... | 2.480139 | b44469383a7271041ea2c0482a19af0f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817317 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ulkyome/laucher_server",
"max_stars_repo_path": "HeroesOpTool/UserMonitorSystem/UserCountGraph.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136537"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Linq;
using System.Windows.Forms;
using NPlot;
using NPlot.Windows;
namespace HeroesOpTool.UserMonitorSystem
{
public class UserCountGraph : UserControl
... | 2.190356 | fdad05bf2714be80af1d06ae2068ed46 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.