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 | 8839212 | {
"extension": "c-sharp",
"max_stars_count": "178.0",
"max_stars_repo_name": "Alan-Baylis/DMSkin-Wallpaper-Maker",
"max_stars_repo_path": "Wallpaper.Maker/LibVLCSharp/Shared/Structures/ModuleDescription.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158432"
} | starcoder | <filename>Wallpaper.Maker/LibVLCSharp/Shared/Structures/ModuleDescription.cs
using System;
using System.Runtime.InteropServices;
namespace LibVLCSharp.Shared.Structures
{
// TODO: cleanup
public unsafe partial class ModuleDescription : IDisposable
{
[StructLayout(LayoutKind.Sequential)]
pu... | 2.178183 | 1b730eadc7229e7ce6ec0dc1ec65a582 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839213 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "knyzorg/Infobase",
"max_stars_repo_path": "Models/Metadata/CSVColumnAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158433"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Reflection;
namespace Models.Metadata
{
[AttributeUsage(AttributeTargets.Property)]
public class CSVColumnAttribute : Attribute
{
public string CSVColumnName { get; set; }
public CS... | 2.454362 | 518aba535eedd7e0fc2defdfaa8a80b4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839214 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "codiply/epsilon",
"max_stars_repo_path": "Epsilon/Epsilon.Logic/Constants/AspNetRole.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158434"
} | starcoder | <gh_stars>1-10
namespace Epsilon.Logic.Constants
{
public class AspNetRole
{
public const string Admin = "Admin";
public const string Translator = "Translator";
public const string AdminOrTranslator = "Admin,Translator";
}
}
| 1.404883 | 628712d5d12d56b3ecf552f17a1cad69 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839215 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cadsit/xamarin-macios",
"max_stars_repo_path": "msbuild/Xamarin.MacDev.Tasks/MsBuildTasks/Delete.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158435"
} | starcoder | using Xamarin.MacDev.Tasks;
namespace Microsoft.Build.Tasks
{
public class Delete : DeleteBase
{
public override bool Execute ()
{
Log.LogTaskName ("Delete");
Log.LogTaskProperty ("Files", Files);
Log.LogTaskProperty ("TreatErrorsAsWarnings", TreatErrorsAsWarnings);
return base.Execute ();
}
}
}... | 1.615873 | 928f2515486eedcc4dfb89fdb704159b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839216 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AbeEveland/Smash_Combos",
"max_stars_repo_path": "Controllers/TokenGenerator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158436"
} | starcoder | using System;
using System.IdentityModel.Tokens.Jwt;
using System.Linq;
using System.Security.Claims;
using System.Text;
using System.Text.Json;
using Microsoft.IdentityModel.Tokens;
namespace Smash_Combos.Controllers
{
public class TokenGenerator
{
private string JWT_KEY;
public TokenGenerato... | 2.646622 | d9811cf8b72e9e807f32f6b0b7cb31cf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839217 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JonAnders/NHtmlUnit",
"max_stars_repo_path": "app/NHtmlUnit/Generated/Javascript/Host/Dom/Selection.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158437"
} | starcoder | <reponame>JonAnders/NHtmlUnit<gh_stars>0
// Generated class v2.19.0.0, don't modify
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Linq;
using System.Text;
namespace NHtmlUnit.Javascript.Host.Dom
{
public partial class Selection : NHtmlUnit.Javascript.SimpleScrip... | 1.950523 | 8f9d71e6c13397925895014b4b84a471 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839218 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "qwerty11aa/CTSTest",
"max_stars_repo_path": "CTS Manual Input/Models/Dictionary/WagonScalesLocations.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158438"
} | starcoder | using CTS_Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace CTS_Manual_Input.Models.Dictionary
{
public class WagonScalesLocations
{
public WagonScale WagonScale { get; set; }
public SelectList Locations { get; set; }
... | 1.356208 | be1bbaff42cc1312d8d3bee94fa9522a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839219 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "amenkes/HL7Parser",
"max_stars_repo_path": "Models/Messages/AdmitDischargeTransferMessages/CancelPendingDischarge.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158439"
} | starcoder | <reponame>amenkes/HL7Parser<filename>Models/Messages/AdmitDischargeTransferMessages/CancelPendingDischarge.cs
using HL7Data.Contracts.Messages.AdmitDischargeTransferMessages;
using HL7Data.Models.Types;
namespace HL7Data.Models.Messages.AdmitDischargeTransferMessages
{
public class CancelPendingDischarge : BaseAdm... | 1.281274 | d819b36f100b071bd9e29889a6040fa4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839220 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MoofyWoofy/asp.net-webform",
"max_stars_repo_path": "routes/default.aspx.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158440"
} | starcoder | <filename>routes/default.aspx.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Data.SqlClient;
using System.Configuration;
namespace AWAD_Assignment.routes
{
public partial class index1 : ... | 2.403449 | 3bb9456b8dc124de5edfd73b415cd045 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839221 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "skywolf829/Tiled-Maze-Generation",
"max_stars_repo_path": "Assets/Scripts/Editor/TilePathGenerator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158441"
} | starcoder | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using UnityEditor;
using Assets.Scripts.Editor;
public class TilePathGenerator : MonoBehaviour {
private int maxNumTilesPerType;
private int numPossibleExits;
private int detail;
private string saveLocati... | 2.574347 | 604722bef0c237ed852d7d16f989c211 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839222 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "yannisgu/Umbraco-CMS",
"max_stars_repo_path": "src/Umbraco.Web/PropertyEditors/ListViewPropertyEditor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158442"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Umbraco.Core;
using Umbraco.Core.Models;
using Umbraco.Core.PropertyEditors;
namespace Umbraco.Web.PropertyEditors
{
[PropertyEditor(Constants.PropertyEditors.ListVie... | 2.052461 | d8ada958224f1ce27e9bdeffa262fcf8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839223 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Dyl178/The-Quest-for-Adventure",
"max_stars_repo_path": "Maker Fare Project-C/Assets/Custom Assets/Health.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158443"
} | starcoder | <gh_stars>1-10
using UnityEngine;
using System.Collections;
public class Health : MonoBehaviour {
public int PH = 100;
public int Damage = 20;
void SubtractByTwenty (){
int b = PH - Damage;
}
}
| 1.921024 | e62665508a6cc00f620b4303ea54137d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839224 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "rkg823/TplWorkflow",
"max_stars_repo_path": "src/Samples/ConsoleApp/Common/NotificationLibrary/MessageCreator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158444"
} | starcoder | using CommonModels;
using Microsoft.Extensions.Logging;
using NotificationLibrary.Contracts;
using System.Threading;
using System.Threading.Tasks;
namespace NotificationLibrary
{
public class MessageCreator : IMessageCreator
{
private readonly ILogger<MessageCreator> logger;
public MessageCreator(ILogger... | 2.664219 | 348040ab21d881b841a977c31cdbd166 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839225 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "ydwj/Unity-ECS-FpsGame",
"max_stars_repo_path": "Assets/Scripts/ECS/System/BulletSystem.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158445"
} | starcoder | using Unity.Entities;
using Unity.Jobs;
using Unity.Transforms;
using Unity.Mathematics;
public class BulletSystem : SystemBase
{
EndSimulationEntityCommandBufferSystem endSimulationEcbSystem;
protected override void OnCreate()
{
base.OnCreate();
endSimulationEcbSystem = World.GetOrCreateSy... | 1.936433 | dfb2ed5a3845f2cf4f1e852f949cd931 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839226 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "thangchung/coolstore-moduliths",
"max_stars_repo_path": "src/CoolStore.UI.Blazor/GraphQL/Generated/GetProductsOperation.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158446"
} | starcoder | <gh_stars>10-100
using System;
using System.Collections;
using System.Collections.Generic;
using StrawberryShake;
namespace CoolStore.UI.Blazor
{
[System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "11.0.0")]
public class GetProductsOperation
: IOperation<IGetProducts>
{
public strin... | 2.238908 | 1bec9349eea7dd55cf91b290f710a45f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839227 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "dandar28/ClangNet",
"max_stars_repo_path": "ClangNet/Managed/Services/Token/ClangTokenSet.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158447"
} | starcoder | <filename>ClangNet/Managed/Services/Token/ClangTokenSet.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using ClangNet.Native;
namespace ClangNet
{
/// <summary>
/// Managed Clang Token Set
/// </summary>
public class ClangTokenSet : IDisposa... | 2.581614 | 9df4e0e2a749867a0b0f44aee7b3bb0a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839228 | {
"extension": "c-sharp",
"max_stars_count": "137.0",
"max_stars_repo_name": "jakubpas/biodotnet",
"max_stars_repo_path": "Source/Bio.Core/IO/Newick/NewickFormatter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158448"
} | starcoder | <gh_stars>100-1000
using System;
using System.IO;
using System.Text;
using Bio.Extensions;
using Bio.Phylogenetics;
using Bio.Properties;
using System.Globalization;
using System.Collections.Generic;
namespace Bio.IO.Newick
{
/// <summary>
/// Formats a PhylogeneticTree object into newick text (usually a fil... | 2.943269 | fbe8eb81280e3209316f63eedf5efc95 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839229 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "mskcc/Medidata.RWS.NET",
"max_stars_repo_path": "Medidata.RWS.NET/Extras/AuditEvent/ODMAdapter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158449"
} | starcoder | using Medidata.RWS.Core.Requests;
using Medidata.RWS.Core.Requests.ODM_Adapter;
using System;
using System.Linq;
using System.Web;
namespace Medidata.RWS.Extras.AuditEvent
{
/// <summary>
/// A data fetcher / parser using a connection to RWS and a `subscriber` class provided by the client (end user)
/// ... | 2.575908 | cc95c76e587166aaf19e87a9777b1543 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839230 | {
"extension": "c-sharp",
"max_stars_count": "651.0",
"max_stars_repo_name": "Anjiang-Wei/dafny",
"max_stars_repo_path": "Source/XUnitExtensions/FileTheoryDiscoverer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158450"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using Xunit.Abstractions;
using Xunit.Sdk;
namespace XUnitExtensions {
public class FileTheoryDiscoverer : TheoryDiscoverer {
public FileTheoryDiscoverer(IMessageSink diagnosticMessageSink) : base(diagnosticMessageSink) {
}
public overr... | 2.228425 | 7852ef1e36ade795625f7ae27133554b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839231 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "FlaviusHouk/AvalonStudio",
"max_stars_repo_path": "AvalonStudio/AvalonStudio.Languages.CPlusPlus/CPlusPlusEditorProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158451"
} | starcoder | <reponame>FlaviusHouk/AvalonStudio
using AvalonStudio.Documents;
using AvalonStudio.Extensibility;
using AvalonStudio.Extensibility.Editor;
using AvalonStudio.Extensibility.Studio;
using AvalonStudio.Projects;
using AvalonStudio.Shell;
using System.IO;
using System.Threading.Tasks;
namespace AvalonStudio.Languages.CP... | 1.782824 | 541713edb04d001da524ea5c28ef2367 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839232 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "uk-gov-mirror/defra.prsd-weee",
"max_stars_repo_path": "src/EA.Weee.Web/ViewModels/Shared/Aatf/AatfEditContactAddressViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158452"
} | starcoder | namespace EA.Weee.Web.ViewModels.Shared.Aatf
{
using System;
using EA.Weee.Core.AatfReturn;
public class AatfEditContactAddressViewModel
{
public Guid Id { get; set; }
public AatfContactData ContactData { get; set; }
public AatfData AatfData { get; set; }
public Gui... | 1.352225 | 0bc4047c6fae852725548b934259d530 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839233 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Inedo/inedosql",
"max_stars_repo_path": "inedosql/SqlServer/Scripts.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158453"
} | starcoder | using System;
using System.IO;
using System.Text;
namespace Inedo.DbUpdater.SqlServer
{
internal static class Scripts
{
private static readonly Lazy<string> initialize = new(() => Read("Initialize.sql"));
private static readonly Lazy<string> recordExecution = new(() => Read("RecordExecution.sq... | 2.137438 | fa3e8d569513b7786901a2b4b91de0d1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839234 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "eshava/transition",
"max_stars_repo_path": "Eshava.Test.Transition/Models/AdditionalPropertyDataTwo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158454"
} | starcoder | using Eshava.Core.Extensions;
using Eshava.Transition.Interfaces;
namespace Eshava.Test.Transition.Models
{
public class AdditionalPropertyDataTwo : IEmpty
{
public string Eta { get; set; }
public string Theta { get; set; }
public string AttributeEta { get; set; }
public string AttributeTheta { get; set; }
... | 1.768844 | a132081816375b0e068652c797af3db4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839235 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "oplaner4/FamilyTreeTools",
"max_stars_repo_path": "FamilyTreeTools.Entities/References.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158455"
} | starcoder | <reponame>oplaner4/FamilyTreeTools
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
namespace FamilyTreeTools.Entities
{
[Serializable]
[JsonObject(MemberSerialization.OptIn)]
public class References
{
protected void Initialize(Member source)
{
... | 2.238841 | cf4a2d9c6925713a4933c3bf2dcdfee5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839236 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Baka632/LiveMusicLite",
"max_stars_repo_path": "Commands/MediaCommand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158456"
} | starcoder | using LiveMusicLite.Models;
using LiveMusicLite.Services;
using LiveMusicLite.Views;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.Media.Playback;
namespace LiveMusicLite.Commands
{
public class MediaCommand : DelegateCommand
... | 2.422052 | d1c5347ec5fe05155f3e7a0c7a72aee6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839237 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mauricemarkvoort/MvvmCross",
"max_stars_repo_path": "MvvmCross/Windows/Wpf/Views/IMvxWindow.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158457"
} | starcoder | using MvvmCross.Core.ViewModels;
using MvvmCross.Core.Views;
namespace MvvmCross.Wpf.Views
{
public interface IMvxWindow
{
string Identifier { get; set; }
}
} | 1.376812 | e04cfd68f32b35ee6c90862963e4a095 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839238 | {
"extension": "c-sharp",
"max_stars_count": "558.0",
"max_stars_repo_name": "MicroWorldwide/ultraviolet",
"max_stars_repo_path": "Source/Ultraviolet.Presentation.Compiler/Shared/LegacyExpressionCompiler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158458"
} | starcoder | <filename>Source/Ultraviolet.Presentation.Compiler/Shared/LegacyExpressionCompiler.cs
#if LEGACY_COMPILER
using System;
using System.CodeDom.Compiler;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Reflection;
using Syst... | 2.090171 | 3238d462b562f27a8ed587baacb293cd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839239 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "john-clark/rust-oxide-umod",
"max_stars_repo_path": "oxide/plugins/rust/Agriblock.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158459"
} | starcoder | using UnityEngine;
using System.Collections.Generic;
namespace Oxide.Plugins
{
[Info("Agriblock", "Death", "1.0.5")]
[Description("Forces configured plant types to only be planted in planters.")]
class Agriblock : RustPlugin
{
#region Hooks
private void OnEntityBuilt(Planner plan, Game... | 2.192736 | c4d3dbac04c7232d9b59ad062bf975ca |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839240 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "OldSecureIQLab/MyWarez",
"max_stars_repo_path": "MyWarez/Plugins/Donut/DonutShellcode.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158460"
} | starcoder | using System;
using System.IO;
using DonutCS;
using DonutCS.Structs;
using MyWarez.Core;
namespace MyWarez.Plugins.Donut
{
public abstract class DonutShellcode : IShellcodeX84
{
public DonutShellcode(byte[] input, string fileExtension, int bypass = 3, string className = null, string method = null, s... | 2.217566 | 0796e411ccc961bd3ae82c6c86f55327 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839241 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DavidMartinSerrano/MartianRobots.Client",
"max_stars_repo_path": "src/Domain/RobotViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158461"
} | starcoder | using RodriBus.MartianRobots.Domain.RobotTroubles;
using System;
using System.Collections.Generic;
using System.Diagnostics;
namespace RodriBus.MartianRobots.Domain
{
/// <summary>
/// Planetary robot.
/// </summary>
[DebuggerDisplay("{Coordinates.DebuggerDisplay,nq} - {Orientation,nq}")]
public c... | 2.662898 | 9358c30a55f95660f3f071ff39a24c8a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839242 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "honeymustard/azure-function-sample",
"max_stars_repo_path": "Startup.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158462"
} | starcoder | <filename>Startup.cs
using Microsoft.Azure.Functions.Extensions.DependencyInjection;
using Microsoft.Extensions.DependencyInjection;
using Honeymustard.Serivces;
[assembly: FunctionsStartup(typeof(Honeymustard.Startup))]
namespace Honeymustard
{
public class Startup : FunctionsStartup
{
public overrid... | 1.846062 | bb70443453e95d50eaf75be0370fc178 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839243 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "ga-explorer/GeometricAlgebraLib",
"max_stars_repo_path": "GeometricAlgebraFulcrumLib/GeometricAlgebraFulcrumLib/Storage/LinearAlgebra/Matrices/Dense/LinMatrixComputedDenseStorage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:15846... | starcoder | using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Runtime.CompilerServices;
using GeometricAlgebraFulcrumLib.Storage.LinearAlgebra.Vectors.Dense;
using GeometricAlgebraFulcrumLib.Utilities.Structures.Records;
namespace GeometricAlgebraFulcrumLib.Sto... | 2.499915 | 48b1ac84922d411f13f8d0a1ca43980f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839244 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "vrishe/Roslynator",
"max_stars_repo_path": "source/Refactorings/Refactorings/ReplaceStatementWithIf/ReplaceReturnStatementWithIfStatementRefactoring.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158464"
} | starcoder | // Copyright (c) <NAME>. All rights reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.CodeAnalysis.CSharp.Syntax;
namespace Roslynator.CSharp.Refactorings.ReplaceStatementWithIf
{
internal class ReplaceReturnStatementWithIfState... | 2.107812 | 536a7e023b869d0da65e2d942e82173f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839245 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "symonhasan/onion-architecture",
"max_stars_repo_path": "OA.Service/ITouristPlaceService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158465"
} | starcoder | using OA.Data;
using System.Collections.Generic;
namespace OA.Service
{
public interface ITouristPlaceService
{
IEnumerable<TouristPlace> GetTouristPlaces();
TouristPlace GetTouristPlace(int id);
void InsertTouristPlace(TouristPlace entity);
void UpdateTouristPlace(TouristPlace... | 1.735258 | 0089390f265d41ed8660bb1ae7155d22 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839246 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lowseven/teacher-control-core",
"max_stars_repo_path": "src/TeacherControl.Common/Extensors/UtilsExtensors.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158466"
} | starcoder | <filename>src/TeacherControl.Common/Extensors/UtilsExtensors.cs
using Newtonsoft.Json.Linq;
using System;
using System.Collections;
using System.Collections.Generic;
namespace TeacherControl.Common.Extensors
{
public static class UtilsExtensors
{
public static int ToInt32(this string curr)
{
... | 2.846897 | 7a8cea9364ef5e29a87cc0979d6123c3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839247 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JTOne123/AnyConfig",
"max_stars_repo_path": "AnyConfig/AnyConfig.Tests/LegacySettingNameConfiguration.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158467"
} | starcoder | namespace AnyConfig.Tests
{
public class LegacySettingNameConfiguration
{
[LegacyConfigurationName(settingName: "CustomName")]
public string AlternateName { get; set; }
}
}
| 1.741649 | eea8b8d80f42aa0e3796691530680799 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839248 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tigeryzx/MediaShare",
"max_stars_repo_path": "aspnet-core/MediaShare.VideoScan/CoverManager.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158468"
} | starcoder | namespace MediaShare.VideoScan
{
partial class CoverManager
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... | 1.96073 | f6d45ad587a81b255f14bb7d1b46e99e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839249 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "fel88/ConvNetPort",
"max_stars_repo_path": "ConvNetTester/Experience.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158469"
} | starcoder | namespace ConvNetTester
{
// An agent is in state0 and does action0
// environment then assigns reward0 and provides new state, state1
// Experience nodes store all this information, which is used in the
// Q-learning update step
public class Experience
{
public Experience() { }
... | 2.636441 | 450e6979d1ba710d334c9bf5e21792e1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839250 | {
"extension": "c-sharp",
"max_stars_count": "36.0",
"max_stars_repo_name": "JTOne123/SAHB.GraphQLClient",
"max_stars_repo_path": "src/SAHB.GraphQLClient/Executor/GraphQLExecutorResponse.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158470"
} | starcoder | using System.Net.Http.Headers;
namespace SAHB.GraphQLClient.Executor
{
public class GraphQLExecutorResponse
{
public string Response { get; set; }
public HttpResponseHeaders Headers { get; set; }
}
}
| 1.386275 | 3250a2ac7fe715d55276d24271405a41 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839251 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "romarioGI/diploma",
"max_stars_repo_path": "source/ParserSubsystem/Word.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158471"
} | starcoder | <reponame>romarioGI/diploma<filename>source/ParserSubsystem/Word.cs
namespace ParserSubsystem
{
public abstract class Word
{
public abstract override string ToString();
}
} | 1.610024 | feb0afc89474799b6ebf315c174481c6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839252 | {
"extension": "c-sharp",
"max_stars_count": "34.0",
"max_stars_repo_name": "S41L0R/Cafe-Shader-Studio",
"max_stars_repo_path": "AGraphicsLibrary/bagllmap/LightEnvObject.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158472"
} | starcoder | <reponame>S41L0R/Cafe-Shader-Studio
using System;
using System.Collections.Generic;
using System.Text;
using AampLibraryCSharp;
namespace AGraphicsLibrary
{
public class LightEnvObject
{
private ParamObject Parent;
public string Type
{
get { return Parent.GetEntryValue<Str... | 2.2361 | 1a72ca22a4b30bcdb3f2070a0931f21d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839253 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Roman-Dementiev/Dwares",
"max_stars_repo_path": "Druid/Druid/Xaml/Instance.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158473"
} | starcoder | using System;
using Dwares.Dwarf;
using Dwares.Dwarf.Runtime;
using Dwares.Druid.Satchel;
using Xamarin.Forms.Xaml;
namespace Dwares.Druid.Xaml
{
public class Instance : IMarkupExtension
{
public string Class { set; get; }
public object ProvideValue(IServiceProvider serviceProvider)
{
return AssetLocator... | 2.356357 | 70619951b784e801d394dd8cfaf180f1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839254 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "laingsimon/vcdb",
"max_stars_repo_path": "vcdb.MySql/SchemaBuilding/MySqlDefinitionExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158474"
} | starcoder | <reponame>laingsimon/vcdb
using System.Text.RegularExpressions;
namespace vcdb.MySql.SchemaBuilding
{
public static class MySqlDefinitionExtensions
{
public static string UnwrapDefinition(this string definition)
{
if (string.IsNullOrEmpty(definition))
return null;
... | 2.483176 | f5e1268c2d32c109b66457e5dc716826 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839255 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RossLieberman/NEST",
"max_stars_repo_path": "src/Tests/Search/Percolator/PercolateCount/PercolateCountUrlTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158475"
} | starcoder | using System.Threading.Tasks;
using Nest;
using Tests.Framework;
using Tests.Framework.MockData;
using static Tests.Framework.UrlTester;
namespace Tests.Search.Percolator.PercolateCount
{
public class CountPercolateUrlTests
{
[U] public async Task Urls()
{
var id = "name-of-doc";
var index = "indexx";
... | 1.916929 | 72eec015efed0142f675fc324fe004d0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839256 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "bswanson58/NoiseMusicSystem",
"max_stars_repo_path": "TuneArchiver/ViewModels/ArchiveCreatorViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158476"
} | starcoder | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.IO;
using System.Linq;
using System.Threading;
using Prism.Commands;
using ReusableBits.Mvvm.ViewModelSupport;
using TuneArchiver.Interfaces;
using TuneArchiver.Models;
using TuneArchiver.Platform;
namespace TuneArchive... | 2.081932 | 989816a2887369044ceae76f3d33b673 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839257 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "science-docs/Scriber",
"max_stars_repo_path": "Scriber/Layout/Document/DocumentElement.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158477"
} | starcoder | using Scriber.Drawing;
using Scriber.Layout.Styling;
using Scriber.Text;
namespace Scriber.Layout.Document
{
public abstract class DocumentElement : AbstractElement
{
public Measurement Measurement { get; private set; }
public Transform? Transform { get; set; }
public bool IsVisible { ... | 2.593207 | 6538117f3b358fe03c00e420ea31b60a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839258 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "1NieR/Telegram.Commands",
"max_stars_repo_path": "CommandService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158478"
} | starcoder | <gh_stars>1-10
using System.Collections.ObjectModel;
using System.Reflection;
using Masya.Telegram.Commands.Abstractions;
using Masya.Telegram.Commands.Attributes;
using Masya.Telegram.Commands.Exceptions;
using Masya.Telegram.Commands.Metadata;
using Microsoft.Extensions.DependencyInjection;
namespace Masya.Telegram.... | 2.516868 | 7d266012931a8ffd6e5c86bb2f1f7d0e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839259 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "Roman-Port/WebPebble",
"max_stars_repo_path": "WebPebble/WebPebble/Services/Projects/TtfToWoff.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158479"
} | starcoder | //I spent two hours on this file only to realize that I just wasn't giving Chrome the right info. crap.
/*using System;
using System.Collections.Generic;
using System.IO;
using System.IO.Compression;
using System.Text;
namespace WebPebble.Services.Projects
{
public static class TtfToWoff
{
private co... | 2.579924 | effd96b7d051d59c8d201e65cd302520 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839260 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "TechWatching/jjgnet-broadcast",
"max_stars_repo_path": "src/JosephGuadagno.Broadcasting.Data/Repositories/EngagementRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158480"
} | starcoder | <filename>src/JosephGuadagno.Broadcasting.Data/Repositories/EngagementRepository.cs
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using JosephGuadagno.AzureHelpers.Cosmos;
using JosephGuadagno.Broadcasting.Domain;
using JosephGuadagno.Broadcasting.Domain.Models;
namespace JosephGuadagno... | 2.794384 | 5aafd3f9bda4f5e73d542f8aef804023 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839261 | {
"extension": "c-sharp",
"max_stars_count": "30.0",
"max_stars_repo_name": "justkao/Bolt",
"max_stars_repo_path": "src/dotnet-bolt/Generators/ClassDescriptor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158481"
} | starcoder | <reponame>justkao/Bolt
using System;
using System.Collections.Generic;
using System.Linq;
namespace Bolt.Tools.Generators
{
public class ClassDescriptor
{
public ClassDescriptor()
{
BaseClasses = Array.Empty<string>();
}
public ClassDescriptor(Type type)
... | 2.424534 | e570d863ca94daf59d211fd9dd19bc62 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839262 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "ogoun/hnsw-sharp",
"max_stars_repo_path": "Src/HNSW.Net/TravelingCosts.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158482"
} | starcoder | // <copyright file="TravelingCosts.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// </copyright>
namespace HNSW.Net
{
using System;
using System.Collections.Generic;
/// <summary>
/// Implementation of distance calculation fro... | 3.252529 | cbda4adbfc6d0b6bba2b2ffb903c8ca7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839263 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "octansIt/environmentassessment",
"max_stars_repo_path": "EnvironmentAssessment.Wizard/Common/VimApi/R/RecommendationReasonCode.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158483"
} | starcoder | namespace EnvironmentAssessment.Common.VimApi
{
public enum RecommendationReasonCode
{
fairnessCpuAvg,
fairnessMemAvg,
jointAffin,
antiAffin,
hostMaint,
enterStandby,
reservationCpu,
reservationMem,
powerOnVm,
powerSaving,
increaseCapacity,
checkResource,
unreservedCapacity,
vmHostHardAffi... | 0.737847 | e12ed4130511e2077a65a5712e94bc6c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839264 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "sky-haihai/THE-DAY-OF-SAGITTARIUS-IV",
"max_stars_repo_path": "Assets/XiheFramework/Services/FlowCanvasSvc.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158484"
} | starcoder | <gh_stars>1-10
using FlowCanvas;
using NodeCanvas.Framework;
namespace XiheFramework {
public static class FlowCanvasSvc {
public static void SetValue<T>(Blackboard blackboard, string key, T value) {
blackboard.SetVariableValue(key, value);
}
public static T GetValue<T>(Blackbo... | 1.948445 | 9623bed8926b78da655d0c255ab457d9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839265 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tobiagru/HoloselectaHoloLensApp",
"max_stars_repo_path": "Scripts/NutriExplainerOrganizer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158485"
} | starcoder | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class NutriExplainerOrganizer : MonoBehaviour {
public static NutriExplainerOrganizer Instance;
public TextMesh HealthyLabel;
public TextMesh UnhealthyLabel;
private void Awake()
{
Instance... | 1.862584 | 8d6133be9361c09506b491009a80125b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839266 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MyJetMarketingBox/MarketingBox.Postback.Service",
"max_stars_repo_path": "src/MarketingBox.Postback.Service.Domain.Models/PostbackResponseStatus.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158486"
} | starcoder | <gh_stars>0
namespace MarketingBox.Postback.Service.Domain.Models
{
public enum PostbackResponseStatus
{
Ok,
Failed
}
} | 0.903184 | 84fb9adb4ff90f244864f53fd0db527a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839267 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "smourier/olewoo",
"max_stars_repo_path": "olewoo/OWModuleConst.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158487"
} | starcoder | <filename>olewoo/OWModuleConst.cs<gh_stars>1-10
/**************************************
*
* Part of OLEWOO - http://www.benf.org (2010-2012)
*
* CopyLeft, but please credit.
*
*/
using System.Collections.Generic;
using System.Runtime.InteropServices.ComTypes;
using olewoo.interop;
namespace olewoo
{
class O... | 2.122889 | 30acae481d129656a3cb0ff2d01d1518 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839268 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "emanu-dev/Thermal-Color-Analyzer",
"max_stars_repo_path": "Form1.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158488"
} | starcoder | namespace ThermalColorAnalyser
{
partial class frmPrincipal
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </s... | 2.009989 | 4b6dde8694e6c95255da945c2f0f1a2e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839269 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "Raindropgame/Ev_game",
"max_stars_repo_path": "Assets/Script/GetFireRandom.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158489"
} | starcoder | <gh_stars>1-10
using UnityEngine;
using System.Collections;
public class GetFireRandom : MonoBehaviour {
void Start () {
MaterialPropertyBlock MB = new MaterialPropertyBlock();
Renderer renderer = this.GetComponent<MeshRenderer>();
renderer.GetPropertyBlock(MB);
MB.SetFloat("_Random"... | 1.917737 | 7746c055367921e0ed7e98c25072733e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839270 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lefevbre-organization/eShopOnContainers",
"max_stars_repo_path": "src/Services/Google/GoogleAccount.API.UnitTest/Controllers/GoogleAccountScopeTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158490"
} | starcoder | <reponame>lefevbre-organization/eShopOnContainers
using Microsoft.AspNetCore.Mvc;
using System.Threading.Tasks;
using Xunit;
using Lefebvre.eLefebvreOnContainers.Services.Google.Account.API;
using Lefebvre.eLefebvreOnContainers.Services.Google.Account.API.Models;
using Lefebvre.eLefebvreOnContainers.BuildingBlocks.Lefe... | 1.882194 | ef6713d6608bf70d738366e439a2d215 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839271 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jkespinosa/MicroServices",
"max_stars_repo_path": "MicroService/Quotation.Api/Controllers/DefaultController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158491"
} | starcoder | using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Quotation.Api.Controllers
{
[ApiController]
[Route("/")]
public class DefaultController : ControllerBase
{
private r... | 2.105322 | 7d03f6641e542234c2742998f33fc589 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839272 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "healthwise-org/NewRelic.Microsoft.ServiceBus",
"max_stars_repo_path": "Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158492"
} | starcoder | using System;
using System.IO;
using NewRelic.Platform.Sdk;
namespace Org.Healthwise.NewRelic.Microsoft.ServiceBus
{
class Program
{
static int Main(string[] args)
{
try
{
// Validate Config Files
CheckConfigFiles();
// S... | 2.504624 | fcc77ac5ad55443ea03f4e835e36a3ae |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839273 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "squibel/XamarinCommunityToolkit",
"max_stars_repo_path": "Toolkit/Effects/Switch/SwitchChangeColor.ios.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158493"
} | starcoder | <filename>Toolkit/Effects/Switch/SwitchChangeColor.ios.cs
using UIKit;
using Xamarin.Forms;
using Xamarin.Forms.Platform.iOS;
using PlatformEffects = Xamarin.Toolkit.Effects.iOS;
using RoutingEffects = Xamarin.Toolkit.Effects;
[assembly: ExportEffect(typeof(PlatformEffects.SwitchChangeColor), nameof(RoutingEffects.Sw... | 2.28345 | 8e1086a00f4e8e27b3ecee5172e35d52 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839274 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "gabrielcalegari/OCSPResponder",
"max_stars_repo_path": "src/OcspResponder.Core/RevokedInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158494"
} | starcoder | using System;
namespace OcspResponder.Core
{
/// <summary>
/// Info about revocation
/// </summary>
public class RevokedInfo
{
/// <summary>
/// When it was revoked
/// </summary>
public DateTimeOffset Date { get; set; }
/// <summary>
... | 2.135884 | 147084a4376479f652272fc84440daa9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839275 | {
"extension": "c-sharp",
"max_stars_count": "205.0",
"max_stars_repo_name": "jingliang2005/MitsubishiPlcProtocol",
"max_stars_repo_path": "Common/AcquireValue.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158495"
} | starcoder | using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.Text;
using Vila.Common;
using Vila.Communication.Common;
using Vila.Communication.Data;
namespace InControls.Common
{
/// <summary>
/// IO点/软单元/采集点的值
/// 这是换算后的采集值,在这里保存多个状态(版本)的值,以便于系统的管理
/// </summary>
[Struct... | 2.158087 | c3099333c8f35309df39dca86d056f77 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839276 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tward17/GardenControl",
"max_stars_repo_path": "GardenControlServices/Interfaces/IMeasurementService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158496"
} | starcoder | <filename>GardenControlServices/Interfaces/IMeasurementService.cs
using GardenControlCore.Models;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace GardenControlServices.Interfaces
{
public interface IMeasurementService
{
public Task<M... | 2.13398 | b5c5fa39f0a0f7dc597fd3ecb493a574 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839277 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "parvbhullar/rdlc.report.engine",
"max_stars_repo_path": "Oranikle.Report.Engine/Definition/ReportClass.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158497"
} | starcoder | /* ====================================================================
*/
using System;
using System.Xml;
using System.Reflection;
namespace Oranikle.Report.Engine
{
///<summary>
/// ReportClass represents the Class report element.
///</summary>
[Se... | 2.501745 | 0fbc2a89f56d0c22366a7fce6a81d582 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839278 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "nguyenthithuhuong2k/Casinodev69",
"max_stars_repo_path": "WebCasino/WebCasino.Web/Views/Wallet/_AddWithdrawFundsPartial.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:158498"
} | starcoder | @model CardTransactionViewModel
@{
ViewData["Title"] = "_BalancePartial";
}
<div class="container">
<div class="row">
<div class="col-lg-6 col-md-6 col-xs-6 panel">
<div class="card card-coin card-plain">
<div class="card-body">
@if (Model.CardSelect.Cou... | 2.459628 | 29176540f0cea565d0da8052be4c7d08 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839279 | {
"extension": "c-sharp",
"max_stars_count": "700.0",
"max_stars_repo_name": "busbina/PdfPig",
"max_stars_repo_path": "src/UglyToad.PdfPig.Fonts/TrueType/Glyphs/IMergeableGlyph.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158499"
} | starcoder | <filename>src/UglyToad.PdfPig.Fonts/TrueType/Glyphs/IMergeableGlyph.cs<gh_stars>100-1000
namespace UglyToad.PdfPig.Fonts.TrueType.Glyphs
{
internal interface IMergeableGlyph
{
IGlyphDescription Merge(IGlyphDescription glyph);
}
} | 1.830665 | 6fe2a12ecd2a60cc5cc92a0d1f50c56f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839280 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "johnkellyoxford/Ceras",
"max_stars_repo_path": "src/Ceras.UnityAddon/Extension.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158500"
} | starcoder | using System;
namespace Ceras
{
using Formatters;
using Resolvers;
using System.Collections.Generic;
using UnityEngine;
using static SerializerBinary;
public static class UnityExtensions
{
static Dictionary<Type, Type> _typeToFormatterType = new Dictionary<Type, Type>
{
// Classic
{ typeof(Vector2... | 2.140233 | 57fea06240b4d130a03af407bc07baad |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839281 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TanukiSharp/MHMonstersElements",
"max_stars_repo_path": "MHMonstersElements/MH.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158501"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml;
namespace MHMonstersElements
{
public class MH
{
public enum ElementType
{
None = -1,
Fire,
Water,
Thunder,
... | 2.612167 | 7f80945a29d93b6955f31e688864af90 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839282 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "manlsc/ESC.Core",
"max_stars_repo_path": "ESC.WebCore/ESC.Infrastructure/DomainObjects/Basic/BLocation.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158502"
} | starcoder | <reponame>manlsc/ESC.Core<gh_stars>1-10
using System;
using System.ComponentModel;
using Dapper.Extensions;
using System.Collections.Generic;
namespace ESC.Infrastructure.DomainObjects
{
public class BLocation : PocoObject
{
public BLocation()
{
Children = new List<BLocation>();
... | 1.858189 | 63b8a209564b49ba6804bcf1a61e05aa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839283 | {
"extension": "c-sharp",
"max_stars_count": "911.0",
"max_stars_repo_name": "cnork/referencesource",
"max_stars_repo_path": "System.ServiceModel/System/ServiceModel/Channels/LayeredChannelFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158503"
} | starcoder | //------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//------------------------------------------------------------
namespace System.ServiceModel.Channels
{
using System.Runtime;
using System.ServiceModel;
abstract class LayeredChanne... | 1.980561 | 5982447673d20ba60f70ac0093bb5d81 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839284 | {
"extension": "c-sharp",
"max_stars_count": "877.0",
"max_stars_repo_name": "bmueller84/Verify",
"max_stars_repo_path": "src/Verify/TargetAssembly.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158504"
} | starcoder | using VerifyTests;
static class TargetAssembly
{
static Assembly? assembly;
public static string ProjectDirectory { get; private set; } = null!;
public static string? SolutionDirectory { get; private set; }
public static void Assign(Assembly assembly)
{
if (TargetAssembly.assemb... | 2.100574 | 2744e1407806a9eef4608c3d504e4d28 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839285 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SorenA/lightops-commerce-gateways-storefront",
"max_stars_repo_path": "src/LightOps.Commerce.Gateways.Storefront/Domain/GraphModels/Types/CurrencyGraphType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158505"
} | starcoder | using GraphQL.Types;
using NodaMoney;
namespace LightOps.Commerce.Gateways.Storefront.Domain.GraphModels.Types
{
public sealed class CurrencyGraphType : ObjectGraphType<Currency>
{
public CurrencyGraphType()
{
Name = "Currency";
Field<StringGraphType, string>()
... | 2.420461 | 49842a5192237e444880fdb640940242 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839286 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mvesign/design-patterns",
"max_stars_repo_path": "DesignPatterns.Creational.AbstractFactory/Abstractions/IFurnitureFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158506"
} | starcoder | namespace DesignPatterns.Creational.AbstractFactory.Abstractions
{
/// <summary>
/// Factory that can create different types of furniture.
/// </summary>
public interface IFurnitureFactory
{
/// <summary>
/// Create a furniture of the type <see cref="IChair"/>.
/// </summary... | 3.171811 | 4a297d7f5844ef77f42b3b33b2aa6919 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839287 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "McSherry/libSemVer.NET",
"max_stars_repo_path": "McSherry.SemanticVersioning/Internals/Shims/StringShim.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158507"
} | starcoder | // Copyright (c) 2015-17 <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, merge, publish, d... | 2.595 | d1dc8bec12f7ffc17dec4b59e412d67c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839288 | {
"extension": "c-sharp",
"max_stars_count": "18.0",
"max_stars_repo_name": "rickardn/Consolas",
"max_stars_repo_path": "Source/UnitTests/ConsoleApp.Core.Tests/Helpers/CommandWithRenderViewArgs.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158508"
} | starcoder | <gh_stars>10-100
namespace Consolas.Core.Tests.Helpers
{
public class CommandWithRenderViewArgs
{
public bool RenderView { get; set; }
}
} | 1.275012 | 4cef564ae00bea5600019d2cfe9ddb44 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839289 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sarwar1072/SRegisProcess",
"max_stars_repo_path": "RegistrationProcess/RegistrationProcess.web/Areas/Identities/Views/_ViewStart.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:158509"
} | starcoder | @*@{
Layout = "_identityLayout";
}*@
@{
Layout = "~/Views/Shared/_Layout.cshtml";
}
| 1.284116 | fb5d12ef4800bc7cd8889f17e54105f4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839290 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pedro-octavio/THEBooks",
"max_stars_repo_path": "backend/THEBooks.Domain/AuthenticationContext/Validators/Commands/AuthenticateUserCommandValidator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158510"
} | starcoder | using FluentValidation;
using THEBooks.Domain.AuthenticationContext.Commands.Requests;
namespace THEBooks.Domain.AuthenticationContext.Validators.Commands
{
public sealed class AuthenticateUserCommandValidator : AbstractValidator<AuthenticateUserCommandRequest>
{
public AuthenticateUserCommandValidato... | 2.62168 | a16542a579e5c22441e79f4f1ed797bf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839291 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "xuchaoqvn/AudioPlayer",
"max_stars_repo_path": "Assets/Scripts/Controller/SongControl.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158511"
} | starcoder | using AudioPlayer.Model;
using static AudioPlayer.Controller.Tools;
namespace AudioPlayer.Controller
{
/// <summary>
/// 歌曲控制
/// </summary>
internal static class SongControl
{
/// <summary>
/// 监听歌曲是否播放完毕
/// </summary>
internal static void ListeningSongOver()
... | 2.29389 | c8113d8ecbebd43aa3eb2199e5ed3de3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839292 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Coestaris/hasm",
"max_stars_repo_path": "HASMLib/Parser/ParseError.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158512"
} | starcoder | <filename>HASMLib/Parser/ParseError.cs
using HASMLib.Parser.SyntaxTokens.SourceLines;
using System.Text;
namespace HASMLib.Parser
{
public class ParseError
{
private const int NullValue = -1;
public override string ToString()
{
return ToString(FileName);
}
... | 2.812731 | ce2b65c4e9fe5126b3218bdffcbfa8c4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839293 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "SkillsFundingAgency/das-levy-transfer-matching-web",
"max_stars_repo_path": "src/SFA.DAS.LevyTransferMatching.Infrastructure/Configuration/LevyTransferMatchingWeb.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158513"
} | starcoder | <gh_stars>1-10
using System;
namespace SFA.DAS.LevyTransferMatching.Infrastructure.Configuration
{
public class LevyTransferMatchingWeb
{
public string RedisConnectionString { get; set; }
public string DataProtectionKeysDatabase { get; set; }
public string UtcNowOverride { get; set; }
... | 1.067036 | 1ce748b0a6c2f60013755b5fb3cda506 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839294 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tinyplasticgreyknight/writeups",
"max_stars_repo_path": "downcasting/Widget2a.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158514"
} | starcoder | public class Widget2 : IWidget {
public IGrommit AttachedGrommit { get; }
public Widget2() {
AttachedGrommit = new DatabaseGrommit(0, DatabasePool.Get());
}
public uint GetSize() {
return AttachedGrommit.GetLength();
}
// ... much further down the file ...
public void ApplyPlumbus(IPlumbus plumbus) {
u... | 2.374991 | 2ed4acaa6344181e28e7f6b568a520aa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839295 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "TryItOnline-Collateral/TioTests",
"max_stars_repo_path": "src/MissingTestsChecker.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158515"
} | starcoder | <reponame>TryItOnline-Collateral/TioTests<filename>src/MissingTestsChecker.cs
using System;
using System.IO;
using System.Linq;
using System.Net.Http;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace TioTests
{
public static class MissingTestsChecker
{
public static void Check(string check... | 2.695076 | c738b05700ce43a6a6decbc5e1d8cce8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839296 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lsoft/CHD",
"max_stars_repo_path": "CHD.Common/Diff/Applier/OnlineDiffApplier.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158516"
} | starcoder | using System;
using CHD.Common.FileSystem;
using CHD.Common.OnlineStatus.Diff.Apply;
using CHD.Common.Sync.Report;
namespace CHD.Common.Diff.Applier
{
public sealed class OnlineDiffApplier : IDiffApplier
{
private readonly IDiffApplier _applier;
private readonly IDiffApplyOnlineStatus... | 2.207494 | 6459da2d1f146122d42c4bd9dfd4f1d4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839297 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "netmatze/NetML",
"max_stars_repo_path": "NetML/SVM/DualPerceptronClassifier.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158517"
} | starcoder | <filename>NetML/SVM/DualPerceptronClassifier.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace NetML.SupportVectorMachine
{
public class DualPerceptronClassifier : Classification
{
private Dictionary<double, List<double[]>> classes;
pr... | 3.165855 | f4382eb48e82b7ddfda64a1a159db472 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839298 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ststeiger/SwissQRBill.NET",
"max_stars_repo_path": "libQrCodeGenerator/Core/SwicoS1Decoder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158518"
} | starcoder | //
// Swiss QR Bill Generator for .NET
// Copyright (c) 2020 <NAME>
// Copyright (c) 2020 <NAME>
// Licensed under MIT License
// https://opensource.org/licenses/MIT
//
using System;
using System.Collections.Generic;
using System.Globalization;
namespace libQrCodeGenerator.SwissQRBill.Generator
{
/// <summary>
... | 2.820158 | 145b23e53a10c23504386825fca91826 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839299 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "erik1066/rules-engine",
"max_stars_repo_path": "src/Models/Operators.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158519"
} | starcoder | <reponame>erik1066/rules-engine
using System.Runtime.Serialization;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace Foundation.RulesEngine.Models
{
[DataContract]
[JsonConverter(typeof(StringEnumConverter))]
public enum Operator
{
Undefined = 0,
[EnumMember(Value = "$... | 2.098822 | 608c60c4a77fc8d90f28509838277522 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839300 | {
"extension": "c-sharp",
"max_stars_count": "1122.0",
"max_stars_repo_name": "4ngelica/HackerRank",
"max_stars_repo_path": "Algorithms/Greedy/Minimum Absolute Difference in an Array/Solution.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158520"
} | starcoder | <filename>Algorithms/Greedy/Minimum Absolute Difference in an Array/Solution.cs
/*
Problem: https://www.hackerrank.com/challenges/minimum-absolute-difference-in-an-array/problem
C# Language Version: 6.0
.Net Framework Version: 4.7
Tool Version : Visual Studio Community 2017
... | 3.852247 | b60c75f38052253ebe68b0e8aab69453 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839301 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "bobo4aces/04.SoftUni-CSharpFundamentals",
"max_stars_repo_path": "01. CSharp Advanced - 02. Multidimensional Arrays/Exercises/Exercises/05. Rubiks Matrix/05. Rubiks Matrix.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158521"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
namespace _05._Rubiks_Matrix
{
class Program
{
static void Main(string[] args)
{
int[] dimensions = Console.ReadLine()
.Split(" ", StringSplitOptions.RemoveEmptyEntries)
.Select(int.P... | 3.557325 | 4c5cf6ef8e2ab68c1a14f0a02a5f0d38 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839302 | {
"extension": "c-sharp",
"max_stars_count": "149.0",
"max_stars_repo_name": "JongHeonChoi/TizenFX",
"max_stars_repo_path": "src/Tizen.NUI/src/internal/WebView/WebViewCertificateReceivedEventArgs.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158522"
} | starcoder | /*
* Copyright (c) 2021 Samsung Electronics Co., Ltd.
*
* 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... | 1.944426 | 1988e5d4a8adbec7c48d2944de9ff680 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839303 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zzlxpgame/mvcpagedlist",
"max_stars_repo_path": "MvcPagedList/Views/Home/Index.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:158523"
} | starcoder | @model PagedList.IPagedList<MvcPagedList.Models.Rkxx>
@using PagedList.Mvc;
@{
Layout = null;
}
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width" />
<link href="~/Content/PagedList.css" rel="stylesheet" type="text/css" />
<title>Index</title>
</head>
<body>
<table ... | 2.35687 | 533c24052c33a8d4fe8831728c527a4e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839304 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pashcovich/More",
"max_stars_repo_path": "src/Hosting/Hosting.Store/Composition.Hosting/SearchContractOptions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158524"
} | starcoder | namespace More.Composition.Hosting
{
using System;
/// <summary>
/// Represents the Search contract options for the <see cref="ContractSettings"/>.
/// </summary>
public class SearchContractOptions
{
/// <summary>
/// Initializes a new instance of the <see cref="SearchContractO... | 2.729028 | 9978fce33b696ec55eef29de55a6e801 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839305 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "KS-D/MVVMTetris",
"max_stars_repo_path": "MVVMTetris/Extensions/ObservableCollectionExtension.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158525"
} | starcoder | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
namespace MVVMTetris.Extensions
{
/// <summary>
/// class <c>ObservableCollectionExtension</c>
/// Extends observable collection with method that allow for groups of items
/// to be added or remove... | 3.77432 | 25cb3ce7867003f949870d83dd133448 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839306 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MartinUbl/IDEG-DiaTrainer",
"max_stars_repo_path": "App/IDEG-DiaTrainer/Messages/InjectBasalMessage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158526"
} | starcoder | <reponame>MartinUbl/IDEG-DiaTrainer
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace IDEG_DiaTrainer.Messages
{
public class InjectBasalMessage
{
public static readonly string Name = "InjectBasalMessage";
... | 2.096098 | 1bf40fe1b1003cb9889ce06178075ab6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839307 | {
"extension": "c-sharp",
"max_stars_count": "35.0",
"max_stars_repo_name": "mvondracek/NetfoxDetective",
"max_stars_repo_path": "GUI/Netfox.Detective/Views/Exports/Converters/CallContentToBool.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158527"
} | starcoder | <reponame>mvondracek/NetfoxDetective
using System;
using System.Globalization;
using System.Windows.Data;
namespace Netfox.Detective.Views.Exports.Converters
{
public class CallContentToBool : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)... | 2.29091 | bbc2126da513a62ca18998761a7d2ecc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839308 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "jefersonsv/ChromeRemoteSharp",
"max_stars_repo_path": "src/ChromeRemoteSharp/DebuggerDomain/SetBlackboxPatternsAsync.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158528"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json.Linq;
namespace ChromeRemoteSharp.DebuggerDomain
{
public partial class DebuggerDomain
{
/// <summary>
/// Replace previous blackbox patterns with passed ones. F... | 2.501055 | 3a8fc6b61fa604379243daffba8634ac |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839309 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Benriya-Tech/BenriyaCore",
"max_stars_repo_path": "Clients/Common/Benriya.Clients.Wasm.Components/Classes/AppClient.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158529"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Benriya.Clients.Wasm.Components.Classes
{
public class AppClient
{
public const string VersionKey = "AppVersion";
}
}
| 1.18666 | 2101c50105393979759d5c278eeab8ae |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839310 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "PNNL-Comp-Mass-Spec/IMS-Informed-Library",
"max_stars_repo_path": "ImsInformed/Statistics/Combinatorics.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158530"
} | starcoder | <reponame>PNNL-Comp-Mass-Spec/IMS-Informed-Library<filename>ImsInformed/Statistics/Combinatorics.cs
// The Software was produced by Battelle under Contract No. DE-AC05-76RL01830
// with the Department of Energy. The U.S. Government is granted for itself and others
// acting on its behalf a nonexclusive, paid-up, irr... | 2.467234 | 0c7b9ad60189100996f395bd4af91c16 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839311 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "Vek17/TabletopTweaks-Core",
"max_stars_repo_path": "TabletopTweaks-Core/NewRules/RuleFortificationCheck.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158531"
} | starcoder | <reponame>Vek17/TabletopTweaks-Core<filename>TabletopTweaks-Core/NewRules/RuleFortificationCheck.cs
using HarmonyLib;
using JetBrains.Annotations;
using Kingmaker.RuleSystem;
using Kingmaker.RuleSystem.Rules;
using Kingmaker.UnitLogic.Parts;
using System;
using System.Collections.Generic;
using System.Linq;
using Syst... | 2.024807 | 4cfe8d69df7865eaa2c22a5231972a68 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.