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 | 8847312 | {
"extension": "c-sharp",
"max_stars_count": "79.0",
"max_stars_repo_name": "Bhaskers-Blu-Org2/StopGuessing",
"max_stars_repo_path": "StopGuessingTests/MemoryLimitingTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166532"
} | starcoder | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Xunit;
namespace StopGuessingTests
{
public class MemoryLimitingTest
{
[Fact]
public void BigFreakinAllocationTest()
{
Console.Error.WriteLine("Starting test");
Console.Out.Write... | 2.770211 | d5e7dc2706d733eb85a4dba3c4c0db73 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847313 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "firefishes/FWGame",
"max_stars_repo_path": "Assets/Scripts/ShipDock/Applications/Components/NavgationAgenter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166533"
} | starcoder | <gh_stars>0
using ShipDock.Applications;
using System;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.AI;
namespace Tkzs.Game
{
public class NavgationAgenter : MonoBehaviour
{
[SerializeField]
private Transform m_NavTarget;
[SerializeField]
private NavMe... | 1.818964 | 7861b950f8d13e12f4a11d82a3ecb79a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847314 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ravindranathw/Goldfish",
"max_stars_repo_path": "Core/Goldfish/Models/CategoryArchive.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166534"
} | starcoder | /*
* Copyright (c) 2014 <NAME>
*
* See the file LICENSE for copying permission.
*/
using System;
using System.Runtime.Serialization;
namespace Goldfish.Models
{
/// <summary>
/// Archive model filtered on category.
/// </summary>
[Serializable]
[DataContract]
public sealed class CategoryArc... | 2.168838 | 5a06ffcb6862e8d1ff67cc0a93f6cd89 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847315 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "c0nfus3d/Chatbar",
"max_stars_repo_path": "IRCBar/ChannelInformation.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166535"
} | starcoder | namespace IRCBar
{
partial class ChannelInformation
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... | 2.057322 | 060e8f3405347360d0963773d53a476d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847316 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Psteinhart/DeveloperEvaluation",
"max_stars_repo_path": "CalculationTests/UnitTest1.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166536"
} | starcoder | <reponame>Psteinhart/DeveloperEvaluation<filename>CalculationTests/UnitTest1.cs<gh_stars>0
using System;
using System.Collections.Generic;
using CalculateService.Models;
using Xunit;
namespace CalculationTests
{
public class UnitTest1
{
[Fact]
public void CalculationTest()
{
... | 2.502018 | 5bf05724ab2cd1fa596e0e69dc1106c1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847317 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "binwu0412/react-.netCore_template",
"max_stars_repo_path": "react+.netcore_template/react+.netcore_template.Application/Commons/Models/DependendDto.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166537"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Text;
namespace react_.netcore_template.Application.Commons.Models
{
public class DependendDto
{
public int Id { get; set; }
public string Name { get; set; }
public int EmployeeId { get; set; }
}
}
| 1.356231 | 77c29e243101815c16238d1f8978de8f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847318 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "GrafGenerator/ssrs-formularize",
"max_stars_repo_path": "src/Formularizer/Core/FormulaDefinition/ColumnCommandDef.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166538"
} | starcoder | using System;
using System.Text.RegularExpressions;
using Formularizer.Core.Common;
using FunctionalExtensions;
namespace Formularizer.Core.FormulaDefinition
{
public class ColumnCommandDef : SelectorCommandDef
{
protected ColumnCommandDef(string sheetName, bool useOwnId, string filter, SelectorScope s... | 2.713272 | fc2e1b33e3f3a0d0dccf59f5697392e0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847319 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "euanrae/UmbracoCms.DictionaryValidation",
"max_stars_repo_path": "src/UmbValidationAttributes.Test/Helpers/DependencyResolverHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166539"
} | starcoder | using Moq;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web.Mvc;
using UmbValidationAttributes.Services;
namespace UmbValidationAttributes.Test.Helpers
{
public static class DependencyResolverHelper
{
public static void SetValidati... | 1.910156 | cd69ea2e94b7cf4cba60b90091566844 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847320 | {
"extension": "c-sharp",
"max_stars_count": "187.0",
"max_stars_repo_name": "themenucha/swd-recorder",
"max_stars_repo_path": "SwdPageRecorder/SwdPageRecorder.WebDriver/SwdBrowserUtils/JavaScriptUtils.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166540"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.IO;
using OpenQA.Selenium;
using OpenQA.Selenium.Remote;
using OpenQA.Selenium.Chrome;
using OpenQA.Selenium.Firefox;
using OpenQA.Selenium.IE;
using OpenQA.Selenium.Safari;
using Op... | 2.082418 | 8c3555648e72f3e86cb183ffa502b8dc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847321 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "HelioFlux/Heliosphere",
"max_stars_repo_path": "src/services/traceability/HFX.Traceability.Domain/Models/WorkOperation.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166541"
} | starcoder | namespace HFX.Traceability.Domain.Models
{
public class WorkOperation : Operation
{
public int? PriorOperationId { get; set; }
public Operation PriorOperation { get; set; }
public bool TrafficControlEnabled { get; set; }
public WorkOperation() : base()
{
}
... | 1.885475 | aa73d538c5cd7c95a3d3e56481dbb6e2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847322 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "visualeyes/Xero-NetCore",
"max_stars_repo_path": "Xero.Api.Tests/Integration/Organisation/Find.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166542"
} | starcoder | using System;
using System.Threading.Tasks;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Xero.Api.Core.Model.Types;
namespace Xero.Api.Tests.Integration.Organisation {
[TestClass]
public class Find : ApiWrapperTest {
[TestMethod]
public async Task can_get_the_organisation_sales_ta... | 2.036394 | cc361e7337648bbefe3cc5d1bbc045e8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847323 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "marcusjobb/NET20D",
"max_stars_repo_path": "OOPA/WebbshopProjekt/Mikael/Inlamn2WebbShop_MLarsson/Inlamn2WebbShop_MLarsson/Database/WebbShopContext.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166543"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Text;
using Inlamn2WebbShop_MLarsson.Models;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Internal;
namespace Inlamn2WebbShop_MLarsson.Database
{
/// <summary>
/// Vår databasklass med kopplingar till tabel... | 2.60861 | 8f95dc5c9290cc7ee6fc40f106720904 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847324 | {
"extension": "c-sharp",
"max_stars_count": "22.0",
"max_stars_repo_name": "phatcher/Meerkat.Security",
"max_stars_repo_path": "code/Meerkat.Security/Security/Activities/ActivityAuthorizer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166544"
} | starcoder | <gh_stars>10-100
using System.Collections.Generic;
using System.Security.Principal;
using System.Reflection;
using System.Threading;
using System.Threading.Tasks;
using Meerkat.Logging;
namespace Meerkat.Security.Activities
{
/// <copydoc cref="IActivityAuthorizer.IsAuthorized" />
public class ActivityAuthor... | 2.624435 | eff8aa305a8900df8f982fd9ad8d5eb0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847325 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mattheiler/ipseity",
"max_stars_repo_path": "src/Accounts.Web/Models/Apps/App.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166545"
} | starcoder | <reponame>mattheiler/ipseity
namespace ProgrammerGrammar.Accounts.Web.Models.Apps
{
public class App
{
public string Name { get; set; }
public string Icon { get; set; }
public string Href { get; set; }
}
}
| 1.322722 | 34034dd2839652f4de6e80a9c73ccba5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847326 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "DoraemonYu/MicroDBHelper-ExpansionPack",
"max_stars_repo_path": "Source/MicroDBHelperExpansionPack.EntityConversion/IEnumerableExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166546"
} | starcoder | <reponame>DoraemonYu/MicroDBHelper-ExpansionPack
using MicroDBHelpers.ExpansionPack;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Reflection;
using System.Text;
#if ASYNC_SUPPORT
using System.Linq;
using System.Threading.Tasks;
#endif
namespace System.Data
{
... | 2.811356 | 824d9cbc890ace23e6c187ad9ef2c57e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847327 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Henriquehgb/jogodavelha_comIA",
"max_stars_repo_path": "JogoDaVelha.Dominio/IA/NoDeMemoria.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166547"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ProjetoJogoDaVelha.Dominio.IA
{
public class NoDeMemoria
{
public NoDeMemoria(NoDeMemoria noPai, Int32 posicao)
{
NoPai = noPai;
Posicao = posicao;
P... | 2.765619 | 4806dc3d9d928d428526ce53a6cdb4c8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847328 | {
"extension": "c-sharp",
"max_stars_count": "4601.0",
"max_stars_repo_name": "MiaHub/xamarin-forms-samples",
"max_stars_repo_path": "UserInterface/Layout/LayoutDemos/UWP/MainPage.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166548"
} | starcoder | <filename>UserInterface/Layout/LayoutDemos/UWP/MainPage.xaml.cs<gh_stars>1000+
namespace LayoutSamples.UWP
{
/// <summary>
/// An empty page that can be used on its own or navigated to within a Frame.
/// </summary>
public sealed partial class MainPage
{
public MainPage()
{
... | 1.734096 | 51301a07e3895a3e1b3994b4c1f8a433 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847329 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RodionKulin/ContentManagementBackend",
"max_stars_repo_path": "Sanatana.Contents.Search.ElasticSearchSpecs/Objects/SampleEntityDerived.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166549"
} | starcoder | <filename>Sanatana.Contents.Search.ElasticSearchSpecs/Objects/SampleEntityDerived.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Sanatana.Contents.Search.ElasticSearchSpecs.TestTools.Objects
{
public class SampleEntityDerived : Samp... | 1.762356 | 2ea03367fa15d26ee33952c38e745f38 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847330 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "vladislav-karamfilov/TelerikAcademy",
"max_stars_repo_path": "C# II Projects/Homework-StringsAndTextProcessing/25. ExtractTextFromHTMLFile/ExtractTextFromHTMLFile.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166550"
} | starcoder | using System;
using System.IO;
using System.Text;
class ExtractTextFromHTMLFile
{
static void Main()
{
string decorationLine = new string('-', 80);
Console.Write(decorationLine);
Console.WriteLine("***Extracting all the text between the tags from given HTML file***");
Console.W... | 3.636475 | 324d5b19a2a68c14725e8417fe34dae4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847331 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tthorin/NET21OOP",
"max_stars_repo_path": "ArrayOvningar/ArrayOvningar/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166551"
} | starcoder | using System;
using System.Collections.Generic;
namespace ArrayOvningar
{
class Program
{
static void Main()
{
Console.Write("Vad heter du? ");
string input = Console.ReadLine().Trim();
Console.WriteLine("Första och sista bokstaven: " + input[0] + input[inpu... | 2.863622 | 76a8a05f764ba7eaedd05c3dcf1234b1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847332 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PeakyTests/peaky.xunit",
"max_stars_repo_path": "src/Peaky.Client/TestResult.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166552"
} | starcoder | using Newtonsoft.Json.Linq;
namespace Peaky.Client
{
public class TestResult
{
public TestOutcome Outcome { get; }
public TestInfo Test { get; }
public TestResult(string content, TestOutcome outcome)
{
Content = content;
Outcome = outcome;
... | 2.486408 | 93daf88e4b589852e99baa759790a7c6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847333 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "dsalunga/mPortal",
"max_stars_repo_path": "Portal/WebSystem/WCMS.Framework/SiteModel/WebSiteIdentity.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166553"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using WCMS.Framework.Core;
namespace WCMS.Framework.Core
{
public class WebSiteIdentity : WebObjectBase, ISelfManager
{
private static IWebSiteIdentityProvider _provider;
static WebSiteIdentity()
{
... | 2.338288 | 84855be7650d483763d81a2aa9974cda |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847334 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ralikuman/TelerikAcademy",
"max_stars_repo_path": "Fundamental Principles part II/FundamentalPrinciplesPartTwo/Bank/BankAccount.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166554"
} | starcoder | <gh_stars>0
using System;
public abstract class BankAccount : IDepositable
{
//accounts have customer, balance and interest rate (monthly based)
protected Customer customer;
protected decimal balance;
protected decimal interestRate;
public decimal InterestAmount { get; protected set; }
public ... | 2.971337 | 41e723ea489dbd485ee4967b98fb09e7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847335 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "xyzsangxuan/UnityFrameTools",
"max_stars_repo_path": "Assets/ToolsFrameWork/DialogSystem/DialogManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166555"
} | starcoder | <reponame>xyzsangxuan/UnityFrameTools<filename>Assets/ToolsFrameWork/DialogSystem/DialogManager.cs
using UnityEngine;
using UnityEngine.Events;
namespace _0._1FrameWork.DialogSystem
{
public class DialogManager : MonoSingleton<DialogManager>
{
[Header("运行时分配")]
public GameObject Dialog;
... | 2.110498 | ca5851fdc108ec2698aed8e55cad6e47 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847336 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DankRank/Patchwork",
"max_stars_repo_path": "Patchwork.Attributes/PatchingHistoryAttributes/PatchApplicationMetadata.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166556"
} | starcoder | <reponame>DankRank/Patchwork<gh_stars>0
namespace Patchwork.Attributes {
public class PatchApplicationMetadata {
public string PatchAssemblyMetadata {
get;
set;
}
public string OriginalAssemblyMetadata {
get;
set;
}
public string PatchworkAssemblyMetadata {
get;
set;
}
}
} | 1.377108 | 0e3a3088d407c4e72f5fe3bcbaa1bce2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847337 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Aerolith-Studios/Crash-Me-If-You-Can",
"max_stars_repo_path": "CrashMeIfYouCan/Assets/Scripts/GUI/Game Scene/Stat_Update.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166557"
} | starcoder | <filename>CrashMeIfYouCan/Assets/Scripts/GUI/Game Scene/Stat_Update.cs<gh_stars>0
using UnityEngine;
using System.Collections;
using UnityEngine.UI;
public class Stat_Update : MonoBehaviour {
private Stats stats;
private Text text1;
private Text text2;
private Text text3;
private Text text4;
private Text text... | 2.077905 | 97374e579266baf8e0fbd3f9ce68cf6c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847338 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "Azure/apiops",
"max_stars_repo_path": "tools/code/common/ApiDiagnostic.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166558"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text.Json;
using System.Text.Json.Nodes;
using System.Text.Json.Serialization;
using System.Threading;
using System.Threading.Tasks;
namespace common;
public sealed record ApiDiagnosticName : NonEmptyString
{
private... | 2.505028 | 38c9bfb7f8b3cf5df00d8bdd489d4474 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847339 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "aekly268/TimeMaster",
"max_stars_repo_path": "Assets/Scripts/Entity/WomenInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166559"
} | starcoder | <filename>Assets/Scripts/Entity/WomenInfo.cs
using System;
[Serializable]
public class WomenInfo
{
public int id;
public string name;
public string personality;
public string job;
public string state;
public string fileName;
public string end;
public int idleScore;
public int wrong... | 1.772336 | e493e0320938197b1e796bc9a035c3fd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847340 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Yaroslav08/KyivDigital",
"max_stars_repo_path": "KyivDigital/KyivDigital.Business/Models/VoteButton.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166560"
} | starcoder | <gh_stars>0
using System.Text.Json.Serialization;
namespace KyivDigital.Business.Models
{
public class VoteButton
{
[JsonPropertyName("icon")]
public string Icon { get; set; }
[JsonPropertyName("rate")]
public int Rate { get; set; }
[JsonPropertyName("selected")]
... | 1.384288 | 303b651aa0005e7c415d9be7de9a1a0f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847341 | {
"extension": "c-sharp",
"max_stars_count": "440.0",
"max_stars_repo_name": "WeiiWang/AgileMapper",
"max_stars_repo_path": "AgileMapper.UnitTests/TestClasses/OrderItemDto.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166561"
} | starcoder | namespace AgileObjects.AgileMapper.UnitTests.TestClasses
{
internal class OrderItemDto : DtoBase
{
public int OrderId { get; set; }
public OrderDto Order { get; set; }
public ProductDto Product { get; set; }
}
} | 1.605644 | f13aa2ab952ab45bce2594ae4eab5274 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847342 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Anomandrake/iagd",
"max_stars_repo_path": "IAGrim/UI/Misc/MessageType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166562"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
// ReSharper disable InconsistentNaming
namespace IAGrim.UI.Misc {
// See [MessageType.h] from the C++ project in IA\ItemAssistantHook
// Must be identical
public enum MessageType {
... | 1.612095 | 880c8b9385d999bb9fb17f2de79f0684 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847343 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Pirlouit/iDesk",
"max_stars_repo_path": "ConnectedDesk/Views/ConnectDesk/_ViewStart.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:166563"
} | starcoder | @{
Layout = "_LayoutDesk";
}
| 0.366075 | 677acfe315f73aa44c1fb89c95518baf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847344 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AdnanIT/eTeatar",
"max_stars_repo_path": "eTeatar/DataTransferObjects/Predstava.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166564"
} | starcoder | <filename>eTeatar/DataTransferObjects/Predstava.cs
using System.Collections.Generic;
namespace DataTransferObjects
{
public class Predstava
{
public string Id { get; set; }
public string Naziv { get; set; }
public byte[] Slika { get; set; }
public string Trajanje { get; set; ... | 1.866373 | 150dcc8eccfaf1c3ef651c4d1dcea025 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847345 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "alvachien/achihapi",
"max_stars_repo_path": "oldsrc/achihapi/ViewModels/HomeMsgViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166565"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;
namespace achihapi.ViewModels
{
public class HomeMsgViewModel : BaseViewModel
{
public Int32? ID { get; set; }
[Required]
public Int32 HID { get... | 1.842312 | 41112cc4d41cd7488937b281e059bba1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847346 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "TechnologicalPizza/VoxelPizza",
"max_stars_repo_path": "VoxelPizza.Client/TimeAverager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166566"
} | starcoder | using System;
using System.Diagnostics;
namespace VoxelPizza.Client
{
public enum TimeAveragerEntry
{
Update,
Draw
}
public class TimeAverager
{
public static readonly double MillisPerTick = 1 / (double)Stopwatch.Frequency * 1000;
public static readonly double Seco... | 2.922118 | 12cf520303748c7488903e30abdb1e2f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847347 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "JTOne123/Crudless",
"max_stars_repo_path": "UnstableSort.Crudless/Requests/Utilities/RequestContext.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166567"
} | starcoder | <filename>UnstableSort.Crudless/Requests/Utilities/RequestContext.cs
using UnstableSort.Crudless.Common.ServiceProvider;
namespace UnstableSort.Crudless.Requests
{
public class BoxedRequestContext
{
internal object Request { get; set; }
internal IServiceProvider ServiceProvider { get; set; }
... | 2.4549 | 23265ead63e27b19740d695333148689 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847348 | {
"extension": "c-sharp",
"max_stars_count": "245.0",
"max_stars_repo_name": "sjsneha/Data-Structures-and-Algorithms",
"max_stars_repo_path": "C#/Algorithms/Sorting-Algorithms/BubbleSort/BubbleSort.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166568"
} | starcoder | <gh_stars>100-1000
//C# implementation of the bubble sort algorithm
using System;
public class BubbleSort
{
public static T[] bubbleSort<T>(T[] array, bool ascending) where T : IComparable
{
//Clone the array so that the original is not overwritten
T[] result = (T[])array.Clone();
//Run ... | 4.220559 | 0947ec64734efd4ed85c015e658e840a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847349 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SafetyCone/R5T.S0024",
"max_stars_repo_path": "source/R5T.S0024.Library/Code/Bases/Extensions/IOperationExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166569"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using R5T.Magyar;
using R5T.D0084.D001;
using R5T.D0101;
using R5T.D0108;
using R5T.T0097;
using R5T.T0098;
using R5T.T0100;
using R5T.S0024.Library;
using Instances = R5T.S0024.Library.Instances;
namespace System
{
... | 2.175934 | a68923a92122857a8ac5a561f3bf66db |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847350 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "dprice809/LazyPI",
"max_stars_repo_path": "LazyPI/LazyObjects/AFElementTemplate.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166570"
} | starcoder | <gh_stars>1-10
using LazyPI.Common;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
namespace LazyPI.LazyObjects
{
public class AFElementTemplate : BaseObject
{
private IEnumerable<string> _CategoryList;
private Lazy<ObservableCollection<string>> _Categori... | 2.451916 | 54100b97816dbcbc8173a3addfda9be8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847351 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "danushkap/razorview-to-string",
"max_stars_repo_path": "RazorViewToString.InNonWeb/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166571"
} | starcoder | <reponame>danushkap/razorview-to-string<gh_stars>0
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Hosting.Internal;
using Microsoft.AspNetCore.Mvc.Razor;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.FileProviders;
using Microsoft.Extensions.ObjectPool;
using Microsoft.Exte... | 2.262073 | eaf09e7ac7b015741d8afc95e8eff996 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847352 | {
"extension": "c-sharp",
"max_stars_count": "196.0",
"max_stars_repo_name": "ORGSCSGITDEV/PnP-OfficeAddins",
"max_stars_repo_path": "Samples/dynamic-dpi/VSTO SharedAddin/SharedModule/DPIContextBlock.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166572"
} | starcoder | <reponame>ORGSCSGITDEV/PnP-OfficeAddins<filename>Samples/dynamic-dpi/VSTO SharedAddin/SharedModule/DPIContextBlock.cs
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Diagnostics;
using System.Runtime.InteropServices;
using static SharedModule.... | 2.045297 | 5d1ee1a9112ab5509f8d8d5b5e9e9fb3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847353 | {
"extension": "c-sharp",
"max_stars_count": "84.0",
"max_stars_repo_name": "joshgo/Miracle.FileZilla.Api",
"max_stars_repo_path": "Source/Miracle.FileZilla.Api/Group.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166573"
} | starcoder | using System.Collections.Generic;
using System.IO;
namespace Miracle.FileZilla.Api
{
/// <summary>
/// Class representing a FileZilla group
/// </summary>
public class Group : IBinarySerializable
{
/// <summary>
/// Group name. On Users, this is a reference to an existing group name... | 2.673683 | 764725c90c526bbe196f191a0afb56d0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847354 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "SharpKit/SharpKit-SDK",
"max_stars_repo_path": "Defs/Qooxdoo/module/Traversing.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166574"
} | starcoder | // Generated by SharpKit.QooxDoo.Generator
using System;
using System.Collections.Generic;
using SharpKit.Html;
using SharpKit.JavaScript;
namespace qx.module
{
/// <summary>
/// <para>DOM traversal module</para>
/// </summary>
[JsType(JsMode.Prototype, Name = "qx.module.Traversing", OmitOptionalParameters = tr... | 2.793082 | 8e2a26a45f30f28582f24d8b13d7e52e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847355 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "akriegman/GlmSharpN",
"max_stars_repo_path": "GlmSharp/GlmSharpTest5/Generated/Swizzle/swizzle_hvec2.Test.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166575"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using System.Globalization;
using System.Runtime.InteropServices;
using System.Runtime.Serialization;
using System.Numerics;
using System.Linq;
using NUnit.Framework;
using Newtonsoft.Json;
using GlmSharp;
// ReSharper disable InconsistentNaming... | 2.437748 | 4879377acd9a9c8966a22cd445d59b06 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847356 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "anedyalkov/CSharp-OOP-Basics",
"max_stars_repo_path": "13.Exception Handling/ExceptionsDemo/SoftUniTimer.App/MainWindow.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166576"
} | starcoder | using System;
using System.Collections.Generic;
using System.Diagnostics;
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 Sys... | 2.571963 | 60d716283403d9e0b22867b9795e0bb1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847357 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RedKage/wgetxpath",
"max_stars_repo_path": "wgetxpath/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166577"
} | starcoder | <reponame>RedKage/wgetxpath
using System;
using System.Collections.Generic;
using System.Net;
using CommandLine;
using HtmlAgilityPack;
namespace wgetxpath
{
internal class Program
{
public class Options
{
[Value(0,
MetaName = "Input URI",
HelpText =... | 2.999707 | cedae922f5fcfae15ba5f51370882133 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847358 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "themuhsinoglu/PLAKDUKKANI-ASP.NET_CORE_MVC",
"max_stars_repo_path": "PlakDukkani.DAL/Concrete/Context/EntityTypeConfiguration/GenreConfiguration.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166578"
} | starcoder | using PlakDukkani.Model.Entities;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using System;
using System.Collections.Generic;
using System.Text;
namespace PlakDukkani.DAL.Concrete.Context.EntityTypeConfiguration
{
class GenreConfiguration : IEntityTypeConfiguration<... | 2.420519 | a59a26c5f4bef344381a84a2e441db3d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847359 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nerddtvg/aoc",
"max_stars_repo_path": "AdventOfCode/Solutions/Year2017/Day13/Solution.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166579"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using System.Text.RegularExpressions;
using System.Linq;
#nullable enable
namespace AdventOfCode.Solutions.Year2017
{
class Day13 : ASolution
{
private Dictionary<int, int> layers = new Dictionary<int, int>();
private int pos... | 3.189662 | 902d511ac3ed6d39d7b066d5036cc8ac |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847360 | {
"extension": "c-sharp",
"max_stars_count": "36.0",
"max_stars_repo_name": "MWisBest/WiitarThing",
"max_stars_repo_path": "WiitarThing/Inputs/WiiDrums.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166580"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace WiinUSoft.Inputs
{
public static class WiiDrums
{
public const string G = "wdrG";
public const string R = "wdrR";
public const string Y = "wdrY";
public const string B = "wdrB";
... | 1.791849 | eff639c1a53df222435161dde5f54055 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847361 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "richstep/TVWS-DB-Code",
"max_stars_repo_path": "src/Portal.Common/Configurations/AccessLevelsConfigurationSection.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166581"
} | starcoder | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
namespace Microsoft.WhiteSpaces.Common
{
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
public cl... | 1.828488 | 2ec432517019614d998ec3420d7a0536 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847362 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vitorbellotto/LoadProfileGenerator",
"max_stars_repo_path": "SimulationEngineLib/HouseJobProcessor/JsonCalculator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166582"
} | starcoder | <reponame>vitorbellotto/LoadProfileGenerator<gh_stars>0
using System;
using System.Collections.ObjectModel;
using System.Diagnostics.CodeAnalysis;
using System.IO;
using System.Threading;
using Automation;
using Automation.ResultFiles;
using CalculationController.Queue;
using Common;
using Common.Enums;
using Database... | 2.198775 | 3f8392d5aa5995d96c89d052b89d3a9b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847363 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hexthedev/HexCS-Networking",
"max_stars_repo_path": "Runtime/TCPIPModel/TransportLayer/TCP/TcpClientConnection.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166583"
} | starcoder | <reponame>hexthedev/HexCS-Networking
using System;
using System.Collections.Concurrent;
using System.Net.Sockets;
using System.Threading.Tasks;
using HexCS.Core;
using HexCS.Parallel;
namespace HexCS.Networking
{
/// <summary>
/// Encapsulates a connection using a TcpClient and manges the state of that
//... | 2.883123 | 1e1b6de3731bd6cd1728da339968e0a6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847364 | {
"extension": "c-sharp",
"max_stars_count": "778.0",
"max_stars_repo_name": "jeroen-mostert/CodeContracts",
"max_stars_repo_path": "Microsoft.Research/Analyzers/Unsafe Code Analysis/IntervalsForUnsafeCode.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166584"
} | starcoder | // CodeContracts
//
// Copyright (c) Microsoft Corporation
//
// All rights reserved.
//
// MIT License
//
// 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 wit... | 2.218156 | fa66df5945d2bcbe24fe3de14ae53f47 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847365 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "formigaAzul/glassos",
"max_stars_repo_path": "Temporary Assets/Video Player Asset/Menu/ButtonEvent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166585"
} | starcoder | using UnityEngine;
using System.Collections;
using UnityEngine.UI;
using UnityEngine.EventSystems;
namespace Menu {
public class ButtonEvent : MonoBehaviour, IPointerDownHandler, IPointerUpHandler, IPointerEnterHandler, IPointerExitHandler {
//--------------- PROTECTED MEMBERS ---------------
protected Image _... | 2.646071 | b4c775b67e8a61f0880e16e10d223043 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847366 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "joshuajones02/TMDb",
"max_stars_repo_path": "TMDb.Client/API/V3/Models/TV/TVKeywordsResponse.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166586"
} | starcoder | using Newtonsoft.Json;
using System.Collections.Generic;
using TMDb.Client.Entities.Things;
namespace TMDb.Client.Api.V3.Models.TV
{
public class TVKeywordsResponse : TMDbResponse
{
[JsonProperty("id")]
public virtual int Id { get; set; }
[JsonProperty("results")]
public virtu... | 1.715997 | 5885cd894875d9c42ba62fea4feaedc9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847367 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "edwardmeng/FluentMethods",
"max_stars_repo_path": "test/Core/System.Reflection.ICustomAttributeProvider/DisplayAnnotationClass.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166587"
} | starcoder | <filename>test/Core/System.Reflection.ICustomAttributeProvider/DisplayAnnotationClass.cs
using System;
using System.ComponentModel.DataAnnotations;
namespace FluentMethods.UnitTests
{
public class DisplayAnnotationClass
{
[Display(Name = "BuzzMethod",Description = "FizzMethod")]
public... | 2.683169 | 165bf9f9bf7fa32a8aa634d855dbd343 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847368 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SocialParasite/BookOrganizer2",
"max_stars_repo_path": "BookOrganizer2.IntegrationTests/NationalityTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166588"
} | starcoder | using BookOrganizer2.DA.Repositories;
using BookOrganizer2.Domain.AuthorProfile.NationalityProfile;
using BookOrganizer2.IntegrationTests.Helpers;
using FluentAssertions;
using System;
using System.Threading.Tasks;
using Xunit;
namespace BookOrganizer2.IntegrationTests
{
public sealed partial class DatabaseTests
... | 2.285514 | 5837aebf11705caf8d9ae3d91988366f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847369 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "IlchKhailtuud/GAME2014-F2021-Assignmen2",
"max_stars_repo_path": "Assets/Scripts/Enemy/HitPoint.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166589"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class HitPoint : MonoBehaviour
{
//call GetHit function when hitpoint makes contact with the player
private void OnTriggerEnter2D(Collider2D other)
{
if (other.CompareTag("Player"))
{
... | 2.246647 | 0086dd9246ce097bef7c7bb9384d9989 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847370 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "zzgchina888/msdn-code-gallery-microsoft",
"max_stars_repo_path": "Official Windows Platform Sample/Windows 8 app samples/[C#]-Windows 8 app samples/C#/Windows 8 app samples/Application resources and localization sample (Windows 8)/C#/Sc... | starcoder | <gh_stars>1-10
//*********************************************************
//
// Copyright (c) Microsoft. All rights reserved.
// THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
// IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR
// PURPOSE, MERCHANTABILITY, OR NON... | 2.2287 | 26f682a1a5ab4e22dc9ab4df001ed777 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847371 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "mntone/OpenNiconico2",
"max_stars_repo_path": "Mntone.Nico2.Vita/Mntone.Nico2.Vita.Shared/Live/ProgramsResponseWrapper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166591"
} | starcoder | <reponame>mntone/OpenNiconico2<filename>Mntone.Nico2.Vita/Mntone.Nico2.Vita.Shared/Live/ProgramsResponseWrapper.cs
using System.Runtime.Serialization;
namespace Mntone.Nico2.Vita.Live
{
[DataContract]
internal sealed class ProgramsResponseWrapper
{
private ProgramsResponseWrapper()
{ }
[DataMember( Name = "... | 1.943419 | e8860e590c1c71f1ef40ade49409f4b1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847372 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ronin4net/Plainion.Notes",
"max_stars_repo_path": "src/Plainion.Wiki.Xaml/Rendering/RenderActions/AnchorRenderAction.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166592"
} | starcoder | <gh_stars>0
using Plainion.Wiki.AST;
using Plainion.Wiki.Rendering;
namespace Plainion.Wiki.Xaml.Rendering.RenderActions
{
[XamlRenderAction( typeof( Anchor ) )]
public class AnchorRenderAction : GenericRenderAction<Anchor>
{
protected override void Render( Anchor anchor )
{
... | 1.574742 | 94f41d291f5a390979e66abe040d233a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847373 | {
"extension": "c-sharp",
"max_stars_count": "2020.0",
"max_stars_repo_name": "lanyizi/veldrid",
"max_stars_repo_path": "src/Veldrid/OpenGL/ManagedEntryList/UpdateBufferEntry.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166593"
} | starcoder | using System;
namespace Veldrid.OpenGL.ManagedEntryList
{
internal class UpdateBufferEntry : OpenGLCommandEntry
{
public DeviceBuffer Buffer;
public uint BufferOffsetInBytes;
public StagingBlock StagingBlock;
public UpdateBufferEntry(DeviceBuffer buffer, uint bufferOffsetInByt... | 2.177408 | d6c057cafbaf97429f2aafa053e5e830 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847374 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Dylan-Watson/FRC-2017",
"max_stars_repo_path": "Base/FrameworkCommunication.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166594"
} | starcoder | /****************************** Header ******************************\
Class Name: FrameworkCommunication
Summary: Class to handle communication with the smart dashboard.
Project: FRC2017
Copyright (c) BroncBotz.
All rights reserved.
Author(s): <NAME>
Email: <EMAIL>
\**********************************************... | 2.704083 | c9039cbac3de35e830378fa7fb68395c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847375 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SC-SOFT/RedisClient_BaiCh",
"max_stars_repo_path": "RedisClient_BaiCh/RedisClient.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166595"
} | starcoder | <gh_stars>0
using System;
using System.CodeDom;
using System.Collections.Generic;
using System.Configuration;
using System.Diagnostics;
using System.Linq;
using System.Net.Sockets;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading;
using System.Threading.Tasks;
using RedisClient_BaiCh.Cmd... | 2.128508 | c0172f20bc677685001231c0a00f1bf6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847376 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "microsoft/EmbeddedSocial-SyncService-for-OBA",
"max_stars_repo_path": "code/OBAClient/Model/Route.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166596"
} | starcoder | // <copyright file="Route.cs" company="Microsoft">
// Copyright (c) Microsoft. All rights reserved.
// </copyright>
namespace OBAService.OBAClient.Model
{
using System.Xml.Serialization;
/// <summary>
/// OneBusAway Route Class Representation from XML http://developer.onebusaway.org/modules/onebusaway-ap... | 2.320828 | 4b351fccc39deee01bae0f8da51067b9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847377 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PracticaNetRom/iulia.simion",
"max_stars_repo_path": "SummerCamp2017/MVC/Models/ReviewCreateModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166597"
} | starcoder | <reponame>PracticaNetRom/iulia.simion<filename>SummerCamp2017/MVC/Models/ReviewCreateModel.cs
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
namespace MVC.Models
{
public class ReviewCreateModel
{
public Nullable<int> R... | 1.970369 | 43666b97301c48fe7f16c5ef4dd8d280 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847378 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Sitecore-Hackathon/2022-NameTooLongException",
"max_stars_repo_path": "src/Foundation/LayoutServiceExtensions/rendering/Middleware/CustomRenderingEngineMiddleware.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166598"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Options;
using Mvp.Foundation.L... | 1.928295 | 578d4acf7e0eeeef2105bce64187f794 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847379 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SvetozarLd/UnityArcade",
"max_stars_repo_path": "TestSpaceArcade/Assets/MyScripts/Boss01Script.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166599"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Boss01Script : MonoBehaviour
{
private GameObject Player;
private GameObject shipMech;
private Bezie bezie;
public Vector2 LeftDownCorner;
public Vector2 RightUpCorner;
public int Steps = 100;
publ... | 1.943774 | db0009d72340f9fe5e2ee0a1b5afc440 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847380 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "dammitjanet/payloadion",
"max_stars_repo_path": "PayLoadion.Wns/PayLoad/Badge/Enums/WnsBadgeGlyphValueEnum.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166600"
} | starcoder | <reponame>dammitjanet/payloadion
namespace PayLoadion.Wns.PayLoad.Badge.Enums
{
public enum WnsBadgeGlyphValueEnum
{
None,
Activity,
Alert,
Alarm,
Available,
Away,
Busy,
NewMessage,
Paused,
Playing,
Unavailable,
Erro... | 1.13236 | 8d79cbc3c2b365af900124b2349a51a3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847381 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "foens/OpenCVR",
"max_stars_repo_path": "OpenCVR/Update/Parse/Mapping/ContactDetailMap.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166601"
} | starcoder | <filename>OpenCVR/Update/Parse/Mapping/ContactDetailMap.cs
using CsvHelper.Configuration;
using OpenCVR.Model;
using OpenCVR.Update.Parse.Mapping.Convert;
namespace OpenCVR.Update.Parse.Mapping
{
internal sealed class ContactDetailMap : CsvClassMap<ContactDetail>
{
public ContactDetailMap(string prefix... | 1.951982 | 3db5462cd20c884b0c40ecfd2d7edbd4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847382 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AhmetBgr/Evil-Jump-android",
"max_stars_repo_path": "Evil Jump/Assets/Scripts/RightSideWrapping.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166602"
} | starcoder | <reponame>AhmetBgr/Evil-Jump-android
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class RightSideWrapping : MonoBehaviour
{
public GameObject cam;
// Update is called once per frame
void Update()
{
float camPosY = cam.transform.position.y;
... | 2.092259 | 8e924dd2f8ee07ecbfca3c0ab9b87aa2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847383 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "georgevella/shipbot",
"max_stars_repo_path": "src/Shipbot.Deployments/Internals/DeploymentQueueService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166603"
} | starcoder | using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Shipbot.Applications;
using Shipbot.Applications.Models;
using Shipbot.Data;
using Shipbot.Deployments.Dao;
using Shipbot.Deployments.Internals;
using Shipbot.Models;
using Shipbot... | 2.354575 | c4d95bb3b7850df3eb04ac73a8e3e53d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847384 | {
"extension": "c-sharp",
"max_stars_count": "21.0",
"max_stars_repo_name": "jwoodman510/Woodman.EntityFrameworkCore.Bulk",
"max_stars_repo_path": "test/Test.Woodman.EntityFrameworkCore.Bulk/ApplyConfigurationsTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166604"
} | starcoder | <gh_stars>10-100
using Woodman.EntityFrameworkCore.Bulk;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using System.Linq;
using Xunit;
namespace Test.Woodman.EntityFrameworkCore.Bulk
{
public class ApplyConfigurationsTests
{
private const int ExpectedDefau... | 2.286804 | 5ae55e0275dc4ad1da68c9b4e8dd81dd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847385 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "malaker/PowerAppsTools",
"max_stars_repo_path": "PowerApps.Common/Interfaces/IConfidentialClientAppBuilderWrapper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166605"
} | starcoder | namespace Malaker.PowerAppsTools.Common.Interfaces
{
using System.Security.Cryptography.X509Certificates;
public interface IConfidentialClientAppBuilderWrapper
{
IConfidentialClientAppBuilderWrapper Create(string clientId);
IConfidentialClientAppBuilderWrapper WithClientSecret(string clien... | 1.618243 | b35af28e9172f9b5ede34ef83a98e1b2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847386 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "NAXAM/wheeldatepicker-xamarin-anddroid-",
"max_stars_repo_path": "Demo/MainActivity.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166606"
} | starcoder | using Android.App;
using Android.Widget;
using Android.OS;
using Android.Support.V7.App;
using System;
using Naxam.Controls;
namespace Demo
{
[Activity(Label = "@string/app_name", MainLauncher = true)]
public class MainActivity : Activity
{
protected override void OnCreate(Bundle savedInstanceStat... | 2.549435 | e9752b5ebeb32c3b934e1267016c1125 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847387 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "framefield/vr-annotate",
"max_stars_repo_path": "Assets/vr_annotate/ff.vr.interaction/TrackpadButtonUI/TrackpadButtonUI.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166607"
} | starcoder | using UnityEngine;
using System.Collections;
using System;
public class TrackpadButtonUI : MonoBehaviour
{
[System.Serializable]
public class EditModeDefinition
{
public ControllerButtons Mode;
public GameObject Icon;
}
public enum ControllerButtons
{
Up... | 1.931429 | 21118ad7504675385cd2693fddfe4bbe |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847388 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "klandolt/geocaching-logger",
"max_stars_repo_path": "CleanUpTool/DateiValidation.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166608"
} | starcoder | <reponame>klandolt/geocaching-logger<filename>CleanUpTool/DateiValidation.cs
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text.RegularExpressions;
// ReSharper disable UnusedVariable
namespace CleanUpTool
{
internal class DateiValidation
{
private Fi... | 2.879835 | c4065e8f500b80bd73aaa947fe73e15f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847389 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mryp/hamburger-menu-sample",
"max_stars_repo_path": "HamburgerMenu/HamburgerMenuApp/Utils/SystemInformationHelpers.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166609"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.Graphics.Display;
namespace HamburgerMenuApp.Utils
{
/// <summary>
/// システム設定情報便利操作クラス
/// </summary>
class SystemInformationHelpers
{
/// <summary>
///... | 2.772985 | 5e75edff40ea5a74ff53bc3bc310a416 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847390 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Soyvolon/CloudNineBot",
"max_stars_repo_path": "CloudNine.Core/Http/FanfictionClient.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166610"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
namespace CloudNine.Core.Http
{
public class FanfictionClient
{
public HttpClient Client { get; set; }
public FanfictionClient(HttpClient client)
... | 1.953117 | 081a91054c94fe97c2315907ffc8233a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847391 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "DeyanDanailov/SoftUniCSharpAdvanced",
"max_stars_repo_path": "tasks/P01.ListyIterator/StartUp.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166611"
} | starcoder | <gh_stars>1-10
using System;
using System.Linq;
namespace P01.ListyIterator
{
public class StartUp
{
static void Main(string[] args)
{
var creationInfo = Console.ReadLine().Split();
var elements = new string[creationInfo.Length - 1];
for (int i = 1; i < crea... | 3.614276 | cf60255cd140a7e2f6b1abe9456a1f87 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847392 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "rubio41/Recognizers-Text",
"max_stars_repo_path": ".NET/Microsoft.Recognizers.Text/ModelContainer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166612"
} | starcoder | <filename>.NET/Microsoft.Recognizers.Text/ModelContainer.cs
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
namespace Microsoft.Recognizers.Text
{
internal class ModelContainer
{
public static readonly string DefaultCulture = Culture.Eng... | 2.888245 | 24b02d523525fd883a47558097ba748a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847393 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tralivali1234/Roslynator",
"max_stars_repo_path": "src/Common/CSharp/Analysis/ExtractTypeDeclarationToNewDocumentAnalysis.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166613"
} | starcoder | <gh_stars>0
// Copyright (c) <NAME>. All rights reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
names... | 2.263998 | 36d49204eaf71591e57d55ba3d3c587b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847394 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "FeroxFoxxo/Dexter",
"max_stars_repo_path": "Dexter/Events/Relays.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166614"
} | starcoder | using System.Threading.Tasks;
using Dexter.Abstractions;
using Dexter.Databases.Relays;
using Discord.WebSocket;
using Microsoft.Extensions.DependencyInjection;
namespace Dexter.Events
{
/// <summary>
/// The RelayService sends messages to a channel with a specified message delay as a notification.
/// </summary>... | 2.62927 | bde061490e90d43e3f3424075a7c5993 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847395 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "KitPatterson/KAL_XFS4IoT_SP-Dev",
"max_stars_repo_path": "Framework/ServiceClasses/CardReaderServiceProvider/Handlers/SetKeyHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166615"
} | starcoder | <gh_stars>0
/***********************************************************************************************\
* (C) KAL ATM Software GmbH, 2021
* KAL ATM Software GmbH licenses this file to you under the MIT license.
* See the LICENSE file in the project root for more information.
\**********************************... | 1.952232 | 60c54517608d8d96701d8b2db6683e3d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847396 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Marin988/DarkGalaxyProject",
"max_stars_repo_path": "DarkGalaxyProject/Services/SystemServices/Models/ShipServiceModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166616"
} | starcoder | namespace DarkGalaxyProject.Services.SystemServices.Models
{
public class ShipServiceModel
{
public string Type { get; set; }
public int Damage { get; set; }
public int HP { get; set; }
public int MaxHP { get; set; }
public int MaxStorage { get; set; }
publi... | 1.647319 | f8024d24e83b3df15f080f261d786d04 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847397 | {
"extension": "c-sharp",
"max_stars_count": "1745.0",
"max_stars_repo_name": "bsf2dev/bsf",
"max_stars_repo_path": "Source/Scripting/bsfSharp/Generated/PARTICLE_VELOCITY_DESC.generated.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166617"
} | starcoder | //********************************* bs::framework - Copyright 2018-2019 <NAME> ************************************//
//*********** Licensed under the MIT license. See LICENSE.md for full terms. This notice is not to be removed. ***********//
using System;
using System.Runtime.CompilerServices;
using System.Runtime.Int... | 2.591548 | 6c944aa095aacbf8ca93546f80ac3af0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847398 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dimitrietataru/netcore-graphql",
"max_stars_repo_path": "src/NetCore.GraphQLPrototype.Data/Services/AuthorService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166618"
} | starcoder | <reponame>dimitrietataru/netcore-graphql
using NetCore.GraphQLPrototype.Data.Entities;
using NetCore.GraphQLPrototype.Data.Repositories.Interfaces;
using NetCore.GraphQLPrototype.Data.Services.Interfaces;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace NetCore.GraphQLPrototype.... | 2.22093 | 1e94dd215b521f9fd52ff7fc3742c8af |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847399 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "FurkanAltintas/Hospital_Management_System",
"max_stars_repo_path": "HastaneProgrami/Views/Ameliyat/Sonuc.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:166619"
} | starcoder | @model HastaneProgrami.Models.Entity_Framework.ameliyatSonuc
@{
ViewBag.Title = "AMELİYAT SONUÇ";
Layout = "~/Views/Shared/_LayoutAdmin.cshtml";
}
<div class="form-horizontal">
<div class="form-group">
<h3>@ViewBag.vatandas Ameliyat Sonucu</h3>
<hr />
@Html.Val... | 2.360787 | 7381212a5d3fad0eadf447832d4fa14a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847400 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "TITcs/TITcs.SharePoint.Orm",
"max_stars_repo_path": "src/TITcs.SharePoint.Orm/Extensions/SPFileExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166620"
} | starcoder | using Microsoft.SharePoint;
using System.IO;
using File = TITcs.SharePoint.Orm.BasicTypes.File;
namespace TITcs.SharePoint.Orm.Extensions
{
public static class SPFileExtensions
{
public static File AsFile(this SPFile file)
{
return new File
{
Name = file... | 2.424985 | a6a520517e13e1a0fd93edf938ec8e33 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847401 | {
"extension": "c-sharp",
"max_stars_count": "265.0",
"max_stars_repo_name": "Lex45x/Grace",
"max_stars_repo_path": "tests/Grace.Tests/DependencyInjection/Decorator/ConditionDecoratorTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166621"
} | starcoder | using System;
using System.Collections.Generic;
using System.Reflection;
using Grace.DependencyInjection;
using Grace.DependencyInjection.Conditions;
using Grace.Tests.Classes.Simple;
using Xunit;
namespace Grace.Tests.DependencyInjection.Decorator
{
public class ConditionDecoratorTests
{
[Fact]
... | 2.322981 | 845243587722740cdac7e6e65322cbf4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847402 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Panzershrekk/Ludum_dare_43",
"max_stars_repo_path": "LudumDare43_2D/Assets/VN Engine/Scripts/Extras/SwapImageSprites.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166622"
} | starcoder | <reponame>Panzershrekk/Ludum_dare_43<filename>LudumDare43_2D/Assets/VN Engine/Scripts/Extras/SwapImageSprites.cs
using UnityEngine;
using UnityEngine.UI;
namespace VNEngine
{
public class SwapImageSprites : MonoBehaviour
{
private Sprite normal_sprite;
public Sprite swapped_sprite;
vo... | 2.046122 | b493c6ea3f98edecb25c1abc63e8fc82 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847403 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "KuaileY/DungeonsGame",
"max_stars_repo_path": "DungeonsGame/Assets/scripts/features/components/dataComponents/BGHolderComponent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166623"
} | starcoder | <filename>DungeonsGame/Assets/scripts/features/components/dataComponents/BGHolderComponent.cs
using Entitas;
using Entitas.CodeGenerator;
using UnityEngine;
[Input,SingleEntity]
public sealed class BGHolderComponent:IComponent
{
public GameObject[,] goArray;
}
| 1.505599 | 6dc8a58cfca13d10b23bb4d45f738801 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847404 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "MaxPeal/keecloud_testing",
"max_stars_repo_path": "KeeCloud/Providers/Dropbox/Api.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166624"
} | starcoder | using System;
using System.Net;
using System.Net.Http;
using Dropbox.Api;
namespace KeeCloud.Providers.Dropbox
{
class Api
{
/*
The consumer key and the secret key included here are dummy keys.
You should go to http://dropbox.com/developers to create your own application
... | 2.417432 | ba1adb86c9c18b657fb697432c2ab96e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847405 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "canerozdemirr/Avoid-Remake",
"max_stars_repo_path": "Assets/Avoid/Scripts/Obstacles/Place/BoundsPlacement/BoundsPlacement.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166625"
} | starcoder | using UnityEngine;
using System.Collections;
namespace Avoidance
{
/// <summary>
/// Interface for objects that will be responsible for placing an objct at a specified location.
/// </summary>
public interface BoundsPlacement
{
Vector2 GetDesiredPosition (SpriteRenderer s);
}
/// <summary>
/// Returns lo... | 2.685149 | c6a2e498fca65c6e32ce1af86f65f235 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847406 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "ProSuite/ProSuite",
"max_stars_repo_path": "src/ProSuite.AGP.WorkList/Domain/SelectionWorkList.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166626"
} | starcoder | using ProSuite.AGP.WorkList.Contracts;
namespace ProSuite.AGP.WorkList.Domain
{
public class SelectionWorkList : WorkList
{
public SelectionWorkList(IWorkItemRepository repository, string name) :
base(repository, name) { }
public override string DisplayName => "Selection Work List";
}
}
| 1.761786 | 5b33620601f621c6cfe40d343859c330 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847407 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "microsoft/UnifiedRedisPlatform.Core",
"max_stars_repo_path": "src/sdk/Core/IUnifiedRedisPlatformLogger.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166627"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace Microsoft.UnifiedRedisPlatform.Core
{
public interface IUnifiedRedisPlatformLogger
{
}
}
| 1.026008 | b711c22a0d82a4b61f1db12fc883ac60 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847408 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "t7tech/Controle-Financeiro",
"max_stars_repo_path": "src/T7.ControleFinanceiro.Domain/Interface/Service/Account/IUserService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166628"
} | starcoder | <gh_stars>0
using System.Collections.Generic;
using T7.ControleFinanceiro.Domain.Entities.Account;
namespace T7.ControleFinanceiro.Domain.Interface.Service.Account
{
public interface IUserService
{
UserEntity GetById(string id);
IEnumerable<UserEntity> GetByRole(string role);
IEnumerab... | 1.327681 | f2d5349292bf960b8e07f13ac3d78d90 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847409 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Azato21/nhitomi",
"max_stars_repo_path": "nhitomi-idx/nhitomi/Documentation/AuthenticationOperationFilter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166629"
} | starcoder | using System.Collections.Generic;
using System.Linq;
using Microsoft.AspNetCore.Authorization;
using Microsoft.OpenApi.Models;
using Swashbuckle.AspNetCore.SwaggerGen;
namespace nhitomi.Documentation
{
public class AuthenticationOperationFilter : IOperationFilter
{
public void Apply(OpenApiOperation op... | 2.089836 | aa2a0fc2c26569fc6e9d72e76bd7b403 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847410 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Osama-Tahboub1/N3O.Umbraco",
"max_stars_repo_path": "src/Giving/N3O.Umbraco.Giving/Content/Settings/DonationOptionContent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166630"
} | starcoder | using N3O.Umbraco.Content;
using N3O.Umbraco.Exceptions;
using N3O.Giving.Models;
using N3O.Umbraco.Extensions;
using N3O.Umbraco.Giving.Lookups;
using Newtonsoft.Json;
using Umbraco.Cms.Core.Models.PublishedContent;
namespace N3O.Umbraco.Giving.Content {
public class DonationOptionContent : UmbracoContent<Donati... | 2.295099 | 8d99695985af0fcc870afb29450f6262 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847411 | {
"extension": "c-sharp",
"max_stars_count": "311.0",
"max_stars_repo_name": "ScriptBox99/dotnet-Scaffolding",
"max_stars_repo_path": "tools/dotnet-aspnet-codegenerator/DotNetBuildCommandHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166631"
} | starcoder | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.IO;
using Microsoft.Extensions.Internal;
namespace Microsoft.VisualStudio.Web.CodeGenerati... | 2.06234 | 37b74bc2db926e52e6b850b6460faad0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.