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 | 8817718 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "BlueDotBrigade/weevil",
"max_stars_repo_path": "Src/BlueDotBrigade.Weevil.Common/Navigation/TableOfContents.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136938"
} | starcoder | namespace BlueDotBrigade.Weevil.Navigation
{
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
[DebuggerDisplay("Count={_sections.Count}")]
public class TableOfContents : ITableOfContents
{
private readonly IReadOnlyList<Section> _sections;
public TableOfContents()
{
_sect... | 3.107215 | b20f4894dbca5912bd2c42f7cea58d3d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817719 | {
"extension": "c-sharp",
"max_stars_count": "24.0",
"max_stars_repo_name": "Albeoris/Pulse",
"max_stars_repo_path": "Pulse.UI/Interaction/LocalizatorEnvironment/LocalizatorEnvironmentProviders.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136939"
} | starcoder | <reponame>Albeoris/Pulse
namespace Pulse.UI
{
public sealed class LocalizatorEnvironmentProviders : InfoProviderGroup<LocalizatorEnvironmentInfo>
{
public LocalizatorEnvironmentProviders()
: base("LocalizatorEnvironment", string.Empty)
{
Capacity = 2;
Add(new... | 1.452131 | ccec964502c4cdf5fc6f86c1df7b52c9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817720 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "hansievanstraaten/Bible-Applications",
"max_stars_repo_path": "Desktop Application/Windows/ViSo.Common/Performance.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136940"
} | starcoder | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Threading;
using GeneralExtensions;
namespace ViSo.Common
{
public class Performance
{
public delegate void CounterExecutedEvent(string counterName, float counte... | 2.74519 | c702abc7556d2f54a4a3287ddd67e834 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817721 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "alexeykuzmin0/DTW",
"max_stars_repo_path": "DTW/FinanceTest/CandleTokenizer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136941"
} | starcoder | <reponame>alexeykuzmin0/DTW
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace FinanceTest
{
[TestClass]
public class CandleTokenizer
{
public static System.IO.Stream GenerateStream(string s)
{
System.IO.MemoryStream stream = new System.IO.MemoryStream(... | 2.675113 | 8a4f603a79ef53a3012d01d99d488be5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817722 | {
"extension": "c-sharp",
"max_stars_count": "18.0",
"max_stars_repo_name": "michael-russin/webview2-interop",
"max_stars_repo_path": "Src/Wrapper/WebView2Loader.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136942"
} | starcoder | #region License
// Copyright (c) 2019 <NAME>
//
// Permission is hereby granted, free of charge, to any person
// obtaining a copy of this software and associated documentation
// files (the "Software"), to deal in the Software without
// restriction, including without limitation the rights to use,
// copy, modify, me... | 2.145229 | e0a025c4982fb5d8828f0ef0760ac452 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817723 | {
"extension": "c-sharp",
"max_stars_count": "52.0",
"max_stars_repo_name": "forkineye/RCHourglass",
"max_stars_repo_path": "Software/src/RCHourglassManager/FormRegistration.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136943"
} | starcoder | <gh_stars>10-100
namespace RCHourglassManager
{
partial class FormRegistration
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
... | 2.148627 | c34e53e0c65e711ebb5c7a46559fc870 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817724 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lkmvip/xtransmit-windows",
"max_stars_repo_path": "XTransmit/Model/Server/ServerManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136944"
} | starcoder | using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Web;
using XTransmit.Utility;
namespace XTransmit.... | 2.397964 | fbf49c65831bd359a293970dd9403006 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817725 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "RabbitStewDio/Steropes.UI",
"max_stars_repo_path": "src/Steropes.UI/Bindings/IReadOnlyObservableListBinding.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136945"
} | starcoder | using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.ComponentModel;
namespace Steropes.UI.Bindings
{
public interface IReadOnlyObservableListBinding<T>: IReadOnlyList<T>, INotifyPropertyChanged, INotifyCollectionChanged, IBindingSubscription
{
}
} | 1.399092 | 5201a2f33765e42695626d249f3ba8c6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817726 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dredhorse/BetterCameras",
"max_stars_repo_path": "Main.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136946"
} | starcoder | using UnityEngine;
using BetterCameras.BetterPerspective;
using System;
using BetterCameras.BetterRide;
using BetterCameras.BetterGuest;
using UnityEngine.Events;
namespace BetterCameras
{
public class Main : IMod, IModSettings
{
public string Name { get { return "BetterCameras"; } }
public string Descriptio... | 1.851646 | efcd2a4da56cfad0522b382ea1062f81 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817727 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "TihomirIvanovIvanov/SoftUni",
"max_stars_repo_path": "C#DBFundamentals/DB-Advanced-Entity-Framework-Core/07DBBestPracticesAndArchitecture/src/PhotoShare.Services/IFriendshipService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136... | starcoder | namespace PhotoShare.Services
{
using System.Collections.Generic;
public interface IFriendshipService
{
void AddFriend(string userUsername, string friendUsername);
void AcceptFriend(string userUsername, string friendUsername);
List<string> ListFriends(string username);
}
}
| 1.88988 | 61754fade72cdbbf08df7d8f8f16575f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817728 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kolpet/Cardgame",
"max_stars_repo_path": "Assets/Scripts/Systems/ManaSystem.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136948"
} | starcoder | <filename>Assets/Scripts/Systems/ManaSystem.cs
using Assets.Scripts.Common;
using Assets.Scripts.Common.AspectContainer;
using Assets.Scripts.Common.Notifications;
using Assets.Scripts.GameActions;
using Assets.Scripts.Interfaces;
using Assets.Scripts.Models;
using Assets.Scripts.Models.Resources;
namespace Assets.Sc... | 2.114566 | 041abfa45977f93f7c0c98d4351942ec |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817729 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Yah-veh/ProgramacionIIIMLYL",
"max_stars_repo_path": "Examen Final Programacion III/Pregunta3/Pregunta3/ActividadHistorial.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136949"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Android.App;
using Android.Content;
using Android.OS;
using Android.Runtime;
using Android.Views;
using Android.Widget;
namespace Pregunta3
{
[Activity(Label = "ActividadHistorial")]
public class ActividadHistorial : ... | 2.233865 | 21108555049ae90890b538d895181759 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817730 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pavelekNET/DesignPatterns",
"max_stars_repo_path": "DesignPatterns/Structural/Composition/Loggers/FileLogger.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136950"
} | starcoder | <gh_stars>0
using System.IO;
using System.Text;
using Structural.Decorator.Component;
namespace Structural.Composition.Loggers
{
public class FileLogger : ILogger
{
private readonly FileInfo _file;
private int _messageBuffer;
private const int MessageBufferMultiplier = 2;
publ... | 2.524311 | f3ebfda5eef742467fc264b506f4cc8b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817731 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "rokonec/aspnetcore",
"max_stars_repo_path": "src/Razor/Microsoft.AspNetCore.Razor.Language/src/Legacy/BalancingModes.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136951"
} | starcoder | <reponame>rokonec/aspnetcore
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
namespace Microsoft.AspNetCore.Razor.Language.Legacy
{
[Flags]
internal enum BalancingModes
{
... | 1.148818 | 1f9e54ac7201f62a325415563f26c59b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817732 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "masgeek/automotive",
"max_stars_repo_path": "LiquidTorque/ComponentClasses/HomePageFilterRules.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136952"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using Parse;
namespace liquidtorque.ComponentClasses
{
public class HomePageFilterRules
{
static ParseQuery<ParseObject> _vehicleProfileQuery;
public HomePageFilterRules()
{
_vehicleProfileQuery = new Parse... | 2.673446 | f2bd4c0a2871e63d390c50a3a3522639 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817733 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "kozlov-d/QSProjects",
"max_stars_repo_path": "QS.Project/ViewModels/Control/ESVM/EntitySearchViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136953"
} | starcoder | <gh_stars>1-10
using System;
using QS.DomainModel.Entity;
using QS.ViewModels.Control.EEVM;
namespace QS.ViewModels.Control.ESVM
{
public class EntitySearchViewModel<TEntity> : PropertyChangedBase, IEntitySearchViewModel, IDisposable
where TEntity : class
{
private static readonly NLog.Logger logger = NLog.LogM... | 2.357273 | eceff104077265556a6f124dbb90a582 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817734 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "NaskoVasilev/CSharp-OOP-Basics",
"max_stars_repo_path": "Retake Exam-19 December 2018/SoftUniRestaurant/SoftUniRestaurant/Models/Drinks/Juice.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136954"
} | starcoder | namespace SoftUniRestaurant.Models.Drinks
{
public class Juice : Drink
{
private const decimal JuicePrice = 1.80M;
public Juice(string name, int servingSize, string brand)
: base(name, servingSize, JuicePrice, brand)
{
}
}
}
| 2.575514 | be55fdb4194f1bb75b1c134b63d7f0ef |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817735 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "thelebaron/300ShackGameJam",
"max_stars_repo_path": "Assets/Plugins/ParadoxNotion/NodeCanvas/Framework/Runtime/Graphs/CanvasGroup_NC.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136955"
} | starcoder | using UnityEngine;
namespace NodeCanvas.Framework{
/// <summary>
/// A rect group within a Graph
/// </summary>
[System.Serializable]
public class CanvasGroup{
public string name;
public Rect rect;
public Color color;
//required
public CanvasGroup(){}
public CanvasGroup(Rect rect, string... | 2.221447 | dc132f7c3b4dc3974af94196a31cac9b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817736 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "oktamorph/head-first-design-patterns",
"max_stars_repo_path": "CommandPattern/SimpleRemoteControl.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136956"
} | starcoder | <filename>CommandPattern/SimpleRemoteControl.cs
namespace CommandPattern
{
public class SimpleRemoteControl
{
ICommand slot;
public SimpleRemoteControl() { }
public void SetCommand(ICommand command)
{
slot = command;
}
public void ButtonWasPressed()
... | 2.414566 | a302b07aea7d01cc5c1a894b2db960dc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817737 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "MadSquirrel/LDtkToUnity",
"max_stars_repo_path": "Assets/LDtkUnity/Runtime/Data/Schema/Enum/EditorDisplayMode.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136957"
} | starcoder | namespace LDtkUnity
{
/// <summary>
/// Possible values: `Hidden`, `ValueOnly`, `NameAndValue`, `EntityTile`, `Points`,
/// `PointStar`, `PointPath`, `PointPathLoop`, `RadiusPx`, `RadiusGrid`,
/// `ArrayCountWithLabel`, `ArrayCountNoLabel`, `RefLinkBetweenPivots`,
/// `RefLinkBetweenCenters`
//... | 1.735103 | e73bda3e0df53d43cc376654e0b9476d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817738 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mihailpw/GrpcSandbox",
"max_stars_repo_path": "src/Server/Grpc.Server/Grpc.Server/Common/IClient.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136958"
} | starcoder | <filename>src/Server/Grpc.Server/Grpc.Server/Common/IClient.cs
using System.Threading;
using System.Threading.Tasks;
using Grpc.Services;
namespace Grpc.Server.Common
{
public interface IClient
{
Task SendAsync(Response response, CancellationToken cancellationToken);
}
} | 1.419708 | e5e763b7bb2f690bc2dca615acae38b7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817739 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MinexAutomation/R5T.NetStandard.IO.Paths.Types",
"max_stars_repo_path": "source/R5T.NetStandard.IO.Paths.Types.Testing/Code/Tests/WindowsOrNonWindowsPathTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136959"
} | starcoder | <reponame>MinexAutomation/R5T.NetStandard.IO.Paths.Types
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace R5T.NetStandard.IO.Paths.Types.Testing
{
[TestClass]
public class WindowsOrNonWindowsPathTests
{
#region Absolute Paths
#region Windows
... | 2.737127 | e555b94ab41bb88aadc1e34a72743ac7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817740 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "tomastauer/Tauco",
"max_stars_repo_path": "Tests/Tauco.Dicom.Shared.Tests/Converters/BirthNumberTypeConverterTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136960"
} | starcoder | using System;
using System.Diagnostics.CodeAnalysis;
using AutoMapper;
using NSubstitute;
using NUnit.Framework;
using Tauco.Dicom.Shared.Converters;
namespace Tauco.Dicom.Shared.Tests.Converters
{
[TestFixture]
[SuppressMessage("ReSharper", "AssignNullToNotNullAttribute")]
public class BirthNumberTyp... | 2.58054 | d63395c20e67e417cd4ac9aab5bdfa6a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817741 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "edyoung/prequel",
"max_stars_repo_path": "Prequel/Flag.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136961"
} | starcoder | <gh_stars>1-10
namespace Prequel
{
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
/// <summary>
/// Encapsulates a command line flag such as ... | 2.953178 | 0065235550b05bf345f302781dc9e381 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817742 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "hfloyd/Dragonfly.ActiveCampaignV3Api",
"max_stars_repo_path": "src/Dragonfly/ActiveCampaign/Models/Users/Group.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136962"
} | starcoder | namespace Dragonfly.ActiveCampaign.Models
{
using System;
using System.Collections.Generic;
using System.Globalization;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
public class Group
{
[JsonProperty("id")]
[JsonConverter(typeof(ParseStringToLongConverter))]
... | 1.396141 | fbdb5dea878a41d3ac1abab7bbd45141 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817743 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "grantwinney/GhostSharp",
"max_stars_repo_path": "GhostSharp/Entities/Theme.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136963"
} | starcoder | using Newtonsoft.Json;
using System.Collections.Generic;
namespace GhostSharp.Entities
{
/// <summary>
/// Theme
/// </summary>
public class Theme
{
/// <summary>
/// Name of the theme
/// </summary>
[JsonProperty("name")]
public string Name { get; set; }
... | 2.267787 | cef518c9e7ad27fc404aec117d9138a5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817744 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SkillsFundingAgency/tl-result-and-certification",
"max_stars_repo_path": "src/Tests/Sfa.Tl.ResultsAndCertification.Web.UnitTests/Controllers/StatementOfAchievementControllerTests/RequestSoaUlnNotFound/When_Cache_Found.cs",
"provenance... | starcoder | <filename>src/Tests/Sfa.Tl.ResultsAndCertification.Web.UnitTests/Controllers/StatementOfAchievementControllerTests/RequestSoaUlnNotFound/When_Cache_Found.cs
using FluentAssertions;
using Microsoft.AspNetCore.Mvc;
using NSubstitute;
using Sfa.Tl.ResultsAndCertification.Common.Helpers;
using Sfa.Tl.ResultsAndCertificati... | 2.022945 | beed57006671b079c175c7be4a31fdfc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817745 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Invivoo-software/xcomponent.ui",
"max_stars_repo_path": "UI/Helpers/PathHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136965"
} | starcoder | using System;
using System.IO;
namespace XComponent.Common.UI.Helpers
{
public static class PathHelper
{
public const string DefaultProfil = "default";
public static string GetResearchCachePath(string applicationName, string applicationProfil = DefaultProfil)
{
var path = P... | 2.456749 | 3a05e38b51e0ec45edf2ce788a73ed0c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817746 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "llgiant/csharp",
"max_stars_repo_path": "app050_ifigura/Triangle.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136966"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
public class Triangle : IFigura
{
private double _a = 1;
private double _b = 1;
private double _c = 1;
private double _h = 1;
private string _name = "Треуголник";
public Triang... | 3.436148 | 7e6ef20f19411cb2c59436632f3863a6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817747 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "allan-mobley-jr/Azure.Functions.Cosmos.Extension",
"max_stars_repo_path": "sample/CreateContainer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136967"
} | starcoder | using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Azure.WebJobs;
using Microsoft.Azure.WebJobs.Extensions.Http;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Logging;
using Azure.Cosmos;
using Mobsites.Azure.Functions.Cosmos.Extension;
namespace Azure.Functions.Cosmos.Extensio... | 2.204096 | 1d9f6152cbed01f90bb613ced8cabd55 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817748 | {
"extension": "c-sharp",
"max_stars_count": "61.0",
"max_stars_repo_name": "SocialBoards/Owin.Scim",
"max_stars_repo_path": "source/_tests/Owin.Scim.Tests/Validation/Users/with_an_empty_list_of_addresses.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136968"
} | starcoder | <reponame>SocialBoards/Owin.Scim
namespace Owin.Scim.Tests.Validation.Users
{
using System.Collections.Generic;
using Machine.Specifications;
using Model.Users;
using v2.Model;
public class with_an_empty_list_of_addresses : when_validating_a_user
{
Establish ctx = () =>
{... | 1.933159 | 4b9fc31bb088cade25aac26a83f6aa58 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817749 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kovachevmartin/SoftUni",
"max_stars_repo_path": "CSharp-OOP/04-INTERFACES/P07.FoodShortage/StartUp.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136969"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
namespace P07.FoodShortage
{
public class StartUp
{
public static void Main()
{
List<IBuyer> allBuyers = new List<IBuyer>();
int count = int.Parse(Console.ReadLine());
for (int i = 0; i < c... | 3.369124 | 1291d38bae7a99a849bfc93a70c17d81 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817750 | {
"extension": "c-sharp",
"max_stars_count": "20.0",
"max_stars_repo_name": "hixio-mh/BoC",
"max_stars_repo_path": "Src/Commons.Web.Mvc/Validation/RulesExceptionExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136970"
} | starcoder | using System;
using System.Linq;
using System.Web.Mvc;
using BoC.Validation;
namespace BoC.Web.Mvc.Validation
{
public static class RulesExceptionExtensions
{
public static void AddModelStateErrors(this RulesException exception, ModelStateDictionary modelState)
{
AddMode... | 2.214449 | c099715b7ead5abe59b2af46e3ca9605 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817751 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Horwits/Telerik-Academy-2016-2017",
"max_stars_repo_path": "C#/C#-Part-Two/01. Arrays/12. Index of letters/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136971"
} | starcoder | using System;
class Program
{
static void Main()
{
string word = Console.ReadLine().ToLower();
//alternative solution
//foreach (var symbol in word)
//{
// Console.WriteLine(symbol - 'a');
//}
char[] letters = new char[26];
for (int i = 0; i... | 3.824209 | c0a417d697617bd14b0d3477d7fa5abe |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817752 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "thethrustguru/thethrustguru",
"max_stars_repo_path": "TheThrustGuru/Custom_Controls/RecipeItemPanel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136972"
} | starcoder | <reponame>thethrustguru/thethrustguru
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace TheThrustGuru.Custom_Controls
{
class RecipeItemPanel : Panel
{
//public string itemImageurl { get;... | 2.519734 | b2a1b7bd2ad7b0f189bf89b2a1b692a0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817753 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Drarch/FirefighterVR",
"max_stars_repo_path": "Assets/Scripts/Flammable.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136973"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using UnityEngine;
public class Flammable : MonoBehaviour
{
public FireType fireType;
[SerializeField]
public List<Flammable> flameableObjectsinRadius;
public float heatRadius = 5.0f;
//public ... | 2.310071 | ea916d13c7406bfba4ae5050437b5010 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817754 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "grant-d/Clay",
"max_stars_repo_path": "src/SourceCode.Clay.Collections.Bench/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136974"
} | starcoder | #region License
// Copyright (c) K2 Workflow (SourceCode Technology Holdings Inc.). All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
#endregion
using BenchmarkDotNet.Running;
namespace SourceCode.Clay.Collections.Bench
{
public static cla... | 1.803172 | 0c38416748dcff330833b5bb04e87187 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817755 | {
"extension": "c-sharp",
"max_stars_count": "103.0",
"max_stars_repo_name": "f-guilherme/AutoClicker",
"max_stars_repo_path": "AutoClicker/Utils/User32ApiUtils.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136975"
} | starcoder | using System;
using System.Runtime.InteropServices;
namespace AutoClicker.Utils
{
public static class User32ApiUtils
{
[DllImport("user32.dll", EntryPoint = "SetCursorPos")]
internal static extern bool SetCursorPosition(int x, int y);
[DllImport("user32.dll", EntryPoint = "m... | 2.176236 | 5fdef9ffcc1ebf4daeec2357117bc0ea |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817756 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "WildGenie/Ninokuni",
"max_stars_repo_path": "Programs/PS3/NinoDecompiler/NinoDecompiler/BinaryReaderBE.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136976"
} | starcoder | <reponame>WildGenie/Ninokuni<filename>Programs/PS3/NinoDecompiler/NinoDecompiler/BinaryReaderBE.cs
// ----------------------------------------------------------------------
// <copyright file="BinaryReaderBE.cs" company="none">
// Copyright (C) 2012
//
// This program is free software: you can redistribute it ... | 2.465581 | fae3f312005578f1b567541caf26f767 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817757 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Ljungblad/vendingMachine",
"max_stars_repo_path": "Vending machine/GoodsItem.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136977"
} | starcoder | namespace Vending_machine
{
public class GoodsItem
{
public string Name { get; set; }
public int Price { get; set; }
public int Inventory { get; set; }
public GoodsItem(string name, int price, int inventory)
{
Name = name;
Price = price;
... | 2.650616 | 68844a5ea647b57450a39b101cd4dfa7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817758 | {
"extension": "c-sharp",
"max_stars_count": "918.0",
"max_stars_repo_name": "amat27/AspLabs",
"max_stars_repo_path": "src/WebHooks/samples/BitbucketCoreReceiver/Controllers/BitbucketController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136978"
} | starcoder | using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.WebHooks;
using Microsoft.Extensions.Logging;
using Newtonsoft.Json.Linq;
namespace BitbucketCoreReceiver.Controllers
{
public class BitbucketController : ControllerBase
{
private readonly ILogger _logger;
public BitbucketController(IL... | 2.295217 | 82906d10b6226f406765bdfe12e48c07 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817759 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "cllafleur/CustomMapper",
"max_stars_repo_path": "samples/MapperDslUI/Models/Origin/OriginObject.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136979"
} | starcoder | <filename>samples/MapperDslUI/Models/Origin/OriginObject.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MapperDslUI.Models.Origin
{
public class OriginObject
{
public string Title { get; set; }
public st... | 1.85104 | 4d31a304eea43db5ba0132dd21b21291 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817760 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "revoljucioner/SpeedLoger",
"max_stars_repo_path": "Log/Log.Android/CustomMapRenderer .cs",
"provenance": "train-00027-of-00045.jsonl.gz:136980"
} | starcoder | using System.Collections.Generic;
using Android.Content;
using Android.Gms.Maps.Model;
using Log.Droid;
using Log.Elements;
using Log.Models;
using Xamarin.Forms;
using Xamarin.Forms.Maps;
using Xamarin.Forms.Maps.Android;
[assembly: ExportRenderer(typeof(CustomMap), typeof(CustomMapRenderer))]
namespace Log.Droid
{
... | 2.100762 | 6d0f84444b503dad053a220021785f37 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817761 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lnmthuc/fos",
"max_stars_repo_path": "fos-api/FOS/FOS.Service/SPUserService/ISPUserService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136981"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FOS.Services.SPUserService
{
public interface ISPUserService
{
Task<string> GetUsers();
Task<Model.Domain.User> GetCurrentUser();
Task<Model.Domain.User> GetUse... | 1.69467 | 8716ae292c26edfa1101445f1321861a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817762 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "ahives/Machete",
"max_stars_repo_path": "src/Machete.X12Schema/V5010/Layouts/Maps/Loop2100C_277ACKMap.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136982"
} | starcoder | <gh_stars>1-10
namespace Machete.X12Schema.V5010.Maps
{
using X12;
using X12.Configuration;
public class Loop2100C_277ACKMap :
X12LayoutMap<Loop2100C_277ACK, X12Entity>
{
public Loop2100C_277ACKMap()
{
Id = "Loop_2100C_277_ACK";
Name = "Billing Provider... | 1.471547 | de0d569d6fdeb956dec874f9ce0bf57f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817763 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "vam-community/vam-party",
"max_stars_repo_path": "Party.Shared/Exceptions/RegistryException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136983"
} | starcoder | using System;
namespace Party.Shared.Exceptions
{
public class RegistryException : PartyException
{
public override int Code => 300;
public RegistryException(string message)
: base(message)
{
}
public RegistryException(string message, Exception inner)
... | 2.194743 | 668dc6ce1747962435489cab6cead6ef |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817764 | {
"extension": "c-sharp",
"max_stars_count": "204.0",
"max_stars_repo_name": "DannyvdSluijs/azure-functions-openapi-extension",
"max_stars_repo_path": "test-integration/Microsoft.Azure.WebJobs.Extensions.OpenApi.TestApp/Post_ApplicationJson_NullableObject_HttpTrigger copy.cs",
"provenance": "train-00027-of-00... | starcoder | <reponame>DannyvdSluijs/azure-functions-openapi-extension<gh_stars>100-1000
using System;
using System.Net;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Azure.WebJobs.Extensions.Http;
using Microsoft.Azure.WebJobs.Extensions.OpenApi.Core.Attributes;
usi... | 1.715028 | 78dcb779c0be57f14a48bab2f720cc3c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817765 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AmirCpu2/UnivStore",
"max_stars_repo_path": "UnivStore.WebApp/Views/Shared/Partials/_BestPay_Partial.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:136985"
} | starcoder | <section class="tg-sectionspace tg-haslayout">
<div class="container">
<div class="row">
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
<div class="tg-sectionhead">
<div class="tg-title">
<h2>آگهی ویژه</h2>
<... | 2.119689 | 7f707d163be40aa68fd861286099fa29 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817766 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Lichtblitz/AlbLib",
"max_stars_repo_path": "Imaging/MinimapPalette.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136986"
} | starcoder | <gh_stars>0
using System;
using System.Drawing;
using AlbLib.Mapping;
namespace AlbLib.Imaging
{
[Serializable]
public class MinimapPalette : ImagePalette
{
private ImagePalette source;
private ImagePalette minimap;
public override Color this[int index]{
get{
if(152 <= index && index <= 191)
{
... | 2.435231 | a505ced88eb897d0800a032664ec0c58 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817767 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "svga/SVGAPlayer-Unity",
"max_stars_repo_path": "Assets/SvgaPlayer/SvagPlayerData.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136987"
} | starcoder | <filename>Assets/SvgaPlayer/SvagPlayerData.cs
using System.Collections.Generic;
using System.IO;
using System.IO.Compression;
using Google.Protobuf;
using Google.Protobuf.Collections;
using UnityEngine;
namespace Svga
{
public partial class SvgaPlayer
{
#region Data
/// <summary>
... | 2.45393 | d0a3367bc02af98a31a7932aa5406c50 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817768 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Rohland/PeanutButter",
"max_stars_repo_path": "source/Utils/PeanutButter.Utils.Tests/TestMetadataExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136988"
} | starcoder | <reponame>Rohland/PeanutButter
using System;
using NUnit.Framework;
using NExpect;
using static NExpect.Expectations;
using static PeanutButter.RandomGenerators.RandomValueGen;
// ReSharper disable PossibleNullReferenceException
// ReSharper disable TryCastAlwaysSucceeds
namespace PeanutButter.Utils.Tests
{
[Test... | 2.38102 | ad36a9b8ffd6481f223d1c8ead2912e7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817769 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ai408/abp-vue-admin-element-typescript",
"max_stars_repo_path": "aspnet-core/modules/apigateway/LINGYUN.ApiGateway.Domain/LINGYUN/ApiGateway/Ocelot/ServiceDiscoveryProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136989"
} | starcoder | using Volo.Abp.Domain.Entities;
namespace LINGYUN.ApiGateway.Ocelot
{
public class ServiceDiscoveryProvider : Entity<int>
{
public virtual long ItemId { get; protected set; }
public virtual string Host { get; set; }
public virtual int? Port { get; set; }
public virtual string T... | 1.740858 | 18d82196b0a4f722288ce39db9a2aec1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817770 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "aalinaaw/daw-it-service",
"max_stars_repo_path": "DAWProject/Models/DTOs/ServiceTypeDto.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136990"
} | starcoder | namespace DAWProject.Models.DTOs
{
public class ServiceTypeDto
{
public string ServiceName { get; set; }
}
} | 1.758481 | 37becdbfe9712fb2a5640aca2f5b21c0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817771 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Ed-Fi-Exchange-OSS/ParentPortal",
"max_stars_repo_path": "Student1.ParentPortal.Data/Models/ISchoolsRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136991"
} | starcoder | <reponame>Ed-Fi-Exchange-OSS/ParentPortal<filename>Student1.ParentPortal.Data/Models/ISchoolsRepository.cs
using Student1.ParentPortal.Models.Schools;
using Student1.ParentPortal.Models.Shared;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespac... | 1.59764 | 5c6b8d0b68d507d0882ef183bd5e0163 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817772 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bvdommelen/exercise",
"max_stars_repo_path": "RelueTcejorpTests/PrimeHelperTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136992"
} | starcoder | using Microsoft.VisualStudio.TestTools.UnitTesting;
using ProjectEuler;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ProjectEuler.Tests
{
[TestClass()]
public class PrimeHelperTests
{
[TestMethod()]
public voi... | 3.002524 | 88031a26819e608e7b8392a1c72bb8b6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817773 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "QOAM/qoam",
"max_stars_repo_path": "src/Website/Views/Account/ResetPasswordFailure.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:136993"
} | starcoder | @{
ViewBag.Title = "Your password has not been reset";
}
<div class="container main">
<div class="row">
<div class="col-md-12">
<h2>@ViewBag.Title</h2>
<p>Something went wrong while resetting your password! Please @Html.ActionLink("try again", "ResetPassword", "Account").</p>
... | 2.591026 | 3d4e775f1d4a42302d732d2cb70fdd04 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817774 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "logjam2/logjam",
"max_stars_repo_path": "src/LogJam/Trace/ITraceWriter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136994"
} | starcoder | <reponame>logjam2/logjam<filename>src/LogJam/Trace/ITraceWriter.cs
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="ITraceWriter.cs">
// Copyright (c) 2011-2016 https://github.com/logjam2.
// </copyright>
// Licensed under the ... | 2.364527 | dc36d1699c2e21396a68a6611777176b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817775 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "n3v3r94/SalonProject",
"max_stars_repo_path": "SalonProject/Salon.Services/IAdministratorService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136995"
} | starcoder | <reponame>n3v3r94/SalonProject
namespace Salon.Services
{
using Salon.Services.Models;
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc.Rendering;
public interface IAdministratorService
{
IEnumerable<UserViewModel> ListAllUser();
... | 1.54425 | befc4e5515d1a222a7838ae68b90d49b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817776 | {
"extension": "c-sharp",
"max_stars_count": "404.0",
"max_stars_repo_name": "YersonSolano/CocosSharp",
"max_stars_repo_path": "src/Nodes/Layers/CCLayerMultiplex.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136996"
} | starcoder | using System.Collections.Generic;
using System.Diagnostics;
namespace CocosSharp
{
public class CCLayerMultiplex : CCLayer
{
public const int NoLayer = -1;
#region Properties
public bool ShowFirstLayerOnEnter { get; set; }
public int EnabledLayerIndex { get; private set; }
... | 2.586894 | 22bb53f563304178478d29ad1ea934ec |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817777 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TheToor/Tango",
"max_stars_repo_path": "src/Commands/Handler/TerrainModificationHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136997"
} | starcoder | using ColossalFramework;
using System;
using UnityEngine;
using static TerrainTool;
using Harmony;
namespace CSM.Commands.Handler
{
public class TerrainModificationHandler : CommandHandler<TerrainModificationCommand>
{
public override void Handle(TerrainModificationCommand command)
{
... | 1.926651 | 5eb9380d667c06853c8c4e2dbad9b1cc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817778 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "sewright22/AmerFamilyPlayoffs",
"max_stars_repo_path": "BlazorWasm/Shared/TeamView.razor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136998"
} | starcoder | <reponame>sewright22/AmerFamilyPlayoffs<filename>BlazorWasm/Shared/TeamView.razor.cs
namespace AmerFamilyPlayoffs.Shared
{
using AmerFamilyPlayoffs.Models;
using Microsoft.AspNetCore.Components;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
... | 2.265013 | d4cb282b2e79a4a24b9ef69686d95721 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817779 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "spiderbait90/Step-By-Step-In-C-Sharp",
"max_stars_repo_path": "C# Web/GamesStore/GamesStore.Web/Controllers/GamesController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136999"
} | starcoder | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Security.Cryptography.X509Certificates;
using System.Threading.Tasks;
using AutoMapper;
using GamesStore.Common.Admin.BindingModels;
using GamesStore.Common.Admin.ViewModels;
using GamesStore.Data;
usi... | 1.914183 | a36494adf8d18ff1ae12a92e0b2171b1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817780 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "geocom-gis/lucenenet",
"max_stars_repo_path": "src/Lucene.Net.Queries/Function/ValueSources/SingleFunction.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137000"
} | starcoder | <reponame>geocom-gis/lucenenet
using Lucene.Net.Search;
using System.Collections;
namespace Lucene.Net.Queries.Function.ValueSources
{
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for addi... | 2.180132 | 9e961313f3be5284d34fef06bd59d3e0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817781 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SimeonGerginov/Football-Teams",
"max_stars_repo_path": "FootballTeams/FootballTeams/Views/Team/Index.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:137001"
} | starcoder | <filename>FootballTeams/FootballTeams/Views/Team/Index.cshtml
@model IEnumerable<FootballTeams.ViewModels.AllTeamsViewModel>
@{
ViewBag.Title = "Teams Page";
Layout = "_Layout";
}
<h2 class="text-center">
Отбори
</h2>
<div class="row">
@if (Model.Any())
{
<table class="table">
... | 2.518421 | f651e237c36a77ef905709bac034043f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817782 | {
"extension": "c-sharp",
"max_stars_count": "124.0",
"max_stars_repo_name": "Steph55/DirectN",
"max_stars_repo_path": "DirectN/DirectN/Generated/_D3DKMT_MULTIPLANE_OVERLAY2.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137002"
} | starcoder | <filename>DirectN/DirectN/Generated/_D3DKMT_MULTIPLANE_OVERLAY2.cs
// c:\program files (x86)\windows kits\10\include\10.0.22000.0\shared\d3dkmthk.h(963,9)
using System;
using System.Runtime.InteropServices;
namespace DirectN
{
[StructLayout(LayoutKind.Sequential)]
public partial struct _D3DKMT_MULTIPLA... | 1.275626 | a8827b4b14d5d9c5565b617db01d7298 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817783 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "abrusle/extra-attribtues",
"max_stars_repo_path": "Editor/SceneDrawer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137003"
} | starcoder | <filename>Editor/SceneDrawer.cs
using System;
using Runtime;
using UnityEditor;
using UnityEngine;
namespace Abrusle.ExtraAtributes.Editor
{
public abstract class SceneDrawer<TAttribute> : ISceneDrawer where TAttribute : SceneAttributeBase
{
protected readonly SerializedProperty prop;
protecte... | 2.037562 | f787074e73663dff2800650b5eb7fbd1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817784 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "chenrensong/T4",
"max_stars_repo_path": "src/Coding4Fun.VisualStudio.Telemetry/Coding4Fun.VisualStudio.ApplicationInsights.Extensibility.Implementation.External/StackFrame.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137004"
} | starcoder | using System.Diagnostics.Tracing;
using System.CodeDom.Compiler;
namespace Coding4Fun.VisualStudio.ApplicationInsights.Extensibility.Implementation.External
{
/// <summary>
/// Partial class to add the EventData attribute and any additional customizations to the generated type.
/// </summary>
[GeneratedCode("gbc",... | 2.048383 | ca986b4fad10dda1c2372ce00e68e324 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817785 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "alperunlu07/SignalR_Project",
"max_stars_repo_path": "Assets/Scripts/Crypto.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137005"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using System.Security.Cryptography;
using System.Text;
using UnityEngine;
public class Crypto
{
public static byte[] MD5Hash(string input)
{
using (var md5 = MD5.Create())
{
return md5.ComputeHash(Encoding.ASCII.GetByte... | 2.542514 | 4e75b1182853ff644021fc08d8eaa66b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817786 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Doug-AWS/aws-lambda-dotnet",
"max_stars_repo_path": "Libraries/test/Amazon.Lambda.AspNetCoreServer.Test/UtilitiesTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137006"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using Amazon.Lambda.AspNetCoreServer.Internal;
using Xunit;
namespace Amazon.Lambda.AspNetCoreServer.Test
{
public class UtilitiesTest
{
[Theory]
[InlineData(null, null)]
[InlineData("", null)]
[InlineData("nam... | 2.078122 | efeb4f5cfb5dc22d6eb83bac927b3a33 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817787 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "tlycken/tlycken.Extensions",
"max_stars_repo_path": "src/tlycken.Extensions.Tests/QueryableExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137007"
} | starcoder | using System;
using System.Linq;
using Xunit;
namespace tlycken.Extensions.Tests
{
public class QueryableExtensions
{
public class Foo
{
public bool Bar { get; set; }
}
[Fact]
public void CanApplyProjectionToQueryables()
{
var foos = new[... | 2.905481 | 844f83c8a5773c9abae1e679aede5342 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817788 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "bartelink/EventStore",
"max_stars_repo_path": "src/EventStore.Projections.Core/Messages/IProjectionCheckpointManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137008"
} | starcoder | <filename>src/EventStore.Projections.Core/Messages/IProjectionCheckpointManager.cs
using EventStore.Core.Bus;
namespace EventStore.Projections.Core.Messages
{
public interface IProjectionCheckpointManager : IHandle<CoreProjectionProcessingMessage.ReadyForCheckpoint>,
... | 1.617844 | 0dbb4157bb8d53603d75ccc1812cfea7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817789 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "the-orb/orb.net",
"max_stars_repo_path": "src/Auth/UserGraphType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137009"
} | starcoder | <filename>src/Auth/UserGraphType.cs
using GraphQL.Types;
namespace Auth
{
public class UserGraphType : ObjectGraphType<User>
{
public UserGraphType(IUserService data)
{
Name = "User";
Field(h => h.Id).Description("The id of the user.");
Field(h => h.Name, n... | 2.299173 | 66511869db64408f5bfebc9bf241317b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817790 | {
"extension": "c-sharp",
"max_stars_count": "149.0",
"max_stars_repo_name": "lavataste/TizenFX",
"max_stars_repo_path": "src/Tizen.Content.MediaContent/Interop/Interop.MediaInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137010"
} | starcoder | /*
* Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
*
* Licensed under the Apache License, Version 2.0 (the License);
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requi... | 1.894222 | 6ff90c96719c8e9a2bf148939344e95a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817791 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "smangelschots/TrinityCore",
"max_stars_repo_path": "Trinity.SqlServer/SqlServerDataContext.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137011"
} | starcoder | using System;
using Trinity.DataAccess;
using Trinity.DataAccess.Orm;
using Trinity.SqlServer;
namespace Trinity.SqlServer
{
public class SqlServerDataContext : DataContext
{
public SqlServerDataContext(string connectionString)
{
conn = connectionString;
}
private ... | 2.527263 | 3bebe42cbd489c602f1de4bab40794bd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817792 | {
"extension": "c-sharp",
"max_stars_count": "93.0",
"max_stars_repo_name": "terrajobst/cxxi",
"max_stars_repo_path": "src/generator/Filter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137012"
} | starcoder | <reponame>terrajobst/cxxi<gh_stars>10-100
using System;
using System.Linq;
using System.Xml.Linq;
using System.Collections.Generic;
public enum FilterMode {
Include,
Exclude,
External
}
public enum ImplementationType {
@class,
@struct
}
public struct Filter {
public string TypeName { get; set; }
public Filte... | 2.160623 | 0f97e01deae366a021c5ddd5ecd39ac0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817793 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "zamp/marklight",
"max_stars_repo_path": "Source/ValueConverters/ComponentValueConverter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137013"
} | starcoder | <filename>Source/ValueConverters/ComponentValueConverter.cs
using System;
using UnityEngine;
namespace MarkLight.ValueConverters
{
/// <summary>
/// Value converter for component types.
/// </summary>
public class ComponentValueConverter : ValueConverter
{
#region Fields
private ... | 3.032705 | 6376e29ca6e7ce29b2611c81b42d4556 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817794 | {
"extension": "c-sharp",
"max_stars_count": "105.0",
"max_stars_repo_name": "Jlabarca/UnityAStarNavigation",
"max_stars_repo_path": "Assets/Scripts/NavMeshExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137014"
} | starcoder | <reponame>Jlabarca/UnityAStarNavigation<filename>Assets/Scripts/NavMeshExtensions.cs
using System;
using System.Collections.Generic;
using System.Linq;
using BovineLabs.Entities.Helpers;
using Unity.Collections;
using UnityEngine;
using UnityEngine.AI;
using UnityEngine.Experimental.AI;
public static class NavMeshExt... | 2.562428 | 1b2a6b1ddc6c98939b4a536654537ea1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817795 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "BOONRewardsInc/rewards",
"max_stars_repo_path": "Commerce/CardLink/Partners/FirstData/FirstDataOfferIdGenerator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137015"
} | starcoder | <gh_stars>10-100
//
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
//
namespace Lomo.Commerce.CardLink
{
using System;
using Lomo.Commerce.Context;
using Lomo.Commerce.DataAccess;
usi... | 1.998025 | dbfc6eb66c8b01bedc9914adc301ec16 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817796 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rahul0tripathi/MetaNox",
"max_stars_repo_path": "Assets/MoralisWeb3ApiSdk/Nethereum/Nethereum.BlockchainProcessing/LogProcessing/BlockRangeRequestStrategy.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137016"
} | starcoder | <reponame>rahul0tripathi/MetaNox
using System.Numerics;
namespace Nethereum.BlockchainProcessing.LogProcessing
{
public class BlockRangeRequestStrategy
{
private readonly int _defaultNumberOfBlocksPerRequest;
private readonly int _retryWeight;
public BlockRangeRequestStrategy... | 2.38098 | 8bbbe5a5a5c911152cf1b2c25ab93bf9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817797 | {
"extension": "c-sharp",
"max_stars_count": "34.0",
"max_stars_repo_name": "AdvanceOpen/ExcelKit.Sample",
"max_stars_repo_path": "ExcelKit.Sample/Sample.AspNetCore/Views/Home/Index.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:137017"
} | starcoder | <filename>ExcelKit.Sample/Sample.AspNetCore/Views/Home/Index.cshtml
@{
Layout = null;
}
<!DOCTYPE html>
<html class="loginHtml">
<head>
<meta charset="utf-8">
<title>ExcelKit使用示例(Web)</title>
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewpo... | 2.124321 | 4f5c220d62d9542f0aebb5890307f114 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817798 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "mikhail-khalizev/max",
"max_stars_repo_path": "source/MikhailKhalizev.Max/source/Program/Auto/z-0019-01d9.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137018"
} | starcoder | <gh_stars>1-10
using System;
using MikhailKhalizev.Processor.x86.BinToCSharp;
namespace MikhailKhalizev.Max.Program
{
public partial class RawProgram
{
[MethodInfo("0x19_01d9-713aa64e")]
public void Method_0019_01d9()
{
ii(0x19_01d9, 2); push(edx); ... | 1.712727 | 4fc26b6d7d7a1cc199d1c8ef59b25f54 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817799 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sensate-iot/dsmr-parser",
"max_stars_repo_path": "SensateIoT.SmartEnergy.Dsmr.Parser.Tests/TelegramParser/GasFlowCalculatorTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137019"
} | starcoder | <reponame>sensate-iot/dsmr-parser
using System;
using log4net;
using Moq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using SensateIoT.SmartEnergy.Dsmr.Parser.Common.Logic;
using SensateIoT.SmartEnergy.Dsmr.Parser.Common.Models;
namespace SensateIoT.SmartEnergy.Dsmr.Parser.Tests.TelegramParser
{... | 2.330954 | a23c52a9cf2c27cb0e812587142f6071 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817800 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "beshev/FitnessBuddy",
"max_stars_repo_path": "src/Web/FitnessBuddy.Web/Views/Articles/Create.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:137020"
} | starcoder | @model ArticleInputModel
@{
this.ViewData["Title"] = "Create";
}
<div class="text-center">
<h1>
@this.ViewData["Title"]
</h1>
<form asp-controller="Articles" asp-action="Create" class="col-lg-6 offset-lg-3" enctype="multipart/form-data">
<div asp-validation-summary="All" class="text-... | 2.188977 | c8e83d3eb40d93d606100d3b0ac6f65e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817801 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "StevenJV/MvcMovie",
"max_stars_repo_path": "MvcMovie/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137021"
} | starcoder | using System;
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using MvcMovie.Models;
namespace MvcMovie
{
public class Program
{
public static ILogger Logger;
publi... | 2.577601 | 7f14dbdd2e55b7be28bacbe9a699bb79 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817802 | {
"extension": "c-sharp",
"max_stars_count": "48.0",
"max_stars_repo_name": "MewsSystems/fiscalizations",
"max_stars_repo_path": "src/Italy/Mews.Fiscalizations.Italy/Dto/Invoice/TransmissionFormat.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137022"
} | starcoder | using System;
using System.Xml.Serialization;
namespace Mews.Fiscalizations.Italy.Dto.Invoice
{
[Serializable, XmlType(Namespace = ElectronicInvoice.Namespace)]
public enum TransmissionFormat
{
FPA12,
FPR12
}
} | 1.438649 | 6c383b2ae7383b42ed0e6c758ce2e476 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817803 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "paralleltree/Scallion",
"max_stars_repo_path": "Scallion/DomainModels/Components/Light.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137023"
} | starcoder | <reponame>paralleltree/Scallion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Drawing;
using System.Numerics;
namespace Scallion.DomainModels.Components
{
/// <summary>
/// Represents a light in MMD.
/// </summary>
public class Light
{
/// <summary>
... | 2.407974 | c8d6303f68f1572b2dc9fbb994c2d1ba |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817804 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vr3dina/Notes",
"max_stars_repo_path": "Notes.Web/Views/Reminder/List.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:137024"
} | starcoder | @model IEnumerable<Notes.DB.Reminder>
<style>
.r_time {
font-size: small;
color: gray;
margin-left: 30px;
}
.r_time_over {
font-size: small;
color: red;
margin-left: 30px;
}
input[type=checkbox].css-checkbox {
position: absolute;
z... | 2.641545 | 03ea473e6521071c02793ab6f6fe6465 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817805 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mboutell/Mobile",
"max_stars_repo_path": "wp7/Rhit Mobile App/Rhit.Applications.Model.SL/Services/ResponseHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137025"
} | starcoder | using System;
using System.IO;
using System.Net;
using System.Runtime.Serialization.Json;
using System.Text;
using Rhit.Applications.Model.Events;
using System.Windows;
namespace Rhit.Applications.Model.Services {
public static class ResponseHandler {
public static event ServerEventHandler ResponseRecei... | 2.499342 | 650908e6e51e8a05c03ad5ea665cca3a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817806 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "BurgerMonkeys/burger-monkeys-app",
"max_stars_repo_path": "BurgerMonkeys/BurgerMonkeys/ViewModels/FeedViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137026"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Input;
using BurgerMonkeys.Model;
using BurgerMonkeys.Services;
using BurgerMonkeys.Tools;
using BurgerMonkeys.Views;
using Xamarin.CommunityToolkit... | 2.500685 | 1a6e2ff26881fca3a13ed91a110919b6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817807 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "Wizkiller96/WizBot",
"max_stars_repo_path": "src/WizBot/Modules/Gambling/Services/IShopService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137027"
} | starcoder | <reponame>Wizkiller96/WizBot
using System.Threading.Tasks;
namespace WizBot.Modules.Gambling.Services
{
public interface IShopService
{
/// <summary>
/// Changes the price of a shop item
/// </summary>
/// <param name="guildId">Id of the guild in which the shop is</param>
... | 2.508026 | 31fbc8545f3b0c8a2266401b1e434282 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817808 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "RobertAcksel/UnrealCS",
"max_stars_repo_path": "Engine/Plugins/UnrealCS/UECSharpDomain/UnrealEngine/GeneratedScriptFile_Game_64bits/UMaterialExpressionQualitySwitch_FixSize.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137028"
} | starcoder | <reponame>RobertAcksel/UnrealCS<filename>Engine/Plugins/UnrealCS/UECSharpDomain/UnrealEngine/GeneratedScriptFile_Game_64bits/UMaterialExpressionQualitySwitch_FixSize.cs
#if WITH_GAME
#if PLATFORM_64BITS
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace UnrealEngine
{
... | 1.938097 | f1f1226e516f1a98a3166b2a381e4bb7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817809 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SafetyCone/R5T.S0030",
"max_stars_repo_path": "source/R5T.S0030/Code/Repositories/Interfaces/IServiceComponentDataIdentity.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137029"
} | starcoder | <gh_stars>0
using System;
namespace R5T.S0030.Repositories
{
public interface IServiceComponentDataIdentity : ITypeNamedCodeFilePathed
{
}
}
| 0.537339 | a4d1ab3feeb0aed6e72a6117104dea2c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817810 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jewmin/astd",
"max_stars_repo_path": "System.Net.Json/JsonObject.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137030"
} | starcoder | <reponame>jewmin/astd
using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
namespace System.Net.Json
{
/// <summary>
/// Common object for all JSON data structures.
/// </summary>
public abstract class JsonObject
{
private string _name;
/// <summary... | 3.155607 | cb95a682593c40d9e8f0ab62b1c9eb57 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817811 | {
"extension": "c-sharp",
"max_stars_count": "20.0",
"max_stars_repo_name": "brpanask/azure-sdk-for-net",
"max_stars_repo_path": "sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/JsonFormat.Serialization.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137031"
} | starcoder | <filename>sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/JsonFormat.Serialization.cs
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Collections.Generic;
using System.Text.Json;
using... | 1.708929 | 72144c2f5a475171110be59a7fd33b89 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817812 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "eoin55/HoneyBear.Spy",
"max_stars_repo_path": "Src/HoneyBear.Spy.Sample.Host.Web/Infrastructure/IoC/WebApiAutofacModule.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137032"
} | starcoder | using System.IO;
using System.Web;
using System.Web.Hosting;
using System.Web.Http;
using Autofac;
namespace HoneyBear.Spy.Sample.Host.Web.Infrastructure.IoC
{
internal class WebApiAutofacModule : Module
{
protected override void Load(ContainerBuilder builder)
{
builder
... | 1.895056 | 36bd593f5da6c4a420f8802b09a79a57 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817813 | {
"extension": "c-sharp",
"max_stars_count": "439.0",
"max_stars_repo_name": "monodop/DefaultEcs",
"max_stars_repo_path": "source/DefaultEcs/Components.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137033"
} | starcoder | <reponame>monodop/DefaultEcs<filename>source/DefaultEcs/Components.cs
using System.Runtime.CompilerServices;
namespace DefaultEcs
{
/// <summary>
/// Provides a fast access to the components of type <typeparamref name="T"/>.
/// </summary>
/// <typeparam name="T">The type of the component.</typeparam>... | 2.703441 | 2f37c7e46f097c67d768506f0f028082 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817814 | {
"extension": "c-sharp",
"max_stars_count": "41.0",
"max_stars_repo_name": "commit-n-run/dataobjects-net",
"max_stars_repo_path": "Orm/Xtensive.Orm/Sql/ValueTypeMapping/TypeMappingRegistryBuilder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137034"
} | starcoder | <filename>Orm/Xtensive.Orm/Sql/ValueTypeMapping/TypeMappingRegistryBuilder.cs
// Copyright (C) 2012 Xtensive LLC.
// All rights reserved.
// For conditions of distribution and use, see license.
// Created by: <NAME>
// Created: 2012.06.07
using System;
using System.Collections.Generic;
using System.Data.Common;
us... | 2.091947 | 18fe5fe2ace724162609e465d00c7ebf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817815 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "KatoTek/Gar",
"max_stars_repo_path": "Gar.Client.Design/ViewModels/EncodingToolsViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137035"
} | starcoder | using Gar.Client.Contracts.ViewModels;
using Gar.Root.Ui;
namespace Gar.Client.Design.ViewModels
{
public class EncodingToolsViewModel : ViewModelRoot, IEncodingToolsViewModel
{
#region properties
public IUrlEncoderViewModel UrlEncoderViewModel => new UrlEncoderViewModel();
public ove... | 1.176076 | d83fd33a622224e57bb4007c69d30a10 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817816 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "valdisiljuconoks/Foundation",
"max_stars_repo_path": "src/Foundation/Features/Header/IHeaderViewModelFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137036"
} | starcoder | <reponame>valdisiljuconoks/Foundation
using EPiServer.Core;
using Foundation.Features.Home;
namespace Foundation.Features.Header
{
public interface IHeaderViewModelFactory
{
HeaderViewModel CreateHeaderViewModel(IContent content, HomePage home);
HeaderLogoViewModel CreateHeaderLogoViewModel();... | 1.136409 | 103bfd25b1a9b214dda1bc119674d79d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817817 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "garoymsft/SCMScaleUnitDevTools",
"max_stars_repo_path": "src/CLI/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137037"
} | starcoder | <filename>src/CLI/Program.cs<gh_stars>0
using System.Collections.Generic;
using System.Threading.Tasks;
using CLIFramework;
namespace CLI
{
public class Program
{
public static async Task Main(string[] args)
{
CLIOption enableScaleUnitFeatureOption = new CLIOption() { Name = "Enable... | 2.705621 | 82b2cec2acdf7577bbc562060f7797f6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.