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 | 8843012 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "Coldairarrow/Colder.Components",
"max_stars_repo_path": "src/Colder.MessageBus.Hosting/MessageBusFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162232"
} | starcoder | <reponame>Coldairarrow/Colder.Components
using Colder.MessageBus.Abstractions;
using System;
using System.Reflection;
namespace Colder.MessageBus.Hosting
{
internal static class MessageBusFactory
{
public static IMessageBus GetBusInstance(IServiceProvider serviceProvider, MessageBusOptions options)
... | 2.340238 | 225d5b2f7c1c32782af72abb574d25a8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843013 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "stoolball-england/stoolball-org-uk",
"max_stars_repo_path": "Stoolball.Data.SqlServer/SqlServerCompetitionDataSource.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162233"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Data.SqlTypes;
using System.Globalization;
using System.Linq;
using System.Threading.Tasks;
using Dapper;
using Stoolball.Competitions;
using Stoolball.Matches;
using Stoolball.Routing;
using Stoolball.Teams;
namespace Stoolball.Data.SqlServe... | 2.442085 | 9584fc086c44e184f2a41f8a082b9ea3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843014 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zmira/abremir.allmybricks",
"max_stars_repo_path": "abremir.AllMyBricks.DataSynchronizer/Events/UserSynchronizationService/UserSynchronizationServiceEnd.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162234"
} | starcoder | using abremir.AllMyBricks.Data.Enumerations;
namespace abremir.AllMyBricks.DataSynchronizer.Events.UserSynchronizationService
{
public class UserSynchronizationServiceEnd
{
public BricksetUserType UserType { get; set; }
}
}
| 1.132655 | fb39c181127d28b55eb8fe16e7127db9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843015 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "j-farkas/Hair-Salon",
"max_stars_repo_path": "hairsalon/Views/Specialty/Show.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:162235"
} | starcoder | @using HairSalon.Models;
<h2>@Model.name</h2>
<h3>Lists of Stylists with this specialty:</h3>
<ul>
@foreach(var stylist in @Model.GetStylists())
{
<a href="/Stylist/@stylist.id">@stylist.name</a><br>
}
</ul>
<form class="" action="/Specialty/@Model.id/Stylist" method="post">
<button type="submit">Add Speci... | 2.752022 | 75347372cc7e14c500ed4f2768365170 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843016 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "juniordiscart/ImpossibleOdds-Toolkit",
"max_stars_repo_path": "Assets/Impossible Odds/Toolkit/Runtime/Http/Attributes/HttpResponseCallbackAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162236"
} | starcoder | namespace ImpossibleOdds.Http
{
using System;
using ImpossibleOdds.Weblink;
[AttributeUsage(AttributeTargets.Method, AllowMultiple = false)]
public sealed class HttpResponseCallbackAttribute : WeblinkResponseCallbackAttribute
{
public HttpResponseCallbackAttribute(Type responseType)
: base(responseType)
{
... | 2.598093 | f9c843ed716bb56b077e71a62bfc39d6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843017 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Ja-rek/CleanMonads",
"max_stars_repo_path": "Monads/Maybe/Extensions/Parsers/ParseToTimeSpanMaybeExtension.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162237"
} | starcoder | using System;
using System.Globalization;
using Monads.Utils.Parsers;
namespace Monads.Extensions.Parsers
{
public static class ParseToTimeSpanMaybeExtension
{
public static Maybe<TimeSpan> ParseToTimeSpan(this string source)
{
return TimeSpanParser.Parse(source);
}
... | 2.654699 | 5f1ad151b967616be3581d8107ba2654 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843018 | {
"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/Services/ApiServiceProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162238"
} | starcoder | <reponame>Benriya-Tech/BenriyaCore
using Benriya.Utils.Extensions;
using Benriya.Utils.Models;
using Blazored.SessionStorage;
using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
namespace Benriya.Clients.Wasm.Components.Services
{
public class Ap... | 2.163974 | 950417a8ceda0f33dc28fbf1dc27c17a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843019 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "gjhutchison/weeklygamejam62",
"max_stars_repo_path": "Assets/Scripts/SpriteDepth.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162239"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SpriteDepth : MonoBehaviour {
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
float posX = transform.position.x;
float posY = transform.position.y... | 2.124512 | 3d0bf9b999593382822f18420f4cb807 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843020 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bcwood/SharpBlog",
"max_stars_repo_path": "SharpBlog/Parsers/YamlParser.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162240"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using SharpBlog.Models;
namespace SharpBlog.Parsers
{
public static class YamlParser
{
public static Post ParsePostHeader(string text)
{
string[] lines = text.Split('\n');
var post = new Post();
... | 3.37192 | 079e8c4770a92f70bcc258a83e28feba |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843021 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DRIVER-EU/csharp-test-bed-adapter-",
"max_stars_repo_path": "examples/common/CommonMessages/schemas/eu/driver/model/test/Test.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162241"
} | starcoder | <filename>examples/common/CommonMessages/schemas/eu/driver/model/test/Test.cs
// ------------------------------------------------------------------------------
// <auto-generated>
// Generated by avrogen.exe, version 0.9.0.0
// Changes to this file may cause incorrect behavior and will be lost if code
// is re... | 2.516502 | 086309da7a0e3336176c418de7365a81 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843022 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "strelok91/VSMonoDebugger",
"max_stars_repo_path": "VSMonoDebugger/VSMonoDebuggerCommands.Implementation.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162242"
} | starcoder | using Microsoft;
using Microsoft.Internal.VisualStudio.PlatformUI;
using Microsoft.VisualStudio.Shell;
using Microsoft.VisualStudio.Shell.Interop;
using Microsoft.VisualStudio.Threading;
using SshFileSync;
using System;
using System.Diagnostics;
using System.IO;
using System.Threading.Tasks;
using System.Windows;
usin... | 1.661431 | b9dad03a02832cec4090defe54eca78b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843023 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "petartotev/PT_WebApp_PTSchool",
"max_stars_repo_path": "Solution/Web/PTSchool.Web/Models/Student/StudentLightViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162243"
} | starcoder | using PTSchool.Web.Models.Abstracts;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace PTSchool.Web.Models.Student
{
public class StudentLightViewModel
{
public Guid Id { get; set; }
public string FirstName { get; set; }
public s... | 1.76185 | cf36414640c0f775cd44fc0b63e46f39 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843024 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "bazer/DataLinq",
"max_stars_repo_path": "src/DataLinq/Linq/Queryable.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162244"
} | starcoder | <filename>src/DataLinq/Linq/Queryable.cs<gh_stars>1-10
using Remotion.Linq;
using Remotion.Linq.Parsing.Structure;
using DataLinq.Linq;
using DataLinq.Metadata;
using DataLinq.Mutation;
using System.Linq;
using System.Linq.Expressions;
namespace DataLinq
{
public class Queryable<T> : QueryableBase<T>
{
... | 2.114477 | ac94b1ce24efa53e8aca680326c9fd67 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843025 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "CallumHoughton18/Notify-Me",
"max_stars_repo_path": "src/notifyme.shared/ViewModels/ManageUserDataViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162245"
} | starcoder | using System.Linq;
using System.Threading.Tasks;
using notifyme.shared.Helpers;
using notifyme.shared.Models;
using notifyme.shared.Models.DataStore_Models;
using notifyme.shared.Repository_Interfaces;
using notifyme.shared.Service_Interfaces;
namespace notifyme.shared.ViewModels
{
public class ManageUserDataViewM... | 2.083919 | 56a31f53257ba9886cb0384fca109be4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843026 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bryce-klinker/fizz-xamarin",
"max_stars_repo_path": "Forms/src/Fizzly/Shared/Components/Loading/LoadingView.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162246"
} | starcoder | using System;
using System.Collections.Generic;
using Fizzly.Shared.Styles;
using Xamarin.Forms;
namespace Fizzly.Shared.Components.Loading
{
public partial class LoadingView : ContentView
{
public LoadingView()
{
InitializeComponent();
Indicator.Color = Colors.PrimaryC... | 1.465706 | 716f6bb549cb34d84ef6d034638ae29e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843027 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "joelcaples/Prepend",
"max_stars_repo_path": "prepend/enums.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162247"
} | starcoder | <filename>prepend/enums.cs
namespace Prepend {
public enum CommandType {
Prepend,
Remove,
Usage
}
}
| 1.684219 | 19a70c0b9a51c4669e0d5914ffa74983 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843028 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "ColdVolcano/Touhosu",
"max_stars_repo_path": "osu.Game.Modes.Touhosu/Objects/Drawables/DrawablePlayer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162248"
} | starcoder | <reponame>ColdVolcano/Touhosu<filename>osu.Game.Modes.Touhosu/Objects/Drawables/DrawablePlayer.cs
using System;
using osu.Framework.Input;
using osu.Framework.Graphics.Transformations;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Sp... | 2.061303 | 760c7f6c5b5d01085d0cb4e4118e4898 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843029 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zhangjie0072/FairyGUILearn",
"max_stars_repo_path": "Assets/Slua/LuaObject/Custom/Lua_FairyGUI_ProgressTitleType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162249"
} | starcoder | <filename>Assets/Slua/LuaObject/Custom/Lua_FairyGUI_ProgressTitleType.cs
using System;
using LuaInterface;
using SLua;
using System.Collections.Generic;
public class Lua_FairyGUI_ProgressTitleType : LuaObject {
static public void reg(IntPtr l) {
getEnumTable(l,"FairyGUI.ProgressTitleType");
addMember(l,0,"Percent... | 1.855189 | e05242bbc436d7b8a48e706ee203142a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843030 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ElifSelenCoban/Dynamic_Tables",
"max_stars_repo_path": "Views/Home/EditRecord.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:162250"
} | starcoder | <reponame>ElifSelenCoban/Dynamic_Tables<filename>Views/Home/EditRecord.cshtml
@model System.Data.DataTable
@using (Html.BeginForm("EditRecord", "Home", FormMethod.Post))
{
foreach (System.Data.DataRow row in Model.Rows)
{
<tr>
@foreach (System.Data.DataColumn col in Model.Columns)
... | 2.300024 | 6e21d50d7d89825426d7a0abc512cf3f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843031 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "awelburn/FubuCsProjFile",
"max_stars_repo_path": "src/FubuCsProjFile.Testing/Templating/ReadSolutionTester.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162251"
} | starcoder | <gh_stars>1-10
using FubuCsProjFile.Templating;
using FubuCsProjFile.Templating.Planning;
using FubuCsProjFile.Templating.Runtime;
using FubuTestingSupport;
using NUnit.Framework;
namespace FubuCsProjFile.Testing.Templating
{
[TestFixture]
public class ReadSolutionTester
{
[Test]
... | 2.073585 | a9e8a39f07604805ffda2597a575c2fb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843032 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "brian-reichle/CausalityDbg",
"max_stars_repo_path": "src/CausalityDbg.IL/Signature/SigTypePrimitive.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162252"
} | starcoder | <reponame>brian-reichle/CausalityDbg
// Copyright (c) <NAME>. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace CausalityDbg.IL
{
public sealed partial class SigTypePrimitive : SigType
{
public SigTypePrimitive(CorElementTy... | 2.055223 | c2f23704412c2931d2f539ab7c7e7f3d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843033 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mbyase/AR",
"max_stars_repo_path": "Unity/BaoGang/Assets/Scripts/Web/Common/SocketService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162253"
} | starcoder | using System;
using BestHTTP.SocketIO;
using BestHTTP.SocketIO.Events;
using AR.Configs;
using HopeRun.Model;
using UnityEngine;
using HopeRun;
using SimpleJSON;
namespace AR.Common
{
public class SocketService
{
//Set Namespace For Current
public string currentChannel;
public Socket... | 1.968846 | 4b1f6ddc7c4a844e9cd710fb3275970c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843034 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "devedse/DeveRecupDirSorter",
"max_stars_repo_path": "DeveRecupDirSorter/RecupFile.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162254"
} | starcoder | <reponame>devedse/DeveRecupDirSorter
using DeveRecupDirSorter.Helpers;
using ExifLibrary;
using System;
using System.IO;
using System.Linq;
namespace DeveRecupDirSorter
{
public class RecupFile
{
public string RelativePath { get; }
public long Size { get; }
public DateTime CreationTime... | 2.853541 | 2bbe27c601e05b5c499e9b00b745497c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843035 | {
"extension": "c-sharp",
"max_stars_count": "22.0",
"max_stars_repo_name": "NET1211/aspnet-archive-tools",
"max_stars_repo_path": "src/tests/graphql-aspnet-tests/Controllers/ControllerTestData/InvokableController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162255"
} | starcoder | // *************************************************************
// project: graphql-aspnet
// --
// repo: https://github.com/graphql-aspnet
// docs: https://graphql-aspnet.github.io
// --
// License: MIT
// *************************************************************
namespace GraphQL.AspNet.Tests.Controllers.Con... | 2.019198 | fca9551b5891a1d503cb2dcff35505e4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843036 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "wangyanjun/incore",
"max_stars_repo_path": "src/core/inc.core/inc.protocols.mc/MCControlCode.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162256"
} | starcoder | namespace inc.protocols.mc
{
/// <summary>
/// MC protocol control code
/// </summary>
public enum MCControlCode
{
/// <summary>
/// Start of Text
/// </summary>
STX = 0x02,
/// <summary>
/// End of Text
/// </summary>
ETX = 0x03,
... | 2.405469 | 5458487362ba97e168df005a42aa9836 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843037 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "aerooneqq/IntelligentComments",
"max_stars_repo_path": "src/dotnet/IntelligentComments/src/Comments/Domain/Impl/References/XmlDocCodeEntityDomainReference.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162257"
} | starcoder | using IntelligentComments.Comments.Caches;
using IntelligentComments.Comments.Domain.Core.References;
using JetBrains.Annotations;
using JetBrains.DocumentModel;
using JetBrains.ProjectModel;
using JetBrains.ReSharper.Psi;
using JetBrains.ReSharper.Psi.Files;
using JetBrains.ReSharper.Psi.Modules;
using JetBrains.ReSha... | 1.989077 | 915c08d07cdeeeae7da73c3d463b7c12 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843038 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MrPoP/FABSolution",
"max_stars_repo_path": "CoreProcess/Timer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162258"
} | starcoder | <reponame>MrPoP/FABSolution
using System;
using System.Runtime.InteropServices;
namespace CoreProcess
{
public class Timer
{
private uint time;
public Timer(bool local = true)
{
time = local ? TimeStamp.GetTime() : 0;
}
public void Set(uint time, int amount... | 2.790359 | 1f4149ffca488b6e150fa81289ad8980 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843039 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "weslckx/Webshop",
"max_stars_repo_path": "Webshop/Webshop.Data/Repositories/IProductRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162259"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using Webshop.Domain.Models;
namespace Webshop.Data.Repositories
{
public interface IProductRepository: IRepository<Product>
{
}
}
| 1.377293 | bca66f88018a12f0db6e4547d32d1782 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843040 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jdm7dv/Microsoft-Biology-Foundation",
"max_stars_repo_path": "eLMM/CodePlex/MBF/Alphabets.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162260"
} | starcoder | <gh_stars>0
//*********************************************************
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//
//
//
//
//
//*********************************************************
using System;
using System.Collections.Generic;
using System.Linq;
using Bio.Registration;
namespace B... | 2.739367 | 4e69c043d6d2ab4cf44477cbcfd7ea38 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843041 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "reflectronic/terrafx.interop.windows",
"max_stars_repo_path": "sources/Interop/Windows/DirectX/um/directmanipulation/DIRECTMANIPULATION_VIEWPORT_OPTIONS.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162261"
} | starcoder | <reponame>reflectronic/terrafx.interop.windows<gh_stars>0
// Copyright © <NAME> Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/directmanipulation.h in the Windows SDK for Windows 10.0.22000.0
// Original source is Copyright © Microsoft.... | 1.234875 | 22ca573fe3764fc615b61ca76efb4f10 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843042 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jstevenson81/bittrex-function",
"max_stars_repo_path": "src/JWS.Bittrex.Api/BittrexResponse.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162262"
} | starcoder | using Newtonsoft.Json.Linq;
namespace JWS.Bittrex.Api
{
class BittrexResponse
{
public bool Success { get; set; }
public string Message { get; set; }
public JToken Result { get; set; }
}
}
| 1.574873 | ac215b5c6337673a65fa236a725c2061 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843043 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Marcus-V-Freitas/BlazorMovies",
"max_stars_repo_path": "BlazorMovies/Client/Repository/Implementation/MoviesRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162263"
} | starcoder | using BlazorMovies.Client.Helpers.Interface;
using BlazorMovies.Client.Helpers.Services;
using BlazorMovies.Client.Repository.Interface;
using BlazorMovies.Shared.DTOs;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace BlazorMovies.Client.Repository.Implementat... | 2.549866 | 97d124e3e4f2cf8a98f18614e6e0dc01 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843044 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dev-lucasbatista/ProntuarioUnico",
"max_stars_repo_path": "ProntuarioUnico/AuxiliaryClasses/UserAuthentication.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162264"
} | starcoder | <gh_stars>0
using ProntuarioUnico.Business.Entities.Enums;
using System;
using System.Web;
using System.Web.Security;
namespace ProntuarioUnico.AuxiliaryClasses
{
public static class UserAuthentication
{
public static StatusLogin LoginPessoaFisica(string login, long codigoInterno, string nome)
... | 2.195401 | 559e821ab866391d6830d08a97e428a4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843045 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SmegheadSev/FizzBuzz",
"max_stars_repo_path": "FizzBuzz/Models/FizzBuzzRequest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162265"
} | starcoder | using System.Collections.Generic;
namespace FizzBuzz
{
public class FizzBuzzRequest
{
public int? MaxValue { get; set; }
public int? MinValue { get; set; }
public IEnumerable<Multiple> Multiples { get; set; }
}
}
| 2.085799 | c889aba0207d55c9a65d6bb8a7b3213c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843046 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "mwherman2000/TrustedDigitalWeb",
"max_stars_repo_path": "TDW.TDADesktop.Core/TDW.TDADesktop.Core/Custom Controls/MessageList.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162266"
} | starcoder | #region Using directives
using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Reflection;
using System.Text;
using System.Windows.Forms;
using System.Diagnostics;
using Microsoft.Win32;
#endregion
namespace TDW.TD... | 2.295257 | e51a03d74ff52579df2349d5eca534d5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843047 | {
"extension": "c-sharp",
"max_stars_count": "1775.0",
"max_stars_repo_name": "garora/Audit.NET",
"max_stars_repo_path": "src/Audit.NET.EventLog.Core/ConfigurationApi/EvenLogProviderConfigurator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162267"
} | starcoder | <filename>src/Audit.NET.EventLog.Core/ConfigurationApi/EvenLogProviderConfigurator.cs
using Audit.Core.ConfigurationApi;
using Audit.Core.Providers;
using System;
namespace Audit.Core
{
public static class EvenLogProviderConfigurator
{
public static ICreationPolicyConfigurator UseEventLogProvider(this... | 2.307189 | 08af19a92d5b522eae31500444a7d971 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843048 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "dichaos/Yahboom.Pi.Net",
"max_stars_repo_path": "Robot/Robot/PWM/WiringPi.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162268"
} | starcoder | <filename>Robot/Robot/PWM/WiringPi.cs<gh_stars>1-10
using System.Runtime.InteropServices;
namespace Robot.PWM
{
public static class WiringPi
{
private const string WiringPiLibrary = "/usr/lib/libwiringPi.so.2.50";
[DllImport(WiringPiLibrary, EntryPoint = "wiringPiSetupGpio", SetLastError = tru... | 2.348355 | c8a241b98cf9e36cdd33d47bc7cacd08 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843049 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Inkwalker/WaveFunctionCollapse",
"max_stars_repo_path": "Assets/Scripts/MeshTools/MeshEdge.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162269"
} | starcoder | using UnityEngine;
using System.Collections.Generic;
namespace WaveFunctionCollapse.MeshTools
{
[System.Serializable]
public class MeshEdge
{
[SerializeField] Vector3[] vertices;
[SerializeField] int[] edges;
[SerializeField] Vector3 direction;
[SerializeField] int hash;
... | 2.820754 | 335348271e36f9572211d5277b3073ff |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843050 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "lvermeulen/Dynatrace.Net",
"max_stars_repo_path": "src/Dynatrace.Net/Configuration/Dashboards/Models/Dashboard.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162270"
} | starcoder | using System.Collections.Generic;
using Dynatrace.Net.Common.Models;
namespace Dynatrace.Net.Configuration.Dashboards.Models
{
public class Dashboard
{
public ConfigurationMetadata Metadata { get; set; }
public string Id { get; set; }
public DashboardMetadata DashboardMetadata { get; set; }
public... | 1.761068 | b70bce79c166503074b7b19c1588fa92 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843051 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CrayonScript/CrayonScriptPluginUnityProject",
"max_stars_repo_path": "Assets/CorgiEngine/Common/Scripts/Environment/CharacterOverrides/CharacterHorizontalMovementOverride.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162271"
} | starcoder | <reponame>CrayonScript/CrayonScriptPluginUnityProject<filename>Assets/CorgiEngine/Common/Scripts/Environment/CharacterOverrides/CharacterHorizontalMovementOverride.cs
using UnityEngine;
using System.Collections;
namespace MoreMountains.CorgiEngine
{
[AddComponentMenu("Corgi Engine/Environment/Character Hztal Mvt Ov... | 2.607614 | aed17073dcfda3728cda2095b61e59ec |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843052 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "commonsensesoftware/More.Cqrs",
"max_stars_repo_path": "samples/tokens/src/Contoso.Tokens.Domain/Tokens/TokenReserved.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162272"
} | starcoder | namespace Contoso.Domain.Tokens
{
using More.Domain.Events;
using System;
public class TokenReserved : Event<string>
{
public TokenReserved( string aggregateId, Guid orderId, string billingAccountId, string code, string hash )
{
AggregateId = aggregateId;
OrderI... | 2.184889 | 1c7c07d3dab0c07bb15c941c197b8a13 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843053 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JohannesSpicker/ModularBehaviourTree",
"max_stars_repo_path": "ModularBehaviourTree/Assets/Scripts/ModularBehaviourTree/Core/Primitives/Composite.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162273"
} | starcoder | using UnityEngine;
namespace ModularBehaviourTree
{
//[UnityEngine.CreateAssetMenu(fileName = "FILENAME", menuName = "MENUNAME", order = 0)]
/// <summary>
/// A composite node is a node that can have one or more children. They will process one or more of these children in
/// either a first to... | 3.072484 | 0f7a0eb0a7c3fb3a89cf01a014ff6765 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843054 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "turna62/SWE4202-OOC-Lab",
"max_stars_repo_path": "Pharmacy Management System Lab 5/Form1.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162274"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Pharmacy_Management_System_Lab_5
{
public partial class Form1 : Form
{
List<Me... | 2.76712 | 65dce50af8b2d22fc20622fc900824c4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843055 | {
"extension": "c-sharp",
"max_stars_count": "44.0",
"max_stars_repo_name": "debonte/standard-ui",
"max_stars_repo_path": "src/StandardUI.WPF/SizeWpf.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162275"
} | starcoder | using System.ComponentModel;
using Microsoft.StandardUI.Wpf.Converters;
namespace Microsoft.StandardUI.Wpf
{
[TypeConverter(typeof(SizeTypeConverter))]
public struct SizeWpf
{
public static readonly SizeWpf Default = new SizeWpf(Size.Default);
public Size Size { get; }
public Si... | 2.16372 | aeaf5e70ab8a66a33c2f0d05f8aab8e9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843056 | {
"extension": "c-sharp",
"max_stars_count": "19.0",
"max_stars_repo_name": "naivetang/ET_Tank",
"max_stars_repo_path": "Unity/Assets/Hotfix/FUI/GM/FUIGMFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162276"
} | starcoder | <filename>Unity/Assets/Hotfix/FUI/GM/FUIGMFactory.cs<gh_stars>10-100
using ETModel;
using FairyGUI;
namespace ETHotfix
{
public static class FUIGMFactory
{
public static async ETTask<FUI> Create()
{
await ETTask.CompletedTask;
// 可以同步或者异步加载,异步加载需要搞个转圈圈,这里为了简单使用同步加载
... | 2.347436 | 75eb63db30cd852745639f1338ebe0f5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843057 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vishwas1234567/dotnet-demoapp",
"max_stars_repo_path": "src/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162277"
} | starcoder | <reponame>vishwas1234567/dotnet-demoapp
using Microsoft.Identity.Web;
using Microsoft.Identity.Web.UI;
using DotnetDemoapp;
var builder = WebApplication.CreateBuilder(args);
builder.Services.AddApplicationInsightsTelemetry();
// Make Azure AD auth an optional feature if the config is present
if (builder.Configuratio... | 1.944889 | d7ab897cd94a88032b889ed30ad4c9c6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843058 | {
"extension": "c-sharp",
"max_stars_count": "144.0",
"max_stars_repo_name": "blitz-research/monkey",
"max_stars_repo_path": "modules/monkey/native/lang.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162278"
} | starcoder | <filename>modules/monkey/native/lang.cs
// C# Monkey runtime.
//
// Placed into the public domain 24/02/2011.
// No warranty implied; use at your own risk.
//using System;
//using System.Collections;
public class bb_std_lang{
public static String errInfo="";
public static List<String> errStack=new List<String>();... | 2.630633 | 2250b5b2502bf27d3aadb70e7f85168f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843059 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RagingKore/Raging.Toolbox",
"max_stars_repo_path": "Raging.Toolbox/Net/Adapters/IHttpContentAdapter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162279"
} | starcoder | <filename>Raging.Toolbox/Net/Adapters/IHttpContentAdapter.cs
using System.Collections.Generic;
using System.Net.Http.Formatting;
using System.Threading.Tasks;
namespace Raging.Toolbox.Net.Adapters
{
public interface IHttpContentAdapter
{
Task<T> ReadAsAsync<T>(IEnumerable<MediaTypeFormatter> formatter... | 2.140706 | 7165a5b72475ee3faa5795dee6045868 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843060 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "h-alone/aceadmin",
"max_stars_repo_path": "src/Netnr.P/Netnr.Core/ConsoleTo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162280"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
namespace Netnr.Core
{
/// <summary>
/// 输出
/// </summary>
public class ConsoleTo
{
/// <summary>
/// 写入错误信息
/// </summary>
/// <param name="ex"></param>
/// <param name="isFull">是否全部信息,默认false... | 2.937402 | cf5387f870c01521e71c80b98ea52c62 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843061 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "aws-samples/aws-netcore-app-using-batch",
"max_stars_repo_path": "src/MyApp/Models/BatchTriggerLambdaInput.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162281"
} | starcoder | <reponame>aws-samples/aws-netcore-app-using-batch
namespace MyApp
{
public class BatchTriggerLambdaInput{
public string BucketName {get;set;}
public string FileName {get;set;}
public string Region {get;set;}
public string BatchJobName {get;set;}
public string BatchJobQueue {get;se... | 1.150278 | e2af355cb8f58aea37319a871a741b19 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843062 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "AndreZila01/Projects-Html-Css",
"max_stars_repo_path": "VesteBem/VesteBem_Admin/VesteBem_Admin/FrmEditarApagarProdutos.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162282"
} | starcoder | <gh_stars>1-10
namespace VesteBem_Admin
{
partial class frmEditarApagarProdutos
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">... | 1.731903 | 97cea5072ca4e4618e25b391e4405508 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843063 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bdvp/Loja",
"max_stars_repo_path": "src/Loja.Service.Api.Cliente/Controllers/ApiController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162283"
} | starcoder | namespace Loja.Service.Api.Cliente.Controllers
{
using Loja.Domain.Core.ValueObject;
using Microsoft.AspNetCore.Mvc;
[Route("api/[controller]")]
[ApiController]
public abstract class ApiController : ControllerBase
{
// TODO : refatorar essa classe
protected new IActionResult Re... | 2.110129 | a402a3a4427f26c6f28d95c56569fd41 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843064 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "Sprinkoringo/PMU-Client",
"max_stars_repo_path": "Client/Windows/Editors/winShopPanel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162284"
} | starcoder | /*The MIT License (MIT)
Copyright (c) 2014 PMU Staff
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, pub... | 1.961709 | 09d5ca7d3aadf6204fc81b4fe6dfafbd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843065 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ReesMorris/from-zero",
"max_stars_repo_path": "Assets/scripts/GameManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162285"
} | starcoder | using UnityEngine;
public class GameManager : MonoBehaviour {
public bool canSkipCutscenes = true;
void Start() {
if (GetComponent<CutsceneManager> () == null) {
gameObject.AddComponent<CutsceneManager> ();
LogMessage ("CutsceneManager");
}
if (GetComponent<LanguageManager> () == null) {
gameObject... | 2.217521 | 95271082cc2deecde76f3b169ea2ee5a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843066 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "mohsr/red-or-blue",
"max_stars_repo_path": "Assets/_Scripts/HurtAndDestroyOnTouch.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162286"
} | starcoder | <reponame>mohsr/red-or-blue<filename>Assets/_Scripts/HurtAndDestroyOnTouch.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class HurtAndDestroyOnTouch : MonoBehaviour {
void OnTriggerEnter2D(Collider2D other)
{
PlayerDie pd;
if (other.tag == "Player") {
pd = other.G... | 2.086891 | 72c2aa8d40c00e3e3028f8d94f53b83b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843067 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "andanteyk/Millennium",
"max_stars_repo_path": "Assets/Millennium/Scripts/InGame/Entity/DamageSource.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162287"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Millennium.InGame.Entity
{
public class DamageSource
{
public readonly Entity Attacker;
public readonly int Damage;
public DamageSource(Entity attacker, int da... | 2.464804 | 70188f374803665ed46d6adca7fc9e0e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843068 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SimonCropp/Verify.AspNetCore",
"max_stars_repo_path": "src/Verify.AspNetCore/Converters/RedirectToActionResultConverter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162288"
} | starcoder | <reponame>SimonCropp/Verify.AspNetCore<gh_stars>0
using Microsoft.AspNetCore.Mvc;
class RedirectToActionResultConverter :
ResultConverter<RedirectToActionResult>
{
protected override void InnerWrite(VerifyJsonWriter writer, RedirectToActionResult result)
{
writer.WriteProperty(result, result.Actio... | 1.945276 | 7e5a7debb4f3d28f19943fc30b0bdbe3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843069 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kip-dk/dynamics-webresources",
"max_stars_repo_path": "Kipon.WebResources.Tools/Entities/CrmUnitOfWork.Design.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162289"
} | starcoder | <filename>Kipon.WebResources.Tools/Entities/CrmUnitOfWork.Design.cs
// Dynamics 365 svcutil extension tool by Kipon ApS, <NAME>
// This file is autogenerated. Do not touch the code manually
namespace Kipon.WebResources.Tools.Entities
{
public partial class CrmUnitOfWork
{
private IRepository<Solution> _solutions; ... | 2.039547 | 73c8b78dec06e18e45299cefb1c265f9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843070 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "danailstratiev/Csharp-SoftUni-Development",
"max_stars_repo_path": "Csharp Advanced/09. Exam tasks and preparations/Exam Preparation Tagram/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162290"
} | starcoder | using System;
using System.Linq;
using System.Collections.Generic;
namespace Exam_Preparation_Tagram
{
class Program
{
static void Main(string[] args)
{
var input = Console.ReadLine();
var users = new Dictionary<string, Dictionary<string, int>>();
while (i... | 3.468823 | 8c35de5ace4367991a23688bc0287b00 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843071 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "madiantech/tkcore",
"max_stars_repo_path": "Core/YJC.Toolkit.Core/Sys/ToolkitConfig.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162291"
} | starcoder | namespace YJC.Toolkit.Sys
{
public class ToolkitConfig : IReadObjectCallBack, IDataFile
{
private string fFullPath;
#region IReadObjectCallBack 成员
void IReadObjectCallBack.OnReadObject()
{
if (!string.IsNullOrEmpty(ExpectedVersion))
if (ExpectedVers... | 2.447065 | 213fa4445adad2754131c71b00dd4d32 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843072 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "DNN-Connect/razor-helpers",
"max_stars_repo_path": "Razor.Blade/Blade/Tag/Tag.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162292"
} | starcoder | <reponame>DNN-Connect/razor-helpers
using Connect.Razor.Blade.HtmlTags;
namespace Connect.Razor.Blade
{
/// <summary>
/// A generic tag object - used to create any kind of tag
/// </summary>
public partial class Tag
{
#region Constructors
private Tag() { }
public Tag(strin... | 2.619216 | c12d139cba1fe22e97afdd1cf5daddcb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843073 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "PacktPublishing/Parallel-Programming-and-Concurrency-with-C-10-and-.NET6",
"max_stars_repo_path": "chapter08/LINQandPLINQsnippets/LinqSnippets.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162293"
} | starcoder | namespace LINQandPLINQsnippets
{
internal class LinqSnippets
{
internal void QueryCities(List<string> cities)
{
// Query is executed with ToList call
List<string> citiesWithS = cities.Where(s => s.StartsWith('S')).ToList();
// Query is not executed here
... | 3.475873 | 478279891ec0939e3a6ff69aee41c668 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843074 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SK0P3iN/IA-GOAP",
"max_stars_repo_path": "CaptureTheFlagGame/Assets/EOTS/GameManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162294"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using Assets.General_Scripts;
using UnityEngine;
using UnityEngine.UI;
namespace Assets.EOTS
{
public class GameManager : MonoBehaviour
{
public List<IGoap> BlueTeamSoldiers;
public List<IGoap> RedTeam... | 2.291509 | 74f14858ff190c6f917fcb66200ae6ff |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843075 | {
"extension": "c-sharp",
"max_stars_count": "3215.0",
"max_stars_repo_name": "jamiehankins/docfx",
"max_stars_repo_path": "src/Microsoft.DocAsCode.Build.UniversalReference/BuildOutputs/ApiLanguageValuePairWithLevel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162295"
} | starcoder | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.DocAsCode.Build.UniversalReference
{
using System;
using Newtonsoft.Json;
using YamlDotNet.Serialization;
[Serializable... | 1.667471 | 673dcd3f47ffe0bb0c3b3177bad17ce3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843076 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "WichardRiezebos/astar",
"max_stars_repo_path": "AStarNavigator/Tile.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162296"
} | starcoder | <filename>AStarNavigator/Tile.cs
namespace AStarNavigator
{
public struct Tile
{
public double X { get; private set; }
public double Y { get; private set; }
public Tile(double x, double y)
{
X = x;
Y = y;
}
public static bool operator =... | 3.38939 | 8e0024d1ed3bbc64d98b1efdb00f4244 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843077 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "acnagrellos/NetCore_IV",
"max_stars_repo_path": "5.aspnetcore-controladores/EjercicioControladores/Solucion/Refactor_Ejercicio9/Customers.Services/Models/CustomerResponse.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162297"
} | starcoder | <reponame>acnagrellos/NetCore_IV<gh_stars>0
using Customers.Services.Domain;
namespace Customers.Services.Models
{
public class CustomerResponse
{
public int Id { get; set; }
public string Name { get; set; }
public string Surname { get; set; }
public string Dni { get; set; }
... | 2.381142 | 7c4dca3c0c894218620bf034acd1109c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843078 | {
"extension": "c-sharp",
"max_stars_count": "44.0",
"max_stars_repo_name": "AaronFriel/pulumi-google-native",
"max_stars_repo_path": "sdk/dotnet/NetworkConnectivity/V1/GetHub.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162298"
} | starcoder | <filename>sdk/dotnet/NetworkConnectivity/V1/GetHub.cs
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tas... | 2.032752 | 19a0a32c93337151218b56807584a71c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843079 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "jojo-WJ/SsitEngine",
"max_stars_repo_path": "Assets/SsitEngineAssets/Runtime/World/Object/Charater/CharacterState/CharacterState.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162299"
} | starcoder | <gh_stars>1-10
using Framework.SceneObject;
using SsitEngine.Fsm;
namespace SsitEngine.Unity.SceneObject
{
public enum EN_CharacterActionState
{
EN_CHA_None = 0,
EN_CHA_Stay,
EN_CHA_Assign,
//EN_CHA_StrecherWait,
EN_CHA_Strecher,
EN_CHA_Sentry,
EN_CHA_... | 1.973374 | e7bccb6759d7da015c808b2371da7fe6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843080 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "acoto/OpenOData-Client",
"max_stars_repo_path": "OpenODATA/OpenODATA/UserControl1.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162300"
} | starcoder | namespace OpenODATA
{
partial class UserControl1
{
/// <summary>
/// Variable del diseñador necesaria.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Limpiar los recursos que se estén usando.
///... | 2.075571 | 54aa24b42f59cc82b9dd2f5c744dc162 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843081 | {
"extension": "c-sharp",
"max_stars_count": "123.0",
"max_stars_repo_name": "viniciusvillas/cassette",
"max_stars_repo_path": "src/Cassette.Aspnet/HttpResponseUtil.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162301"
} | starcoder | using System;
using System.IO.Compression;
using System.Linq;
using System.Web;
namespace Cassette.Aspnet
{
internal static class HttpResponseUtil
{
public static void CacheLongTime(HttpResponseBase response, string actualETag)
{
response.Cache.SetCacheability(HttpCacheability.Publ... | 2.535072 | 50e4f480125e7b5897bbedcbf67e6da4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843082 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "khanlarmammadov/RunTicks",
"max_stars_repo_path": "src/RunTicks.UnitTests/IntegrationTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162302"
} | starcoder | <reponame>khanlarmammadov/RunTicks
using NUnit.Framework;
using System;
using System.Threading;
namespace RunTicks.UnitTests
{
[TestFixture]
public class IntegrationTests
{
[Test]
public void Measurement_With_Sync_Action_Assert_Average_Ticks()
{
var measurement = Measure... | 2.466846 | f18f14591412bfc00310bea194c1a4ba |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843083 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "amkuchta/MahApps.Metro",
"max_stars_repo_path": "src/Mahapps.Metro.Tests/TestApp.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162303"
} | starcoder | using System.Windows;
namespace MahApps.Metro.Tests
{
public partial class TestApp : Application
{
}
} | 1.062722 | 3ba15712c32f1c384e4afa6a55eee187 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843084 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "MasterScott/CP77Tools",
"max_stars_repo_path": "CP77.CR2W/Types/cp77/SBaseDeviceOperationData.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162304"
} | starcoder | using System.IO;
using CP77.CR2W.Reflection;
using FastMember;
using static CP77.CR2W.Types.Enums;
namespace CP77.CR2W.Types
{
[REDMeta]
public class SBaseDeviceOperationData : CVariable
{
[Ordinal(0)] [RED("SFXs")] public CArray<SSFXOperationData> SFXs { get; set; }
[Ordinal(1)] [RED("VFXs")] publ... | 0.862441 | ade4505f95c72b28c8193ddd21801b0a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843085 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "IMJoyJ/windbot",
"max_stars_repo_path": "Game/AI/Decks/NekrozExecutor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162305"
} | starcoder | using YGOSharp.OCGWrapper.Enums;
using System.Collections.Generic;
using WindBot;
using WindBot.Game;
using WindBot.Game.AI;
namespace WindBot.Game.AI.Decks
{
// NOT FINISHED YET
[Deck("Nekroz", "AI_Nekroz", "NotFinished")]
public class NekrozExecutor : DefaultExecutor
{
public class CardId
... | 2.133071 | ceb36431ac06c26c735a01fa1b4a4827 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843086 | {
"extension": "c-sharp",
"max_stars_count": "624.0",
"max_stars_repo_name": "HansHammel/dotnetcore2stack",
"max_stars_repo_path": "NoneDotNetCore/AspNet.Security.OpenIdConnect.Server/samples/Nancy/Nancy.Server/Startup.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162306"
} | starcoder | <reponame>HansHammel/dotnetcore2stack
using System;
using System.IO;
using Microsoft.Extensions.Logging;
using Microsoft.Owin;
using Microsoft.Owin.Security;
using Microsoft.Owin.Security.Cookies;
using Nancy.Server.Extensions;
using Nancy.Server.Providers;
using Owin;
namespace Nancy.Server
{
public class Startup... | 1.970048 | 38a702dcd80e2aeccac824d0355b0b34 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843087 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MatthewValverde/android-ar-simple",
"max_stars_repo_path": "Assets/PlayerAnimationEvents.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162307"
} | starcoder | using UnityEngine;
using System.Collections;
public class PlayerAnimationEvents : MonoBehaviour
{
public GameObject gameManagerScript;
private GameManager mGameManager;
// Use this for initialization
void Start ()
{
mGameManager = gameManagerScript.GetComponent<GameManager> ();
}
// Update is called once ... | 1.934926 | d26d8042a85d74557893ea6c987bfbb7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843088 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Yasuhiro-Tanabe/YtAppCSharp",
"max_stars_repo_path": "MemorieDeFleurs/MemorieDeFleurs.UI.WPF/Commands/RemoveFromListCommand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162308"
} | starcoder | using YasT.Framework.WPF;
namespace MemorieDeFleurs.UI.WPF.Commands
{
/// <summary>
/// <see cref="IAppendableRemovable"/> で実装必要な、コレクション間のアイテム移動コマンド
///
/// <see cref="AppendToListCommand"/> とは逆方向にコレクションアイテムを移動する
/// </summary>
public class RemoveFromListCommand : CommandBase<IAppend... | 2.276991 | f56197673e2ba304f1311d884f8c9bdf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843089 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "UMapx/UMapx",
"max_stars_repo_path": "sources/Core/StringOptions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162309"
} | starcoder | <gh_stars>1-10
using System;
using System.Text.RegularExpressions;
namespace UMapx.Core
{
/// <summary>
/// Defines a class of string operations.
/// </summary>
internal class StringOptions
{
#region String voids
/// <summary>
/// Complex number format.
/// </summar... | 3.177777 | 254fefa44177e5f17fe9b1faf9fccb4a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843090 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "goofy5752/AngularTOH",
"max_stars_repo_path": "TourOfHeroesWebApi/TourOfHeroesServices/Contracts/IUserService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162310"
} | starcoder | namespace TourOfHeroesServices.Contracts
{
using System.Collections.Generic;
using System.Threading.Tasks;
using TourOfHeroesDTOs.UserDtos;
public interface IUserService
{
IEnumerable<GetUserDTO> GetAllUsers();
GetUserDetailDTO GetUserDetail(string id, bool skipMethodForTest = fa... | 1.822969 | 4c5ed641407b371c59e5c5155b350e6c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843091 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "karl-rao/Kalendar",
"max_stars_repo_path": "Libraries/ApiTerminal/Clients/Response/GoogleUser.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162311"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
namespace Kalendar.Zero.ApiTerminal.Clients.Response
{
/// <summary>
///
/// </summary>
[Serializable]
[DataContract]
public class GoogleUser... | 2.028987 | 50b0a1e872ac8f3a99412d8defa56d4a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843092 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "saifulislamPhD/SFogSim",
"max_stars_repo_path": "SFog/Business/Utilities/Cloud/CloudUtility.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162312"
} | starcoder | <reponame>saifulislamPhD/SFogSim<filename>SFog/Business/Utilities/Cloud/CloudUtility.cs
using SFog.Business.Utilities.Fog;
using SFog.Models;
using SFog.Models.Brokers;
using SFog.Models.Cache;
using SFog.Models.Links;
using SFog.Models.Nodes;
using SFog.Models.Nodes.Cloud;
using SFog.Models.Utility;
using System;
usi... | 1.812613 | 7a5ec746ba1260ddc0e44fff9645bca9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843093 | {
"extension": "c-sharp",
"max_stars_count": "22.0",
"max_stars_repo_name": "Sergey-Mishchenko/EasyPipes",
"max_stars_repo_path": "TcpClient.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162313"
} | starcoder | /* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
using System;
using System.Collections.Generic;
using System.Net;
using System.Net.Sockets;
using System.Text;
us... | 2.757201 | b3e9b977a8a0b85fccb6c9d7fad36762 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843094 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lucabol/ThinkRightMan",
"max_stars_repo_path": "MainWindow.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162314"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windo... | 2.771662 | 29647ab0f77a87c36b0976aee562e7a3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843095 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MagdalenaHylinskaSKK/HoneyComb",
"max_stars_repo_path": "src/HoneyComb/IHoneyCombBuilder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162315"
} | starcoder | <gh_stars>0
using HoneyComb.Types;
using Microsoft.Extensions.DependencyInjection;
using System;
namespace HoneyComb
{
public interface IHoneyCombBuilder
{
IServiceCollection Services { get; }
void AddInitializer(IInitializer initializer);
void AddInitializer<TInitializer>() where TIn... | 1.358111 | b1a59d60e7c1725994b5fca035f4eb4a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843096 | {
"extension": "c-sharp",
"max_stars_count": "23.0",
"max_stars_repo_name": "muchang/z3test",
"max_stars_repo_path": "ClusterExperiment/ClusterExperiment/Scatterplot.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162316"
} | starcoder | namespace ClusterExperiment
{
partial class Scatterplot
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... | 2.003447 | 3ffd1524b731f3bfc4d467b962c4bb09 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843097 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "n3oltd/N3O.Umbraco",
"max_stars_repo_path": "src/N3O.Umbraco.Extensions/Localization/Text/StringLocalizer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162317"
} | starcoder | using Humanizer;
using N3O.Umbraco.Constants;
using N3O.Umbraco.Content;
using N3O.Umbraco.Extensions;
using N3O.Umbraco.Locks;
using N3O.Umbraco.Utilities;
using Newtonsoft.Json;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using ... | 2.226743 | 5ae4436248b863ce7a72594f07c43e47 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843098 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "graemefoster/AzureResourceMap",
"max_stars_repo_path": "AzureDiagrams/Resources/IpConfigurations.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162318"
} | starcoder | using System;
using System.Linq;
using Newtonsoft.Json.Linq;
namespace DrawIo.Azure.Core.Resources;
public class IpConfigurations
{
public IpConfigurations(JObject jObject, string propertyName = "ipConfigurations")
{
PublicIpAddresses = jObject["properties"]![propertyName]?
.Select(x =>
... | 2.314561 | e6972785a91d0c213b1f549d60fa980b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843099 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Soffel/InstaScrump",
"max_stars_repo_path": "InstaScrump.Database/Model/Settings.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162319"
} | starcoder | <filename>InstaScrump.Database/Model/Settings.cs
using System.Collections.Generic;
using System.Linq;
using LinqToDB.Configuration;
namespace InstaScrump.Database.Model
{
internal class ConnectionStringSettings : IConnectionStringSettings
{
public string ConnectionString { get; set; }
public s... | 2.696854 | 750401005a3c4d6fa083d9bf4fdd1620 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843100 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "KaideTomomi/KOTOTAMAKARI_git",
"max_stars_repo_path": "Assets/script/Date/UpDate.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162320"
} | starcoder | using UnityEngine;
using System.Collections;
public class UseData : MonoBehaviour {
public MyData data;
}
| 1.076625 | c3bd4f812c68a8d5b1eb11b13236b82a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843101 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "kiva/Mikoba",
"max_stars_repo_path": "mikoba/ViewModels/OverlayResolver.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162321"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Reflection;
using Microsoft.AppCenter.Crashes;
using mikoba.ViewModels.SSI;
using Newtonsoft.Json;
using Sentry;
namespace mikoba.ViewModels
{
public static class OverlayResolver
{
public static CredentialOverlay GetC... | 2.185836 | f1425ef180c6b243fe138ac04b3af09d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843102 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Lukas34/ConstantWrite",
"max_stars_repo_path": "src/ConstantWrite.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162322"
} | starcoder | <reponame>Lukas34/ConstantWrite
using System;
using System.IO;
namespace ConstantWrite
{
class ConstantWrite
{
string author = "<NAME>";
string version = "0.0.1 PRE-RELEASE";
string github = "https://github.com/LukasLangrock/ConstantWrite/";
string license = "MIT";
Conf... | 2.929123 | 0f35405da97ca064e7d7b4d8e1a74af4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843103 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "3-Delta/Unity-UI",
"max_stars_repo_path": "Assets/Scripts/Framework/Components/Selectable/Toggle/ToggleListener.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162323"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq.Expressions;
using UnityEngine;
using UnityEngine.UI;
[DisallowMultipleComponent]
[RequireComponent(typeof(Toggle))]
public class ToggleListener : MonoBehaviour {
public enum EToggleType {
HideShow,
}
publ... | 2.296571 | d92eaddcd5ac726061bf344ebf1588a3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843104 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SamVanheer/sledge-formats",
"max_stars_repo_path": "Sledge.Formats/FileSystem/IFileResolver.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162324"
} | starcoder | <reponame>SamVanheer/sledge-formats
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
namespace Sledge.Formats.FileSystem
{
public interface IFileResolver
{
Stream OpenFile(string path);
string[] OpenFolder(string path);
}
}
| 1.728662 | a55bb56b2d93bc2dbe074e81ee606c77 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843105 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "edwardmeng/Wheatech.ServiceModel",
"max_stars_repo_path": "tests/ServiceBridge.UnitTests.WebApp/Controllers/LifetimeController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162325"
} | starcoder | using System.Web.Mvc;
using ServiceBridge.UnitTests.WebApp.Components;
namespace ServiceBridge.UnitTests.WebApp.Controllers
{
public class LifetimeController : Controller
{
public ActionResult Initialize(string container)
{
Helper.InitializeServiceContainer(container);
... | 2.20015 | 81380c23fa943cc48efb8c162e05d13b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843106 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "VeselinBPavlov/studioto.bg",
"max_stars_repo_path": "Tests/Studio.Application.Tests/Infrastructure/TestBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162326"
} | starcoder | namespace Studio.Application.Tests.Infrastructure
{
using Microsoft.EntityFrameworkCore;
using Studio.Persistence.Context;
using System;
public class TestBase
{
public StudioDbContext GetDbContext()
{
var builder = new DbContextOptionsBuilder<StudioDbContext>();
... | 2.045558 | 4bc6913bf0ecbfd4d4a3fbcf978846db |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843107 | {
"extension": "c-sharp",
"max_stars_count": "58.0",
"max_stars_repo_name": "GameDeveloperS001/Unity-EmojiText",
"max_stars_repo_path": "TextInlineSpritePro/Assets/UIWidgets/Standart Assets/Tooltip.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162327"
} | starcoder | using UnityEngine;
using UnityEngine.UI;
using UnityEngine.EventSystems;
using System.Collections;
namespace UIWidgets {
[AddComponentMenu("UI/Tooltip", 300)]
[RequireComponent(typeof(RectTransform))]
/// <summary>
/// Tooltip.
/// http://ilih.ru/images/unity-assets/UIWidgets/Tooltip.png
/// </summary>
public ... | 2.183453 | 00a442aaa64d47b32be207c34500fbab |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843108 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LeapOfFaith01/projeto-da-faculdade",
"max_stars_repo_path": "Controller/funcionarioController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162328"
} | starcoder | <filename>Controller/funcionarioController.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using sistemasfrotas.Model;
using sistemasfrotas.Repositorio;
namespace sistemasfrotas.Controller
{
class funcionarioController
{
... | 2.480506 | 9befc1270c77f5795777f128c50f8a78 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843109 | {
"extension": "c-sharp",
"max_stars_count": "29.0",
"max_stars_repo_name": "pulumi/pulumi-aws-native",
"max_stars_repo_path": "sdk/dotnet/Lightsail/Inputs/ContainerPublicEndpointArgs.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162329"
} | starcoder | <gh_stars>10-100
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
name... | 1.353242 | 7603f79726f9e1d6b8662cd16322eb86 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843110 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mehrdadab/Umbraco-CMS",
"max_stars_repo_path": "src/Umbraco.Core/Persistence/SqlExtensionsStatics.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162330"
} | starcoder | using System;
namespace Umbraco.Cms.Core.Persistence
{
/// <summary>
/// Provides a mean to express aliases in SELECT Sql statements.
/// </summary>
/// <remarks>
/// <para>First register with <c>using static Umbraco.Core.Persistence.NPocoSqlExtensions.Aliaser</c>,
/// then use eg <c>Sql{Foo}(... | 2.824723 | 938508c49633c0e5e0d69ecd28f8013f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843111 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wojiuxuihuan/EventPlayer",
"max_stars_repo_path": "Assets/Threeyes/Base/Element/SequenceBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162331"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
/// <summary>
/// Using Sequence to manage a set of Data
///
/// **Created by Threeyes
/// </summary>
/// <typeparam name="TData"></typeparam>
public class SequenceBase<TData> : SequenceAbstract
where TData : ... | 2.711441 | 801099a9483e494faf7876b967e28ef0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.