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 | 8838412 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "caobingsheng/WinForm.DirectUI",
"max_stars_repo_path": "src/WinForm.DirectUI.Forms/Controls/IUIControl.3.Appearance.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157632"
} | starcoder | using System.Drawing;
namespace WinForm.DirectUI.Forms
{
partial interface IUIControl
{
/// <summary>
/// 获取或设置文本
/// </summary>
string Text
{
get;
set;
}
/// <summary>
/// 获取或设置字体
/// </summary>
Font Font... | 2.506352 | 853901baf9ea797d14d3dc87123f5a2f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8838413 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "E01D/Base",
"max_stars_repo_path": "src/E01D.Base.Clr.DotNet.Reflection.Types.Models/Coding/Code/Models/E01D/Base/Types/DotNetType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157633"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Root.Coding.Code.Models.E01D.Base.Types
{
/// <summary>
/// Represents a .NET System.Type with all of the additinal unified interfaces
/// </summary>
public class DotNetType
... | 1.922215 | 14a357960635a288bb44020b120c14ee |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8838414 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Puky96/eProject",
"max_stars_repo_path": "eProjects/Controllers/AccountController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157634"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Renderi... | 1.99321 | 531b2952da1838be7a56145f888c7a45 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8838415 | {
"extension": "c-sharp",
"max_stars_count": "28.0",
"max_stars_repo_name": "stepaside/Yarn",
"max_stars_repo_path": "Yarn/IBulkOperationsProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157635"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;
namespace Yarn
{
public interface IBulkOperationsProvider
{
IEnumerable<T> GetById<T, TKey>(IEnumerable<TKey> ids) where T : class;
long Insert<T>... | 2.18486 | 8b3fc116d2ab9b398935d3e12e441d7b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8838416 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Getrajer/NugetUmbraco",
"max_stars_repo_path": "ActiveIS.UmbracoForms.CustomEmailV7/Trees/ActiveISCustomEmailTemplateTreeController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157636"
} | starcoder | <gh_stars>0
using Umbraco.Core.IO;
using Umbraco.Web.Mvc;
using Umbraco.Web.Trees;
namespace ActiveIS.UmbracoForms.CustomEmailV7.Trees
{
[Tree("forms", "activeisCustomEmailTemplates", "Custom Email Templates", "icon-folder", "icon-folder-open", false, 0)]
[PluginController("ActiveISCustomEmail")]
public c... | 1.271885 | 3e4590ac374b576836bd43645e4cc18a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8838417 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "novikov-school/NSpectator.Selenium",
"max_stars_repo_path": "test/OpenQA.Selenite.Tests/Setup/SessionTests/Given_session_with_default_settings.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157637"
} | starcoder | <gh_stars>10-100
using System;
using System.Drawing.Imaging;
using System.IO;
using System.Runtime.InteropServices;
using FluentAssertions;
using NUnit.Framework;
using OpenQA.Selenite.Tests.Shared.Hosting;
using OpenQA.Selenite.Setup;
using OpenQA.Selenite.Setup.Environments;
// ReSharper disable InconsistentNaming
... | 2.250773 | a1bc2d2a070ebf0a74cdd41fc1a1aff8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8838418 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tomaustin700/Workrbot",
"max_stars_repo_path": "Workrbot/Areas/HelpPage/Views/Help/DisplayTemplates/SimpleTypeModelDescription.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:157638"
} | starcoder | @using Workrbot.Areas.HelpPage.ModelDescriptions
@model SimpleTypeModelDescription
@Model.Documentation | 1.181346 | c00137d23273837d30f7d8326cfb95b4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8838419 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cocoyimasa/Compiler20150324",
"max_stars_repo_path": "Compiler20150324/Ast/StringNode.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157639"
} | starcoder | <reponame>cocoyimasa/Compiler20150324
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Compiler.Ast
{
[DebuggerDisplay("{token}")]
public class StringNode : Node
{
public StringNode()
{
... | 2.185809 | c8d8dc3f96a64af83e112bde22dfc2e4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8838420 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Mat-Kay/TechnicalTests",
"max_stars_repo_path": "CompanyA/src/WebApi/Services/ReferenceColorMatchingService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157640"
} | starcoder | <reponame>Mat-Kay/TechnicalTests
namespace WebApi.Services
{
using System;
using System.Drawing;
using System.Net.Http;
using System.Threading.Tasks;
using Core.Entities;
using Core.Infrastructure.Repositories;
using Core.Services.ImageAnalysis;
public class ReferenceColorMatchingServ... | 2.657833 | e4447f36949eec877b6a6d428fed5455 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8838421 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nicman2006/Orchard-CMS",
"max_stars_repo_path": "Modules/Szmyd.Orchard.Modules.Menu/Models/Menus/MenuRelationPart.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157641"
} | starcoder | <filename>Modules/Szmyd.Orchard.Modules.Menu/Models/Menus/MenuRelationPart.cs
using System.Collections.Generic;
using System.Linq;
using Orchard.ContentManagement;
using Szmyd.Orchard.Modules.Menu.ViewModels;
namespace Szmyd.Orchard.Modules.Menu.Models.Menus {
public class MenuRelationPart : ContentPart {
... | 1.962661 | 0693f27bc0a2c5a84d60a424b51241ee |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8838422 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "angelolocritani/XNDTinyTweaks",
"max_stars_repo_path": "Source/TinyTweaks/HarmonyPatches/Patch_CompLaunchable.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157642"
} | starcoder | <filename>Source/TinyTweaks/HarmonyPatches/Patch_CompLaunchable.cs<gh_stars>0
using HarmonyLib;
using RimWorld;
namespace TinyTweaks
{
public static class Patch_CompLaunchable
{
[HarmonyPatch(typeof(CompLaunchable), nameof(CompLaunchable.TryLaunch))]
public static class TryLaunch
{
... | 1.957909 | 16468b3dbe5fce54a7f445d2aa1f9552 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8838423 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "angoodegg/Creekdream.AspNetCore",
"max_stars_repo_path": "src/Creekdream.Dependency.Windsor/Windsor/WindsorIocResolver.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157643"
} | starcoder | using Castle.MicroKernel.Lifestyle;
using Castle.Windsor;
using System;
namespace Creekdream.Dependency.Windsor
{
/// <inheritdoc />
public class WindsorIocResolver : IIocResolver
{
private readonly IWindsorContainer _container;
private readonly IDisposable _disposable;
/// <inher... | 2.213995 | 4e29fe78ae94d8617869071db23ce81d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8838424 | {
"extension": "c-sharp",
"max_stars_count": "81.0",
"max_stars_repo_name": "ThGnommy/platform-defense-webgl",
"max_stars_repo_path": "Assets/Scripts/View/GoldDropParticles.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157644"
} | starcoder | <filename>Assets/Scripts/View/GoldDropParticles.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class GoldDropParticles : MonoBehaviour {
public float speedFrom, speedTo;
public float angleFrom, angleTo;
public static GoldDropParticles instance {
get;
private set;
}
... | 2.551294 | 42faa8287d9116104b0cd9ee7ab4924a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8838425 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "n1claren/ASP.NET-Project-SoftUni",
"max_stars_repo_path": "Recarro/Models/Vehicles/CreateCategoryModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157645"
} | starcoder | <reponame>n1claren/ASP.NET-Project-SoftUni
namespace Recarro.Models.Vehicles
{
public class CreateCategoryModel
{
public int Id { get; init; }
public string Name { get; init; }
}
}
| 1.383084 | e639167abf2c11ddda61cad102dcd955 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8838426 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "lc1995/GraphSearch",
"max_stars_repo_path": "Assets/BehaviorBricks/Actions/System/Vector3/GetRandomInArea.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157646"
} | starcoder | <reponame>lc1995/GraphSearch
using Pada1.BBCore.Tasks;
using Pada1.BBCore;
using UnityEngine;
namespace BBUnity.Actions
{
[Action("Vector3/GetRandomInArea")]
[Help("Gets a random position from a given area")]
public class GetRandomInArea : GOAction
{
[InParam("area")]
[Help("GameObjec... | 2.541082 | 44e65b0e542bf01a902bd62ce2a484a8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8838427 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "esrinederland/DevDay-2021",
"max_stars_repo_path": "ProSDK/Pro SDK/GISTech_Settings/GISTech_Settings/Tab/SettingsBackstageTabViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157647"
} | starcoder | using ArcGIS.Desktop.Framework.Contracts;
using BuienRadarSettings;
using System.Threading.Tasks;
namespace GISTech_Settings.Tab
{
internal class SettingsBackstageTabViewModel : BackstageTab
{
#region members
private static bool _isCelsius;
private static bool _isFahrenheit;
... | 2.482492 | dcd606b7ab1bc215d280a68b6e66c98d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8838428 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "SD-2021-2/Cleber---Vitor",
"max_stars_repo_path": "Logic/Implementations/Natacao.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157648"
} | starcoder | <filename>Logic/Implementations/Natacao.cs<gh_stars>1-10
using Logic.Assignatures.Interface;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Diagnostics.CodeAnalysis;
using Logic.Assignatures.DTO;
namespace Logic.Implementations
{
//... | 2.956639 | a791da9b9fe5ad4fc6e90fc5ef4198b1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8838429 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LanaDX/aspnet-security-bestpractices",
"max_stars_repo_path": "SecurityBestPractices.Mvc/SecurityBestPractices.Mvc/Views/UsingAntiForgeryToken/EditFormPartial.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:157649"
} | starcoder | @{
var grid = Html.DevExpress().GridView<EditFormItem>(settings => {
settings.Name = "grid";
settings.CallbackRouteValues = new { Controller = "UsingAntiForgeryToken", Action = "EditFormPartial" };
settings.SettingsEditing.DeleteRowRouteValues = new { Controller = "UsingAntiForgeryToken... | 1.866253 | 591df0884c1391becd0728d0f2fe6387 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8838430 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ericstj/wcf",
"max_stars_repo_path": "src/svcutilcore/src/Microsoft/Tools/ServiceModel/SvcUtil/ToolInputException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157650"
} | starcoder | <reponame>ericstj/wcf
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
namespace Microsoft.Tools.ServiceModel.SvcUtil
{
using System;
[Serializable]
int... | 1.843934 | 0620739209a7cc5d0cecf21792c8302c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8838431 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AdrianAVA9/Upload-File-MVC",
"max_stars_repo_path": "FileHelperLibrary/FileHelperActionResult.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157651"
} | starcoder | using FileHelperLibrary.AppException;
using FileHelperLibrary.Entities;
using FileHelperLibrary.Enums;
namespace FileHelperLibrary
{
public class FileHelperActionResult
{
public FileHelperActionStatus Status { get; set; }
public FileHelperException Exception { get; set; }
public FileIn... | 2.294871 | f85a12744034226957b0a59e64415ef3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8838432 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "COMPEON/Compos.Coreforce",
"max_stars_repo_path": "Compos.Coreforce/ISalesforceClient.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157652"
} | starcoder | using Compos.Coreforce.Filter;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Threading.Tasks;
using System;
using Compos.Coreforce.Models.Description;
namespace Compos.Coreforce
{
public interface ISalesforceClient
{
Task<Description> GetDescriptionAsync<T>();
... | 1.947981 | e1afe09c03f894e220d95c2e0bb485f0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8838433 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "meebey/JabbR",
"max_stars_repo_path": "JabbR/Infrastructure/AuthenticationServiceExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157653"
} | starcoder | using System.Collections.Generic;
using System.Linq;
using WorldDomination.Web.Authentication;
namespace JabbR.Infrastructure
{
public static class AuthenticationServiceExtensions
{
public static IEnumerable<IAuthenticationProvider> GetProviders(this IAuthenticationService authenticationService)
... | 1.970232 | 82c186528510fe8cca29f4145b98551e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8838434 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "turboyang-cn/Tesla-Monitor",
"max_stars_repo_path": "Source/TurboYang.Tesla.Monitor.Client/ITeslaClient.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157654"
} | starcoder | using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
namespace TurboYang.Tesla.Monitor.Client
{
public interface ITeslaClient
{
public Task<TeslaToken> GetTokenAsync(String username, String password, String passcode, CancellationToken cancellationToken ... | 2.039057 | c38394c065377ab14e2258617485bbd2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8838435 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mawinkler/c1-app-sec-dotnet-vulnerable",
"max_stars_repo_path": "Controllers/SplitResponseController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157655"
} | starcoder | <filename>Controllers/SplitResponseController.cs
using System;
using Microsoft.AspNetCore.Mvc;
namespace app.Controllers
{
public class SplitResponseController : Controller
{
[HttpGet]
public IActionResult Index()
{
return View();
}
[HttpPost]
public... | 2.253962 | 4e26eaa651f6f1decb83d48957ef553b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8838436 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "AIFramework/AIFrameworkOpen",
"max_stars_repo_path": "AI/ML/NeuralNetwork/CoreNNW/Events/TrainingEventArgs.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157656"
} | starcoder | using AI.ML.NeuralNetwork.CoreNNW.DataStructs;
using System;
namespace AI.ML.NeuralNetwork.CoreNNW.Events
{
public class TrainingEventArgs : EventArgs
{
/// <summary>
/// Total epoches that need to be passed
/// </summary>
public int TrainingEpoches { get; }
/// <summar... | 2.859378 | 5608ef7e1587da40f1f003512951be83 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8838437 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "ajsuth/CatalogSynchronizer",
"max_stars_repo_path": "9.3/Sitecore.Commerce.Engine.SDK.5.0.76/src/Sitecore.Commerce.Sample.Console/Shipments.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157657"
} | starcoder | using System.Collections.Generic;
using System.Linq;
using FluentAssertions;
using Sitecore.Commerce.Engine;
using Sitecore.Commerce.Extensions;
using Sitecore.Commerce.Plugin.Fulfillment;
using Sitecore.Commerce.Sample.Contexts;
using Sitecore.Commerce.ServiceProxy;
namespace Sitecore.Commerce.Sample.Console
{
p... | 1.862506 | a59e62a4a564f778c13e820c97abc63f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8838438 | {
"extension": "c-sharp",
"max_stars_count": "166.0",
"max_stars_repo_name": "jaquecr/azure-functions-dotnet-worker",
"max_stars_repo_path": "sdk/Sdk/Tasks/ZipDeploy/ZipDeploymentStatus.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157658"
} | starcoder | <gh_stars>100-1000
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.IO;
using System.Net;
using System.Net.Http;
using System.Text;
using System.Text.Json... | 2.145057 | 29d1c4bda2f5ef7f648034495a0521df |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8838439 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "Gruschtel/Satellitenbewegung",
"max_stars_repo_path": "Assets/Standard Assets/_MK/MKGlowFree/Scripts/MipBuffer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157659"
} | starcoder | //////////////////////////////////////////////////////
// MK Glow Mip Buffer //
// //
// Created by <NAME> //
// www.michaelkremmel.de | www.michaelkremmel.store //
// Copyright © 2019 All rights reserved. //
//////////////////////... | 2.22586 | e66e5288e285f674758fcae23dca2717 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8838440 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "andrewsarnold/FuzzyDates",
"max_stars_repo_path": "FuzzyDates/Rules/RuleImplementations/RangeMustBeChronologicalRule.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157660"
} | starcoder | <reponame>andrewsarnold/FuzzyDates
using System;
namespace FuzzyDates.Rules.RuleImplementations
{
public class RangeMustBeChronologicalRule : IRule<FuzzyDateRange>
{
public void Verify(FuzzyDateRange range)
{
// Special case: If a date is wholly unknown, it can go on either end of the range
if (range.From... | 3.342944 | 816198e3fa53acb30b2ad6433d30a0a4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8838441 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "skimurio/Skimur",
"max_stars_repo_path": "src/Skimur.Data/Commands/ReportPost.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157661"
} | starcoder | using System;
using Skimur.Messaging;
namespace Skimur.Data.Commands
{
public class ReportPost : ICommand
{
public Guid ReportedBy { get; set; }
public Guid PostId { get; set; }
public string Reason { get; set; }
}
}
| 1.400677 | 8d6aa96b221d83fb33d0a55df5b6d931 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8838442 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "E01D/Base",
"max_stars_repo_path": "src/E01D.Base.Collections.Trees/Code/Api/E01D/Core/Collections/Trees/Binary/Avl/NodesApi.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157662"
} | starcoder | using Root.Code.Models.E01D.Core.Collections.Trees.Binary.Avl;
namespace Root.Code.Api.E01D.Core.Collections.Trees.Binary.Avl
{
public class NodesApi
{
public string ToString<TNode, TKey, TValue>(AvlNode<TNode, TKey, TValue> @this) where TNode : AvlNode_I<TNode, TKey, TValue>
{
ret... | 2.052304 | 79e256d1b26c6870fb11bae9a3a41bbb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8838443 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "qwerty11aa/CTSTest",
"max_stars_repo_path": "CTS Manual Input/Views/Dictionary/ShiftsEdit.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:157663"
} | starcoder | @model CTS_Models.Shift
@{
Layout = "~/Views/Shared/_Layout.cshtml";
}
<script src="~/Scripts/bootstrap-timepicker.js"></script>
<link href="~/Content/timepicker.css" rel="stylesheet" />
<h2>Изменить данные времени смен по @Model.Location.LocationName</h2>
<br />
<div style="font-size:18px">Введите время начала п... | 2.259629 | 606f11a3a43de8fdab15f22adbd7d43b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8838444 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mSamirTT/Simple_Inventory_Public",
"max_stars_repo_path": "src/StarterApp.Core/Areas/Dashboard/Queries/RecentSupplyingsQuery.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157664"
} | starcoder | <gh_stars>0
using MediatR;
using Microsoft.EntityFrameworkCore;
using StarterApp.Core.Areas.Dashboard.ViewModels;
using StarterApp.Core.Areas.Supplies.Entities;
using StarterApp.Core.Common.Models;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
namespace Sta... | 1.830964 | 2b1f816d0440efe6104fc6ef234040f1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8838445 | {
"extension": "c-sharp",
"max_stars_count": "38.0",
"max_stars_repo_name": "LaudateCorpus1/firebase-unity-sdk",
"max_stars_repo_path": "firestore/generated/src/proxy/FieldPathToValueMapIterator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157665"
} | starcoder | /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 3.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ------------------------------... | 2.105153 | c644e78ce80d22e4b67023452b2c7cb5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8838446 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "otaviojulianons/DynamicRestApi",
"max_stars_repo_path": "src/Infrastructure/Repository/Repositories/EntityRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157666"
} | starcoder | using Domain.Core.Interfaces.Infrastructure;
using Domain.Entities.EntityAggregate;
using Common.Notifications;
using Infrastructure.Repository.Contexts;
using MediatR;
using MongoDB.Driver;
using System.Linq;
namespace Infrastructure.Repository.Repositories
{
public class EntityRepository : MongodbRepository<Ent... | 2.108915 | 6abd8c01b7ea02964c36fc1a36e44450 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8838447 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "git-martin/ssc",
"max_stars_repo_path": "Ssc/SscCommon/SscUtil/SscExtends.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157667"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
namespace SscCommon.SscUtil
{
public static class ElevenX5Extends
{
public static bool IsValidNumbers(this List<int> numList)
{
return numList.TrueForAll(IsNumberValid);
... | 2.631703 | 5cd345fd64cbe608f2e840c002df6345 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8838448 | {
"extension": "c-sharp",
"max_stars_count": "357.0",
"max_stars_repo_name": "v-ststee/Smker",
"max_stars_repo_path": "ch10_automating_clamav/clam-sharp/ClamEngine.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157668"
} | starcoder | <filename>ch10_automating_clamav/clam-sharp/ClamEngine.cs
using System;
using System.Runtime.InteropServices;
namespace ch13_automating_clamav_filesystem
{
public class ClamEngine : IDisposable
{
private IntPtr engine;
public ClamEngine ()
{
ClamReturnCode ret = ClamBindings.cl_init((uint)ClamDatabaseOptio... | 2.623847 | d85263fe8323f373131acc56f14f7599 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8838449 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MartijnDijkgraaf/squidex",
"max_stars_repo_path": "backend/src/Squidex.Infrastructure/States/DefaultStreamNameResolver.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157669"
} | starcoder | // ==========================================================================
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex UG (haftungsbeschraenkt)
// All rights reserved. Licensed under the MIT license.
// ===========================... | 1.901677 | 504ada3ae49c2c011a7e5d1eac4f1f00 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8838450 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pjmagee/brew",
"max_stars_repo_path": "Brew/HiddenKeywords/ArgListKeyWord.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157670"
} | starcoder | using System;
using System.Collections.Generic;
using Microsoft.Extensions.Logging;
namespace Brew.HiddenKeywords;
public class HiddenArgListKeyWord : IBrew
{
private readonly ILogger<HiddenArgListKeyWord> logger;
public HiddenArgListKeyWord(ILogger<HiddenArgListKeyWord> logger)
{
this.logger = ... | 2.629471 | 3d1903936997df027345062fdd68c94f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8838451 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Coolicky/Revit.DependencyInjection",
"max_stars_repo_path": "Revit.DependencyInjection.Unity/UI/RibbonManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157671"
} | starcoder | <reponame>Coolicky/Revit.DependencyInjection
using Autodesk.Revit.UI;
namespace Revit.DependencyInjection.Unity.UI
{
/// <summary>
/// Ribbon Manager will help you create Tabs, Panels and Buttons in Revit
/// </summary>
public class RibbonManager : IRibbonManager
{
private readonly UIContr... | 2.562154 | f686f5b114e3bcdb56bc3f984aeb9543 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8838452 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nguyendev/DATN",
"max_stars_repo_path": "Code/WindowsForm/UC/UCLoginWithCamera.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157672"
} | starcoder | <filename>Code/WindowsForm/UC/UCLoginWithCamera.Designer.cs
namespace WindowsForm.UC
{
partial class UCLoginWithCamera
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// ... | 2.063276 | 8f77090118b248dc87b0fc8a72f07b71 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8838453 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "hannahchan/Scaffold.WebApi",
"max_stars_repo_path": "Scaffold/Sources/Adapters/Scaffold.Repositories/Configurations/ItemConfiguration.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157673"
} | starcoder | namespace Scaffold.Repositories.Configurations;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using Scaffold.Domain.Aggregates.Bucket;
public class ItemConfiguration : IEntityTypeConfiguration<Item>
{
public void Configure(EntityTypeBuilder<Item> builder)
{
... | 1.955325 | 1c8dee1e80dcb32ec088a9610d3e192c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8838454 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "MatFillion/XamlStyler",
"max_stars_repo_path": "XamlStyler.Package/PackageCommandIds.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157674"
} | starcoder | namespace Xavalon.XamlStyler.Package
{
internal static class PackageCommandIds
{
public const uint FormatXamlCommandId = 0x100;
};
} | 1.27242 | aa1cf380edea6f84b67972638d9eb531 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8838455 | {
"extension": "c-sharp",
"max_stars_count": "188.0",
"max_stars_repo_name": "Carifio24/wwt-windows-client",
"max_stars_repo_path": "WWTExplorer3d/JoystickHelp.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157675"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace TerraViewer
{
public partial class JoystickHelp : Form
{
public JoystickHelp()
{
InitializeComponent();
... | 2.213132 | 6941666730374b5f1e7f21cfccf8028c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8838456 | {
"extension": "c-sharp",
"max_stars_count": "105.0",
"max_stars_repo_name": "ivaylokenov/AspNetCore.Mvc.HttpActionResults",
"max_stars_repo_path": "src/AspNetCore.Mvc.HttpActionResults.Informational.Extensions/InformationalControllerBaseExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157676"
} | starcoder | namespace Microsoft.AspNetCore.Mvc
{
/// <summary>
/// Class containing informational HTTP response extensions methods for <see cref="ControllerBase"/>.
/// </summary>
public static class InformationalControllerBaseExtensions
{
/// <summary>
/// Creates a <see cref="ContinueResult"... | 2.886697 | 341700f5545ca13f918eb66575281366 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8838457 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Xeltica/RealXelticaBot",
"max_stars_repo_path": "Citrine.Core/Storage/UserStorage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157677"
} | starcoder | using System;
using System.Collections.Concurrent;
using System.IO;
using Newtonsoft.Json.Linq;
namespace Citrine.Core.Api
{
public class UserStorage
{
public UserStorage()
{
Reload();
}
/// <summary>
/// 指定したユーザーのレコードを取得します。
/// </summary>
... | 2.91205 | 52c88c90c40cfb322ab97636d00ca9b4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8838458 | {
"extension": "c-sharp",
"max_stars_count": "38.0",
"max_stars_repo_name": "matarillo/LanguageServerProtocol",
"max_stars_repo_path": "LanguageServer/Parameters/TextDocument/HoverContents.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157678"
} | starcoder | <filename>LanguageServer/Parameters/TextDocument/HoverContents.cs<gh_stars>10-100
using LanguageServer.Json;
namespace LanguageServer.Parameters.TextDocument
{
/// <summary>
/// The hover's content
/// </summary>
/// <remarks>
/// <see cref="MarkedString"/> is deprecated, please use <see cref="Mar... | 2.735369 | a3e5def1a86c99365000795f48c6b97b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8838459 | {
"extension": "c-sharp",
"max_stars_count": "46.0",
"max_stars_repo_name": "nhnpro/WalletConnectSharp",
"max_stars_repo_path": "Examples/console/IExample.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157679"
} | starcoder | <filename>Examples/console/IExample.cs
using System.Threading.Tasks;
namespace WalletConnectSharp.Examples
{
public interface IExample
{
string Name { get; }
Task Execute(string[] args);
}
} | 1.563635 | 49e2a4bf9e3f385123242914e64f91e6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8838460 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "mligtenberg/CloudRepublic.BenchMark",
"max_stars_repo_path": "src/Orchestrator/CloudRepublic.BenchMark.Orchestrator.Domain/Enums/HostEnvironment.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157680"
} | starcoder | namespace CloudRepublic.BenchMark.Orchestrator.Domain.Enums
{
public enum HostEnvironment
{
Windows,
Linux
}
} | 1.209348 | e5fa0d58b20f27db4503f265e6132fb8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8838461 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Soyvolon/CloudNineBot",
"max_stars_repo_path": "CloudNine.Discord/Commands/Moderation/AddModlogNoticeCommand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157681"
} | starcoder | using System;
using System.Threading.Tasks;
using CloudNine.Core.Database;
using CloudNine.Core.Moderation;
using DSharpPlus;
using DSharpPlus.CommandsNext;
using DSharpPlus.CommandsNext.Attributes;
using DSharpPlus.SlashCommands;
using DSharpPlus.SlashCommands.Attributes;
using Microsoft.Extensions.DependencyInjec... | 2.575312 | 7250710113886c25aa21277f07218a77 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8838462 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "WFIOST/Meatyceiver2Plus",
"max_stars_repo_path": "src/Meatyceiver2Plus.Core/src/Failures/Firearm/BreakActionFTEFix.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157682"
} | starcoder | <gh_stars>0
using FistVR;
using HarmonyLib;
namespace Meatyceiver2Plus.Failures.Firearm
{
public static partial class FirearmFailures
{
[HarmonyPatch(typeof(FVRFireArmChamber), "BeginInteraction")]
[HarmonyPostfix]
public static void BreakActionFTEFix(FVRFireArmChamber instance) => inst... | 1.096803 | 876379351b71b34800da265e1619186c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8838463 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "UE4DotNet/Plugin",
"max_stars_repo_path": "DotNet/DotNet/UE4/Generated/Engine/RootMotionFinishVelocitySettings.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157683"
} | starcoder | // Copyright 2018 by JCoder58. See License.txt for license
// Auto-generated --- Do not modify.
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using UE4.Core;
using UE4.CoreUObject;
using UE4.CoreUObject.Native;
using UE4.InputCore;
using UE4.Native;
namespace UE4.Engine{
... | 1.233083 | 01f2a26d812bff26ae360d20395803fc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8838464 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "idunas-sky/dance-music-player",
"max_stars_repo_path": "src/FragmentLifecycleManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157684"
} | starcoder | using Android.OS;
using Android.Support.V4.App;
using Android.Views;
using Idunas.DanceMusicPlayer.Activities;
namespace Idunas.DanceMusicPlayer
{
public class FragmentLifecycleManager : FragmentManager.FragmentLifecycleCallbacks
{
private MainActivity _activity;
public FragmentLifecycleManag... | 1.909727 | 28c71f4f6f76fd8523aaa6f055994f4a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8838465 | {
"extension": "c-sharp",
"max_stars_count": "33.0",
"max_stars_repo_name": "Soldie/SharpTox",
"max_stars_repo_path": "SharpTox/Core/ToxHandle.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157685"
} | starcoder | <reponame>Soldie/SharpTox
using System;
using System.Runtime.InteropServices;
namespace SharpTox.Core
{
/// <summary>
/// Represents a handle for an instance of tox.
/// </summary>
public class ToxHandle : SafeHandleZeroOrMinusOneIsInvalid
{
private ToxHandle()
: bas... | 2.917566 | 04bfd3ae2d7468eba384c0ad7419b650 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8838466 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "llytvynenko/Nake",
"max_stars_repo_path": "Source/Meta/Properties/AssemblyInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157686"
} | starcoder | <filename>Source/Meta/Properties/AssemblyInfo.cs
using System.Reflection;
[assembly: AssemblyTitle("Nake.Meta")]
[assembly: AssemblyDescription("Metadata annotations for Nake")] | 1.41534 | bdb131c314639d17adce7a3f75fee878 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8838467 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "helloworld89/2048Console",
"max_stars_repo_path": "Core/Properties/AssemblyInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157687"
} | starcoder | <gh_stars>0
using System.Reflection;
using System.Resources;
// 有关程序集的常规信息通过以下特性集
// 控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("Core")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Microsoft")]
[assembly: AssemblyProduct("Core")]
[assembly: AssemblyC... | 1.870258 | 05d38014d6923d0d21be871c7b8c6afd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8838468 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "absolsonga/DamaDash",
"max_stars_repo_path": "Assets/Plugins/Missile.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157688"
} | starcoder | <filename>Assets/Plugins/Missile.cs<gh_stars>0
using UnityEngine;
using System.Collections;
public class Missile : MonoBehaviour
{
public GameObject Explosion; // 유도탄이 터질때 이펙트 프리펩
public GameObject target;
public float MoveSpeed = 3f; // 이동 스피드
public float RotateSpeed = 3f; // 회전 스피드 (가급적 이동 스피드랑 같거... | 2.765058 | 1f15fe4fd515e8043e1e42ed374209ab |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8838469 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Worker-ZHOU/ArcGIS_Poisonous",
"max_stars_repo_path": "ArcGIS_Poisonous/FormChapter04/FormSelection.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157689"
} | starcoder | <reponame>Worker-ZHOU/ArcGIS_Poisonous<filename>ArcGIS_Poisonous/FormChapter04/FormSelection.Designer.cs
namespace ArcGIS_Poisonous
{
partial class FormSelection
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = ... | 2.07709 | dcb4465e94258bb2bd36ff89e60ffc3e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8838470 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "affecto/dotnet-AuthenticationServer",
"max_stars_repo_path": "Source/AuthenticationServer.Configuration.Tests/IncompleteAuthenticationServerConfigurationTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157690"
} | starcoder | using System.Configuration;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Affecto.AuthenticationServer.Configuration.Tests
{
[TestClass]
public class IncompleteAuthenticationServerConfigurationTests : ConfigurationTestsBase
{
[TestMethod]
[ExpectedException(typeof(Configurat... | 2.042643 | 93e2762bf171ead65e039e0a14fc3846 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8838471 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "kelimebilgisi/mobileapp",
"max_stars_repo_path": "Toggl.Daneel/ViewControllers/Calendar/CalendarPermissionDeniedViewController.designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157691"
} | starcoder | <gh_stars>1-10
// WARNING
//
// This file has been generated automatically by Visual Studio to store outlets and
// actions made in the UI designer. If it is removed, they will be lost.
// Manual changes to this file may not be handled correctly.
//
using Foundation;
using System.CodeDom.Compiler;
namespace Toggl.Dane... | 1.553145 | 1cf02f6387962701f514d1f02f5c7963 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8838472 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ShadyObeyd/DatabaseAdvanced-EntityFramework-June2018",
"max_stars_repo_path": "08.AutoMappingObjects-Exercise/AutoMappingObjectsExercise/Core/Engine.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157692"
} | starcoder | <filename>08.AutoMappingObjects-Exercise/AutoMappingObjectsExercise/Core/Engine.cs
namespace AutoMappingObjectsExercise.Core
{
using Readers;
using Contracts;
using Data;
using System;
using Writers;
public class Engine : IEngine
{
private ICommandInterpreter commandInterpreter;
... | 3.178799 | 40e200dfa4e5bfd6ea46257afcbe706f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8838473 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "itspaiva/DDTank4.1",
"max_stars_repo_path": "Source Server/Game.Server/Server/SceneMarryRooms/TankHandle/InviteCommand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157693"
} | starcoder | <filename>Source Server/Game.Server/Server/SceneMarryRooms/TankHandle/InviteCommand.cs
// Decompiled with JetBrains decompiler
// Type: Game.Server.SceneMarryRooms.TankHandle.InviteCommand
// Assembly: Game.Server, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: 7994645F-6854-4AAC-A332-C61842D2DD9F
// A... | 1.715699 | f964e57683c7efada835aff942cc2056 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8838474 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "workgroupengineering/ConfuserEx",
"max_stars_repo_path": "Tests/TypeScrambler.Test/TypeScramblerTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157694"
} | starcoder | <filename>Tests/TypeScrambler.Test/TypeScramblerTest.cs<gh_stars>0
using System;
using System.Diagnostics;
using System.IO;
using System.Threading.Tasks;
using Confuser.Core;
using Confuser.Core.Project;
using Confuser.UnitTest;
using Xunit;
using Xunit.Abstractions;
namespace TypeScrambler.Test {
public sealed clas... | 1.908355 | 702dd5f8f66278212041f77f8db26d4c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8838475 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "frederikja163/TowerDefense",
"max_stars_repo_path": "Common/Game/Entity.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157695"
} | starcoder | <reponame>frederikja163/TowerDefense
using OpenTK.Mathematics;
namespace TowerDefense.Common.Game
{
public interface IEntity
{
Vector2 Position { get; }
int Id { get; }
}
public record Tower (
Vector2 Position,
int TickForNextShot,
int Id)
: IEntity ... | 1.50833 | 5128f7cfc94456a53fb9f1c57b1b6fe0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8838476 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "EdwinKaburu/JOLT",
"max_stars_repo_path": "UnitTests/Pages/Product/Read.cshtml.Tests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157696"
} | starcoder | using Microsoft.AspNetCore.Mvc;
using NUnit.Framework;
using ContosoCrafts.WebSite.Pages.Product;
namespace UnitTests.Pages.Product.Read
{
/// <summary>
/// Unit test for read products
/// </summary>
public class ReadTests
{
/// <summary>
/// set up page model
/// </summar... | 2.467529 | db77a4bf4399604227a93f83b716706f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8838477 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JacksonTech/JVRCurriculum",
"max_stars_repo_path": "UnityOSVRDemos/Assets/SunScript.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157697"
} | starcoder | <filename>UnityOSVRDemos/Assets/SunScript.cs
using UnityEngine;
using System.Collections;
public class SunScript : MonoBehaviour {
public GameObject sun;
public GameObject planet;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
transform.R... | 2.247383 | 9a8970857ceddfc252a7a25a41ac1050 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8838478 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "mbenitez159/Products",
"max_stars_repo_path": "BackEnd/Products.Domain/Repository/IProductRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157698"
} | starcoder | <reponame>mbenitez159/Products
using Products.Domain.Core;
namespace Products.Domain.Repository
{
public interface IProductRepository : IRepository<Product>
{
//ADD Any additional method for this repository
}
}
| 1.063631 | 429ee7aac29c81f0b216db0e3f088669 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8838479 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "SXTrader/SXTrader",
"max_stars_repo_path": "BFTradingStrategies/SXHelper/OrientedTextLabel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157699"
} | starcoder | <gh_stars>1-10
using System;
using System.Data;
using System.Drawing;
using System.Drawing.Text;
using System.Windows.Forms;
using System.Drawing.Drawing2D;
using System.ComponentModel;
namespace net.sxtrader.bftradingstrategies.sxhelper
{
/// <summary>
/// This is a lable, in which you can set the text in any direc... | 3.145592 | e08339dcfb4f2f2c44d6362beec0adfe |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8838480 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "catalina-bejan/multiplayer-game-unity",
"max_stars_repo_path": "Server/Server/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157700"
} | starcoder | using System;
using System.Collections.Generic;
using System.Net;
using System.Net.Sockets;
using System.IO;
using System.Threading;
namespace Server
{
class Program
{
private static IPAddress SERVER_ADDRESS = IPAddress.Parse("127.0.0.1");
private static Int16 SERVER_PORT = 9999;
priv... | 3.52869 | 6d8a01cb37fe473e21ef54f1dbfb3396 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8838481 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "sozuer53/BBC",
"max_stars_repo_path": "Server/BBC_API/src/BBC.API/Registery/Identiy.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157701"
} | starcoder | using BBC.Core.Configuration.Config;
using BBC.Core.Domain.Identity;
using BBC.Core.Interfaces;
using Microsoft.AspNetCore.Identity;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using System;
using System.Collections.Generic;
using Syste... | 2.116246 | 500d3d9344e6c96388cd3749a21888b2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8838482 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JTOne123/Aurochses.AspNetCore.Identity",
"max_stars_repo_path": "src/Aurochses.AspNetCore.Identity/IApplicationUser.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157702"
} | starcoder | <gh_stars>0
using System;
namespace Aurochses.AspNetCore.Identity
{
/// <summary>
/// User
/// </summary>
public interface IApplicationUser
{
/// <summary>
/// Gets or sets the identifier.
/// </summary>
/// <value>The identifier.</value>
Guid Id { get; set;... | 2.064011 | 7b740a65fd46fccded11c7b53bd66ec8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8838483 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "apurplecaboose/Project-Parkour",
"max_stars_repo_path": "ImaRunnerImaTrackstar/Assets/Polaris - Low Poly Ecosystem/Polaris - Low Poly Terrain Engine/Runtime/Scripts/Rendering/GCullCellJob.cs",
"provenance": "train-00027-of-00045.jsonl... | starcoder | <reponame>apurplecaboose/Project-Parkour<gh_stars>0
#if GRIFFIN
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using Unity.Jobs;
using Unity.Burst;
using Unity.Collections;
namespace Pinwheel.Griffin.Rendering
{
#if GRIFFIN_BURST
[BurstCompile(CompileSynchronously = true)]
#endif
... | 1.996513 | 9312e71f7ab999c917d66b5ac7f7efd2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8838484 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "charlenni/VTMap",
"max_stars_repo_path": "Source/VTMap.Core/Enums/MouseButton.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157704"
} | starcoder | // Found at SkiaSharp Forms implementation
// See at https://github.com/mono/SkiaSharp
namespace VTMap.Core.Enums
{
public enum MouseButton
{
Unknown,
Left,
Middle,
Right
}
}
| 1.402448 | 94fd588219e2b0012a939daae19c1bda |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8838485 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Lincoln-Zhou/Survey-Adjustment-Calculation",
"max_stars_repo_path": "Final Project/Average_Result.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157705"
} | starcoder | <reponame>Lincoln-Zhou/Survey-Adjustment-Calculation
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 Final_Project
{
public pa... | 2.553868 | 05a4adab947e3d9f72951fddc15c2926 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8838486 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "moriyahiroaki/Disqord",
"max_stars_repo_path": "src/Disqord.Core/Entities/Core/AuditLogs/Emoji/IEmojiCreatedAuditLog.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157706"
} | starcoder | namespace Disqord.AuditLogs
{
public interface IEmojiCreatedAuditLog : IDataAuditLog<IEmojiAuditLogData>
{ }
}
| 1.048816 | 3e8dbfa5521a59d3bc8d67fdcd00b1e4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8838487 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "RyanNieuwoudt/StarCommander",
"max_stars_repo_path": "StarCommander.Infrastructure.Persistence.Aggregate/Players/PlayerRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157707"
} | starcoder | <filename>StarCommander.Infrastructure.Persistence.Aggregate/Players/PlayerRepository.cs
using System.Threading.Tasks;
using AmbientDbContextConfigurator;
using Microsoft.EntityFrameworkCore;
using StarCommander.Domain.Messages;
using StarCommander.Domain.Players;
namespace StarCommander.Infrastructure.Persistence.Agg... | 2.619762 | e8938d6df4a18809f6c29ca5f311cfb0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8838488 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ruselknow/osicat",
"max_stars_repo_path": "Ruselknow.Osicat.UnitTest/Handlers/InstallCommandHandlerShould.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157708"
} | starcoder | <reponame>ruselknow/osicat<filename>Ruselknow.Osicat.UnitTest/Handlers/InstallCommandHandlerShould.cs
using FluentAssertions;
using Ruselknow.Osicat.Commands;
using Ruselknow.Osicat.Handlers;
using System;
using System.Threading;
using System.Threading.Tasks;
using Xunit;
namespace Ruselknow.Osicat.UnitTest.Handlers
{... | 2.233901 | 4caccc0cb5c45a81c838aea985351315 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8838489 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BigMing-Core/Blazor.Component.Antd",
"max_stars_repo_path": "src/LuanNiao.Blazor.Component.Antd/Select/Select.razor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157709"
} | starcoder | using LuanNiao.Blazor.Core.Common;
using LuanNiao.Blazor.Core.ElementEventHub.Attributes;
using Microsoft.AspNetCore.Components;
using System;
using System.Collections.Generic;
using System.Text;
namespace LuanNiao.Blazor.Component.Antd.Select
{
public partial class Select
{
private bool _showHidenDi... | 2.136019 | 14f87a176e675daf5e182e6749cd6e7d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8838490 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "paidgeek/SimpleGameTemplate",
"max_stars_repo_path": "Assets/Scripts/UI/Countdown.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157710"
} | starcoder | <reponame>paidgeek/SimpleGameTemplate
using System.Collections;
using UnityEngine;
using UnityEngine.Events;
public class Countdown : Singleton<Countdown>
{
[SerializeField]
private DataBindContext m_DataBindContext;
private int m_Timer;
private UnityAction m_OnDone;
public void DoCountdown(int seconds, U... | 2.463215 | 856d04750343108715b1258637d10058 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8838491 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "gldnpz17/SimpleAuthService",
"max_stars_repo_path": "UseCases/ApplicationDependencies/UnitOfWork/Repositories/IGenericDeleteRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157711"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace ApplicationDependencies.UnitOfWork.Repositories
{
public interface IGenericDeleteRepository<TEntity> where TEntity : class
{
Task DeleteAsync(TEntity entity);
}
}
| 1.925434 | b45b492d90fff67ff96dde6def204390 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8838492 | {
"extension": "c-sharp",
"max_stars_count": "3389.0",
"max_stars_repo_name": "KickSeason/neo",
"max_stars_repo_path": "src/neo/Plugins/IMemoryPoolTxObserverPlugin.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157712"
} | starcoder | // Copyright (C) 2015-2021 The Neo Project.
//
// The neo is free software distributed under the MIT software license,
// see the accompanying file LICENSE in the main directory of the
// project or http://www.opensource.org/licenses/mit-license.php
// for more details.
//
// Redistribution and use in source and bi... | 2.021509 | a057e46a3bd4710aff9a1191d5eab7c4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8838493 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "daltoncabrera/possytem",
"max_stars_repo_path": "PosSystem/src/PosSystem/Data/Base/Base.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157713"
} | starcoder | <reponame>daltoncabrera/possytem
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace PosSystem.Data
{
public class Base
{
}
}
| 0.81348 | d54a13ca80cc1df29794628c9bfad331 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8838494 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "786744873/GPSPlatform",
"max_stars_repo_path": "src/JT808.Protocol/JT808Serializer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157714"
} | starcoder | using JT808.Protocol.Exceptions;
using JT808.Protocol.Extensions;
using System;
using System.Buffers;
using System.Text;
namespace JT808.Protocol
{
/// <summary>
///
/// ref https://www.cnblogs.com/TianFang/p/9193881.html
/// </summary>
public static class JT808Serializer
{
public st... | 2.543892 | 950e2a8548ed6d18a9c42dbc2f30a4c5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8838495 | {
"extension": "c-sharp",
"max_stars_count": "306.0",
"max_stars_repo_name": "eeryinkblot/psmoveapi",
"max_stars_repo_path": "examples/csharp/LEDs.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157715"
} | starcoder |
using io.thp.psmove;
public class LEDs {
public static int Main(string [] args) {
PSMove move = new PSMove();
move.set_leds(0, 255, 0);
move.update_leds();
return 0;
}
};
| 2.054858 | 02d4e8078c70ead3f72572ffed849821 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8838496 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Insire/Decorator",
"max_stars_repo_path": "Decorator.Tests/Deserialize.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157716"
} | starcoder | <reponame>Insire/Decorator<filename>Decorator.Tests/Deserialize.cs
using Decorator.Exceptions;
using System.Collections.Generic;
using Xunit;
namespace Decorator.Tests
{
public class Deserialize
{
private static void Verify(BaseMessage m, TestMessage t)
{
Assert.Equal("test", m.Type);
Assert.Equal(m.Arg... | 2.285447 | 29d393df897a57da6eca240f25d7c2dd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8838497 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jkone27/csharp-refactoring-exercises",
"max_stars_repo_path": "WrongAbstraction/DryFailure/Before/Gen0/SaltAndPepperService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157717"
} | starcoder | <gh_stars>0
namespace WrongAbstraction.DryFailure.Before.Gen0
{
//let's imagine we inherit a legacy service which "started" like this...
public class SaltAndPepperService
{
public void AddSalt(IDish dish)
{
dish.Salt++;
// first thing to notice: mutation, this method... | 2.688098 | a7c3a5c6ef8c690a061f891ede45210b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8838498 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "faisalkhan91/Restaurant-Application",
"max_stars_repo_path": "RestaurantApplication/Views/Order/Create.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:157718"
} | starcoder | @*
For more information on enabling MVC for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860
*@
@{
}
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
@model RestaurantApplication.Models.Order;
@{
Layout = "~/Views/Shared/_Layout.cshtml";
ViewBag.Title = "Create Order";
}
<form as... | 2.501864 | e0b7aa962e9aae47dfcd0656b2dac98d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8838499 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "thild/singl",
"max_stars_repo_path": "src/Singl/Views/Disciplinas/Index.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:157719"
} | starcoder | <reponame>thild/singl<filename>src/Singl/Views/Disciplinas/Index.cshtml
@model IEnumerable<Singl.Models.Disciplina>
@{
ViewBag.Title = "Lista de disciplinas";
Layout = "/Views/Shared/_InfoLayout.cshtml";
}
<h2>Lista de disciplinas</h2>
<p>
<a asp-controller="Disciplina" asp-action="Create">Cria... | 2.450306 | 52e2b5c6094e571b8986dc4560e96b58 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8838500 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tosog/mercury",
"max_stars_repo_path": "cs/Samples/RFIDSearchLight/RFIDSearchLight/ReadTags.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157720"
} | starcoder | <filename>cs/Samples/RFIDSearchLight/RFIDSearchLight/ReadTags.cs<gh_stars>0
using System;
using System.Linq;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Threading;
using System.IO;
using Microsoft.Wi... | 1.813384 | 1448e6a88824899b1caed7679ecc291a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8838501 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PabloGaspar/TecWeb-1-2021",
"max_stars_repo_path": "FootballAPI/FootballAPI/FootballAPI/Services/IPlayersService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157721"
} | starcoder | <reponame>PabloGaspar/TecWeb-1-2021
using FootballAPI.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace FootballAPI.Services
{
public interface IPlayersService
{
public Task<IEnumerable<PlayerModel>> GetPlayersAsync(long teamId);
... | 2.167264 | 60f03a082286f7ceed814dcfc375612d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8838502 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "phenix1021/PhenixDotNet",
"max_stars_repo_path": "PhenixUnity/src/Effect/ParticleMgr.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157722"
} | starcoder | <reponame>phenix1021/PhenixDotNet
using UnityEngine;
using System.Collections.Generic;
using Phenix.Unity.Collection;
namespace Phenix.Unity.Effect
{
public class ParticleMgr
{
class ParticleInst
{
public GameObject inst; // prefab实例
public Particl... | 2.546324 | be5e740f7342d2a8f084cdcc83365413 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8838503 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RemiFusade2/ScoutsForever",
"max_stars_repo_path": "UnityProject/Assets/Scripts/ScoutGroupBehaviour.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157723"
} | starcoder | <gh_stars>0
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class ScoutGroupBehaviour : MonoBehaviour {
public List<Texture> scoutGroupTextures;
public List<Texture> scoutGroupReverseTextures;
private bool reverse;
private int indexGroup;
public void UpdateScoutGroup(in... | 2.200189 | 92531ba9020cb6a37c6fff93004c435a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8838504 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "Qriva/MonoBehaviourTree",
"max_stars_repo_path": "Assets/MonoBehaviourTree/Source/Runtime/Nodes/UpdatePositionService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157724"
} | starcoder | <reponame>Qriva/MonoBehaviourTree<gh_stars>10-100
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace MBT
{
[AddComponentMenu("")]
[MBTNode("Services/Update Position Service")]
public class UpdatePositionService : Service
{
public TransformReference sourceT... | 1.872094 | 04a58b24b81f80b0df6fbf4929b92cab |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8838505 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lmeijdam/asp-net-core-patterns",
"max_stars_repo_path": "04_Decorator/Solution/Views/_ViewImports.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:157725"
} | starcoder | @using Decorator
@using Decorator.Models
@using Decorator.Models.AccountViewModels
@using Decorator.Models.ManageViewModels
@using Decorator.Models.HomeViewModels
@using Microsoft.AspNetCore.Identity
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
| 1.161422 | 06eedc60c94d92e21b271aa778b3c90d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8838506 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wechat-cloud/we-connect",
"max_stars_repo_path": "src/WeConnect.Components.Media/Impl/MaterialComponent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157726"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Threading.Tasks;
using WeConnect.Core;
namespace WeConnect.Components.Material
{
internal partial class MaterialComponent : IMaterialComponent
{
private readonly IApiClient _apiClient;
privat... | 2.263947 | c152014d515494f81869c1ac1e9bae41 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8838507 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "teosinh/aws-ekyc-sample",
"max_stars_repo_path": "packages/ekyc-api/src/ekyc-api/Utils/SessionManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157727"
} | starcoder | using System;
using System.Linq;
using System.Security.Cryptography;
using System.Threading.Tasks;
using Amazon.DynamoDBv2;
using Amazon.DynamoDBv2.DataModel;
using Amazon.S3;
using ekyc_api.DataDefinitions;
using Microsoft.Extensions.Configuration;
namespace ekyc_api.Utils
{
public class SessionManager
{
... | 2.797562 | 4e267fa0f128cab7f10ff00d5fcdc2fd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8838508 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Eibx/Rebronx",
"max_stars_repo_path": "server/Services/IWebSocketCore.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157728"
} | starcoder | using System.Collections.Generic;
using System.Net.Security;
namespace Rebronx.Server.Services
{
public interface IWebSocketCore
{
void GetNewConnections();
List<WebSocketMessage> PollMessages();
void Send(SslStream client, byte[] data);
}
} | 1.744071 | 2fa50b5183d3851f0151635e9687ac65 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8838509 | {
"extension": "c-sharp",
"max_stars_count": "33.0",
"max_stars_repo_name": "zmrbak/WpfClassicalExamples",
"max_stars_repo_path": "配套代码/L085/WcfService1/Services/IEmployeeService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157729"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using WcfService1.DataModels;
namespace WcfService1.Services
{
// 注意: 使用“重构”菜单上的“重命名”命令,可以同时更改代码和配置文件中的接口名“IEmployeeService”。
[ServiceContract]
public interf... | 2.180887 | ce68fb85e2dac53bff927d4f8dc0c18f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8838510 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "michaelestermann/io",
"max_stars_repo_path": "source/Appccelerate.IO.Facts/Access/InMemory/InMemoryFileInfoFacts.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157730"
} | starcoder | <reponame>michaelestermann/io
//-------------------------------------------------------------------------------
// <copyright file="InMemoryFileInfoFacts.cs" company="Appccelerate">
// Copyright (c) 2008-2015
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file excep... | 2.249948 | f8da06aba21b2758d2a659b0753ae725 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8838511 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "euming/mechahamster",
"max_stars_repo_path": "Assets/Hamster/Scripts/States/Multiplayer/ServerOpenMatchStart.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157731"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Networking;
namespace Hamster.States
{
// this is where the players from the "preOpenMatch" game are matched in OpenMatch and disconnected from their current game. This starts a new 4 player game with OpenMatch.
pu... | 2.095057 | 575cd5140ab563634c6613f74bc4159c |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.