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 | 8846112 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ProductiveRage/NonCascadingCssRulesEnforcer",
"max_stars_repo_path": "NonCascadingCSSRulesEnforcer/Rules/HtmlTagScopingMustBeAppliedToNonResetsOrThemesSheets.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165332"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using CSSParser.ExtendedLESSParser.ContentSections;
using NonCascadingCSSRulesEnforcer.ExtendedLESSParserExtensions;
namespace NonCascadingCSSRulesEnforcer.Rules
{
/// <summary>
/// This rule only applie... | 2.453645 | 298f51804309c46c7dc889f7ee0d9f2f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846113 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LagoVista/CrossPlatform",
"max_stars_repo_path": "src/LagoVista.XPlat.UWP/Effects/UnderlineEffect.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165333"
} | starcoder | using LagoVista.XPlat.UWP.Effects;
using System;
using System.Diagnostics;
using Windows.UI.Xaml.Controls;
using Xamarin.Forms;
using Xamarin.Forms.Platform.UWP;
[assembly: ResolutionGroupName(LagoVista.XPlat.Core.UnderlineEffect.EffectNamespace)]
[assembly: ExportEffect(typeof(UnderlineEffect), nameof(UnderlineEffec... | 2.300931 | 8ce455c09621d1059a5548912086762a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846114 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "JaCraig/Enlighten",
"max_stars_repo_path": "Enlighten.Tests/FeatureExtractor/DefaultFeatureExtractorTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165334"
} | starcoder | <filename>Enlighten.Tests/FeatureExtractor/DefaultFeatureExtractorTests.cs<gh_stars>1-10
using Enlighten.FeatureExtraction;
using Enlighten.FeatureExtraction.Enum;
using Enlighten.FeatureExtraction.Extractors;
using Enlighten.FeatureExtraction.Interfaces;
using Enlighten.Frequency;
using Enlighten.Tests.BaseClasses;
u... | 2.279765 | 645ddb9269bdbe0f967da5d2329bc840 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846115 | {
"extension": "c-sharp",
"max_stars_count": "254.0",
"max_stars_repo_name": "todorm85/OwinOAuthProviders",
"max_stars_repo_path": "src/Owin.Security.Providers.Evernote/OAuthBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165335"
} | starcoder | using System;
using System.Collections.Generic;
using System.Security.Cryptography;
using System.Text;
using System.Web;
namespace Owin.Security.Providers.Evernote
{
internal sealed class OAuthBase
{
private readonly Random _random = new Random();
private readonly string _unreservedChars = "ab... | 2.398446 | 8c1567857255f4b645c8255ccbed05c2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846116 | {
"extension": "c-sharp",
"max_stars_count": "417.0",
"max_stars_repo_name": "HydAu/CrazyCore",
"max_stars_repo_path": "code/src/CrazyCore/CinematicCamera.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165336"
} | starcoder | <reponame>HydAu/CrazyCore
using System;
using Engine.Behaviors;
using Engine;
using System.Numerics;
using System.Linq;
using BEPUphysics.Paths;
using Engine.Physics;
namespace CrazyCore
{
public class CinematicCamera : Behavior
{
private WaypointInfo[] _waypoints;
private Vector3 _initialPosi... | 1.936305 | 9ef40cbf371939ade5ad07b14b6a8922 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846117 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "rafaelcorazzi/mvp24hours-netcore",
"max_stars_repo_path": "src/Mvp24Hours.Infrastructure.Data.EFCore/Async/RepositoryAsync.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165337"
} | starcoder | //=====================================================================================
// Developed by <NAME> (<EMAIL>)
// Teacher, Architect, Consultant and Project Leader
// Virtual Card: https://www.linkedin.com/in/kallebelins
//=====================================================================================
/... | 2.226344 | 7f8412a8d21eb385010f207415031317 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846118 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ghsoares/Godot-Particle-System-2D",
"max_stars_repo_path": "addons/ParticleSystem2D/scripts/built-in modules/ParticleSystem2DSizeOverLifeModule.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165338"
} | starcoder | using Godot;
namespace ParticleSystem2DPlugin
{
[Tool]
[ParticleModulePath("Update/Over Life/Size")]
public class ParticleSystem2DSizeOverLifeModule : ParticleSystem2DModule, IParticleUpdateable {
public Curve curve;
public float sizeMultiplier = 1f;
public override void InitModule... | 2.156874 | ea27bf9646a1e0461c8a1ffab8b9e21a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846119 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "SkillsFundingAgency/dfc-coursedirectory",
"max_stars_repo_path": "src/Dfc.CourseDirectory.Core/DataStore/Sql/QueryHandlers/GetVenuesByProviderHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165339"
} | starcoder | <reponame>SkillsFundingAgency/dfc-coursedirectory
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Threading.Tasks;
using Dapper;
using Dfc.CourseDirectory.Core.DataStore.Sql.Models;
using Dfc.CourseDirectory.Core.DataStore.Sql.Queries;
using Dfc.CourseDirectory.Core.Models;
namespace Dfc.C... | 2.130037 | 86152844450ec2462b306ebfb218100f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846120 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "delfuria/WPC2019-gRPC",
"max_stars_repo_path": "WCF/WcfLibrary/ClientHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165340"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Configuration;
using System.ServiceModel;
using System.ServiceModel.Channels;
using System.Text;
using System.Threading.Tasks;
using CalculatorLibrary;
namespace WcfLibrary
{
public class ClientHelper
{
public static I... | 2.146424 | 1d3342feaeec657adcad7b23dae75c88 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846121 | {
"extension": "c-sharp",
"max_stars_count": "53.0",
"max_stars_repo_name": "jtark/Totem",
"max_stars_repo_path": "src/Totem.Timeline/QueryBatchSizeAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165341"
} | starcoder | using System;
namespace Totem.Timeline
{
/// <summary>
/// Indicates the batch size of the decorated <see cref="Query"/>
/// </summary>
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)]
public sealed class QueryBatchSizeAttribute : Attribute
{
public QueryBatchSizeAttrib... | 2.471184 | 070d987cae678e8562fb030020037e6c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846122 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MomchilAngelovv/Junior-.NET-DEV-Assign",
"max_stars_repo_path": "ASP.NET Core/JuniorAssign/JuniorAssign.Web/Views/Users/Login.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:165342"
} | starcoder | @model JuniorAssign.Web.Models.Users.UserLoginInputModel
@{
ViewData["Title"] = "Login";
}
@if (this.TempData["InvalidLogin"] != null)
{
<h3>@this.TempData["InvalidLogin"]</h3>
}
<form asp-controller="Users" asp-action="Login" method="POST">
<div class="form-group">
<label asp-for="Username"></la... | 2.296124 | a3ad0e386b55b7f21f611b84b19991ac |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846123 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "HungryAnt/AntWpfDemos",
"max_stars_repo_path": "AntWpfDemos/Demo04/Utils/FileDownloader/SyncFileDownloader.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165343"
} | starcoder | <gh_stars>0
using System;
using System.IO;
namespace Demo04.Utils
{
public class SyncFileDownloader : FileDownloader
{
public SyncFileDownloader(string fileUrl, string localFilePath)
: base(fileUrl, localFilePath)
{
}
private Action<long, long> _repor... | 2.311075 | 8cafef6958b6b16603bfe1491996f584 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846124 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BorisFR/SpaceInvaders",
"max_stars_repo_path": "Z80/Hardware.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165344"
} | starcoder | //using System;
//namespace Z80
//{
// public partial class Z80
// {
// /// <summary>
// /// Override this method to allow the Z80 to read from memory.
// /// </summary>
// /// <param name="port">16-bit port address</param>
// /// <returns>Data from hardware at port requested</returns>
// public virtua... | 2.665418 | 5b18863264e64cd3723733d055c9b857 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846125 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ryanande/FileGenerator",
"max_stars_repo_path": "Console/Options.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165345"
} | starcoder | <reponame>ryanande/FileGenerator<filename>Console/Options.cs
using CommandLine;
namespace FileGenerator
{
public class Options : CommandLineOptionsBase
{
[Option("o", "output", Required = true, HelpText = "Output")]
public string OuputPath { get; set; }
[Option("c", "count", Required ... | 2.7659 | 5143b97d0ec498e7bcf8964927b25cfc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846126 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ScarletPhoenix5053/Kinetic-Translation",
"max_stars_repo_path": "Assets/Scripts/Utility Scripts/NewBehaviourScript1.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165346"
} | starcoder | <filename>Assets/Scripts/Utility Scripts/NewBehaviourScript1.cs
using UnityEngine;
using System.Collections;
public static class MyExtensions
{
public static Vector3 Flatten(this Vector2 v2) => new Vector3(v2.x, 0, v2.y);
}
| 1.995421 | 5574bdce22ab6867b2a4d640ecc2e708 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846127 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "anteatergames/ludustack",
"max_stars_repo_path": "LuduStack.Domain.Messaging/Validation/UserProfile/SaveUserProfileCommandValidation.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165347"
} | starcoder | using FluentValidation;
namespace LuduStack.Domain.Messaging
{
public class SaveUserProfileCommandValidation : BaseCommandValidation<SaveUserProfileCommand>
{
public SaveUserProfileCommandValidation()
{
ValidateEntity();
}
protected void ValidateEntity()
{
... | 2.144589 | e3683d71af46a4f7dc977bae8e7ac774 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846128 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "gitNader/ElMasna3-2.0",
"max_stars_repo_path": "Assets/Scripts/ScriptableObjects/Fields/WorkerField.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165348"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[CreateAssetMenu(fileName = "New Worker Field", menuName = "ElMasna3/Fields/Worker Field")]
public class WorkerField : ScriptableObject
{
public Worker worker = null;
}
| 1.168717 | 95f14e9c0fb196e7d44aea17f453a08c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846129 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "StefanIvanovC/Telerik-Academy",
"max_stars_repo_path": "Telerik Academy My Work/Exams/MockExam2Telerik/03.Word Anagrams/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165349"
} | starcoder | <reponame>StefanIvanovC/Telerik-Academy
using System;
using System.Linq;
namespace _03.Word_Anagrams
{
class Program
{
static void Main(string[] args)
{
string word = Console.ReadLine();
var firstWord = String.Concat(word.OrderBy(c => c));
int N = int.Parse... | 3.442215 | 28d2b10d58f306a1e88f151a7cee8e18 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846130 | {
"extension": "c-sharp",
"max_stars_count": "19.0",
"max_stars_repo_name": "b-editor/BeUtl",
"max_stars_repo_path": "src/BeUtl/Pages/EditPage.axaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165350"
} | starcoder | using System.Collections.Specialized;
using System.Reactive.Linq;
using Avalonia.Collections;
using Avalonia.Controls;
using Avalonia.Controls.Templates;
using Avalonia.Data;
using Avalonia.Data.Converters;
using Avalonia.Interactivity;
using Avalonia.Media;
using Avalonia.VisualTree;
using BeUtl.Collections;
using ... | 1.845614 | a669e48dc7b27546a06e6a6dd6dced6d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846131 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "subchannel13/ikon-library",
"max_stars_repo_path": "source/IKADN.IKON/Factories/TextBlockFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165351"
} | starcoder | // Copyright © 2019 <NAME>. All rights reserved. Licensed under the
// BSD 3-Clause License. See License.txt in the project root for license information.
using System;
using System.Text;
using Ikadn.Ikon.Types;
namespace Ikadn.Ikon.Factories
{
/// <summary>
/// IKADN object factory for IKON textual obje... | 2.796182 | dadbf2baf7285eca43208daa4f7e20f1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846132 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "LeRondPoint/FormsSkiaBikeTracker",
"max_stars_repo_path": "sample/Xamarin.Forms.SKMaps.Sample/Extensions/Realm/PositionExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165352"
} | starcoder | <reponame>LeRondPoint/FormsSkiaBikeTracker<filename>sample/Xamarin.Forms.SKMaps.Sample/Extensions/Realm/PositionExtensions.cs
// **********************************************************************
//
// PositionExtensions.cs
//
// This file is subject to the terms and conditions defined in
// file 'LICENS... | 1.615549 | 5551a37b1942af6f371b483b38cb0a79 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846133 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "davetz/ModelGraph2",
"max_stars_repo_path": "ModelGraph/ModelGraph/Controls/Shapes/PolySpike.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165353"
} | starcoder | using Microsoft.Graphics.Canvas;
using Microsoft.Graphics.Canvas.UI.Xaml;
using System;
using System.Collections.Generic;
using System.Numerics;
namespace ModelGraph.Controls
{
internal class PolySpike : Polyline
{
internal PolySpike(bool deserializing = false)
{
if (deserializing)... | 2.437214 | 96a60028405ad2d6212a5620644c1cad |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846134 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "isukces/iSukces.DrawingPanel",
"max_stars_repo_path": "app/iSukces.DrawingPanel/_ruler/RullerTextManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165354"
} | starcoder | using System.Drawing;
namespace iSukces.DrawingPanel
{
internal sealed class RullerTextManager
{
/*
public FormattedText CreateFormattedText(string text)
{
var formattedText = new FormattedText(
text,
CultureInfo.CurrentCulture,
... | 2.722773 | f4730b203c4ab54e7bff04905493e2fb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846135 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GAMGO/gbc2018",
"max_stars_repo_path": "Assets/Scripts/Monster/SlimePATROL.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165355"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SlimePATROL : SlimeFSMState
{
public Vector3 destination;
public override void BeginState()
{
base.BeginState();
destination = new Vector3(Random.Range(-10, 10), 0, Random.Range(-10, 10));... | 1.767967 | 74f3b5c30b9c3e69dab10db875a99c52 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846136 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "joergjo/AspNetCorePlayground",
"max_stars_repo_path": "WebListener/WebListener/Views/_ViewImports.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:165356"
} | starcoder | @using WebListener
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
| 1.389127 | b062658dd22220ef6a848c81e821af09 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846137 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "liquiz0v/ITLab",
"max_stars_repo_path": "ITLab/ITLab.Cabinet.Logic/DTOModels/StudentDTO.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165357"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using Microsoft.EntityFrameworkCore;
using ITLab.Cabinet.Database.Models;
namespace ITLab.Cabinet.Logic
{
public class StudentDTO : Student
{
}
}
| 1.294416 | 387e3831e924174955d8e1a938de973c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846138 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "RH-Code/GAPP",
"max_stars_repo_path": "DefaultPlugins/GlobalcachingApplication.Plugins.APILOGC/GarminCommunicatorForm.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165358"
} | starcoder | <filename>DefaultPlugins/GlobalcachingApplication.Plugins.APILOGC/GarminCommunicatorForm.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.IO;
using System... | 2.19703 | 31f5c533d4a12d3eefa37d2bfb68d15b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846139 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Novakov/HighLevelCodeAnalysis",
"max_stars_repo_path": "src/Tests/Extensions/Cqrs/InvokeOnlyOneCommandTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165359"
} | starcoder | <reponame>Novakov/HighLevelCodeAnalysis
using CodeModel.Builder;
using CodeModel.Extensions.Cqrs.Mutators;
using CodeModel.Extensions.Cqrs.Rules;
using CodeModel.Primitives;
using CodeModel.Primitives.Mutators;
using NUnit.Framework;
using Tests.Rules;
using TestTarget.Cqrs;
using TestTarget.Rules.InvokeOnlyOneCommand... | 1.694257 | 2bdc436c977b5789ec7ae65518ce1c1b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846140 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "algohubhq/EncompassBrowserTab",
"max_stars_repo_path": "EncompassBrowserTab/Objects/Interface/ILogEntryChanged.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165360"
} | starcoder | using EllieMae.Encompass.BusinessObjects.Loans;
namespace EncompassBrowserTab.Objects.Interface
{
public interface ILogEntryChanged
{
void LogEntryChanged(object sender, LogEntryEventArgs e);
}
}
| 1.251855 | 0a3e2f9cc1adc49eb1d23727a6576202 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846141 | {
"extension": "c-sharp",
"max_stars_count": "23.0",
"max_stars_repo_name": "unger/MapEverything",
"max_stars_repo_path": "SafeMapper.Tests/MemberTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165361"
} | starcoder | <filename>SafeMapper.Tests/MemberTests.cs
namespace SafeMapper.Tests
{
using System;
using System.Collections.Specialized;
using NUnit.Framework;
using SafeMapper.Reflection;
[TestFixture]
public class MemberTests
{
[Test]
public void Ctor_ConstructorInfo_ShouldBeMethodTy... | 2.386077 | 898656f3ada382d783892628d8963909 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846142 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "cdy816/mars",
"max_stars_repo_path": "Tools/HisDataTools/Chart/Plotter/Common/CursorGraphLine.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165362"
} | starcoder | <reponame>cdy816/mars
using HeBianGu.WPF.EChart;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.W... | 2.351246 | 33740282ae3e5308406d2ab2943172e5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846143 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "NicolasDorier/XSwap",
"max_stars_repo_path": "XSwap.CLI/KnownChains.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165363"
} | starcoder | using NBitcoin;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
namespace XSwap.CLI
{
public class KnownChains
{
public static ChainInformation GetByName(string name)
{
return Enumerate()
.Where(c => c.Names.Contains(name, StringComparer.OrdinalIgno... | 2.486822 | b7b818fc38f2b87ca7bee21c54457e0d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846144 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "shniqq/memory-game",
"max_stars_repo_path": "Assets/_Scripts/Game/ColorConfig.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165364"
} | starcoder | <gh_stars>1-10
using MemoryGame.Background;
using MemoryGame.Game.Card;
using UnityEngine;
namespace MemoryGame.Game
{
[CreateAssetMenu(menuName = "Game/Color Provider")]
public class ColorConfig : ScriptableObject, ICardColorProvider, IBackgroundColorProvider
{
[SerializeField] private Color[] _ca... | 2.303778 | 609677921190591a6ca39dd532e64d55 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846145 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "uk-gov-mirror/SkillsFundingAgency.das-vacancyservices-api",
"max_stars_repo_path": "src/Esfa.Vacancy.Infrastructure/Services/ApprenticeshipSearchService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165365"
} | starcoder | using System;
using System.Linq;
using System.Threading.Tasks;
using Esfa.Vacancy.Application.Interfaces;
using Esfa.Vacancy.Application.Queries.SearchApprenticeshipVacancies;
using Esfa.Vacancy.Domain.Entities;
using Esfa.Vacancy.Infrastructure.Exceptions;
using SFA.DAS.NLog.Logger;
using SFA.DAS.VacancyServices.Sear... | 2.220313 | 9cb5bf3afbe171edfc6c748b5d3e23c8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846274 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BorislavDimitrov/Car-World",
"max_stars_repo_path": "Web/CarWorld.Web.ViewModels/Users/DeleteUserInputModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165494"
} | starcoder | using System.ComponentModel.DataAnnotations;
namespace CarWorld.Web.ViewModels.Users
{
public class DeleteUserInputModel
{
[Required]
[DataType(DataType.Password)]
public string Password { get; set; }
}
}
| 1.952984 | 8465a62812a9d7b6831ad9d0a2597359 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846275 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "VerzeArtie/DungeonPlayer2",
"max_stars_repo_path": "Assets/Script/NodeBackpackView.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165495"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UnityEngine;
using UnityEngine.UI;
public class NodeBackpackView : MonoBehaviour
{
public GameObject GroupBackpack;
public GameObject ContentBackpack;
public NodeBackpackItem nodeBackpackIt... | 1.655777 | b1662451312b781ba3504ac1c5f3a6ac |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846276 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "danmosemsft/coreclr",
"max_stars_repo_path": "tests/src/CoreMangLib/cti/system/decimal/decimaltryparse.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165496"
} | 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;
using System.Globalization;
// Ported to CoreCLR from Co7531TryParse_all.cs
// Tests Decimal.TryParse(... | 2.670121 | 2dcbbd0a077f40b43b54a3a43f97a119 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846277 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "0x727/metasploit-framework",
"max_stars_repo_path": "external/source/Scanner/share/LumiSoft.Net/WebDav/WebDav_p_Default.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165497"
} | starcoder | using System;
namespace LumiSoft.Net.WebDav
{
// Token: <KEY> RID: 61
public class WebDav_p_Default : WebDav_p
{
// Token: 0x06000219 RID: 537 RVA: 0x0000D0F0 File Offset: 0x0000C0F0
public WebDav_p_Default(string nameSpace, string name, string value)
{
bool flag = name == null;
if (flag)
... | 2.34236 | ef7edb92f479eb0b5101a6b3f0f42915 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846278 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "1337Motya/FitnessApp",
"max_stars_repo_path": "FitnessApp/Core/Services/FoodService/Commands/CreateFood.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165498"
} | starcoder | using FitnessApp.Domain.Entitties.Food;
using MediatR;
using MongoDB.Driver;
using System.Threading;
using System.Threading.Tasks;
namespace FitnessApp.Core.Services.FoodService.Commands
{
public class CreateFood
{
public record Command(Food Food) : IRequest<Response>;
public reco... | 2.761772 | a2bc446c883c6515a95d91d59d694cf4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846279 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cloud-challenge-dotnet/codex",
"max_stars_repo_path": "Website/Codex.Web.Services/Users/Interfaces/IUserService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165499"
} | starcoder | <filename>Website/Codex.Web.Services/Users/Interfaces/IUserService.cs
using Codex.Models.Users;
using System.Threading.Tasks;
namespace Codex.Web.Services.Users.Interfaces
{
public interface IUserService
{
Task<User> FindOneAsync(string userId);
Task<User> CreateAsync(UserCreator userCreator)... | 2.085526 | c6d93769a71145506f581b6bd4009f60 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846280 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "p-dahlback/ld-33",
"max_stars_repo_path": "Assets/Scripts/KeyLevelLoader.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165500"
} | starcoder | using UnityEngine;
using System.Collections;
namespace LD33
{
public class KeyLevelLoader : MonoBehaviour
{
public ScreenManager screenManager;
public string levelToLoad;
// Use this for initialization
void Start ()
{
}
// Update is called once per frame
void Update ()
{
if (Input.anyKe... | 1.862716 | bf2c01ea56f446e3092f96bb486fa998 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846281 | {
"extension": "c-sharp",
"max_stars_count": "479.0",
"max_stars_repo_name": "okyuanzhui/bb",
"max_stars_repo_path": "PatternsXamarinShared/Framework/ViewModels/ItemViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165501"
} | starcoder | namespace Framework.ViewModels
{
public abstract class ItemViewModel<T> : ViewModelBase, IItemViewModel<T>
{
private T _item;
public virtual T Item
{
get => _item;
set => Set(ref _item, value);
}
}
}
| 2.45571 | 8f6e76eaa424e1782a2eb8517a77662f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846282 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "giladfrid009/STensor",
"max_stars_repo_path": "STensor/Functions/Elementwise.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165502"
} | starcoder | <reponame>giladfrid009/STensor
using System;
using System.Numerics;
using SimpleSimd;
namespace STensor
{
public partial class Tensor<T>
{
public Tensor<T> Abs()
{
return FromRef(Shape, SimdOps<T>.Abs(InternalArray));
}
public Tensor<T> Sqrt()
{
... | 2.348383 | 1fe352345df9f10668610afd10a23918 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846283 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jdarc/webgl.net",
"max_stars_repo_path": "THREE/Extras/ColorUtils.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165503"
} | starcoder | <filename>THREE/Extras/ColorUtils.cs
namespace THREE
{
public static class ColorUtils
{
public static void adjustHSV(Color color, double h, double s, double v)
{
var hsv = new double[3];
color.getHSV(hsv);
hsv[0] = Math.clamp(hsv[0] + h, 0, 1);
hsv[1] = Math.clamp(hsv[1] + s, 0, 1);
hsv[2] = Mat... | 3.044875 | 1c199dbfc68850ccf824bad4d5c2d0aa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846284 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Rosiv/backoffice",
"max_stars_repo_path": "BackOffice.Jobs.Dto/Product.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165504"
} | starcoder | <filename>BackOffice.Jobs.Dto/Product.cs
using BackOffice.Jobs.Interfaces;
using System.Xml.Serialization;
namespace BackOffice.Jobs.Dto
{
public class Product : IJobData
{
public int Id { get; set; }
public string Name { get; set; }
public string Description { get; set; }
}
}
| 1.830256 | 2568e24a3d7d5074ba38647b4f2ba67a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846285 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "linwenda/Notex",
"max_stars_repo_path": "src/Notex.Core/Aggregates/Users/DomainServices/IPasswordService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165505"
} | starcoder | <reponame>linwenda/Notex
namespace Notex.Core.Aggregates.Users.DomainServices;
public interface IPasswordService
{
string HashPassword(string password);
bool VerifyHashedPassword(string hashedPassword, string password);
} | 1.348378 | b6ce78c5b0614820263d3bb5058801d8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846286 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "appneuroncompany/TestDrivenDevelopment",
"max_stars_repo_path": "TestProject/CardTestwithTestInitialize.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165506"
} | starcoder | <filename>TestProject/CardTestwithTestInitialize.cs
using Microsoft.VisualStudio.TestTools.UnitTesting;
using ShoppingCardSimulation.Concrete;
using ShoppingCardSimulation.Concrete.InMemory;
using System;
using System.Collections.Generic;
using System.Text;
namespace TestProject
{
[TestClass]
public class Car... | 2.709477 | bca93fb18b70c217217004d9e66e824a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846287 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "neiltait/medex_api_pub",
"max_stars_repo_path": "MedicalExaminer.API/Controllers/AccountController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165507"
} | starcoder | using System.Linq;
using System.Threading.Tasks;
using AutoMapper;
using MedicalExaminer.API.Models.v1.Account;
using MedicalExaminer.Common.Authorization;
using MedicalExaminer.Common.Queries.MELogger;
using MedicalExaminer.Common.Queries.User;
using MedicalExaminer.Common.Services;
using MedicalExaminer.Models;
usin... | 2.036876 | 00b654a2d939ad23dd8e2b7f925ebe75 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846288 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "tc303730352/WedonekRpcFrame",
"max_stars_repo_path": "Source/RpcCacheClient/Redis/RedisHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165508"
} | starcoder | using System;
using System.Collections.Generic;
using RpcCacheClient.Config;
using RpcCacheClient.Helper;
using StackExchange.Redis;
using RpcHelper;
namespace RpcCacheClient.Redis
{
internal class RedisHelper
{
private static readonly List<ConnectionMultiplexer> _Clients = new List<... | 2.130463 | d2c3eca05540fa406cae618d24287385 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846289 | {
"extension": "c-sharp",
"max_stars_count": "76.0",
"max_stars_repo_name": "sora-jp/leak",
"max_stars_repo_path": "sources/Leak.Datashare/DatashareTaskInterested.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165509"
} | starcoder | using Leak.Tasks;
namespace Leak.Data.Share
{
public class DataShareTaskInterested : LeakTask<DataShareContext>
{
public void Execute(DataShareContext context)
{
if (context.Verified)
{
context.Dependencies.DataMap.Query((peer, bitfield, state) =>
... | 1.89753 | ac8ea74781e18c859d3db1cd623eeb72 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846290 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "CoderDojo-Ennis/CSharpUnityIntro",
"max_stars_repo_path": "03.1_Variables_Console/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165510"
} | starcoder | using System;
class Program
{
static void Main()
{
int one = 1;
int oneThirdInt = 1 / 3;
float oneThirdFloat = 1 / 3;
Console.WriteLine("One = " + one);
Console.WriteLine("Int 1 / 3 = " + oneThirdInt);
Console.WriteLine("Float 1 / 3 = " + oneThirdFloat);
}... | 2.835866 | fbc8df1db7efc37c95b1af7e292ed45d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846291 | {
"extension": "c-sharp",
"max_stars_count": "19.0",
"max_stars_repo_name": "Sporteco/EventFly",
"max_stars_repo_path": "src/EventFly.Application/ReadModels/AggregateReadModelManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165511"
} | starcoder | using EventFly.Aggregates;
namespace EventFly.ReadModels
{
public class AggregateReadModelManager<TReadModel, TIdentity> : ReadModelManager<TReadModel>
where TReadModel : ReadModel, new()
{
protected override System.String GetReadModelId(IDomainEvent domainEvent)
{
return d... | 2.014493 | 844c5fd0cce6c087148ee541d3618093 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846292 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "bcuff/DynamoDBMapper",
"max_stars_repo_path": "tests/DynamoDBMapper.Tests/NumericalCollectionTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165512"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using Xunit;
namespace DynamoDBMapper.Tests
{
public static class NumericalCollectionTests
{
public static TheoryData<short[], List<string>> Values = new TheoryData<short[], List<string>>
{
{ new short[] { -1, 0, 23... | 2.700496 | aa3f9ae2250d6beb0cc153c89074b1c2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846293 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Kittyfisto/.NETBuild",
"max_stars_repo_path": "Build.Test/Resources/CS0106.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165513"
} | starcoder | // CS0106.cs
namespace MyNamespace
{
interface I
{
void m();
static public void f(); // CS0106
}
public class MyClass
{
public void I.m() { } // CS0106
public static void Main() { }
}
} | 1.983688 | 142c7ea7e45e1e54498e6d6305e98a24 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846294 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "lukaspj/T3DSharp-Sample",
"max_stars_repo_path": "t3dsharp/T3DSharpFramework/Generated/Classes/Sim/GuiMenuBar.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165514"
} | starcoder | <reponame>lukaspj/T3DSharp-Sample<filename>t3dsharp/T3DSharpFramework/Generated/Classes/Sim/GuiMenuBar.cs
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using T3DSharpFramework.Engine;
using T3DSharpFramework.Engine.Util;
using T3DSharpFramework.Generated.Classes.Global;
using T3D... | 1.989637 | e61cd002a452354283aede172f80ec03 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846295 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "johnnymullaney/Optimizely-Experiments",
"max_stars_repo_path": "src/Foundation.Experiments/Projects/Init/ProjectFilterInit.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165515"
} | starcoder | <gh_stars>0
using System.Linq;
using System.Web;
using System.Web.Mvc;
using EPiServer.Framework;
using EPiServer.Framework.Initialization;
using EPiServer.ServiceLocation;
using EPiServer.Web.Routing;
using Foundation.Experiments.Core.Init;
using Foundation.Experiments.Projects.Impl;
using Foundation.Experiments.Proj... | 1.042008 | 3e4006d66149b3e90382bb1385676aa9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846296 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "reeve/SlimCliLib",
"max_stars_repo_path": "Server.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165516"
} | starcoder | /*
* Copyright 2016 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writi... | 2.255979 | 098a08ef0672211668fe56e3fb231d75 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846297 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pauldbentley/FlotDotNet",
"max_stars_repo_path": "src/FlotDotNet.Tests/FlotTickSizeTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165517"
} | starcoder | namespace FlotDotNet.Tests
{
using Shouldly;
using Xunit;
public class FlotTickSizeTests : TestClass
{
[Fact]
public void WithTickSize()
{
var input = new FlotTickSize(10);
string actual = SerializeObject(input);
actual.ShouldBe("10");
... | 2.569252 | f61759f5a7ffcdf1f23abc6beda6eeea |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846298 | {
"extension": "c-sharp",
"max_stars_count": "22.0",
"max_stars_repo_name": "Abc-Arbitrage/Abc.NCrafts.Quiz",
"max_stars_repo_path": "Abc.NCrafts.Quizz/Allocation/Questions/001/Answer1.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165518"
} | starcoder | <gh_stars>10-100
namespace Abc.NCrafts.Quizz.Questions._001
{
public class Answer1
{
public static void Run()
{
// begin
var i = 42;
object obj = i;
// end
}
}
}
| 1.702178 | 6793680930b9ebeeadeeddc7be7b31b7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846299 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RIGG-Studios/Haunted-Mine",
"max_stars_repo_path": "Assets/Scripts/Item Throwing/Flare.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165519"
} | starcoder | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Experimental.Rendering.Universal;
public class Flare : MonoBehaviour, IThrowableObject
{
[SerializeField] private float decayOverTime;
[SerializeField] private float timeUntilDestroy;
[Seri... | 1.516995 | e3d64c1c204c1a3e137497bf7e4102d0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846300 | {
"extension": "c-sharp",
"max_stars_count": "33.0",
"max_stars_repo_name": "mmcs85/scatter-sharp",
"max_stars_repo_path": "ScatterSharp/ScatterSharp.Core/Api/Token.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165520"
} | starcoder | using System;
namespace ScatterSharp.Core.Api
{
[Serializable]
public class Token
{
public string name;
public string symbol;
public string contract;
}
}
| 1.685682 | 9eb54a92b700a5187963a04eafd733f3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846301 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "fengjian1230/ChemistryProject",
"max_stars_repo_path": "Code/ChemistryApp/ChemistryApp/MyLesson/MyLessonPanel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165521"
} | starcoder | using ChemistryApp.EnumType;
using ChemistryApp.SearchPage;
using ChemistryApp.SecondPage;
using System;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Windows.Forms;
namespace ChemistryApp.MyLesson
{
class MyLessonPanel : Panel
{
System.ComponentModel.ComponentR... | 1.804132 | 97ba24e047c53ac4de593d28e21f655a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846302 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Andreni/VDMP_public",
"max_stars_repo_path": "VDMP.Api/Migrations/20190530222127_cleanMovieModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165522"
} | starcoder | using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace VDMP.Api.Migrations
{
public partial class cleanMovieModel : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
"Homepage",
... | 1.928949 | 9600be30d567b0504544f932e8560d68 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846303 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RichyBaldwin/BullOak.Repositories.EventStore",
"max_stars_repo_path": "src/BullOak.Repositories.EventStore/Streams/IReadEventsFromStream.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165523"
} | starcoder | namespace BullOak.Repositories.EventStore.Streams
{
using System;
using System.Threading.Tasks;
internal interface IReadEventsFromStream
{
Task<StreamReadResults> ReadFrom(IStreamReaderStrategy streamReaderStrategy, DateTime? appliesAt = null);
}
}
| 1.764115 | dda36d5cf35479af590a6a752b96ec63 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846304 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "chenth0517/WarehouseDesigner",
"max_stars_repo_path": "AGV.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165524"
} | starcoder | <gh_stars>0
namespace WarehouseDesigner
{
public class AGVBase // 和主界面上,AGV Properties 中的选项双向关联,暂时使用的都是缺省值
{
public double mSideLength { get; set; }
public double mMaxSpeed { get; set; }
public double mAcceleration { get; set; }
}
public class AGV : AGVBase
{
pub... | 1.889829 | 520f6f4113bc5af5babf9cd0fb8c68a9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846305 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jborza/traygame",
"max_stars_repo_path": "Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165525"
} | starcoder | <reponame>jborza/traygame
using System;using System.Collections.Generic;using System.Drawing;using System.Runtime.InteropServices;using System.Windows.Forms;using SD=System.Drawing;using P=System.Drawing.Point;using B=System.Drawing.Brushes;using static System.Math;
class A:ApplicationContext,IMessageFilter{
[STAThre... | 2.248398 | e65399b56075a000edb59df256a81edc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846306 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "bbqchickenrobot/Voron.Graph",
"max_stars_repo_path": "imports/Sparrow/Collections/ConcurrentLruSet.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165526"
} | starcoder | using System;
using System.Collections.Generic;
using System.Threading;
using System.Linq;
namespace Sparrow.Collections
{
public class ConcurrentLruSet<T>
{
private readonly int maxCapacity;
private readonly Action<T> onDrop;
private readonly object syncRoot = new ob... | 3.190476 | 8c661f83916775a36a2a92c290e35343 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846307 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "serhatyuna/survey-app",
"max_stars_repo_path": "SurveyApp.Web/Views/Home/Index.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:165527"
} | starcoder | <reponame>serhatyuna/survey-app
@using Microsoft.AspNetCore.Identity
@inject SignInManager<SurveyApp.Web.Areas.Identity.Data.ApplicationUser> SignInManager
@inject UserManager<SurveyApp.Web.Areas.Identity.Data.ApplicationUser> UserManager
@{
ViewData["Title"] = "Home Page";
}
<div class="text-center">
<h1 cl... | 2.042812 | 25e1da985e7368b5f3db6292c67629b0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846308 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ChrisBellew/JobSpawn",
"max_stars_repo_path": "JobSpawn.UnitTests.ProxyBuilder/ProxyBuilderTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165528"
} | starcoder | using System.Text;
using System.Threading.Tasks;
using JobSpawn.Controller;
using JobSpawn.Message;
using JobSpawn.Serializers;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace JobSpawn.UnitTests.ProxyBuilder
{
[TestClass]
public class ProxyBuilderTests
{
[TestMethod]
public ... | 2.503227 | ac8fc3cfd92c80b35dfb0cce7ace85f0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846309 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "flipthetrain/WaveAccounting.Net",
"max_stars_repo_path": "Wave.Schema/Mutations/CustomerDelete.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165529"
} | starcoder | using Wave.Schema.Attributes;
using Wave.Schema.Inputs;
using Wave.Schema.Outputs;
namespace Wave.Schema.Mutations
{
[SchemaMutationAttribute]
public record CustomerDelete(CustomerDeleteInput input, CustomerDeleteOutput customerDelete)
{
}
}
| 1.425564 | 5d66bebbd9f8228f6a82261127030eec |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846310 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "imangit/Advertise",
"max_stars_repo_path": "Advertise/Advertise.ServiceLayer/Permissions/AssignableToRolePermissions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165530"
} | starcoder | <reponame>imangit/Advertise<filename>Advertise/Advertise.ServiceLayer/Permissions/AssignableToRolePermissions.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
namespace Advertise.ServiceLayer.Security
{
/// <summary>
/// </summary>
public static class Assignabl... | 1.952225 | 2cced982e5c58182abe790aab7a47995 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846311 | {
"extension": "c-sharp",
"max_stars_count": "159.0",
"max_stars_repo_name": "SeanKilleen/Docs",
"max_stars_repo_path": "aspnet/web-pages/overview/ui-layouts-and-themes/9-working-with-images/samples/sample5.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:165531"
} | starcoder | <reponame>SeanKilleen/Docs<gh_stars>100-1000
@{
WebImage photo = null;
var newFileName = "";
var imagePath = "";
var imageThumbPath = "";
if(IsPost){
photo = WebImage.GetImageFromRequest();
if(photo != null){
newFileName = Guid.NewGuid().ToString() + "_" +
... | 2.703926 | 740da3f221e9584eee327e62cb2b4587 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846312 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "nickc01/WeaverCore",
"max_stars_repo_path": "WeaverCore/Player.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165532"
} | starcoder | using System;
using System.Collections.Generic;
using UnityEngine;
using WeaverCore.Assets;
using WeaverCore.Enums;
using WeaverCore.Implementations;
using WeaverCore.Utilities;
namespace WeaverCore
{
// Token: 0x0200002A RID: 42
public class Player : MonoBehaviour
{
static ObjectPool NailStrikePool;
static Ob... | 2.090486 | d68d38a191e69584e1e7784453b3b05d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846313 | {
"extension": "c-sharp",
"max_stars_count": "208.0",
"max_stars_repo_name": "korreckj328/OpenVIII-monogame",
"max_stars_repo_path": "Core/Kernel/Limit/RenzokukenFinisher.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165533"
} | starcoder | <filename>Core/Kernel/Limit/RenzokukenFinisher.cs<gh_stars>100-1000
using System;
using System.Diagnostics.CodeAnalysis;
namespace OpenVIII
{
namespace Kernel
{
/// <summary>
/// Renzokuken Finishing moves
/// </summary>
/// <see cref="https://finalfantasy.fandom.com/wiki/Renzo... | 2.383678 | 7ffdf4b5ff365674f80bf10fd22083db |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846314 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "JonasSyrstad/stardust",
"max_stars_repo_path": "Stardust.Core/Interstellar/HostConfigurator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165534"
} | starcoder | <filename>Stardust.Core/Interstellar/HostConfigurator.cs
//
// HostConfigurator.cs
// This file is part of Stardust
//
// Author: <NAME> (<EMAIL>), http://no.linkedin.com/in/jonassyrstad/)
// Copyright (c) 2014 <NAME>. All rights reserved.
//
// Permission is hereby granted, free of charge, to any person obtaining
//... | 1.850261 | 5ff1c06a0f455c95108da8568cff9916 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846315 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "dotnet-campus/DocumentFormat.OpenXml.Extensions",
"max_stars_repo_path": "src/DocumentFormat.OpenXml.Flatten/DocumentFormat.OpenXml.Flatten/ElementConverters/CommonElement/Context_/ITransformData.cs",
"provenance": "train-00027-of-000... | starcoder | using dotnetCampus.OpenXmlUnitConverter;
namespace DocumentFormat.OpenXml.Flatten.ElementConverters.CommonElement
{
/// <summary>
/// 变换信息,包括坐标和尺寸旋转翻转等信息
/// </summary>
public interface ITransformData
{
/// <summary>
/// X 坐标
/// </summary>
Emu OffsetX { get; }
... | 2.317763 | d836df30efdf81bd3ae4cdbaf3ba2801 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846316 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Genetic-Games/SysEarth",
"max_stars_repo_path": "Assets/Scripts/Initializers/FileSystemStateInitializer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165536"
} | starcoder | <gh_stars>0
using SysEarth.Controllers;
using SysEarth.Enums;
using SysEarth.States;
using System.Collections.Generic;
using UnityEngine;
namespace SysEarth.Initializers
{
public class FileSystemStateInitializer
{
public void InitializeFileSystemState(
FileSystemState fileSystemState,
... | 2.220796 | 383bfb6d2064dca2907d54cd19b8ee40 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846317 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "Teigler/FoBOFD",
"max_stars_repo_path": "ExplorerTree/Data/ShellElements/Pack1/ShellFileInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165537"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
namespace ExplorerTree.Data.ShellElements.Pack1
{
[StructLayout(LayoutKind.Sequential)]
internal struct ShellFileInfo
{
public IntPtr hIcon;
... | 1.896733 | b55a4e8ac59b08c81e1def5cc96a83db |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846318 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "alexsanv/NUnit.OneTimeSetup.DreddLogs",
"max_stars_repo_path": "tests/NUnit.OneTimeSetup.DreddLogs.Tests.Internal/IgnoreInOneTimeSetupTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165538"
} | starcoder | using NUnit.Framework;
namespace NUnit.OneTimeSetup.DreddLogs.Tests.Internal
{
[TestFixture]
public class IgnoreInOneTimeSetupTests
{
[OneTimeSetUp]
public void OneTimeSetup()
{
Assert.Ignore();
}
[Test]
public void Test() { }
[Test]
... | 1.399693 | e11caae91e899da43bac146dca6db9ad |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846319 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Timthreetwelve/TrayLauncher",
"max_stars_repo_path": "TrayLauncher/AddItem.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165539"
} | starcoder | <reponame>Timthreetwelve/TrayLauncher
// Copyright (c) <NAME>. All Rights Reserved. Licensed under the MIT License.
#region using directives
using Microsoft.Win32;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Media;
using System.Reflection;... | 2.159443 | c9caa26337bea1aed6642ac47a643f85 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846320 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "JM89/personalfinancemanager",
"max_stars_repo_path": "PFM.Api/PFM.DataAccessLayer/Repositories/Interfaces/ITaxTypeRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165540"
} | starcoder | <reponame>JM89/personalfinancemanager<gh_stars>1-10
using Microsoft.EntityFrameworkCore;
using PFM.DataAccessLayer.Entities;
namespace PFM.DataAccessLayer.Repositories.Interfaces
{
public interface ITaxTypeRepository
{
DbSet<TaxType> GetList();
}
}
| 1.470341 | 706c07173209adf014631ab1faebd3dd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846321 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GotoVR/AppLauncher",
"max_stars_repo_path": "06CodingAndIntegrate/source/AppLauncher/AppLauncher/Properties/Resources.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165541"
} | starcoder | <reponame>GotoVR/AppLauncher
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本:4.0.30319.42000
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </auto-generated>
//--------------------------------------------------------------... | 1.930474 | 0db927f6e025379109c5f9239edd2a4c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846322 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MertDemirok/ShoppingCartApi",
"max_stars_repo_path": "ShoppingCart.Project/Services/CustomerService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165542"
} | starcoder | <reponame>MertDemirok/ShoppingCartApi<filename>ShoppingCart.Project/Services/CustomerService.cs<gh_stars>0
using System;
using System.Linq;
using ShoppingCart.Project.Datas;
using ShoppingCart.Project.Models;
using ShoppingCart.Project.Services.Interfaces;
using ShoppingCart.Project.Utilities;
namespace ShoppingCart.... | 2.429768 | 998e85b98846d83dc66491ad8d94dfaf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846323 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "broAir/sitecore-data-studio-connector",
"max_stars_repo_path": "src/code/Models/DataStudioConnectorItemModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165543"
} | starcoder | namespace SCDSC.Models
{
public class DataStudioConnectorItemModel
{
public bool IsEnabled { get; set; }
public bool AllowEmptyApiKey { get; set; }
public string ApiKey { get; set; }
}
} | 1.315052 | 49ff9f194f3b733e1e634c90dff2b5b7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846324 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ChrisMcF/CouchCrusaderRedux",
"max_stars_repo_path": "Dungeon/Assets/Scripts/BossScripts/IslandTrigger.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165544"
} | starcoder | <filename>Dungeon/Assets/Scripts/BossScripts/IslandTrigger.cs
using UnityEngine;
using System.Collections;
public class IslandTrigger : MonoBehaviour
{
public MoveIslandBridge bridge;
private int playersOnBridge = 0;
// Use this for initialization
void Start ()
{
}
// Update is called once per frame
voi... | 2.327118 | 7f44509d699e52bd9e6de0646b46f18b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846325 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "bjorg/Monospace.NoThreads",
"max_stars_repo_path": "Monospace.NoThreads.IteratorCoroutines/IteratorExample.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165545"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using NUnit.Framework;
namespace Monospace.NoThreads.IteratorCoroutines {
[TestFixture]
public class IteratorExample {
[Test]
public void Run() {
Console.WriteLine("creating iterator");
// does ... | 3.243411 | a3e841c78dc0e860180cee2e1b6e0085 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846326 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "StardustDL/MindNote",
"max_stars_repo_path": "src/Frontend/SDK/MindNote.Frontend.SDK.API/INotesClient.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165546"
} | starcoder | using System.Threading.Tasks;
using MindNote.Data.Mutations;
using MindNote.Data.Raws;
using MindNote.Frontend.SDK.API.Models;
namespace MindNote.Frontend.SDK.API
{
public interface INotesClient
{
Task<bool> Clear();
Task<int?> Create(RawNote data);
Task<int?> Delete(int id);
... | 1.837563 | 47f32b4630b737122ff7b16df290e4cb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846327 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "the-pet-projects/framework-kafka",
"max_stars_repo_path": "src/PetProject.Framework.Kafka/Configurations/Producer/AcksType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165547"
} | starcoder | namespace PetProjects.Framework.Kafka.Configurations.Producer
{
public enum AcksType
{
/// <summary>
/// The producer will not wait for any acknowledgment from the server at all.
/// </summary>
None = 0,
/// <summary>
/// The leader will write the record to its ... | 2.353889 | 6dfbcf6245136a360da804753e4459fb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846328 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "concilify/stackage-aws-lambda-nuget",
"max_stars_repo_path": "package/Stackage.Aws.Lambda.FakeRuntime/FakeRuntimeStartup.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165548"
} | starcoder | <filename>package/Stackage.Aws.Lambda.FakeRuntime/FakeRuntimeStartup.cs
using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Stackage.Aws.Lambda.FakeRuntime.Model;
using Stackage.Aws.Lambda.FakeRuntime.Services;
using Stackage.Core.Abstracti... | 1.647651 | c7d526189181a51a97628437963014c6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846329 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "karlcc/QPAS",
"max_stars_repo_path": "QPAS/ViewModels/MainViewSubModels/InstrumentsPageViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165549"
} | starcoder | // -----------------------------------------------------------------------
// <copyright file="InstrumentsPageViewModel.cs" company="">
// Copyright 2014 <NAME>
// </copyright>
// -----------------------------------------------------------------------
using EntityModel;
using OxyPlot;
using OxyPlot.Wpf;
using QDMS;
u... | 2.087662 | 068be8e04a0fd1b21f1917e31980af2b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846330 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "icede/gridcoin-test",
"max_stars_repo_path": "contrib/Installer/GRCRestarter/Scrypt/Project1/gpu1.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165550"
} | starcoder | using System.Windows.Forms;
namespace Project1
{
partial class RamGec_About_Box1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
... | 1.948703 | 73109a53260c138d6f306b23f3ab2fbb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846331 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "scottt732/Sholo.CommandLine",
"max_stars_repo_path": "Source/Sholo.CommandLine/CommandPluginBuilder/ICommonCommandPluginBuilder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165551"
} | starcoder | <gh_stars>0
using System;
using McMaster.Extensions.CommandLineUtils;
using Microsoft.Extensions.Configuration;
using Sholo.CommandLine.CommandPlugin;
using Sholo.CommandLine.Context;
// ReSharper disable UnusedMember.Global
// ReSharper disable UnusedMemberInSuper.Global
namespace Sholo.CommandLine.CommandPluginBuild... | 1.572632 | 683580d2fdd2b3863dc610fda34107a3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846332 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "logicing1/DecidingBlockchainHackathon",
"max_stars_repo_path": "Model/Address.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165552"
} | starcoder | <filename>Model/Address.cs
using System;
using Newtonsoft.Json;
namespace Logicing.Deciding.Model
{
[JsonConverter(typeof(AddressConverter))]
public class Address
{
private readonly string _base58Address;
public Address(string base58Address)
{
if (string.IsNullOrWhiteS... | 3.217309 | 1369edbdacee7cae25f91f659c936ab7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846333 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "marinasundstrom/YourBrand",
"max_stars_repo_path": "IdentityService/IdentityService/Application/Common/Interfaces/ICurrentUserService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165553"
} | starcoder | <gh_stars>1-10
namespace YourBrand.IdentityService.Application.Common.Interfaces;
public interface ICurrentUserService
{
string UserId { get; }
} | 1.392381 | ab9bab2913e401086deec2e06f3258f1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846334 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jdbohrman/cake",
"max_stars_repo_path": "src/Cake.Core/IO/Globbing/Nodes/Segments/TextSegment.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165554"
} | starcoder | namespace Cake.Core.IO.Globbing.Nodes.Segments
{
internal sealed class TextSegment : PathSegment
{
public override string Value { get; }
public override string Regex { get; }
public TextSegment(string text)
{
Value = text;
Regex = Value.Replace("+", "\\... | 2.317616 | 81a20ae5d54119888c871468ce1773fa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846335 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Drizin/Harbin.Old",
"max_stars_repo_path": "src/AdventureWorks.Business/GeneratedCode/ProductModelIllustration.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165555"
} | starcoder | <gh_stars>1-10
// <auto-generated>
// ReSharper disable ConvertPropertyToExpressionBody
// ReSharper disable DoNotCallOverridableMethodsInConstructor
// ReSharper disable EmptyNamespace
// ReSharper disable InconsistentNaming
// ReSharper disable PartialMethodWithSinglePart
// ReSharper disable PartialTypeWithSinglePar... | 1.952799 | 3d13b9a3700add21935495ccc9ddcef4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846336 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "rngtm/CurvePicker",
"max_stars_repo_path": "Assets/CurvePicker/Editor/Utility/NormalCurveRenderer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165556"
} | starcoder | using System.Linq;
using UnityEngine;
using System.Collections.Generic;
using UnityEditor;
namespace CurvePickerTool
{
internal class NormalCurveRenderer : CurveRenderer
{
const float kSegmentWindowResolution = 1000;
const int kMaximumSampleCount = 50;
const string kCurveRendererMeshNa... | 2.329385 | 342438e612909dff6edc622112ff6856 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846337 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "seonghwan-dev/Reference",
"max_stars_repo_path": "Packages/com.calci.assetlens/Editor/_Obsolete/SettingInspector.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165557"
} | starcoder | <reponame>seonghwan-dev/Reference<gh_stars>1-10
// using System.Collections.Generic;
// using System.IO;
// using System.Threading.Tasks;
// using UnityEditor;
// using UnityEditor.Compilation;
// using UnityEngine;
// using UnityEngine.UIElements;
//
// #pragma warning disable CS1998
//
// namespace AssetLens.Referen... | 1.655587 | 5cd5a092c4d895b76377d41e2a9f45c0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846338 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sensate-iot/platform-gateway",
"max_stars_repo_path": "SensateIoT.Platform.Network.GatewayAPI/DTO/GenericGatewayRequest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165558"
} | starcoder | using System.Collections.Generic;
using MongoDB.Bson;
using Newtonsoft.Json;
using SensateIoT.Platform.Network.Data.Converters;
namespace SensateIoT.Platform.Network.GatewayAPI.DTO
{
public class GenericGatewayRequest<TValue> where TValue : class
{
[JsonRequired, JsonConverter(typeof(ObjectIdJsonConverter))]
pu... | 2.081778 | 982a4ba2df3a986dab4d90c7077bf77e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846339 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "boonyachengdu/arcgis-runtime-samples-dotnet",
"max_stars_repo_path": "src/Phone/ArcGISRuntimeSDKDotNet_PhoneSamples/Samples/GraphicsLayers/Draw.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165559"
} | starcoder | using System;
using System.Windows;
using Microsoft.Phone.Controls;
using Esri.ArcGISRuntime.Controls;
using Esri.ArcGISRuntime.Geometry;
using System.Windows.Controls.Primitives;
using Esri.ArcGISRuntime.Layers;
using System.Text;
using System.ComponentModel;
using System.Linq;
using Esri.ArcGISRuntime.Symbology;
usi... | 2.101606 | 60945ee4806de376e3e1559c95896419 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.