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 | 8831112 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "berserkguard/ExileNET",
"max_stars_repo_path": "API/Ladders/Ladder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150332"
} | starcoder | <filename>API/Ladders/Ladder.cs
using System.Collections.Generic;
using Newtonsoft.Json.Linq;
namespace ExileNET.Ladders
{
public class Ladder
{
public Ladder(JObject rawData)
{
if (rawData["total"] != null)
Total = int.Parse(rawData["total"].ToString());
... | 3.055699 | 91a66b707a2710077c0092c815bdbdb1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831113 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MazvydasT/Allocation-Re-mapper",
"max_stars_repo_path": "AllocationRerouter/MainWindow.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150333"
} | starcoder | using System;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Shell;
namespace AllocationRerouter
{
/// <summary>
/// Interaction logic for MainWindow.xaml
/// </summary>
public partial class MainWindow : Windo... | 2.171797 | 05cb236ddf7d7dc32e86f6dda36bc2ad |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831114 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "progre/peercaststation",
"max_stars_repo_path": "PeerCastStation/PeerCastStation.HTTP/HTTPDummyOutputStream.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150334"
} | starcoder | <gh_stars>0
// PeerCastStation, a P2P streaming servent.
// Copyright (C) 2011 <NAME> (<EMAIL>)
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
... | 1.920173 | c31928db0c87fdb1c3e9eaea653a5265 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831115 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "sealkeen/NWindowsKits",
"max_stars_repo_path": "NWindowsKits/NWindowsKits/ObjIdl/structs/STATDATA.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150335"
} | starcoder | // This source code was generated by ClangCaster
using System;
using System.Runtime.InteropServices;
namespace NWindowsKits
{
// C:/Program Files (x86)/Windows Kits/10/Include/10.0.18362.0/um/ObjIdl.h:10993
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode)]
public struct STATDATA
... | 1.191588 | e78138264f9d3db274ee487ecf467e31 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831116 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rashtimovani/dada-2021",
"max_stars_repo_path": "gap-overlap/Assets/Scripts/RasHack/GapOverlap/Main/Stimuli/Animation/Rotate.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150336"
} | starcoder | using System;
using UnityEngine;
namespace RasHack.GapOverlap.Main.Stimuli.Animaition
{
public class Rotate : StimuliAnimation
{
#region Fields
private GameObject rotate;
private float cycles;
private Quaternion toLeft;
private Quaternion toRight;
#endregion
... | 2.371218 | 7b16504259317dad1d1b54186f9568c8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831117 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "simonauner/knightbus",
"max_stars_repo_path": "knightbus/src/KnightBus.Core/Sagas/Exceptions/SagaAlreadyStartedException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150337"
} | starcoder | namespace KnightBus.Core.Sagas.Exceptions
{
public class SagaAlreadyStartedException : SagaException
{
public SagaAlreadyStartedException(string partitionKey, string id) : base(partitionKey, id)
{
}
}
} | 1.616209 | 2a61e410534e0495377daa8380a7c548 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831118 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "PermaNulled/OMDUC_EMU_CSharp",
"max_stars_repo_path": "OMDUC_EMU/NetworkProtocols/RequestKeystoneReroll.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150338"
} | starcoder | using System;
namespace NetworkProtocols
{
// Token: 0x0200066C RID: 1644
public class RequestKeystoneReroll : BotNetMessage
{
// Token: 0x060039AD RID: 14765 RVA: 0x0001FDFC File Offset: 0x0001DFFC
public RequestKeystoneReroll()
{
this.InitRefTypes();
base.PacketType = 3720101895u;
}
... | 1.767067 | a1b7a82a391da38b118c9f73f7bc84cb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831119 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jiowcl/Zeron",
"max_stars_repo_path": "Zeron/Core/Base/ConfigurationTable.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150339"
} | starcoder | // Zeron - Scheduled Task Application for Windows OS
// Copyright (c) 2019 Jiowcl. All rights reserved.
using NLog.Internal;
namespace Zeron.Core.Base
{
[Config]
/// <summary>
/// ConfigurationTable
/// </summary>
public abstract class ConfigurationTable
{
/// <summary>
/// L... | 1.656681 | bf2b1b2a07820710fba8b417ea85e6f6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831120 | {
"extension": "c-sharp",
"max_stars_count": "42.0",
"max_stars_repo_name": "dkozar/edriven-gui",
"max_stars_repo_path": "eDriven/eDriven.Gui/Components/DropDownList/FocusEvent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150340"
} | starcoder | using eDriven.Core.Events;
namespace eDriven.Gui.Components
{
public class FocusEvent : Event
{
public const string FOCUS_IN = "focusIn";
public const string FOCUS_OUT = "focusOut";
public DisplayListMember RelatedObject { get; set; }
public FocusEvent(string type) : base(typ... | 2.060603 | d09e0c19ce8dcaca01765fee0f333674 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831121 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "StasiS-web/SoftuniCourse",
"max_stars_repo_path": "Programming Basic/First Steps in Coding - More Exercises/04VegetableMarket/04VegetableMarket.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150341"
} | starcoder | <filename>Programming Basic/First Steps in Coding - More Exercises/04VegetableMarket/04VegetableMarket.cs
using System;
namespace VegetableMarket
{
class Program
{
static void Main(string[] args)
{
double vegetalePricePerKg = double.Parse(Console.ReadLine());
... | 3.23563 | 34afa5c47271dbe2348e312832e4e3ba |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831122 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "abmes/Abmes.DataCollector",
"max_stars_repo_path": "Abmes.DataCollector.Vault.Amazon/ContainerRegistrations.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150342"
} | starcoder | using Abmes.DataCollector.Vault.Amazon.Storage;
using Abmes.DataCollector.Vault.Storage;
using Autofac;
namespace Abmes.DataCollector.Vault.Amazon
{
public static class ContainerRegistrations
{
public static void RegisterFor(ContainerBuilder builder)
{
builder.RegisterTyp... | 1.45436 | 3a782ce3d37a0379bd63cc12eee981cc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831123 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "EstasAnt/Estsoul",
"max_stars_repo_path": "Assets/ProCamera2D/Examples/TopDownShooter/Scripts/Enemy/PatrolWaypoint.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150343"
} | starcoder | using UnityEngine;
using System.Collections;
public class PatrolWaypoint : MonoBehaviour
{
public float StopProbability = .5f;
public float StopDuration = 3f;
public float StopDurationVariation = 2f;
}
| 1.574867 | bee5bc191bfd5ab9fe93f56c4248d092 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831124 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "aqa510415008/Sunny",
"max_stars_repo_path": "Sunny/Services/ServiceDiscovery/_Interfaces/ILoadBalancingRandomService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150344"
} | starcoder | <filename>Sunny/Services/ServiceDiscovery/_Interfaces/ILoadBalancingRandomService.cs
using System;
using System.Collections.Generic;
using System.Text;
namespace Sunny.Services.ServiceDiscovery
{
public interface ILoadBalancingRandomService: ILoadBalancingService
{
}
}
| 1.287132 | c3cb8a2064bdd158058169313d6ce483 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831125 | {
"extension": "c-sharp",
"max_stars_count": "2066.0",
"max_stars_repo_name": "JosephTico/UtinyRipper",
"max_stars_repo_path": "uTinyRipperCore/Converters/Project/Exporters/Script/Mono/ScriptExportMonoParameter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150345"
} | starcoder | <filename>uTinyRipperCore/Converters/Project/Exporters/Script/Mono/ScriptExportMonoParameter.cs
using Mono.Cecil;
using System;
namespace uTinyRipper.Converters.Script.Mono
{
public sealed class ScriptExportMonoParameter : ScriptExportParameter
{
public ScriptExportMonoParameter(ParameterDefinition parameter)
{
... | 2.37172 | 57c51bb9127d5d2aae33025e1c748229 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831126 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "astra-emsg/ASTRA.EMSG",
"max_stars_repo_path": "Master/ASTRA.EMSG.IntegrationTests/Support/MvcTesting/NameValueCollectionExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150346"
} | starcoder | using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.ComponentModel;
using System.Linq;
using System.Linq.Expressions;
using System.Text.RegularExpressions;
namespace ASTRA.EMSG.IntegrationTests.Support.MvcTesting
{
public static class NameValueCollectionExtensions
... | 2.502527 | 995fe934d5bd2eaf68666c8e999d6137 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831127 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cognitedata/dotnet-extractor-utils",
"max_stars_repo_path": "Cognite.Extensions/Assets/AssetUpdateSanitation.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150347"
} | starcoder | using Cognite.Extractor.Common;
using CogniteSdk;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Cognite.Extensions
{
public static partial class Sanitation
{
/// <summary>
/// Sanitize an AssetUpdateItem so that it can be safely sent to CDF.
... | 2.594936 | a974fc40dcee93f988180a65a8a2896d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831128 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hikipuro/ParserGenerator",
"max_stars_repo_path": "Hikipuro/Text/Parser/Generator/TokenMatches.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150348"
} | starcoder | <reponame>hikipuro/ParserGenerator
using Hikipuro.Text.Tokenizer;
using System.Collections.Generic;
using TokenType = Hikipuro.Text.Parser.Generator.GeneratedParser.TokenType;
namespace Hikipuro.Text.Parser.Generator {
/// <summary>
/// ジェネレータのトークンマッチ処理用.
/// </summary>
public class TokenMatches {
public string... | 2.198754 | 328cf93e6601686d4985389d5bea20d7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831129 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MariyaSteffanova/EcoMaster",
"max_stars_repo_path": "Econom/web/Econom.Web/Areas/Admin/Views/Shared/_Layout.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:150349"
} | starcoder | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>@ViewBag.Title - My ASP.NET Application</title>
@Styles.Render("~/Content/kendo-css")
@Styles.Render("~/Content/admin-css")
@Scripts.Render("~/bundles/jquery")
... | 1.749083 | 23f6c84c48e24aa1731ac2eab8341e91 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831130 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "bekdepo/APIMon",
"max_stars_repo_path": "APIMonLib/Hooks/ntdll.dll/Hook_ZwTerminateProcess.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150350"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace APIMonLib.Hooks.ntdll.dll {
public class Hook_ZwTerminateProcess : AbstractHookDescription {
protected override Delegate createHookDelegate() {
return new NtDllSupport.DZwTerminateProcess(ZwTerminateProcess_H... | 2.270236 | 545678057c4d93a27be3bc7323208209 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831131 | {
"extension": "c-sharp",
"max_stars_count": "4601.0",
"max_stars_repo_name": "MiaHub/xamarin-forms-samples",
"max_stars_repo_path": "UserInterface/MediaElementDemos/MediaElementDemos/Views/PlayWebAudioPage.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150351"
} | starcoder | <reponame>MiaHub/xamarin-forms-samples
using Xamarin.Forms;
namespace MediaElementDemos
{
public partial class PlayWebAudioPage : ContentPage
{
public PlayWebAudioPage()
{
InitializeComponent();
}
}
}
| 0.919383 | 502c889aee461499214a12a4e27e2396 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831132 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "niko86/AgsVerifierApp",
"max_stars_repo_path": "AgsVerifierWindowsGUI/App.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150352"
} | starcoder | <reponame>niko86/AgsVerifierApp<gh_stars>1-10
using AgsVerifierWindowsGUI.ViewModels;
using System.Windows;
namespace AgsVerifierWindowsGUI
{
public partial class App : Application
{
public App()
{
}
protected override void OnStartup(StartupEventArgs e)
{
/... | 1.984014 | 9b65e67e3c2da61dddd4fc423810b571 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831133 | {
"extension": "c-sharp",
"max_stars_count": "98.0",
"max_stars_repo_name": "isabella232/Logshark",
"max_stars_repo_path": "LogShark/Plugins/Replayer/Model/Command.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150353"
} | starcoder | using Newtonsoft.Json;
using System.Collections.Generic;
namespace Logshark.Plugins.Replayer.Models
{
/// <summary>
/// Tableau command structure that gets executed as javascript
/// </summary>
public class Command
{
public Command(string cmmdNameSpace, string cmdName, Dictionary<string, o... | 2.525517 | e0c6bd19c9b123301de4d0573d1167e4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831134 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "reseul/image-pipeline-windows",
"max_stars_repo_path": "ImagePipeline/FBCore/Common/References/SharedReference.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150354"
} | starcoder | using FBCore.Common.Internal;
using System;
using System.Collections.Generic;
using System.Diagnostics;
namespace FBCore.Common.References
{
/// <summary>
/// A shared-reference class somewhat similar to c++ shared_ptr. The underlying value
/// is reference counted, and when the count drops to zero, the u... | 2.923509 | 0018f2040bff3b419651d0529668bb46 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831135 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "HydAu/Wox",
"max_stars_repo_path": "Plugins/Wox.Plugin.Program/AddProgramSource.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150355"
} | starcoder | using System.Collections.Generic;
using System.Windows;
using System.Windows.Forms;
namespace Wox.Plugin.Program
{
/// <summary>
/// Interaction logic for AddProgramSource.xaml
/// </summary>
public partial class AddProgramSource
{
private ProgramSource _editing;
private Settings _... | 2.549175 | 0fb0fc83153492efd39c82806ec47ea6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831136 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MenschMitHut/AGXUnity",
"max_stars_repo_path": "AGXUnity/Utils/Math.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150356"
} | starcoder | using System;
using UnityEngine;
namespace AGXUnity.Utils
{
public static class Math
{
public static Vector3 Clamp( Vector3 v, float minValue )
{
return new Vector3( Mathf.Max( v.x, minValue ), Mathf.Max( v.y, minValue ), Mathf.Max( v.z, minValue ) );
}
public static T Clamp<T>( T value, T ... | 2.803869 | 6ccb8ff6c00e5bd0918ae376e545e229 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831137 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "RIDICS/Authentication",
"max_stars_repo_path": "Solution/Ridics.Authentication.Service/Controllers/DynamicModuleController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150357"
} | starcoder | <filename>Solution/Ridics.Authentication.Service/Controllers/DynamicModuleController.cs
using System.Collections.Generic;
using System.IO;
using System.Linq;
using AutoMapper;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Ridics.Authentication.Core.Configuration;
using Ridics.Authenti... | 1.551745 | caf96f6d9162490aa89ca0a4682d76c3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831138 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "drolevar/Vs-AddMultipleProjectsToSolution",
"max_stars_repo_path": "source/Vs.AddMultipleProjectsToSolution/Gui/AddMultipleProjectsProgressControlControl.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150358"
} | starcoder | <filename>source/Vs.AddMultipleProjectsToSolution/Gui/AddMultipleProjectsProgressControlControl.xaml.cs
using System.Globalization;
using System.Windows;
using System.Windows.Controls;
using Vs.AddMultipleProjectsToSolution.Gui.ViewModels;
namespace Vs.AddMultipleProjectsToSolution.Gui
{
public partial class AddM... | 2.263745 | 4615571906fb81f9dcf4ccf5380a1047 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831139 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lukaspj/Torque-BaseGame",
"max_stars_repo_path": "Modules/ClientServer/Client/GameConnectionToServer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150359"
} | starcoder | <reponame>lukaspj/Torque-BaseGame
using Torque3D;
using Torque3D.Engine;
using Torque3D.Engine.Util;
namespace Game.Modules.ClientServer.Client
{
[ConsoleClass]
class GameConnectionToServer : GameConnection
{
public GameConnectionToServer(string pName, bool pRegister = false) : base(pName, pRegister)
... | 1.889915 | 9a4beaa557663e040fc5ce5f6c259092 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831140 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "joegarb/jg-dotnet",
"max_stars_repo_path": "JG.Forms/Controls/ToolStripTitleBar.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150360"
} | starcoder | <gh_stars>0
using System;
using System.Drawing;
using System.Windows.Forms;
namespace JG.Forms.Controls
{
// This class adds on to the functionality provided in ToolStripEx to pass click events to the parent so that dragging and double-clicking are handled as if the toolstrip were a proper window title bar.... | 2.477346 | 7f212f17eb1c00427d21b46cb3b520f5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831141 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Nachyn/blog-api",
"max_stars_repo_path": "src/Application/Users/Commands/DeletePhotos/DeletePhotosCommand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150361"
} | starcoder | <filename>src/Application/Users/Commands/DeletePhotos/DeletePhotosCommand.cs
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Application.Common.AppSettingHelpers.Main;
using Application.Common.Interfaces;
using MediatR;
using Microsoft.EntityFrameworkCor... | 2.502076 | f58e3938e43cffb8ffc265287f7212bd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831142 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Zulunko/HeadSpace",
"max_stars_repo_path": "NarrativePlanning/NarrativePlanning/DomainBuilder/CounteractionBuilder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150362"
} | starcoder | using NarrativePlanning;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NarrativePlanning.DomainBuilder
{
class CounteractionBuilder
{
public static List<NarrativePlanning.CounterAction> parseCount... | 2.41023 | a336567eac2c0c4511e9bdae7ac982c6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831143 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Avarea/OOP-Advanced",
"max_stars_repo_path": "ReflectionAndAttributes/P07.InfernoInfinity/Core/Commands/AuthorCommand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150363"
} | starcoder | using System;
public class AuthorCommand : Command
{
public AuthorCommand(string[] data) : base(data)
{
}
public override void Execute()
{
string author = this.Data[0];
Type weaponType = Type.GetType(nameof(Weapon));
MyCustomAttribute myAttr =
(MyCustomAttrib... | 3.259967 | 9e29f931e76dd23caab1a288c939ecd5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831144 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "michielbos/HorseMoon",
"max_stars_repo_path": "Assets/Scripts/Inventory/ItemTypes/ToolInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150364"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace HorseMoon.Inventory.ItemTypes
{
public class ToolInfo : ItemInfo
{
public enum Type { None, Hoe, WateringCan, Sickle, Hammer, Axe }
public Type type;
}
} | 1.649007 | bd5aebfcb169e08ec8173cc5287c4aea |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831145 | {
"extension": "c-sharp",
"max_stars_count": "117.0",
"max_stars_repo_name": "1448376744/Dapper.Linq",
"max_stars_repo_path": "src/Dapper.Linq/DbContexts/DbContextState.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150365"
} | starcoder | <gh_stars>100-1000
using System;
using System.Collections.Generic;
using System.Text;
namespace Dapper
{
public enum DbContextState
{
Closed = 0,
Open = 1,
Commit = 2,
Rollback = 3,
}
}
| 1.668926 | f5a88fa84a186959287184933632c499 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831146 | {
"extension": "c-sharp",
"max_stars_count": "522.0",
"max_stars_repo_name": "essensoft/paymen",
"max_stars_repo_path": "src/Essensoft.Paylink.Alipay/Response/AlipayDataAiserviceCloudbusSchedualconfigSetResponse.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150366"
} | starcoder | <reponame>essensoft/paymen
using System.Text.Json.Serialization;
using Essensoft.Paylink.Alipay.Domain;
namespace Essensoft.Paylink.Alipay.Response
{
/// <summary>
/// AlipayDataAiserviceCloudbusSchedualconfigSetResponse.
/// </summary>
public class AlipayDataAiserviceCloudbusSchedualconfigSetResponse... | 1.334514 | 6aa81def59d44d75271bf092cfe9ed09 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831147 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "KonH/BattlerGame",
"max_stars_repo_path": "UnityClient/Assets/Scripts/ViewModel/Window/UnitsWindow.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150367"
} | starcoder | using System.Collections.Generic;
using UnityClient.Model;
using UnityClient.ViewModel.Fragment;
using UnityEngine.UI;
using UnityEngine;
using Zenject;
namespace UnityClient.ViewModel.Window {
public sealed class UnitsWindow : BaseWindow {
public sealed class Factory : PlaceholderFactory<List<UnitModel>, UnitsW... | 2.045521 | 7fa4c4b0a80570f9dee0c09a312fbd80 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831148 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "simplify9/Infolink",
"max_stars_repo_path": "SW.Infolink.Api/Resources/Adapters/Search.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150368"
} | starcoder | <filename>SW.Infolink.Api/Resources/Adapters/Search.cs
using SW.PrimitiveTypes;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using System.Linq;
using Microsoft.EntityFrameworkCore;
using SW.Infolink.Domain;
using SW.EfCoreExtensions;
namespace SW.Infolink.Api.Resour... | 2.371014 | f59e667c731efceecfbdd3a671cbdbd1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831149 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "fffej/corefx",
"max_stars_repo_path": "src/System.Security.SecureString/tests/SecureStringTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150369"
} | starcoder | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Runtime.InteropServices;
using System.Security;
using System.Text;
using Xunit;
public static class SecureStringTest
{
// With the curre... | 2.809874 | 86f3ce2ccb2a48bf84c1ce59492520df |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831150 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hema84870000/shadowsocks-csharp",
"max_stars_repo_path": "shadowsocks-csharp/Controller/GfwListUpdater.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150370"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using System.Net;
using System.IO;
using Shadowsocks.Properties;
using SimpleJson;
using Shadowsocks.Util;
using Shadowsocks.Model;
namespace Shadowsocks.Controller
{
public class GFWListUpdater
{
private const string GFW... | 2.237592 | 3bc18c33c04748e05e62eb63d90d2129 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831151 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "echeg/ecs.example",
"max_stars_repo_path": "Assets/Example/Features/Logic/DestroyByTime/DestroyByTimeFeature.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150371"
} | starcoder | using ME.ECS;
namespace Example.Features.Logic {
using Components; using Modules; using Systems; using Features; using Markers;
using DestroyByTime.Components; using DestroyByTime.Modules; using DestroyByTime.Systems; using DestroyByTime.Markers;
namespace DestroyByTime.Components {}
nam... | 1.811633 | e9a32ad1e20ee78c10cc59788ee468ce |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831152 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Kentico/content-management-sdk-net",
"max_stars_repo_path": "Kentico.Kontent.Management/Models/Webhooks/Triggers/WebhookTriggersModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150372"
} | starcoder | <gh_stars>1-10
using Newtonsoft.Json;
using System.Collections.Generic;
namespace Kentico.Kontent.Management.Models.Webhooks.Triggers;
/// <summary>
/// Represents the specific events that trigger the webhook.
/// </summary>
public class WebhookTriggersModel
{
/// <summary>
/// Gets or sets triggers for deli... | 1.74551 | 48123d1169c80954af6834a077bfdce9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831153 | {
"extension": "c-sharp",
"max_stars_count": "3359.0",
"max_stars_repo_name": "cnheider/SpaceEngineers",
"max_stars_repo_path": "Sources/SpaceEngineers.Game/Entities/Blocks/MyGravityGenerator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150373"
} | starcoder | <reponame>cnheider/SpaceEngineers
#region Using
using System;
using System.Text;
using Havok;
using Sandbox.Common.ObjectBuilders;
using Sandbox.Definitions;
using Sandbox.Game.Components;
using Sandbox.Game.Entities;
using Sandbox.Game.Entities.Cube;
using Sandbox.Game.EntityComponents;
using Sandbox.Game.GameSystem... | 2.071172 | d5df280c438e6d82237c398e8fb4b5c9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831154 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mirusser/Simple-Weather-Site",
"max_stars_repo_path": "src/CitiesService/Application/Features/Commands/AddCitiesToDatabaseCommand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150374"
} | starcoder | <filename>src/CitiesService/Application/Features/Commands/AddCitiesToDatabaseCommand.cs<gh_stars>0
using System.Threading;
using System.Threading.Tasks;
using Application.Interfaces.Managers;
using Domain.Models;
using MediatR;
namespace Application.Features.Commands
{
public class AddCitiesToDatabaseCommand : IR... | 2.785627 | f37ce283079911f250ce15510ef4df51 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831155 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "andrew-boyarshin/SharpGen.Runtime.COM",
"max_stars_repo_path": "ComUtilities.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150375"
} | starcoder | <reponame>andrew-boyarshin/SharpGen.Runtime.COM
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.Text;
namespace SharpGen.Runtime
{
public static class ComUtilities
{
[Flags]
public enum CLSCTX : uint
{
ClsctxInprocServer = ... | 2.079909 | 8304157e4e5020389e8ef1b0505e82b8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831156 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "detunized/password-manager-access",
"max_stars_repo_path": "example/Common/PlainStorage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150376"
} | starcoder | <reponame>detunized/password-manager-access
// Copyright (C) <NAME> (<EMAIL>).
// Licensed under the terms of the MIT license. See LICENCE for details.
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using PasswordManagerAccess.Common;
namespace PasswordManagerAc... | 2.930253 | ab0b9a53e4f65cf936a3a2064ae38b33 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831157 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "0xCM/z0",
"max_stars_repo_path": "src/root/src/contracts/INumericWidth.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150377"
} | starcoder | <reponame>0xCM/z0
//-----------------------------------------------------------------------------
// Copyright : (c) <NAME>, 2020
// License : MIT
//-----------------------------------------------------------------------------
namespace Z0
{
public interface INumericWidth : ICellWidth
{
/// <sum... | 1.775071 | 99cea369ce52b30d60e0586ca1c96ea5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831158 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mxProject/DataGenerator",
"max_stars_repo_path": "mxProject.Devs.DataGenerator/mxProject.Devs.DataGenerator/UnitTestProject1/TestSequenceSettings.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150378"
} | starcoder | using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Collections.Generic;
using System.Security.Cryptography;
using System.ComponentModel.DataAnnotations;
using System.Threading.Tasks;
using MathNet.Numerics.Statistics;
using mx... | 2.40702 | 8f4a452615f0d3cfb993c2ef75cde519 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831159 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rob-blackbourn/JetBlack.Monads",
"max_stars_repo_path": "JetBlack.Monads.Test/Person.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150379"
} | starcoder | <reponame>rob-blackbourn/JetBlack.Monads
using System;
using System.Collections.Generic;
namespace JetBlack.Monads.Test
{
public class Person
{
public Person(string name, string email, DateTime dateOfBirth, IList<Address> addresses)
{
Addresses = addresses;
DateOfBirth =... | 2.184895 | 3a10a56ccef6ca2ffbafd455ba0171d5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831160 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "danailstratiev/Csharp-SoftUni-Development",
"max_stars_repo_path": "Csharp OOP/07. Reflection and Attributes/P07.InfernoInfinity/Armory/Knife.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150380"
} | starcoder | <filename>Csharp OOP/07. Reflection and Attributes/P07.InfernoInfinity/Armory/Knife.cs
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using P07.InfernoInfinity.Armory.RarityLevel;
using P07.InfernoInfinity.Gems;
namespace P07.InfernoInfinity.Armory
{
public class ... | 2.988299 | 9b1cfa1f0de06210a0f94e86b8c20593 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831161 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "AndreiMisiukevich/FluentLayout",
"max_stars_repo_path": "lib/FluentLayout/Codegen/TabbedPageExtensions.codegen.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150381"
} | starcoder | // This file is generated by FluentCodegen
// It does not make sense to change something here
// No stress :)
using System;
namespace Xamarin.Forms.Fluent
{
public static partial class TabbedPageExtensions
{
public static TBindable WithTabbedPageCurrentPageChangedEvent<TBindable>(this TBindable self,
... | 2.272562 | 03e30bb1d60190a6e75080992a5e3eb4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831162 | {
"extension": "c-sharp",
"max_stars_count": "240.0",
"max_stars_repo_name": "lauren-mills/botbuilder-community-dotnet",
"max_stars_repo_path": "libraries/Bot.Builder.Community.Components.Adapters.GoogleBusiness/Action/Model/AuthActionProperty.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150382"
} | starcoder | <filename>libraries/Bot.Builder.Community.Components.Adapters.GoogleBusiness/Action/Model/AuthActionProperty.cs
using System.Collections.Generic;
using AdaptiveExpressions.Properties;
namespace Bot.Builder.Community.Components.Adapters.GoogleBusiness.Action.Model
{
public class AuthActionProperty
{
pu... | 1.859349 | 496252166e6583faac3c106f2fc00fc2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831163 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Code-Console/AR_WallNiche",
"max_stars_repo_path": "Assets/SlotFix/Code/UIZoomImage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150383"
} | starcoder | using UnityEngine;
using UnityEngine.EventSystems;
public class UIZoomImage : MonoBehaviour, IScrollHandler
{
private Vector3 initialScale;
[SerializeField]
private float zoomSpeed = 0.1f;
[SerializeField]
private float maxZoom = 10f;
private void Awake()
{
initialScale = transfo... | 2.366579 | d621455418150c0e7228dd168b889776 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831164 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "velvet-market/MemoryPalaceVR",
"max_stars_repo_path": "Assets/SwitchTrigger.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150384"
} | starcoder | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using Valve.VR;
using Valve.VR.InteractionSystem;
using UnityEngine.SceneManagement;
public class SwitchTrigger : MonoBehaviour {
public SteamVR_Action_Boolean spawnAction;
public int scene;
public bool scuffed;
public... | 1.727358 | 3acb0779f6dac644af7b4b08a91abdeb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831165 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Eph-It/MEM.CommunityCenter",
"max_stars_repo_path": "CommunityCenter/CommunityCenter.Models/RBAC/fn_rbac_mdmclientidentity.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150385"
} | starcoder | using System;
namespace CommunityCenter.Models.RBAC
{
public class fn_rbac_mdmclientidentity
{
public Guid DeviceID { get; set; }
public int? ClientState { get; set; }
public int? DeviceType { get; set; }
public string SiteCode { get; set; }
public DateTime LastUpda... | 1.284196 | 6b4c8604601c8943e4925d8c77edbe2b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831166 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "cheng219/tianyu",
"max_stars_repo_path": "Assets/Protocol/pt_can_worship_d21e.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150386"
} | starcoder | <gh_stars>1-10
using System.Collections;
using System.Collections.Generic;
public class pt_can_worship_d21e : st.net.NetBase.Pt {
public pt_can_worship_d21e()
{
Id = 0xD21E;
}
public override st.net.NetBase.Pt createNew()
{
return new pt_can_worship_d21e();
}
public int can_wor;
public override void fromBi... | 2.020215 | bd9e6b122c1da972c302d40a0bc157fd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831167 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "xiaolei000129/Paas.Pioneer",
"max_stars_repo_path": "modules/admin-core/src/Paas.Pioneer.Admin.Core.HttpApi/Controllers/User/UserController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150387"
} | starcoder | <filename>modules/admin-core/src/Paas.Pioneer.Admin.Core.HttpApi/Controllers/User/UserController.cs
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Options;
using Paas.Pioneer.Admin.Core.Application.Contracts.User;
using Paas.Pioneer... | 1.632279 | 702ae5467cf2a2afdd46a0e95afb62a5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831168 | {
"extension": "c-sharp",
"max_stars_count": "535.0",
"max_stars_repo_name": "zzf/SETUNA2",
"max_stars_repo_path": "SETUNA/Main/StyleItems/CTrimStyleItem.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150388"
} | starcoder | <reponame>zzf/SETUNA2
using System.Drawing;
using System.Drawing.Imaging;
using System.Windows.Forms;
namespace SETUNA.Main.StyleItems
{
using SETUNA.Properties;
// Token: 0x02000065 RID: 101
public class CTrimStyleItem : CStyleItem
{
// Token: 0x06000393 RID: 915 RVA: 0x00016110 File Offset:... | 2.217933 | 6d88f6dd9c739a4f83058ab03fc381e1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831169 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "ProSuite/ProSuite",
"max_stars_repo_path": "src/ProSuite.QA.Container/TestCategories/ZValuesTestAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150389"
} | starcoder | <filename>src/ProSuite.QA.Container/TestCategories/ZValuesTestAttribute.cs<gh_stars>1-10
using System.ComponentModel;
namespace ProSuite.QA.Container.TestCategories
{
public class ZValuesTestAttribute : CategoryAttribute
{
public ZValuesTestAttribute() : base(TestCategoryNames.ZValue) { }
}
}
| 1.858346 | 7d8835ec2412671f00c99551fbaefb5b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831170 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "smorey2/GameEstate",
"max_stars_repo_path": "src/GameEstate.Graphics/Graphics/OpenGL/Renderers/TrailsParticleRenderer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150390"
} | starcoder | <reponame>smorey2/GameEstate
using GameEstate.Graphics.ParticleSystem;
using OpenTK.Graphics.OpenGL;
using System;
using System.Collections.Generic;
using System.Numerics;
namespace GameEstate.Graphics.OpenGL.Renderers
{
public class TrailsParticleRenderer : IParticleRenderer
{
readonly Shade... | 1.881952 | 1443c298fe3eb83acf89a08a1f0ea92a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831171 | {
"extension": "c-sharp",
"max_stars_count": "266.0",
"max_stars_repo_name": "nonomal/Tai",
"max_stars_repo_path": "UI/Controls/Charts/ChartItemTypeColumn.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150391"
} | starcoder | <reponame>nonomal/Tai<filename>UI/Controls/Charts/ChartItemTypeColumn.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
using System.Windows.Shapes;
using UI.Base.Color;... | 2.393789 | 7590c6e3429ca6082badb82bc7c1b694 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831172 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "johnsietsma/PlayerMakerWindowsMixedReality",
"max_stars_repo_path": "Assets/PlayMakerMixedReality/PlayMaker Custom Actions/WindowsMixedReality/SetUpVector.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150392"
} | starcoder | <reponame>johnsietsma/PlayerMakerWindowsMixedReality
// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved.
// Ammended by <NAME>
using UnityEngine;
namespace HutongGames.PlayMaker.Actions
{
[ActionCategory(ActionCategory.Transform)]
[Tooltip("Sets the up vector of a Game Object.")]
public class SetUpVe... | 1.874987 | 59715aa5d0966087dd252dae75ba12f6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831173 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PaleFaceGameStudios/Shattered",
"max_stars_repo_path": "New Unity Project 1/Assets/Editor/ScriptableObjectDatabase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150393"
} | starcoder | <filename>New Unity Project 1/Assets/Editor/ScriptableObjectDatabase.cs
using UnityEngine;
using UnityEditor;
using System.Linq;
using System.Collections;
using System.Collections.Generic;
namespace Game{
public class ScriptableObjectDatabase<T> : ScriptableObject where T: class{
[SerializeField] List<T> database = ... | 2.671189 | f87d539cf5d5f1f095cd9674eec69042 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831174 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jjcollinge/DroneSimulation",
"max_stars_repo_path": "src/DroneSim/Common/Services/IDroneQueryEngine.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150394"
} | starcoder | using Common.Model;
using Microsoft.ServiceFabric.Services.Remoting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Common.Services
{
public interface IDroneQueryEngine : IService
{
Task SubscribeSwarmAsync(long swarmId);
... | 1.336553 | e72c8957110709e3fa32f1c1e0ea0a5a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831175 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "DavidMGardner/sogeti.capstone",
"max_stars_repo_path": "Sogeti.Capstone.Web/Sogeti.Capstone.Domain/Commands/CreateRegistrationType/CreateRegistrationTypeHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150395"
} | starcoder | using ShortBus;
using Sogeti.Capstone.Data.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Moo.Extenders;
namespace Sogeti.Capstone.Domain.Commands.CreateRegistrationType
{
public class CreateRegistrationTypeHandler : IAsyncRequestHa... | 2.112639 | 4aee46c2277e7e5d58058ffda4febf1b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831176 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "angeladelgado1/MiniTrelloAJDM",
"max_stars_repo_path": "MiniTrello.Api/Controllers/AccountController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150396"
} | starcoder | <reponame>angeladelgado1/MiniTrelloAJDM
using System;
using System.Collections.Generic;
using System.Net;
using System.Net.Http;
using System.Web;
using System.Web.Http;
using AttributeRouting.Web.Http;
using AutoMapper;
using MiniTrello.Api.Controllers.Helpers;
using MiniTrello.Api.CustomExceptions;
using MiniTrello.... | 2.26516 | 2450f6352ab4a5e34229d98f10072172 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831177 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "attemoi/MoistureBot",
"max_stars_repo_path": "CoreAddins/CoreConsoleCommands/DisconnectCommand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150397"
} | starcoder | using System;
using Mono.Options;
using System.Collections.Generic;
using Mono.Addins;
using System.Linq;
using MoistureBot;
using MoistureBot.Utils;
using MoistureBot.Extensions;
namespace MoistureBot.ConsoleCommands
{
public class DisconnectCommand : IConsoleCommand
{
IMoistureBot Bot;
ILo... | 2.675088 | e1cb8c7c01a399e9a2ebb17fd47de431 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831178 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "blyman94/bee-day",
"max_stars_repo_path": "bee-day-source-code/Core/Singleton.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150398"
} | starcoder | <filename>bee-day-source-code/Core/Singleton.cs
using UnityEngine;
public abstract class Singleton<T> : MonoBehaviour where T : Singleton<T>
{
#region Properties
public static T Instance { get; private set; }
public static bool IsInitialized => Instance != null;
#endregion
#region Start Up
protected virtual vo... | 2.839616 | 3b049e66e6d5b1bd66516fc2dd46007d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831179 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ThePuzzlemaker/WorkableTemp",
"max_stars_repo_path": "src/TooltipPatch.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150399"
} | starcoder | using System.Text;
using HarmonyLib;
using Vintagestory.API.Common;
using Vintagestory.GameContent;
using Vintagestory.API.Config;
namespace WorkableTemp {
[HarmonyPatch(typeof(CollectibleObject), "GetHeldItemInfo")]
class TooltipPatch {
static void Postfix(ItemSlot inSlot, [HarmonyArgument(1, "dsc")] ... | 2.495899 | df7429e2714fac203a66b8ef62eeb87a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831180 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "shuhari/Shuhari.Framework",
"max_stars_repo_path": "Shuhari.Framework.UnitTests/Data/Mappings/SchemaMappingColumnTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150400"
} | starcoder | <filename>Shuhari.Framework.UnitTests/Data/Mappings/SchemaMappingColumnTest.cs
using System;
using System.Linq;
using NUnit.Framework;
using Shuhari.Framework.Data;
using Shuhari.Framework.Data.Mappings;
namespace Shuhari.Framework.UnitTests.Data.Mappings
{
[TestFixture]
public class SchemaMappingColumnTest
... | 2.285312 | 1d946bc79eb5ee0e84509ba344e65e29 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831181 | {
"extension": "c-sharp",
"max_stars_count": "3990.0",
"max_stars_repo_name": "itn3000/MessagePack-CSharp",
"max_stars_repo_path": "src/MessagePack.UnityClient/Assets/Scripts/Tests/ShareTests/MultiDimensionalArrayTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150401"
} | starcoder | // Copyright (c) All contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;
namespace MessagePack.Tests
{
... | 2.684308 | ef05ec266d65e68db9f7f9cfd264c6cc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831182 | {
"extension": "c-sharp",
"max_stars_count": "371.0",
"max_stars_repo_name": "Kjw007-1/WPFUIDEMO",
"max_stars_repo_path": "src/Sample2/ViewModel/MainViewModels.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150402"
} | starcoder | <gh_stars>100-1000
using GalaSoft.MvvmLight;
using GalaSoft.MvvmLight.Command;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UIDesign.View;
namespace UIDesign.ViewModel
{
public class MainViewModels : ViewModelBase
{
public Ma... | 2.235925 | e5880a5868aa3aca87b9814865d2ff66 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831183 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "smolyakoff/conreign",
"max_stars_repo_path": "src/Conreign.LoadTest/Core/Events/BotStopped.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150403"
} | starcoder | using System;
namespace Conreign.LoadTest.Core.Events
{
public class BotStopped : IBotEvent
{
public DateTime Timestamp { get; }
}
} | 1.416975 | 75de0c1235e39c1f962fa3b6dc7f3dc8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831184 | {
"extension": "c-sharp",
"max_stars_count": "73.0",
"max_stars_repo_name": "xoniuqe/EntityFrameworkCore.Jet",
"max_stars_repo_path": "test/EFCore.Jet.IntegrationTests/Model35_OneToZeroOneDeleteCascade/Model.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150404"
} | starcoder | <filename>test/EFCore.Jet.IntegrationTests/Model35_OneToZeroOneDeleteCascade/Model.cs
using System;
namespace EntityFrameworkCore.Jet.IntegrationTests.Model35_OneToZeroOneDeleteCascade
{
public class Principal
{
public int Id { get; private set; }
public virtual Dependent Dependent { get; pri... | 2.046412 | 12fd02ce22443150d013a6deb5120a7b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831185 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dorlugasigal/net-react-postgres-heroku",
"max_stars_repo_path": "Response/ITunesItem.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150405"
} | starcoder | namespace net_react_postgres.Response
{
/// <summary>
/// Basic ITunes API Model
/// </summary>
public class ITunesItem
{
public string WrapperType { get; set; }
public string Kind { get; set; }
public long ArtistId { get; set; }
public long CollectionId { get; set; ... | 1.762099 | 09e554e9d600367e5cb405c057179449 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831186 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "hadi-zamani/Xamarin.Forms",
"max_stars_repo_path": "Xamarin.Forms.Maps.Tizen/Properties/AssemblyInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150406"
} | starcoder | <reponame>hadi-zamani/Xamarin.Forms
using Xamarin.Forms;
using Xamarin.Forms.Maps;
using Xamarin.Forms.Maps.Tizen;
[assembly: ExportRenderer(typeof (Map), typeof (MapRenderer))] | 0.515418 | 5d7da024d18c6020845d277c3275ddd9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831187 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ephemeral9794/Escape-Horror-Prototype",
"max_stars_repo_path": "Assets/Editor/TransitionParameterTableEditor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150407"
} | starcoder | <gh_stars>0
using UnityEngine;
using UnityEditor;
using EscapeHorror.Prototype;
using UnityEditorInternal;
using System;
using System.Collections.Generic;
using Parameter = EscapeHorror.Prototype.TransitionParameterTable.Parameter;
[CustomEditor(typeof(TransitionParameterTable))]
public class TransitionParameterTable... | 1.807787 | aed6b7a2fd40a804c7eb09c65b756b6e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831188 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "drdk/ffmpeg-farm",
"max_stars_repo_path": "ffmpeg-farm-server/Contract/Dto/TranscodingJobDto.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150408"
} | starcoder | using System;
namespace Contract.Dto
{
public class TranscodingJobDto
{
public int Id { get; set; }
public Guid JobCorrelationId { get; set; }
public float Progress { get; set; }
public DateTimeOffset Heartbeat { get; set; }
public string Arguments { get; set; }
... | 1.56446 | ce083834832738815a626ce7f7f52f94 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831189 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vankatalp360/SupperSellerApp",
"max_stars_repo_path": "SuperSeller.Models/User.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150409"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using Microsoft.AspNetCore.Identity;
namespace SuperSeller.Models
{
public class User : IdentityUser
{
[Required]
[MinLength(3)]
[MaxLength(50)]
public string FullName { get... | 1.86132 | 3e5acdf7ba87698c3958d89c063847ce |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831190 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "amyachin/NaturalNeighbor",
"max_stars_repo_path": "NaturalNeighbor.UnitTests/TestFunctions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150410"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NaturalNeighbor.UnitTests
{
static class TestFunctions
{
public static double SampleFunc(float x, float y)
{
return (float) (x * Math.Exp(-(x... | 2.350143 | 9c2df385514df2175117f9ef4abaf416 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831191 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SilverMew22/Super_Nova_Dragon",
"max_stars_repo_path": "Super Nova Dragon (3d)/Assets/SND/SND_Scripts/_spawner/destry_knights.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150411"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class destry_knights : MonoBehaviour
{
void OnCollisionEnter(Collision col)
{
if (col.gameObject.CompareTag("Castle"))
{
Debug.Log("knight erased");
Destroy(gameObject);
... | 1.941939 | 87cd50eb4324cd1e59c4c159254f149d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831192 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mrange/MicroParser",
"max_stars_repo_path": "MicroParser/ParserGenerator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150412"
} | starcoder | // ----------------------------------------------------------------------------------------------
// Copyright (c) <NAME>.
// ----------------------------------------------------------------------------------------------
// This source code is subject to terms and conditions of the Microsoft Public License. A
// ... | 2.129661 | 146bc91e6e2b70727ae4d68d762f7083 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831193 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "KennethJakobsen/ReCom",
"max_stars_repo_path": "src/ReCom/Activation/LifeTime/ActivatorLifeTime.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150413"
} | starcoder | <reponame>KennethJakobsen/ReCom
namespace ReCom.Activation.LifeTime
{
public class ActivatorLifeTime : ILifeTime
{
}
}
| 1.228183 | d54c5bf0dace70e9218871281ea5c503 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831194 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vavilichev/UnityCodeArchitecture",
"max_stars_repo_path": "Lukomor/Scripts/Domain/Scenes/ISceneLoader.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150414"
} | starcoder | using System;
using System.Threading.Tasks;
namespace Lukomor.Domain.Scenes
{
public struct SceneLoadingArgs
{
public string SceneName;
public int SceneIndex;
public bool Success;
}
public interface ISceneLoader
{
Task LoadScene(int sceneIndex, Action<SceneLoadingArgs> callback = null);
Task LoadScene... | 2.228286 | 8e07a20464e8d54d16d848f6bf39d530 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831195 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "teraa/FER.TEOGRA",
"max_stars_repo_path": "Zad1/Zad1.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150415"
} | starcoder | using System;
using System.Linq;
namespace TEOGRA.Zad1
{
public class Program
{
// dotnet run -c Release < graf.txt
static void Main(string[] args)
{
string line = Console.ReadLine()
?? throw new FormatException("Missing first line.");
int n = i... | 3.128535 | 6839cb4b1b4889e1cce954bd8eebb4a7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831196 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "ProSuite/ProSuite",
"max_stars_repo_path": "src/ProSuite.QA.Container/RasterRow.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150416"
} | starcoder | <reponame>ProSuite/ProSuite
using System.Reflection;
using ESRI.ArcGIS.Geometry;
using ProSuite.Commons.AO.Surface;
using ProSuite.Commons.Essentials.Assertions;
using ProSuite.Commons.Essentials.CodeAnnotations;
using ProSuite.Commons.Logging;
using ProSuite.QA.Container.TestContainer;
namespace ProSuite.QA.Container... | 1.88648 | 519e09b147ec64516d2d5f4fb5cc35a0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831197 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "MarinMarinov/JavaScript-Single-Page-Application",
"max_stars_repo_path": "HomeworkApplication/ASP.NET-Web-API-Tic-Tac-Toe-Live/TicTacToe.Web/Infrastructure/IUserIdProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150417"
} | starcoder | <filename>HomeworkApplication/ASP.NET-Web-API-Tic-Tac-Toe-Live/TicTacToe.Web/Infrastructure/IUserIdProvider.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace TicTacToe.Web.Infrastructure
{
public interface IUserIdProvider
{
string GetUserId... | 1.994012 | 472c27c64a4373c221446dce8ce732e6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831198 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bogosoft/Data",
"max_stars_repo_path": "Bogosoft.Data/IConnector.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150418"
} | starcoder | using System.Data.Common;
using System.Threading;
using System.Threading.Tasks;
namespace Bogosoft.Data
{
/// <summary>
/// Represents any type capable of creating a connection to a data source.
/// </summary>
/// <typeparam name="T">
/// The type of the data source connection which must... | 3.110547 | c64570054702084b66ab70c6890a78fd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831199 | {
"extension": "c-sharp",
"max_stars_count": "19.0",
"max_stars_repo_name": "GrandStrateguerre/three.cs",
"max_stars_repo_path": "ThreeCs/Math/Euler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150419"
} | starcoder | namespace ThreeCs.Math
{
using System.ComponentModel;
using System.Diagnostics;
using System.Runtime.CompilerServices;
[DebuggerDisplay("X = {X}, Y = {Y}, Z = {Z}, Order = {Order}")]
public class Euler : INotifyPropertyChanged
{
public enum RotationOrder
{
XYZ, YZX... | 3.028606 | efacfde6b39da7bef254efdc3fdac0e9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831200 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sdasd30/TSSG",
"max_stars_repo_path": "Assets/Scripts/Rhetoric/RHListener.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150420"
} | starcoder | <reponame>sdasd30/TSSG<filename>Assets/Scripts/Rhetoric/RHListener.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class RHListener : MonoBehaviour
{
private float m_emotionalIntensity;
public delegate float ModifyValueFunction(float baseValue, RHStatement statement, ... | 2.057029 | fe77b4c64164835bcef175b9f85a33ca |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831201 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "smallprogram/Temp",
"max_stars_repo_path": "RESTfulAPI/code/RESTfulApi/RESTfulApi.Api/Profiles/EmployeeProfile.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150421"
} | starcoder | <reponame>smallprogram/Temp<filename>RESTfulAPI/code/RESTfulApi/RESTfulApi.Api/Profiles/EmployeeProfile.cs<gh_stars>1-10
using AutoMapper;
using RESTfulApi.Api.Entities;
using RESTfulApi.Api.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace RESTfulApi.A... | 2.518527 | 55d99bcddcbbfb9f901dfe713bca5ab6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831202 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gortegaMS/loderunner",
"max_stars_repo_path": "src/LodeRunner/src/config.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150422"
} | starcoder | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System;
using System.Collections.Generic;
using System.Text.Json;
using LodeRunner.Core;
using LodeRunner.Core.Interfaces;
using Microsoft.Extensions.Logging;
... | 1.889983 | 41baf81336d8c2341ceb0127c7b6450e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831203 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tugberkugurlu/AspNet.FileProviders.AzureStorage",
"max_stars_repo_path": "src/AspNet.FileProviders.AzureStorage/Infrastructure/NoopTrigger.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150423"
} | starcoder | <reponame>tugberkugurlu/AspNet.FileProviders.AzureStorage
using System;
using Microsoft.Framework.Expiration.Interfaces;
namespace AspNet.FileProviders.AzureStorage.Infrastructure
{
internal class NoopTrigger : IExpirationTrigger
{
public static NoopTrigger Instance { get; } = new NoopTrigger()... | 1.924914 | 9d79da4775bf4a9e6a9b7216695eafcf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831204 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "RH-Code/GAPP",
"max_stars_repo_path": "GoldParser/Semantic/TerminalAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150424"
} | starcoder | // bsn GoldParser .NET Engine
// --------------------------
//
// Copyright 2009, 2010 by <NAME> - <EMAIL>
//
// Development has been supported by Sirius Technologies AG, Basel
//
// Source:
//
// https://bsn-goldparser.googlecode.com/hg/
//
// License:
//
// The library is distributed under the GNU Lesser Gener... | 2.38186 | 8d2220be044b2c6955f95ee2a762bacf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831205 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "tissueMO/rpgdev-next",
"max_stars_repo_path": "Editor/Dialog/Common/dlgInputTextValue.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150425"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Windows.Forms;
namespace Editor.Dialog.Common {
using Module;
using Properties;
public partial class dlgInputTextValue : Form {
private readonly string rootPath;
private readonly string fileFilter;
priva... | 2.57559 | ac68f24186fd45e3f725fbd5b0f32715 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831206 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "anzwdev/ALWithUpdate",
"max_stars_repo_path": "ALWithUpdate/ProjectFileInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150426"
} | starcoder | using Microsoft.Dynamics.Nav.CodeAnalysis.Syntax;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ALWithUpdate
{
public class ProjectFileInfo
{
public string ProjectFilePath { get; set; }
public string OutputFilePat... | 1.33357 | b0be65c9099efae5c5ef7360ce72450a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831207 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "HaydnTrigg/Librelancer",
"max_stars_repo_path": "src/LibreLancer/GameData/BaseRoom.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150427"
} | starcoder | <reponame>HaydnTrigg/Librelancer
// MIT License - Copyright (c) <NAME>
// This file is subject to the terms and conditions defined in
// LICENSE, which is part of this source code package
using System;
using System.Collections.Generic;
namespace LibreLancer.GameData
{
public class BaseRoom
{
public string Nicknam... | 1.770586 | b4434489ddc5df24b31d0c13af21c9c0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831208 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bondehagen/meshellator",
"max_stars_repo_path": "src/Meshellator.Viewer/Framework/Rendering/Model.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150428"
} | starcoder | <gh_stars>0
using System.Collections.Generic;
using System.Linq;
using Meshellator.Viewer.Framework.Rendering.Decorators;
using SlimDX.Direct3D9;
namespace Meshellator.Viewer.Framework.Rendering
{
/// <summary>
/// Summary description for Model.
/// </summary>
public class Model
{
#region Variables
private r... | 2.152011 | 15f38484197d9e8dc04412998091e25b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831209 | {
"extension": "c-sharp",
"max_stars_count": "457.0",
"max_stars_repo_name": "Peullo/uwp-experiences",
"max_stars_repo_path": "apps/music/Music.UWP/DispatcherWrapper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150429"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.UI.Core;
namespace Music
{
public class DispatcherWrapper : PCL.IDispatcher
{
protected CoreDispatcher _dispatcher { get; private set; }
public DispatcherWrapper(C... | 2.178809 | a82ffaa19665f8feb7ece9db63396a1f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831210 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "agustinsantos/FalconNet",
"max_stars_repo_path": "F4Utils/Terrain/Structs/TextureBinSetRecord.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150430"
} | starcoder | using System;
namespace F4Utils.Terrain.Structs
{
[Serializable]
public struct TextureBinSetRecord
{
public uint numTiles;
public byte terrainType;
public TextureBinTileRecord[] tileRecords;
}
} | 1.645676 | 47f951181ae3030ff9e9de2b5570a21d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831211 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "AaronWu666/WeiXinMPSDK",
"max_stars_repo_path": "Samples/All/Senparc.Weixin.Sample.CommonService/MessageHandlers/CustomMessageHandler/Async/CustomMessageHandlerAsync_Events.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150431"
} | starcoder | <gh_stars>1-10
/*----------------------------------------------------------------
Copyright (C) 2022 Senparc
文件名:CustomMessageHandler_Events.cs
文件功能描述:自定义MessageHandler
创建标识:Senparc - 20150312
----------------------------------------------------------------*/
//DPBMARK_FILE MP
using Sen... | 1.841176 | aee439733c0456581ff1fa81a6d8f84f |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.