added string | created string | id string | metadata dict | source string | text string | code-score float64 | md5 string |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7837 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "esskar/Handlebars",
"max_stars_repo_path": "source/Handlebars.Core/Compiler/Lexer/Tokens/StartSubExpressionToken.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7838"
} | starcoder | <filename>source/Handlebars.Core/Compiler/Lexer/Tokens/StartSubExpressionToken.cs
namespace Handlebars.Core.Compiler.Lexer.Tokens
{
internal class StartSubExpressionToken : ExpressionScopeToken
{
public override string Value => "(";
public override TokenType Type => TokenType.StartSubExpressio... | 2.350956 | e52da051e3ac5bf7c6e0ef30935e3333 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7838 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "takemurakimio/missing-part-1",
"max_stars_repo_path": "Assets/Daikon Forge/Examples/Game Menu/Scripts/DemoAchievementListItem.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7839"
} | starcoder | <reponame>takemurakimio/missing-part-1
using System;
using System.Collections;
using UnityEngine;
[AddComponentMenu( "Daikon Forge/Examples/Game Menu/Achievement List Item" )]
public class DemoAchievementListItem : MonoBehaviour
{
#region Private variables
private dfLabel NameLabel;
private dfLabel DescriptionL... | 1.938551 | c07db7c36ddb0202619c559c42b32c47 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7839 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kree1/potw",
"max_stars_repo_path": "Mod/Heroes/Armsmaster/Cards/StaticFieldGeneratorCardController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7840"
} | starcoder | using Handelabra.Sentinels.Engine.Controller;
using Handelabra.Sentinels.Engine.Model;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Jp.ParahumansOfTheWormverse.Armsmaster
{
public class StaticFieldGeneratorCardController : ModuleCardController
{
... | 2.500399 | 53b82ac64809b7d6302aed13aa8c9ae4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7840 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "MauriceH/BlueprintDeck",
"max_stars_repo_path": "source/BlueprintDeck.Core/Node/Ports/IPort.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7841"
} | starcoder | <gh_stars>1-10
namespace BlueprintDeck.Node.Ports
{
public interface IPort
{
}
} | 1.027627 | 48092f788a3212bc161c1f212675c19c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7841 | {
"extension": "c-sharp",
"max_stars_count": "33.0",
"max_stars_repo_name": "moonantonio/diplomata-unity",
"max_stars_repo_path": "Editor/Windows/QuestListMenu.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7842"
} | starcoder | using LavaLeak.Diplomata.Dictionaries;
using LavaLeak.Diplomata.Editor.Controllers;
using LavaLeak.Diplomata.Editor.Helpers;
using LavaLeak.Diplomata.Helpers;
using LavaLeak.Diplomata.Models;
using LavaLeak.Diplomata.Models.Submodels;
using UnityEditor;
using UnityEngine;
namespace LavaLeak.Diplomata.Editor.Windows
{
... | 2.250282 | ed5c02f1b2cb9dfd8928bd54608de451 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7842 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "YeastFx/Yeast",
"max_stars_repo_path": "src/Yeast.Modules/IModuleLoader.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7843"
} | starcoder | using Yeast.Features.Abstractions;
namespace Yeast.Modules
{
public interface IModuleLoader : IFeatureProvider
{
/// <summary>
/// Gets an <see cref="ILoadedModule"/> by its Name
/// </summary>
/// <param name="moduleName">The module name</param>
/// <returns>The <see c... | 2.553598 | 03dfbef3d22b8190fa0258ce27d042bb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7843 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SarenCurrie/the-tower",
"max_stars_repo_path": "Assets/Scripts/Item.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7844"
} | starcoder | using UnityEngine;
using System.Collections;
using System;
/// <summary>
///
/// This class represents all Equippable items in the Tower,
/// including weapons and armour. These items are randomly generated
/// on the fly with a unique sprite, and unique properties (such
/// as spread and fire rate for weapons)
/// ... | 2.700769 | 211a1069a634222c1eb13a34cdc75189 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7844 | {
"extension": "c-sharp",
"max_stars_count": "31.0",
"max_stars_repo_name": "ShibaJS/WindowsRuntime",
"max_stars_repo_path": "src/Shiba/ViewMappers/InputMapper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7845"
} | starcoder | using System.Collections.Generic;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Media;
using Shiba.Controls;
using Shiba.ViewMappers;
using NativeView = Windows.UI.Xaml.Controls.TextBox;
[assembly: ExportMapper("input", typeof(InputMapper))]
namespace Shiba.ViewMappers
{
public class InputMapper : ViewMa... | 2.066056 | 78b22a4b01addf085d4c34c128fb232e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7845 | {
"extension": "c-sharp",
"max_stars_count": "25.0",
"max_stars_repo_name": "apexsharp/apexsharp",
"max_stars_repo_path": "ApexApiAnalyzer/CommandLineOptions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7846"
} | starcoder | <filename>ApexApiAnalyzer/CommandLineOptions.cs
using System.Collections.Generic;
using CommandLine;
namespace ApexApiAnalyzer
{
public class CommandLineOptions
{
[Value(0, Required = true, HelpText = "Directories, ZIP files, Github project URLs to be processed")]
public IEnumerable<string> In... | 2.607723 | d91df830cb2ed7941b8e951b56ab2e1e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7846 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Frederik91/RevitAsyncDemo",
"max_stars_repo_path": "src/API/Models/Categories/CategoryQueryHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7847"
} | starcoder | using Contracts.Query;
using Contracts.Models;
using Contracts.RevitInteractors;
using System.Collections.Generic;
namespace API.Models.Categories
{
public class CategoryQueryHandler : IQueryHandler<CategoryQuery, IEnumerable<CW_Category>>
{
private readonly ICategoryRevitInteractor m_categoryRevitInt... | 2.431252 | 9039d9896b4a4e9e0eac92fa542297ce |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7847 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "chi-rei-den/Silverfish",
"max_stars_repo_path": "cards/TB/TB/Sim_TB_KTRAF_1.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7848"
} | starcoder | <reponame>chi-rei-den/Silverfish<gh_stars>1-10
/* _BEGIN_TEMPLATE_
{
"id": "TB_KTRAF_1",
"name": [
"阿努布雷坎",
"Anub'Rekhan"
],
"text": [
"在你的回合结束时,召唤一个3/1的蛛魔。",
"At the end of your turn, summon a 3/1 Nerubian."
],
"cardClass": "NEUTRAL",
"type": "MINION",
"cost": 4,
"rarity": null,
"se... | 1.689429 | 985185b063f6178523b8a928f9ba6f4b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7848 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "h2floh/KITEDemo",
"max_stars_repo_path": "VehicleClient/VideoPlayer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7849"
} | starcoder | <reponame>h2floh/KITEDemo
using System;
using System.Collections.Generic;
using System.Text;
namespace VehicleClient
{
using System;
using System.Collections.Generic;
using System.Drawing;
using System.IO;
using System.Linq;
public class VideoPlayer
{
private const int size = 6;
... | 2.580513 | 3cb587e6f36332aa91991e5a9ce3814c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7849 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "MathieuDR/orsr-discord-automator",
"max_stars_repo_path": "WiseOldManConnector/Models/Output/ILeaderboardMember.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7850"
} | starcoder | namespace WiseOldManConnector.Models.Output;
public interface ILeaderboardMember {
public Player Player { get; }
public double Value { get; }
}
| 1.704055 | 9632accb7300cccd481b11109bf2a17a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7850 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ca0v/SQLSpatialTools",
"max_stars_repo_path": "Sinks/GeographyFilters.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7851"
} | starcoder | //------------------------------------------------------------------------------
// Copyright (c) 2010 Microsoft Corporation.
//------------------------------------------------------------------------------
using System;
using System.Collections.Generic;
using Microsoft.SqlServer.Types;
namespace SQLSpatialTools
{
p... | 2.471891 | a6d1a9e4b21fca626f2707b7b029713c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7851 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "shamanski/ReversoDownloader",
"max_stars_repo_path": "ReversoApi/Models/ResporseError.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7852"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace ReversoApi.Models
{
[Serializable]
public class ResporseError
{
public bool Error { get; set; }
public bool Success { get; set; }
/// <summary>
/// Error message
/// </summary>
publ... | 1.933461 | b6ff6aa3832da9ff1de6c869a442238e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7852 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "sucrose0413/LykkeWalletAPI",
"max_stars_repo_path": "LykkeApi2/Middleware/ClientBansMiddleware.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7853"
} | starcoder | using System;
using System.Threading.Tasks;
using Common.Log;
using Lykke.Service.ClientAccount.Client;
using Microsoft.AspNetCore.Http;
namespace LykkeApi2.Middleware
{
public class ClientBansMiddleware
{
private readonly RequestDelegate _next;
private readonly IClientAccountClient _clientAcc... | 2.142767 | 24222d760f509246572dcb649ffa4c2f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7853 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "devncore/wpf-demo",
"max_stars_repo_path": "src/car-selling/CarSelling/CarSelling/Local/Helper/SellingCarListBuilder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7854"
} | starcoder | <reponame>devncore/wpf-demo<filename>src/car-selling/CarSelling/CarSelling/Local/Helper/SellingCarListBuilder.cs
using CarSelling.Local.Data;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Text.Json;
using System.Threading.Ta... | 2.395159 | f1d2132a85ff6a574691c227a8620d3f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7854 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "PampaDevs-BuildingBlocks/PampaDevs.BuildingBlocks",
"max_stars_repo_path": "src/PampaDevs.Bus/InProc/Command.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7855"
} | starcoder | <filename>src/PampaDevs.Bus/InProc/Command.cs<gh_stars>1-10
using FluentValidation;
using FluentValidation.Results;
using MediatR;
namespace PampaDevs.Bus.InProc
{
public abstract class Command<TCommandValidator, TCommandResponse> : Message, ICommand<TCommandValidator>, IRequest<TCommandResponse>
where TC... | 2.428941 | e53b9a30d82605f96b9cf3a4187d0efd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7855 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "itguru4u-be/planetpowershell",
"max_stars_repo_path": "src/Firehose.Web/Authors/JamesPetty.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7856"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel.Syndication;
using System.Web;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class JamesPetty : IAmACommunityMember, IFilterMyBlogPosts
{
public string FirstName => "James";
... | 2.222878 | 7650f9c87972bbe113beaf2f553388ff |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7856 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Noriffik/blog-core",
"max_stars_repo_path": "src/Modules/AccessControlContext/BlogCore.AccessControlContext/UseCases/UpdateUserProfileSetting/UpdateUserProfileSettingResponse.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7857"
} | starcoder | <filename>src/Modules/AccessControlContext/BlogCore.AccessControlContext/UseCases/UpdateUserProfileSetting/UpdateUserProfileSettingResponse.cs
using BlogCore.Core;
namespace BlogCore.AccessControlContext.UseCases.UpdateUserProfileSetting
{
public class UpdateUserProfileSettingResponse : IMessage
{
}
} | 1.321062 | 72290652d4d7a71ad9f2820212889fd0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7857 | {
"extension": "c-sharp",
"max_stars_count": "474.0",
"max_stars_repo_name": "adrbarros/boletonet",
"max_stars_repo_path": "src/Boleto.Net/Enums/TipoEmissao.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7858"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace BoletoNet.Enums
{
public enum TipoEmissao
{
EmissaoPeloCedente = 0,
EmissaoPeloBanco = 1
}
}
| 1.647033 | 51b22b5f3ab4ca509d18b82139bf09f7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7858 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CleoLeal/etec",
"max_stars_repo_path": "Desenvolvimento de Sistemas/restaurante/Model/Comanda.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7859"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace restaurante
{
class Comanda
{
private int id;
private double valorConsumo;
private double valorEstacionamento;
private double valorCouvert;
priva... | 2.868794 | 119d7cc9e542ccdc7b41c10a5fc18f51 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7859 | {
"extension": "c-sharp",
"max_stars_count": "421.0",
"max_stars_repo_name": "hamarb123/dotnet-api-docs",
"max_stars_repo_path": "samples/snippets/csharp/VS_Snippets_Remoting/EnterpriseServicesEventTrackingEnabledAttribute/CS/class1.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7860"
} | starcoder | <reponame>hamarb123/dotnet-api-docs<gh_stars>100-1000
// <snippet0>
using System;
using System.EnterpriseServices;
using System.Reflection;
// References:
// System.EnterpriseServices
// <snippet1>
[EventTrackingEnabled]
public class EventTrackingEnabledAttribute_Ctor : ServicedComponent
{
}
// </snippe... | 2.45895 | 68d451e81b188c9152a5ed628d3b4919 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7860 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Open-NET-Libraries/Open.Evaluation",
"max_stars_repo_path": "source/Arithmetic/Exponent.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7861"
} | starcoder | /*!
* @author electricessence / https://github.com/electricessence/
* Licensing: MIT https://github.com/Open-NET-Libraries/Open.Evaluation/blob/master/LICENSE.txt
*/
using Open.Evaluation.Core;
using System;
using System.Diagnostics;
namespace Open.Evaluation.Arithmetic
{
// ReSharper disable once PossibleInfini... | 2.639538 | b11757c96e0c5abfd0e98c93c13fa8fe |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7861 | {
"extension": "c-sharp",
"max_stars_count": "21.0",
"max_stars_repo_name": "GeromGG/Orc.SystemInfo",
"max_stars_repo_path": "src/Orc.SystemInfo/Services/DotNetFrameworkService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7862"
} | starcoder | <gh_stars>10-100
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="DotNetFrameworkService.cs" company="WildGums">
// Copyright (c) 2008 - 2015 WildGums. All rights reserved.
// </copyright>
// ----------------------------------... | 2.398779 | 54c8325c25a5052cc05c0b533e55c2e1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7862 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Yaroslav08/Ereceipt.API",
"max_stars_repo_path": "Ereceipt.SDK/Ereceipt.API/Models/Helpers/Token.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7863"
} | starcoder | <reponame>Yaroslav08/Ereceipt.API
using System;
using System.Text.Json.Serialization;
namespace Ereceipt.API.Models.Helpers
{
public class Token
{
[JsonPropertyName("accessToken")]
public string AccessToken { get; set; }
[JsonPropertyName("expiredAt")]
public DateTime ExpiredAt ... | 1.62516 | 5f9393044ceb91d45ae6dd4046a9eacd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7863 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "d-georgiev-91/TelerikAcademy",
"max_stars_repo_path": "Programming/CSharp/OOP/ObjectOrientedProgrammingPrinciplesPartOne/SchoolSimulation/SchoolSimulation.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7864"
} | starcoder | <filename>Programming/CSharp/OOP/ObjectOrientedProgrammingPrinciplesPartOne/SchoolSimulation/SchoolSimulation.cs
namespace SchoolSimulation
{
using System;
class SchoolSimulation
{
static void Main()
{
int i = 1;
Teacher ivan = new Teacher("<NAME>");
... | 3.134209 | b923043ecca909fa40981c940cdfa0e2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7864 | {
"extension": "c-sharp",
"max_stars_count": "40.0",
"max_stars_repo_name": "chrisa23/Fibrous",
"max_stars_repo_path": "Fibrous/Internal/Scheduling/AsyncTimerAction.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7865"
} | starcoder | using System;
using System.Threading;
using System.Threading.Tasks;
namespace Fibrous
{
internal sealed class AsyncTimerAction : IDisposable
{
private readonly Func<Task> _action;
private readonly TimeSpan _interval;
private bool _cancelled;
private Timer _timer;
public... | 2.858241 | 4eca1f5502ae66733c41ff1288ab5670 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7865 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "JBryan22/VegaCars",
"max_stars_repo_path": "Core/Models/VehicleFeature.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7866"
} | starcoder | <gh_stars>1-10
using System.ComponentModel.DataAnnotations.Schema;
namespace Vega_New.Models
{
[Table("VehicleFeatures")]
public class VehicleFeature
{
public int VehicleId { get; set; }
public int FeatureId { get; set; }
public Vehicle Vehicle { get; set; }
public Feature F... | 1.853633 | cbde22953ba9192926e41880ed1c0970 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7866 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "uk-gov-mirror/SkillsFundingAgency.dfc-coursedirectory",
"max_stars_repo_path": "src/Dfc.CourseDirectory.FindAnApprenticeshipApi/Models/Enums/RecordStatus.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7867"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;
namespace Dfc.CourseDirectory.FindAnApprenticeshipApi.Models.Enums
{
public enum RecordStatus
{
[Description("Undefined")]
Undefined = 0,
[Description("Live")]
Live = 1,
[Des... | 2.039196 | 4fbb76a083ccef59b64517210ecc6455 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7867 | {
"extension": "c-sharp",
"max_stars_count": "469.0",
"max_stars_repo_name": "lefb766/mono",
"max_stars_repo_path": "mcs/class/System.Web.Abstractions/Test/System.Web/HttpFileCollectionWrapperTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7868"
} | starcoder | //
// Authors:
// <NAME> <<EMAIL>>
//
// Copyright (C) 2010 Novell Inc. http://novell.com
//
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without ... | 1.809521 | 44a98b9d674973e1b3c3f98b491a5385 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7868 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SaFrMo/Unity-Template",
"max_stars_repo_path": "Assets/Scripts/_snippets/Standard2dMover.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7869"
} | starcoder | <reponame>SaFrMo/Unity-Template
using UnityEngine;
using System.Collections;
using SaFrLib;
public class Standard2dMover : MonoBehaviour {
/// STANDARD 2D MOVER
/// ==================
///
/// WHAT:
/// A simple class to enable 2D movement. Imagine a Zelda-like gridless top-down sprite system.
///
/// HOW:
... | 2.825005 | 0ea43e98fc085390878b35d0c231d305 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7869 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Dorianxxxx/RoomMateExpress",
"max_stars_repo_path": "RoomMateExpress.Core/Constants.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7870"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace RoomMateExpress.Core
{
public static class Constants
{
public static class Pagination
{
public const int InitialCount = 20;
public const int RequestMoreCount = 10;
}
public sta... | 2.020671 | 205b9d40d5ea814ef78a883800705b2b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7870 | {
"extension": "c-sharp",
"max_stars_count": "20.0",
"max_stars_repo_name": "flyingoverclouds/lib-CoreLibrary",
"max_stars_repo_path": "nanoFramework.CoreLibrary/System/ArgumentOutOfRangeException.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7871"
} | starcoder | <filename>nanoFramework.CoreLibrary/System/ArgumentOutOfRangeException.cs
//
// Copyright (c) .NET Foundation and Contributors
// Portions Copyright (c) Microsoft Corporation. All rights reserved.
// See LICENSE file in the project root for full license information.
//
namespace System
{
/// <summary>
/// The... | 2.852948 | 4deffb6ef52ce9ccadc2ecffebb8e951 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7871 | {
"extension": "c-sharp",
"max_stars_count": "29.0",
"max_stars_repo_name": "studentutu/traVRsal-sdk",
"max_stars_repo_path": "Runtime/ThirdParty/Bhaptics/SDK/Scripts/BhapticsUtils.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7872"
} | starcoder | <reponame>studentutu/traVRsal-sdk
using System;
using System.Collections.Generic;
using System.IO;
using UnityEngine;
#if UNITY_EDITOR
using UnityEditor;
#endif
namespace Bhaptics.Tact.Unity
{
public class BhapticsUtils
{
private static bool isInit = false;
private static string exeFilePath =... | 2.144918 | fba9b0b8dd3474141440efb8cf995974 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7872 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Enderderder/Mini_Production_1",
"max_stars_repo_path": "Assets/Scripts/C#Interfaces/Interfaces.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7873"
} | starcoder | <reponame>Enderderder/Mini_Production_1
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public interface IKillable
{
void TakeDamage(float _value);
void CheckDeath();
void KillEntity();
bool IsAlive();
} | 1.693738 | 7fee44f7176658f343ee913460c81a68 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7873 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "spzvtbg/03-Fundamentals",
"max_stars_repo_path": "01 Advanced/01. 0. Stacks and Queues - Lab/5.HotPotato/HotPotato.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7874"
} | starcoder | using System;
using System.Collections.Generic;
public class HotPotato
{
static Queue<string> standingPlayers = new Queue<string>();
static int countInCircleTo;
public static void Main()
{
var playersNames = Console.ReadLine().Split(new[] { " " }, StringSplitOptions.RemoveEmptyEntries);
... | 3.593819 | 06ce8b2c07c2fa5cdf7acd87c1678834 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7874 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "tomkail/UnityX",
"max_stars_repo_path": "Assets/UnityX/Scripts/Components/PolygonRenderer/PolygonOutlineRenderer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7875"
} | starcoder | <filename>Assets/UnityX/Scripts/Components/PolygonRenderer/PolygonOutlineRenderer.cs
using System.Collections;
using System.Linq;
using UnityEngine;
using UnityX.MeshBuilder;
using UnityX.Geometry;
[ExecuteInEditMode]
[RequireComponent(typeof(MeshFilter))]
public class PolygonOutlineRenderer : BasePolygonRenderer {
... | 2.140398 | 424c08c9a16fb1735028bd2118692213 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7875 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Pinselohrkater/ef_app-backend-dotnet_core",
"max_stars_repo_path": "src/Eurofurence.App.Server.Web/Jobs/FlushPrivateMessageNotificationsJob.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7876"
} | starcoder | <reponame>Pinselohrkater/ef_app-backend-dotnet_core
using Eurofurence.App.Server.Services.Abstractions.Communication;
using FluentScheduler;
using Microsoft.Extensions.Logging;
namespace Eurofurence.App.Server.Web.Jobs
{
public class FlushPrivateMessageNotificationsJob : IJob
{
private readonly ILogge... | 1.892449 | cc950bb5fafeb27aaa5bb78aeb726a30 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7876 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RemnantSoftware/Remnant.DataGateway.InformationSchema",
"max_stars_repo_path": "Remnant.DataGateway.InformationSchema/InfoSchemaTable.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7877"
} | starcoder | <filename>Remnant.DataGateway.InformationSchema/InfoSchemaTable.cs
using System.Collections.Generic;
using System.Linq;
using Remnant.Core;
using Remnant.Core.Attributes;
using Remnant.Core.Extensions;
using Remnant.DataGateway.Attributes;
using Remnant.DataGateway.Interfaces;
using Remnant.DataGateway.Core;
... | 2.568681 | 269e1456e9ec207e4048f6741c5cbcbf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7877 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CaceresLuis/SoccerP",
"max_stars_repo_path": "Soccer.Web/Resources/Resource.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7878"
} | starcoder | <filename>Soccer.Web/Resources/Resource.Designer.cs
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// ... | 2.174783 | 6207bcc890c36702f086a472af896771 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7878 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "mgoertz-msft/maui",
"max_stars_repo_path": "src/Core/src/Handlers/Page/PageHandler.Standard.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7879"
} | starcoder | using System;
namespace Microsoft.Maui.Handlers
{
public partial class PageHandler : ViewHandler<IPage, object>
{
protected override object CreateNativeView() => throw new NotImplementedException();
public static void MapTitle(PageHandler handler, IPage page)
{
}
}
}
| 1.668151 | 02eb6e4278a59c191fd2cf94a1e38962 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7879 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Arnab-Developer/Arc.HtmlContent.DI",
"max_stars_repo_path": "Arc.HtmlContent.DITests/ServiceCollectionExtensionsTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7880"
} | starcoder | using ArnabDeveloper.HtmlContent.Core.Models;
using ArnabDeveloper.HtmlContent.Core.Services;
using ArnabDeveloper.HttpHealthCheck.DI;
using Microsoft.Extensions.DependencyInjection;
using Xunit;
namespace ArnabDeveloper.HttpHealthCheck.DITests;
public class ServiceCollectionExtensionsTest
{
private IHtmlContentS... | 2.140759 | 7e2c99f485dec9215d385ccbb7526a9b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7880 | {
"extension": "c-sharp",
"max_stars_count": "61.0",
"max_stars_repo_name": "cserkaran/ZendeskApiClient",
"max_stars_repo_path": "src/ZendeskApi.Client/Responses/Ticket/TicketFieldsCursorResponse.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7881"
} | starcoder | <filename>src/ZendeskApi.Client/Responses/Ticket/TicketFieldsCursorResponse.cs<gh_stars>10-100
using System.Collections.Generic;
using Newtonsoft.Json;
using ZendeskApi.Client.Models;
namespace ZendeskApi.Client.Responses
{
[JsonObject]
public class TicketFieldsCursorResponse : CursorPaginationResponse<TicketF... | 2.0748 | 77b115d03df1bda3c50b5fe447fc216d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7881 | {
"extension": "c-sharp",
"max_stars_count": "517.0",
"max_stars_repo_name": "jessehouwing/git-credential-manager",
"max_stars_repo_path": "src/shared/Core/Diagnostics/NetworkingDiagnostic.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7882"
} | starcoder | <filename>src/shared/Core/Diagnostics/NetworkingDiagnostic.cs
using System;
using System.Collections.Generic;
using System.Net;
using System.Net.Http;
using System.Net.NetworkInformation;
using System.Net.Sockets;
using System.Text;
using System.Threading.Tasks;
namespace GitCredentialManager.Diagnostics
{
public ... | 2.616349 | 07384e402c87309f63885075690f09ac |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7882 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "a-leontiev/aws-sdk-net",
"max_stars_repo_path": "sdk/src/Services/AutoScaling/Generated/Model/InstancesDistribution.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7883"
} | starcoder | /*
* Copyright 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... | 1.962182 | 06c82284f302924ebd24ae24eb8fcb62 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7883 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "142-Bupa-Acibadem-FullStack-Bootcamp/week-5-assignment-2-ibrahimbayramli",
"max_stars_repo_path": "Northwind/Northwind.Bll/CurrentProductListManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7884"
} | starcoder | <reponame>142-Bupa-Acibadem-FullStack-Bootcamp/week-5-assignment-2-ibrahimbayramli
using Northwind.Bll.Base;
using Northwind.Dal.Abstract;
using Northwind.Entity.Dto;
using Northwind.Entity.Models;
using System;
using Microsoft.Extensions.DependencyInjection;
using System.Linq;
using System.Text;
using System.Threadin... | 1.808337 | bb0fa5cf68aad92fb2020bcc8c302e41 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7884 | {
"extension": "c-sharp",
"max_stars_count": "565.0",
"max_stars_repo_name": "Enigma422/OpenBullet2",
"max_stars_repo_path": "OpenBullet2.Native/ViewModels/ConfigSettingsViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7885"
} | starcoder | <reponame>Enigma422/OpenBullet2
using OpenBullet2.Core.Services;
using RuriLib.Models.Configs;
using RuriLib.Models.Configs.Settings;
using RuriLib.Models.Data.Resources.Options;
using RuriLib.Models.Data.Rules;
using RuriLib.Models.Proxies;
using RuriLib.Services;
using System;
using System.Collections.Generic;
using... | 1.554135 | 4df5c06da2a3430de1eb24afcd47c66e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7885 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "chris-peterson/kekiri-nunit",
"max_stars_repo_path": "src/Library/Test.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7886"
} | starcoder | using System;
using Kekiri.Impl;
using Kekiri.Reporting;
using NUnit.Framework;
namespace Kekiri
{
public abstract class Test
{
private ScenarioRunner _scenarioRunner;
private IReportTarget _reportTarget;
[OneTimeSetUp]
public virtual void SetupScenario()
{
... | 2.185234 | 143afed538b117b97bf351f7c870b693 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7886 | {
"extension": "c-sharp",
"max_stars_count": "55.0",
"max_stars_repo_name": "LinguisticAndInformationSystems/mphdict",
"max_stars_repo_path": "src/mphdeck/Views/Shared/_navDictionary.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:7887"
} | starcoder | <gh_stars>10-100
@model mphdeck.Models.grdictParams
@*@{await Html.RenderPartialAsync("_SearchPanel", Model);}
@{await Html.RenderPartialAsync("_TabListEntryPanel", Model);}
@await Component.InvokeAsync(nameof(mphdeck.ViewComponents.wordsList), new { dp = Model })
@{await Html.RenderPartialAsync("_ListControlPanel",... | 1.745978 | a463a5f83c8d4bcfcbb036ecf30f7947 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7887 | {
"extension": "c-sharp",
"max_stars_count": "59.0",
"max_stars_repo_name": "alllucky1996/AnkhSVN2019",
"max_stars_repo_path": "src/Ankh/Commands/ItemResolveCommand.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7888"
} | starcoder | // $Id$
//
// Copyright 2008-2009 The AnkhSVN Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by appl... | 1.713318 | 2c1f3f5519654d51be84787d0629c0c1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7888 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "yifan-zhou922/azure-sdk-for-net",
"max_stars_repo_path": "sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/Models/VaultAccessPolicyParameters.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7889"
} | starcoder | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Collections.Generic;
using Azure.Core;
using Azure.ResourceManager.Models;
namespace Azure.ResourceManager.KeyVault.Models
{
/// <summary> Parameters ... | 2.186136 | f69ad42eb81b212142da87c00be0dc9f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7889 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "uk-gov-mirror/SkillsFundingAgency.tl-results-and-certification-automation-suite",
"max_stars_repo_path": "src/Sfa.Tl.ResultsAndCertificationAutomation/Tests/StepDefinations/Results/2265_ResultsUploadSuccessSteps.cs",
"provenance": "tr... | starcoder | <gh_stars>0
using Sfa.Tl.ResultsAndCertificationAutomation.Tests.Pages;
using TechTalk.SpecFlow;
namespace Sfa.Tl.ResultsAndCertificationAutomation.Tests.StepDefinations.Results
{
[Binding]
public class ResultsUploadSuccessSteps : ResultsDashboardPage
{
[Then(@"I should see results upload success ... | 1.402745 | 7aa6927f4bf651d36b414136c73b98a0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7890 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SinsofSloth/RF5-global-metadata",
"max_stars_repo_path": "System/Net/Sockets/SocketException.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7891"
} | starcoder | [Serializable]
public class SocketException : Win32Exception // TypeDefIndex: 2006
{
// Fields
private EndPoint m_EndPoint; // 0x90
// Properties
public override string Message { get; }
public SocketError SocketErrorCode { get; }
// Methods
// RVA: 0x16DE310 Offset: 0x16DE411 VA: 0x16DE310
private static int... | 1.602276 | 23006ec4d54e49a95b725caacd43824e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7891 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gaureshph/BookingSite",
"max_stars_repo_path": "BookingSite/BookingSite.Web/Views/Hotel/SearchResults.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:7892"
} | starcoder | <filename>BookingSite/BookingSite.Web/Views/Hotel/SearchResults.cshtml
@model IEnumerable<BookingSite.Web.ViewModels.HotelViewModel>
@{
ViewData["Title"] = "Search Results";
}
<h2>Search Results</h2>
<form asp-action="Booking">
<table class="table">
<thead>
<tr>
<th>
... | 2.948955 | 26d95b4bbbaec7f1f77e66eeb81dd83c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7892 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rosenspiridonov/CarShop",
"max_stars_repo_path": "CarShop/CarShop.MobileBgScraper/CarDto.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7893"
} | starcoder | namespace MobileBgDataScraper
{
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
public class CarDto
{
public CarDto()
{
SafetyProperties = new List<string>();
ComfortProperties = new List<string>();
OtherProperties = ne... | 2.468546 | b00310127b8d1ee59dbced2dbbb32a5d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7893 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "FakeFriend24/pfk-auto-pauser",
"max_stars_repo_path": "AutoPauser/Settings.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7894"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UnityModManagerNet;
namespace AutoPauser
{
public class Settings : UnityModManager.ModSettings
{
public bool SaveAfterEveryChange = true;
public bool AutoPauseOnAreaLoad =... | 1.9869 | 8894a12d9bfcfb7a43403a88bb36dfbd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7894 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ddur/DBCL",
"max_stars_repo_path": "Source/Test/NUnit.BitSetArray/BitSetArrayTest/AsICollection.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7895"
} | starcoder | <gh_stars>0
// --------------------------------------------------------------------------------
// <copyright file="https://github.com/ddur/DBCL/blob/master/LICENSE" company="DD">
// Copyright © 2013-2016 <NAME>. All Rights Reserved.
// </copyright>
// ------------------------------------------------------------------... | 2.467042 | 8f1601767deb84ca1db11996f7529dc1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7895 | {
"extension": "c-sharp",
"max_stars_count": "27.0",
"max_stars_repo_name": "pointcache/UnityEditorSnippets",
"max_stars_repo_path": "Assets/UnityEditorSnippets/Editor/Components/MoveToTop.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7896"
} | starcoder | namespace UnityEditorSnippets {
using UnityEngine;
using System;
using System.Collections.Generic;
using UnityEditor;
public class MoveToTop {
[MenuItem("CONTEXT/Component/Move to top")]
static void moveToTop(MenuCommand command) {
for (int i = 0; i < 100; i++) {
... | 1.75212 | c9dc02f5cace6bce839811efd2d68839 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7896 | {
"extension": "c-sharp",
"max_stars_count": "117.0",
"max_stars_repo_name": "alipay/alipay-sdk-net",
"max_stars_repo_path": "AlipaySDKNet/Domain/AlipayFundTransInvoiceResubmitModifyModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7897"
} | starcoder | using System;
using System.Xml.Serialization;
namespace Aop.Api.Domain
{
/// <summary>
/// AlipayFundTransInvoiceResubmitModifyModel Data Structure.
/// </summary>
[Serializable]
public class AlipayFundTransInvoiceResubmitModifyModel : AopObject
{
/// <summary>
/// 业... | 1.457067 | ccd50b9d4e904731bf59b3beb8498ee2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7897 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "octansIt/environmentassessment",
"max_stars_repo_path": "EnvironmentAssessment.Wizard/Common/VimApi/C/CommunicationProtocol.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7898"
} | starcoder | namespace EnvironmentAssessment.Common.VimApi
{
public enum CommunicationProtocol
{
Http,
Https
}
}
| 1.258622 | 269f4a775bddab5ade8539d66eaf6aa0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7898 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jp-netsis/VRMScreenShot",
"max_stars_repo_path": "Assets/_VRMScreenShot/Scripts/Camera/CameraRenderer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7899"
} | starcoder | <gh_stars>0
using System.Collections;
using System.IO;
using SFB;
using UnityEngine;
using UnityEngine.Rendering;
namespace jp.netsis.VRMScreenShot
{
public partial class CameraRenderer : MonoBehaviour
{
[SerializeField]
private CameraScriptableObject _cameraScriptableObject;
... | 1.932022 | c3f1b17c6ab9351424a6cfba948a96f2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7899 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "proepkes/MSF-DarkRiftServer",
"max_stars_repo_path": "Utils/Messages/Responses/SpawnFromMasterToSpawnerFailedMessage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7900"
} | starcoder | <filename>Utils/Messages/Responses/SpawnFromMasterToSpawnerFailedMessage.cs
using DarkRift;
namespace Utils.Messages.Responses
{
public class SpawnFromMasterToSpawnerFailedMessage : FailedMessage
{
public int SpawnTaskID;
public override void Serialize(SerializeEvent e)
{
... | 2.48746 | c6ebe4d794df91f1a5eede6cf30a3418 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7900 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "UE4DotNet/Plugin",
"max_stars_repo_path": "DotNet/DotNet/UE4/Generated/AIModule/AITask_MoveTo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7901"
} | starcoder | <gh_stars>1-10
// 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;
#pragma warni... | 1.303877 | a991ead6e769ae40f2a1996be46b4c39 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7901 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GoonerMAK/SWE_4202_OOC-I",
"max_stars_repo_path": "Lab_Final/Form1.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7902"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.IO;
namespace Lab_Final
{
public partial class Form1 : Form
{
List<Student... | 2.855262 | 63bc4599f80635dfe8687a022ecfa967 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7902 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "ColonelBundy/Nodebridge",
"max_stars_repo_path": "EmbeddedResourceReader.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7903"
} | starcoder | <gh_stars>1-10
using System;
using System.IO;
using System.Reflection;
namespace Nodebridge
{
/// <summary>
/// Contains methods for reading embedded resources.
/// </summary>
/// https://raw.githubusercontent.com/aspnet/JavaScriptServices/master/src/Microsoft.AspNetCore.NodeServices/Util/EmbeddedReso... | 2.871744 | 91edc56cfdeaf42da024042a1b599f2a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7903 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "leyel/BoSSS",
"max_stars_repo_path": "src/L2-foundation/BoSSS.Foundation.XDG/Quadrature/SayeGaussRule_Square.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7904"
} | starcoder | <filename>src/L2-foundation/BoSSS.Foundation.XDG/Quadrature/SayeGaussRule_Square.cs
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using BoSSS.Foundation.Quadrature;
using BoSSS.Foundation.Grid;
using BoSSS.Foundat... | 2.223001 | 1ed5c35ff9fac2bb3cee7a16b2165345 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7904 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "krisk0su/Movies",
"max_stars_repo_path": "src/Contracts/MoviesApp.Contracts/IGenre.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7905"
} | starcoder | namespace MoviesApp.Common
{
public interface IGenre
{
string Genre { get; set; }
}
}
| 1.776813 | cddfc00470f833d65a9d0414f2ccb8db |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7905 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Eilon/maui",
"max_stars_repo_path": "src/Core/src/Core/IEditor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7906"
} | starcoder | namespace Microsoft.Maui
{
/// <summary>
/// Represents a View used to accept multi-line input.
/// </summary>
public interface IEditor : IView, ITextInput
{
/// <summary>
/// Gets or sets the placeholder text color.
/// </summary>
Color PlaceholderColor { get; set; }
/// <summary>
/// Gets a value t... | 2.101044 | 4a840aa81e3811c768caf6e4265394b0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7906 | {
"extension": "c-sharp",
"max_stars_count": "56.0",
"max_stars_repo_name": "AArnott/Xunit.StaFact",
"max_stars_repo_path": "src/Xunit.StaFact/Sdk/Utilities.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7907"
} | starcoder | <reponame>AArnott/Xunit.StaFact<filename>src/Xunit.StaFact/Sdk/Utilities.cs
// Copyright (c) <NAME>. All rights reserved.
// Licensed under the Ms-PL license. See LICENSE.txt file in the project root for full license information.
namespace Xunit.Sdk
{
using System;
using System.Runtime.CompilerServices;
u... | 2.365407 | 020d5649b5fbf212f4d25a7520231fc9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7907 | {
"extension": "c-sharp",
"max_stars_count": "52.0",
"max_stars_repo_name": "0mkt/Machina.NET",
"max_stars_repo_path": "src/Sample Projects/EXAMPLE_TUIO_DEMO/OSC.NET/OSCReceiver.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7908"
} | starcoder | #region licence/info
// OSC.NET - Open Sound Control for .NET
// http://luvtechno.net/
//
// Copyright (c) 2006, <NAME>
// All rights reserved.
//
// Changes and improvements:
// Copyright (c) 2006-2014 <NAME> <<EMAIL>>
// As included with http://reactivision.sourceforge.net/
//
// Redistribution and use in source and... | 2.210446 | ac38750745b710299842644b6dbbdeaf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7908 | {
"extension": "c-sharp",
"max_stars_count": "697.0",
"max_stars_repo_name": "swalters/spring-net",
"max_stars_repo_path": "test/Spring/Spring.Core.Tests/Objects/Factory/Config/PropertyPlaceholderConfigurerTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7909"
} | starcoder | #region License
/*
* Copyright � 2002-2011 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0... | 1.755705 | 9210b8ae37bfe6b7240e24e81c4faf24 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7909 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kenakamu/english-quiz",
"max_stars_repo_path": "clova-cek-sdk-csharp/Models/Request.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7910"
} | starcoder | using Newtonsoft.Json;
namespace ClovaCEKCsharp.Models
{
/// <summary>
/// 解析されたユーザーの発話情報を持っているオブジェクト。リクエストタイプによって、構成されるフィールドが異なります。
/// </summary>
public class Request
{
/// <summary>
/// リクエストメッセージは、次の4つのタイプがあります。リクエストのタイプによって、リクエストメッセージのrequestオブジェクトのフィールドの構成が異なります。
/// ... | 2.433009 | 43f9511f2aedf1253e064c12e962bfbd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7910 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "spencerwooo/situational-awareness-vr",
"max_stars_repo_path": "Assets/Scripts/SwapLayerWhenGrabbed.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7911"
} | starcoder | <filename>Assets/Scripts/SwapLayerWhenGrabbed.cs<gh_stars>1-10
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SwapLayerWhenGrabbed : MonoBehaviour
{
public void ChangeLayerOnGrab()
{
gameObject.layer = 8;
}
public void RevertLayerOnLeave()
{
... | 2.318781 | d4d1d06eea7dfbb95314d96ae6e7359c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7911 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Sophochka/IBTracker",
"max_stars_repo_path": "IBTracker/Data/Handlers/DetailsPartHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7912"
} | starcoder | <reponame>Sophochka/IBTracker<filename>IBTracker/Data/Handlers/DetailsPartHandler.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading;
using System.Web;
using HtmlAgilityPack;
using IBTracker.Contracts;
using IBTracker.Utils;
name... | 2.411006 | 2807c3c47ea72a9e2ed65cd9bb73464f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7912 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ThumNet/mocky-dotnet",
"max_stars_repo_path": "Mocky.API/ViewModels/Expiration.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7913"
} | starcoder | <reponame>ThumNet/mocky-dotnet
namespace Mocky.API.ViewModels
{
public enum Expiration
{
Never = 0,
Day = 1,
Week = 7,
Month = 31,
Year = 361
}
}
| 1.598164 | 3a26cc983b08a25dec4a0e88919289ed |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7913 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "pottereric/roslyn",
"max_stars_repo_path": "src/Diagnostics/Roslyn/Core/Reliability/ConsumePreserveSigAnalyzer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7914"
} | starcoder | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Immutable;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Diagnostics;
namespace Roslyn.Diagnostics.Analyzers
{
pub... | 1.922009 | 5d6adf653a990373da829a8de26ccc21 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7914 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nikolaevdev/C-Works-",
"max_stars_repo_path": "20.05.2020/Lib4 2/Lib4 2/Form1.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7915"
} | starcoder | <gh_stars>0
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 Lib4_2
{
public partial class Form1 : Form
{
public Form1()
... | 2.695985 | a4fbc9a20d1cfd77351d85efdd775449 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7915 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "lurienanofab/lnf",
"max_stars_repo_path": "LNF.Web/ServerJScript.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7916"
} | starcoder | using System.Web.UI;
using System.Web.UI.WebControls;
namespace LNF.Web
{
public static class ServerJScript
{
public static string JSEncode(string message)
{
//*** Please Note xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx... | 2.868271 | f452a5b223da738c7ec61127297a62da |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7916 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "maidouofgithub/Payment",
"max_stars_repo_path": "src/Essensoft.AspNetCore.Payment.Alipay/Domain/TravelMallRequest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7917"
} | starcoder | using System.Text.Json.Serialization;
namespace Essensoft.AspNetCore.Payment.Alipay.Domain
{
/// <summary>
/// TravelMallRequest Data Structure.
/// </summary>
public class TravelMallRequest : AlipayObject
{
/// <summary>
/// 目的地距目标综合体的距离(单位:米)
/// </summary>
[JsonP... | 1.751184 | 8d7eee1483335c424bc6aac85391ce11 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7917 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mlcalache/grasews",
"max_stars_repo_path": "Grasews.Infra.CrossCutting.IoC/DomainContainer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7918"
} | starcoder | <reponame>mlcalache/grasews
using Grasews.Domain.Interfaces.Containers;
using SimpleInjector;
using System.Collections.Generic;
using System.Linq;
namespace Grasews.Infra.CrossCutting.IoC
{
public class DomainContainer : IDomainContainer
{
private readonly Container _container;
public DomainC... | 2.187929 | 2c34e974e5ac431c657831c9158245a8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7918 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "jdcloud-api/jdcloud-sdk-net",
"max_stars_repo_path": "sdk/src/Service/Jdfusion/Model/VmInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7919"
} | starcoder | <reponame>jdcloud-api/jdcloud-sdk-net
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless requ... | 1.300319 | e0936a6a9add74a56134e7fc6be19873 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7919 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "chinayou25/Seal-Report",
"max_stars_repo_path": "Projects/SealLibrary/Forms/WebBrowserHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7920"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Seal.Forms
{
public class WebBrowserHelper
{
public static int GetEmbVersion()
{
int ieVer = GetBrowserVersion();
if (ieVer > 9)
... | 2.445408 | 2a0b78c9e59d01989c25fcce14971b6f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7920 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JTOne123/Fibrous",
"max_stars_repo_path": "Tests/Fibrous.Benchmark/Increment.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7921"
} | starcoder | <reponame>JTOne123/Fibrous<gh_stars>0
using BenchmarkDotNet.Attributes;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading;
namespace Fibrous.Benchmark
{
public class Increment
{
private long _countLong;
private int _countInt;
[Benchmark]
... | 2.463627 | 314ebde34a5a368cae0fbcb07c3059a4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7921 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "richardschembri/UnityRSToolk",
"max_stars_repo_path": "UnityRSToolkit/Assets/RSToolKit/Scripts/AI/Behaviour/Task/BehaviourWait.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7922"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace RSToolkit.AI.Behaviour.Task
{
// Blackboard
public class BehaviourWait : BehaviourNode
{
public float WaitSeconds { get; private set; } = 0f;
private float randomVariance;
private ... | 2.422972 | e22c60d8f1db45be6b2ea8c6a3c7371e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7922 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "JLChnToZ/Shaderception",
"max_stars_repo_path": "Assets/FuncWorld/Code/SyncCode.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7923"
} | starcoder |
using UdonSharp;
using UnityEngine;
using VRC.SDKBase;
using VRC.Udon;
using UnityEngine.UI;
public class SyncCode : UdonSharpBehaviour
{
public InputField input;
public Toggle toggle;
public Compiler compiler;
[UdonSynced] public string code = "";
public override void OnDeserialization()
{... | 1.906617 | 5dc8ae112ecd03bbcbf9cab1e9076be4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7923 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "elearningforce-db/veracode-security-demo",
"max_stars_repo_path": "VeraDemoNet/Commands/ListenCommand.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7924"
} | starcoder | using System.Data.Common;
using System.Data.SqlClient;
namespace VeraDemoNet.Commands
{
public class ListenCommand : BlabberCommandBase, IBlabberCommand
{
private readonly string username;
public ListenCommand(DbConnection connect, string username)
{
this.connect = connect... | 2.634198 | bc31f334b5999d824ba1a8da365196d2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7924 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "RivenZoo/FullSource",
"max_stars_repo_path": "Jx3Full/Source/Source/Tools/GameDesignerEditor/Controls/UserAclDesc/Helper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7925"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;
using System.Data.SqlClient;
using System.Data;
namespace UserAclDesc
{
class Helper
{
public static DataTable GetDataTable(string sql, SqlConnection conn)
{
Sq... | 2.122712 | b71189a0e056f48544fc1d498db376c5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7925 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "vladimirpetukhov/Soft_Uni_Studies",
"max_stars_repo_path": "C#Fundamentals/C#OOP_Basic/Exams/Minedraft - Exam - 16 July - 2017 - Second Way/Minedraft/Contracts/IExecute.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7926"
} | starcoder | public interface IExecute
{
string Execute();
}
| 1.732922 | 6d5bf89cd9fdb52ef3f5d46a747f6eb7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7926 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "EvaSRGitHub/NopCommerce-HomePageNewProductsPlugin",
"max_stars_repo_path": "src/Presentation/Nop.Web/Areas/Admin/Views/Customer/_CreateOrUpdate.RewardPoints.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:7927"
} | starcoder | @model CustomerModel
@using Nop.Core.Domain.Customers
@using Nop.Services
@using Nop.Services.Stores
@inject IStoreService storeService
<div class="panel-body">
<div class="sub-panel">
@await Html.PartialAsync("Table", new DataTablesModel
{
Name = "customer-rewardpoints-grid",
... | 1.961969 | f7edfc31c403460adac43a748887dfce |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7927 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "mikhail-khalizev/max",
"max_stars_repo_path": "source/MikhailKhalizev.Max/source/Program/Auto/z-0017-cf26.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7928"
} | starcoder | using System;
using MikhailKhalizev.Processor.x86.BinToCSharp;
namespace MikhailKhalizev.Max.Program
{
public partial class RawProgram
{
[MethodInfo("0x17_cf26-b0d5dc6d")]
public void Method_0017_cf26()
{
ii(0x17_cf26, 1); pop(bx); /... | 1.860855 | 178630bf2b2fc58a2f1ca9f1dfd4af91 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7928 | {
"extension": "c-sharp",
"max_stars_count": "132.0",
"max_stars_repo_name": "ZeroKeving/ET-EUI",
"max_stars_repo_path": "Unity/Codes/ModelView/Module/EUI/AUIEventAttribute.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7929"
} | starcoder | using System;
namespace ET
{
[AttributeUsage(AttributeTargets.Class)]
public class AUIEventAttribute: BaseAttribute
{
public WindowID WindowID
{
get;
}
public AUIEventAttribute(WindowID windowID)
{
this.WindowID = windowID;
}
}
} | 2.124793 | 1ea3c02a527cff79f6d8cb71019a7a1a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7929 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RoSchmi/AzureDataSender_FEZ",
"max_stars_repo_path": "AzureDataSender_FEZ/PervasiveDigital/Utilities/StringExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7930"
} | starcoder | // StringExtensions.cs
using System.Text;
namespace PervasiveDigital.Utilities
{
public static class StringExtensions
{
public static string Replace(this string content, char find, char replace)
{
StringBuilder result = new StringBuilder();
var len = content.Length;
... | 3.551729 | fb14904639b1d8ed9ebe617957cd5c14 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7930 | {
"extension": "c-sharp",
"max_stars_count": "21.0",
"max_stars_repo_name": "alexis-/MyPreciousData",
"max_stars_repo_path": "BitShelter.Common/IAppHost.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7931"
} | starcoder | <filename>BitShelter.Common/IAppHost.cs
using BitShelter.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BitShelter
{
public interface IAppHost
{
void OnPreInitialize();
void OnPostInitialize();
void Shu... | 1.436299 | d7971c8e5bf7cd129b2d3435c37e9f48 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7931 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "UMassMedIT/ProfilesRNS",
"max_stars_repo_path": "Website/SourceCode/Profiles/Profiles/ORCID/Utilities/ProfilesRNSDLL/_CG/DAL/Profile.Data/OrganizationInstitution.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7932"
} | starcoder | using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Common;
using System.Linq;
using System.Text;
using System.Reflection;
using System.Diagnostics;
namespace Profiles.ORCID.Utilities.ProfilesRNSDLL.DAL.Profile.Data
{
public partial class OrganizationInstitution : DALGeneric... | 2.117963 | 367c98a1e6334d8e0114b9462a4a1db4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7932 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "thoenissen/Scruffy",
"max_stars_repo_path": "Scruffy.Services/Calendar/DialogElements/CalendarTemplateReminderTimeDialogElement.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7933"
} | starcoder | <gh_stars>1-10
using System.Globalization;
using DSharpPlus.Entities;
using Scruffy.Services.Core.Discord;
using Scruffy.Services.Core.Localization;
namespace Scruffy.Services.Calendar.DialogElements;
/// <summary>
/// Acquisition of the reminder time
/// </summary>
public class CalendarTemplateReminderTimeDialogE... | 2.421069 | cb83e6f6f1fd2406ebb08730f032c54e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7933 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ranma42/dotNext",
"max_stars_repo_path": "src/cluster/DotNext.Net.Cluster/Net/Cluster/Messaging/JsonMessage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7934"
} | starcoder | using System.Buffers;
using System.Net.Mime;
using System.Text.Json;
namespace DotNext.Net.Cluster.Messaging;
using Buffers;
using IO;
/// <summary>
/// Represents JSON-serializable message.
/// </summary>
/// <typeparam name="T">JSON-serializable type.</typeparam>
public sealed class JsonMessage<T> : I... | 2.570822 | d2b171be7868832f00c81875509c1579 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7934 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "QuanWanxx/fhir-server",
"max_stars_repo_path": "src/Microsoft.Health.Fhir.SqlServer.UnitTests/Features/Search/Expressions/UntypedReferenceRewriterTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7935"
} | starcoder | <reponame>QuanWanxx/fhir-server<filename>src/Microsoft.Health.Fhir.SqlServer.UnitTests/Features/Search/Expressions/UntypedReferenceRewriterTests.cs<gh_stars>1-10
// -------------------------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reser... | 2.020926 | 9d08ed126faea01794735f3cf99a750e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7935 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "HectorRPC/Toggl2Excel",
"max_stars_repo_path": "Toggl.Multivac/Models/IIdentifiable.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7936"
} | starcoder | namespace Toggl.Multivac.Models
{
public interface IIdentifiable
{
long Id { get; }
}
}
| 1.621966 | d4cf1362d3229ca9156823a580ccc029 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7936 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jeffpignataro/Mediator-Design-Pattern",
"max_stars_repo_path": "Mediators/AttendanceMediator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7937"
} | starcoder | <filename>Mediators/AttendanceMediator.cs<gh_stars>0
//Attendance Mediator Class
public abstract class AttendanceMediator
{
public abstract void Register(Person person, Meeting meeting);
public abstract void Notify(Person person, Meeting meeting);
} | 2.33395 | 467b124d3668c4551d303071ef030fdb |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.