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 | 8839812 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "sirpaulmcd/Onion-Trail-Open",
"max_stars_repo_path": "WarAndPeaceSystem/Scripts/BaseInfrastructure/AWeapon.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159032"
} | starcoder | <gh_stars>1-10
using System; // For math
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Assertions;
namespace EGS
{
/// <summary>
/// Instances of WGOs that are acitvated by an entity such as a player or enemy
/// (i.e. have Attack() and Cooldown() methods)... | 2.922544 | 1f1919f0cec63146b24fa095a7b396f7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839813 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "forki/OwinFramework.Pages",
"max_stars_repo_path": "OwinFramework.Pages.Core/Debug/DebugRoute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159033"
} | starcoder | namespace OwinFramework.Pages.Core.Debug
{
/// <summary>
/// Debug info for routes
/// </summary>
public class DebugRoute: DebugInfo
{
/// <summary>
/// The URLs that match this route
/// </summary>
public string Route { get; set; }
/// <summary>
///... | 2.926749 | a52d46dd2c7298dc8e498b36551ad0f6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839814 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "shaynevanasperen/crypto-websocket-extensions",
"max_stars_repo_path": "src/Crypto.Websocket.Extensions/Trades/Sources/BitstampTradeSource.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159034"
} | starcoder | using System;
using System.Globalization;
using System.Reactive.Linq;
using Bitstamp.Client.Websocket.Client;
using Bitstamp.Client.Websocket.Responses;
using Bitstamp.Client.Websocket.Responses.Trades;
using Crypto.Websocket.Extensions.Core.Models;
using Crypto.Websocket.Extensions.Core.Trades.Models;
using Crypto.We... | 2.435705 | 01d3a5771164021607c9d349ce9f5bfc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839815 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "samsmithnz/RepoAutomation",
"max_stars_repo_path": "src/RepoAutomation.Core/APIAccess/GitHubAPIAccess.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159035"
} | starcoder | <reponame>samsmithnz/RepoAutomation
using Newtonsoft.Json;
using RepoAutomation.Core.Models;
using System.Text;
using System.Web;
namespace RepoAutomation.Core.APIAccess;
public static class GitHubAPIAccess
{
//https://docs.github.com/en/enterprise-cloud@latest/rest/reference/repos
/// <summary>
/// Get... | 2.486191 | ebfedd7a7de8258807de67593fe70759 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839816 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Wyse-/authui-patcher",
"max_stars_repo_path": "authui-patcher/PatchManagement.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159036"
} | starcoder | <reponame>Wyse-/authui-patcher<gh_stars>1-10
using System;
using System.Linq;
using System.IO;
using System.Diagnostics;
namespace authui_patcher
{
class PatchManagement
{
#if WIN64
private const string OriginalHexString = "E8-03-00-41-3B-C1-73-3E"; //
private const string Patched... | 2.578326 | fceb50d2465ddf5cc893113656e353f2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839817 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "ManpowerNordic/Composable",
"max_stars_repo_path": "Composable.CQRS/CQRS/UI/Event/UICommandStatus.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159037"
} | starcoder | using System.Collections.Generic;
using Composable.CQRS.UI.Command;
namespace Composable.CQRS.UI.Event
{
public class UICommandStatus : UICommandResult
{
public string Type { get { return "commandstatus"; } }
public List<IUIValidationError> ValidationErrors { get; set; }
}
} | 1.441595 | 8702c75b24941f5b391daa6138850192 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839818 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "hw233/home3",
"max_stars_repo_path": "core/client/game/src/commonGame/data/social/roleGroup/PlayerApplyRoleGroupSelfData.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159038"
} | starcoder | <filename>core/client/game/src/commonGame/data/social/roleGroup/PlayerApplyRoleGroupSelfData.cs
using ShineEngine;
/// <summary>
/// 角色申请玩家群自身数据(generated by shine)
/// </summary>
public class PlayerApplyRoleGroupSelfData:BaseData
{
/// <summary>
/// 简版数据
/// </summary>
public RoleGroupSimpleData data;
... | 2.398639 | 7167a928fa657d17ac8c3ad24ec17161 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839819 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "daddyboy77/ProjectCRO",
"max_stars_repo_path": "Assets/EnemyScript.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159039"
} | starcoder | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Sprites;
public class EnemyScript : MonoBehaviour
{
public int EnemyHealth;
public SpriteRenderer sprite;
public void Death()
{
gameObject.SetActive(false);
}
public ... | 2.068816 | 30d71a8eb92fb2a28948fc4e3bb4dc93 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839820 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BigTsung/Unity",
"max_stars_repo_path": "Reaction/Assets/Scripts/Common/AppStatusManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159040"
} | starcoder | using UnityEngine;
using UnityEngine.SceneManagement;
public class AppStatusManager : MonoBehaviour
{
void OnApplicationQuit()
{
Debug.Log("Application ending after " + Time.time + " seconds");
}
static bool WantsToQuit()
{
Debug.Log("Player prevented from quitting.");
return false;
... | 2.356007 | 2cfea55d8c66254d84b910c85ec124d0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839821 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Jirka-Mayer/Unisave",
"max_stars_repo_path": "Assets/UnisaveFixture/Tests/Fullstack/Core/Authentication/AuthFacadeTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159041"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using System.Threading.Tasks;
using Unisave.Authentication;
using Unisave.Facades;
using UnisaveFixture.Backend.Core;
using UnisaveFixture.Backend.Core.Authentication;
using UnityEngine;
using UnityEngine.TestTools;
using Assert = NUnit.Framework.Assert;
name... | 1.880627 | dde218f2036712985a6b9884fbab5c36 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839822 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dpenkova/Simple-Project-Management",
"max_stars_repo_path": "SimpleProjectManagement/SPM.Models/Client.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159042"
} | starcoder | namespace SPM.Models
{
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using SPM.Data.Contracts.Models;
using System;
public class Client : AuditInfo, IDeletableEntity
{
private ICollection<Project>... | 2.377553 | b65b7f875d39a0794b43f9a6ad417af1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839823 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "graphql-aspnet/demo-projects",
"max_stars_repo_path": "Subscriptions-AzureServiceBus/src/QueryMutation-Server/Startup.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159043"
} | starcoder | <reponame>graphql-aspnet/demo-projects
namespace GraphQL.AspNet.Examples.Subscriptions.QueryMutationServer
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using GraphQL.... | 1.898849 | 34bf7761999ab1b17220fff61f10f802 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839824 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BryanApellanes/bam.net.shared",
"max_stars_repo_path": "Data/Repositories/ObjectPersister.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159044"
} | starcoder | /*
Copyright © <NAME> 2015
*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;
using System.IO;
using System.Reflection;
using System.Threading;
using Bam.Net;
using Bam.Net.Logging;
namespace Bam.Net.Data.Repositories... | 2.415632 | f71c27a51bf18630f0ab6a2ee270e209 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839825 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SharpenedMinecraft/SM1",
"max_stars_repo_path": "Main/Types/Blocks/Piston_headBlock.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159045"
} | starcoder |
using SharpenedMinecraft.Types.Items;
using System;
using System.Collections.Generic;
using System.Text;
namespace SharpenedMinecraft.Types.Blocks
{
public class Piston_headBlock : Block
{
public override string BlockId => "minecraft:piston_head";
public override BlockState[] PossibleStates { ... | 2.491517 | 2ca97345dbed19f200fe2e07c712e4a4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839826 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "GGHG72/Xamarin-Forms-Labs",
"max_stars_repo_path": "src/Xamarin.Forms.Labs/Xamarin.Forms.Labs.iOS/Services/Network.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159046"
} | starcoder | <reponame>GGHG72/Xamarin-Forms-Labs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MonoTouch.Foundation;
using MonoTouch.UIKit;
using Xamarin.Forms.Labs.Services;
[assembly: Xamarin.Forms.Dependency(typeof(Xamarin.Forms.Labs.iOS.Servic... | 1.883651 | e0bf0e5322797e9ce0b7b8cad88c1311 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839827 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "russellmorley/machine",
"max_stars_repo_path": "src/SIL.Machine.Translation.Thot/ThotWordVocabulary.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159047"
} | starcoder | <reponame>russellmorley/machine
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.InteropServices;
namespace SIL.Machine.Translation.Thot
{
internal class ThotWordVocabulary : IWordVocabulary
{
private readonly IntPtr _swAlignModelHandle;
private readonly bool _isSou... | 2.434803 | 6f330d3497991e697e1a501a1de31c89 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839828 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Deroomor/Azeroth.MVC",
"max_stars_repo_path": "Azeroth.Klz/HttpHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159048"
} | starcoder | <filename>Azeroth.Klz/HttpHandler.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Azeroth.Klz
{
public class HttpHandler : System.Web.IHttpHandler, System.Web.SessionState.IRequiresSessionState
{
static string controllerFlag = "controller";
... | 2.534761 | deaee3c63268ec83380c852a2c853ed3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839829 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "stoiveyp/Alexa.NET.Gadgets",
"max_stars_repo_path": "Alexa.NET.Gadgets/GadgetController/SetLightParameter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159049"
} | starcoder | <reponame>stoiveyp/Alexa.NET.Gadgets<gh_stars>1-10
using System.Collections.Generic;
using System.Linq;
using Newtonsoft.Json;
namespace Alexa.NET.Gadgets.GadgetController
{
public class SetLightParameter
{
[JsonProperty("triggerEvent")] public string TriggerEvent { get; set; } = GadgetController.Trig... | 2.338567 | 982d1e7131da4bf1044b4b1df0bdf51b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839830 | {
"extension": "c-sharp",
"max_stars_count": "140.0",
"max_stars_repo_name": "punker76/Biaui",
"max_stars_repo_path": "Biaui/source/Biaui.ControlCatalog/Pages/ToggleButtonPage.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159050"
} | starcoder | <reponame>punker76/Biaui
namespace Biaui.ControlCatalog.Pages
{
public partial class ToggleButtonPage
{
public ToggleButtonPage()
{
Name = "ToggleButton";
InitializeComponent();
}
}
} | 1.282898 | df9cec8e43c26c91714eacb058826157 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839831 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "manunio/PackIT",
"max_stars_repo_path": "src/PackIT.Domain/Exceptions/InvalidTemperatureException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159051"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using PackIT.Shared.Abstractions.Exceptions;
namespace PackIT.Domain.Exceptions
{
public class InvalidTemperatureException : PackITException
{
public double Value { get; }
public InvalidTemperature... | 2.626916 | e6cc52132549c37579b7b815e34a6df2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839832 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "sarisman84/Doing-the-thing",
"max_stars_repo_path": "Assets/Scripts/UI/WeaponSelectMenu.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159052"
} | starcoder | <filename>Assets/Scripts/UI/WeaponSelectMenu.cs
using System;
using System.Collections.Generic;
using System.Linq;
using Extensions;
using Interactivity.Events;
using Player;
using Player.Weapons;
using Player.Weapons.NewWeaponSystem;
using UnityEngine;
using Utility;
using CustomEvent = Interactivity.Events.CustomEve... | 2.292048 | b3295e50bf4e9437b5d6000d36a67375 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839833 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "DaneSpiritGOD/Suites",
"max_stars_repo_path": "src/Suites.Extensions.Logging.Memory/MemoryLoggerExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159053"
} | starcoder | using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.DependencyInjection.Extensions;
using Microsoft.Extensions.Logging.Memory;
namespace Microsoft.Extensions.Logging
{
public static class MemoryLoggerExtensions
{
public static ILoggingBuilder AddMemory(this ILoggingBuilder build... | 2.361623 | e04825e87e64842a148588f8d7947281 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839834 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "portablemagicrealm/portablerealm",
"max_stars_repo_path": "Assets/Standard Assets (Mobile)/Scripts/Characters/Classes/MRCharacter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159054"
} | starcoder | //
// MRCharacter.cs
//
// Author:
// <NAME> <>
//
// Copyright (c) 2014 <NAME>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation t... | 2.165133 | bb44699f0369ab8c5ee66c72ac11087a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839835 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "OceanYan/cli",
"max_stars_repo_path": "test/binding-redirects.Tests/BindingRedirectTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159055"
} | starcoder | <gh_stars>1-10
// Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.Configuration;
using System.IO;
using System.Linq;
using System.Xml.... | 1.580719 | e4abf9c5fcc046da0caded9eb84c2a2b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839836 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "strangepholker/PetaPoco",
"max_stars_repo_path": "PetaPoco/Providers/PostgreSQLDatabaseProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159056"
} | starcoder | <reponame>strangepholker/PetaPoco
// <copyright company="PetaPoco - CollaboratingPlatypus">
// Apache License, Version 2.0 https://github.com/CollaboratingPlatypus/PetaPoco/blob/master/LICENSE.txt
// </copyright>
// <author>PetaPoco - CollaboratingPlatypus</author>
// <date>2015/12/14</date>
using System.Data.Co... | 1.907069 | 6ab602647549afd4dfac43df55d88f8f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839837 | {
"extension": "c-sharp",
"max_stars_count": "33.0",
"max_stars_repo_name": "gucheng0712/CombatDesigner",
"max_stars_repo_path": "CombatDesigner/Assets/CombatDesigner/Core/Scripts/Battle/Attack/AttackBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159057"
} | starcoder | <reponame>gucheng0712/CombatDesigner
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Serialization;
namespace CombatDesigner
{
public class AttackBase
{
/// <summary>
/// Is this attack only hit one target
/// </summary>
[Tooltip(... | 2.113653 | 411e95a92bd95c49439dc13cfb0a841e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839838 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "chaitradangat/AspxVintage",
"max_stars_repo_path": "MySSLWebsite/App_Code/IMyWcfService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159058"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.ServiceModel.Web;
using System.Text;
// NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "IMyWcfService" in both code and config file... | 2.234844 | ff526ea9198044755719b51b76e87bbd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839839 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "thuanpham2311/lap_trinh_huong_doi_tuong",
"max_stars_repo_path": "Cac_VD_buoi_8/wfQuanlyHoadon_3N/wfQuanlyHoadon/CChitietHoadonView.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159059"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace wfQuanlyHoadon
{
class CChitietHoadonView
{
public string sohd { get; set; }
public string ngaylaphd { get; set; }
public string tenkh {... | 1.807512 | 818dc74fe99ec85d55a8a290b5a2ce54 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839840 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "dotnet-ad/Mwm",
"max_stars_repo_path": "Sources/Mwm.UI/Elements/Controls/TextBox.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159060"
} | starcoder | namespace Mwm.UI
{
using System;
public class TextBox : Control
{
public class TextChangedEventArgs
{
public string NewText { get; set; }
}
public TextBox()
{
this.fontSize = 12;
this.TextChanged += (sender, e) => this.Text = e.NewText;
}
private string text, placeholderText;
private in... | 2.963154 | 122e8c9e70aea53793f2b58aa37caf08 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839841 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "afxres/chatter",
"max_stars_repo_path": "code/Links.Data.Abstractions/IStorage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159061"
} | starcoder | <gh_stars>1-10
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Mikodev.Links.Data.Abstractions
{
public interface IStorage
{
Task InitializeAsync();
Task<IEnumerable<MessageEntry>> QueryMessagesAsync(string profileId, int count);
Task StoreMessagesAsync(IEnu... | 1.796871 | edf846e7692d0415179716b77c06da0b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839842 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "earalov/Skylines-SpawnPositionInverter",
"max_stars_repo_path": "SpawnPositionInverter/Util.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159062"
} | starcoder | using System;
using System.Reflection;
using UnityEngine;
namespace SpawnPositionInverter
{
public static class Util
{
public static object GetInstanceField(Type type, object instance, string fieldName)
{
const BindingFlags bindFlags = BindingFlags.Instance | BindingFlags.Public | ... | 2.769042 | e590f9fe3f109828172132ed830e706b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839843 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Nisden/CsvHelper",
"max_stars_repo_path": "tests/CsvHelper.Tests/Parsing/BufferSplittingCrLnTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159063"
} | starcoder | // Copyright 2009-2021 <NAME>
// This file is a part of CsvHelper and is dual licensed under MS-PL and Apache 2.0.
// See LICENSE.txt for details or visit http://www.opensource.org/licenses/ms-pl.html for MS-PL and http://opensource.org/licenses/Apache-2.0 for Apache 2.0.
// https://github.com/JoshClose/CsvHelper
usin... | 2.549611 | ebac26dd8c6f9652683f7c15c27c88c6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839844 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "maio246/CSharp-OOP-Advanced",
"max_stars_repo_path": "Hell-Skeleton/Hell/Entities/Heroes/Assassin.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159064"
} | starcoder | public class Assassin : AbstractHero
{
public Assassin(string name)
: base(name)
{
this.Strength = 25;
this.Agility = 100;
this.Intelligence = 15;
this.HitPoints = 150;
this.Damage = 300;
}
} | 2.524111 | 7f595970ebcc1649e198472137413c40 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839845 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "Orcomp/NUnitBenchmarker",
"max_stars_repo_path": "src/NUnitBenchmarker.Benchmark/Exporters/CsvExporter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159065"
} | starcoder | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="CsvExporter.cs" company="<NAME>">
// Copyright (c) 2008 - 2015 <NAME>. All rights reserved.
// </copyright>
// ------------------------------------------------------------------... | 2.609032 | e2e89ae25fa767380713327e3e445a3a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839846 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "telefrek/lucent-bidder",
"max_stars_repo_path": "Common/Media/IMediaScanner.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159066"
} | starcoder | <filename>Common/Media/IMediaScanner.cs
using Lucent.Common.Entities;
namespace Lucent.Common.Media
{
/// <summary>
/// Scans media information
/// </summary>
public interface IMediaScanner
{
/// <summary>
/// Scan the path to load a creative content
/// </summary>
/... | 2.414247 | 6d74b159dc6e6e733cfe0801ddeb7e4c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839847 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cheprogrammer/Imageboard",
"max_stars_repo_path": "src/api/Imageboard.Application.IntegrationTests/TestBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159067"
} | starcoder | using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace Imageboard.Application.IntegrationTests
{
using static Testing;
public class TestBase
{
[SetUp]
public void TestSetUp()
{
ResetState();
... | 1.120268 | a5a8cd8281bff3c4fca1d3a441d4c6da |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839848 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "theneerajverma/TestMe",
"max_stars_repo_path": "PromotionEngine/Models/Promotion.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159068"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace PromotionEngine.Models
{
public class Promotion
{
public string Name { get; set; }
public int AppliedAfter { get; set; }
public char AppliedOn { get; set; }
public int PromotionalAmou... | 1.946905 | 7873c634a399d8408c63e2e35545945a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839849 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "jeremyjone/Jeremy.IdentityCenter",
"max_stars_repo_path": "Jeremy.IdentityCenter.Business/Mappers/IdentityResourceProfile.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159069"
} | starcoder | <filename>Jeremy.IdentityCenter.Business/Mappers/IdentityResourceProfile.cs
// Based on the IdentityServer4.EntityFramework - authors - <NAME> & <NAME>.
// https://github.com/IdentityServer/IdentityServer4.EntityFramework
// Modified by <NAME>
// Modified by JeremyJone
using AutoMapper;
using IdentityServer4.Entity... | 2.19955 | ed264b7c98323841b65d0b3b33011e31 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839850 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "mattinjersey/ml-agents",
"max_stars_repo_path": "com.unity.ml-agents.extensions/Tests/Utils/GridObsTestComponents/SimpleTestGridSensor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159070"
} | starcoder | using UnityEngine;
using Unity.MLAgents.Extensions.Sensors;
namespace Unity.MLAgents.Extensions.TestUtils.Sensors
{
public class SimpleTestGridSensor : GridSensor
{
protected override float[] GetObjectData(GameObject currentColliderGo,
float type_index, float normalized_distance)
{
... | 1.872137 | 77ff2640f698f8567cbefd7dfe11e433 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839851 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "cathode/gear",
"max_stars_repo_path": "Gear.Client/UI/ElementChildrenCollection.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159071"
} | starcoder | <gh_stars>1-10
/******************************************************************************
* Gear: An open-world sandbox game for creative people. *
* http://github.com/cathode/gear/ *
* Copyright © 2009-2017 William 'cathode' Shelley. All Right... | 2.946506 | b71316b63580f2f81b59d65ff4b3f650 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839852 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Dariusz151/SmartFridgeApp",
"max_stars_repo_path": "SmartFridgeApp.Core/Exceptions/InvalidInputException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159072"
} | starcoder | using System;
namespace SmartFridgeApp.Core.Exceptions
{
public class InvalidInputException : Exception
{
public string Details { get; }
public InvalidInputException(string message) : base(message)
{
}
public InvalidInputException(string message, string details) : th... | 2.577689 | 2d1d48f9ae2d2895ca222bcc4121a366 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839853 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "stoplyy/Bing.NetCore",
"max_stars_repo_path": "modules/admin/src/Bing.Admin.Service/Implements/Systems/UserService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159073"
} | starcoder | <gh_stars>1-10
using System;
using System.Threading.Tasks;
using Bing.Applications;
using Bing.Admin.Data;
using Bing.Admin.Systems.Domain.Repositories;
using Bing.Admin.Service.Abstractions.Systems;
using Bing.Admin.Service.Requests.Systems;
using Bing.Admin.Systems.Domain.Services.Abstractions;
using Bing.Extensions... | 2.0594 | 2cf2830244e08dfebf82e1b50162e0ea |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839854 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "robertorodes/Rodes.FileKeeper",
"max_stars_repo_path": "src/Rodes.FileKeeper/Domain/FileInformationIndex.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159074"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Rodes.FileKeeper.Domain
{
public class FileInformationIndex : Entity
{
#region Attributes
private OwnerId ownerId;
private string fileName;
... | 1.982295 | aac76d95d023153cc69d441829ef4b87 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839855 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "m3zercat/SI.Net",
"max_stars_repo_path": "Derived/Joule.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159075"
} | starcoder | <filename>Derived/Joule.cs
using SI.Net.Base;
using System;
namespace SI.Net.Derived
{
public class Joule : abstractDerivedMeasureable
{
public Joule(Decimal value) :
base("J", "joule", "energy, work, heat", "kg" + Symbols.MultiplyBy + "m" + Symbols.SuperTwo + Symbols.MultiplyBy ... | 2.866889 | 9ee9cfa66b6c1616fdd4e56a07b5a134 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839856 | {
"extension": "c-sharp",
"max_stars_count": "598.0",
"max_stars_repo_name": "BSoDGamingYT/Ryujinx",
"max_stars_repo_path": "Ryujinx.Graphics.Shader/CodeGen/Constants.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159076"
} | starcoder | namespace Ryujinx.Graphics.Shader.CodeGen
{
static class Constants
{
public const int MaxShaderStorageBuffers = 16;
public const int ConstantBufferSize = 0x10000; // In bytes
}
} | 1.303646 | 1bb479b85f3dbb1ec526ab8767adf750 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839857 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "woodlik/SportsWPFGit",
"max_stars_repo_path": "Sports/Sports/Forms/ContractsPage.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159077"
} | starcoder | using System;
using System.Linq;
using System.Windows;
using System.Windows.Controls;
using System.Collections.ObjectModel;
using System.Data;
using System.Collections;
using Sports.Classes;
using System.Windows.Data;
using System.ComponentModel;
using DataBase;
using Sports.NewObject;
namespace Sports.Forms
{
//... | 2.431523 | d674e9d97f7b645de08fb8f4ef040590 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839858 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zainta/Harddrive-Library",
"max_stars_repo_path": "Harddrive-Library/Scanning/IntegrityScan.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159078"
} | starcoder | // Copyright (c) <NAME>. All rights reserved.
// Licensed under the MIT License, (the "License"); you may not use this file except in compliance with the License.
// You may obtain a copy of the License at https://mit-license.org/
using HDDL.Data;
using HDDL.Threading;
using System;
using System.Collections.Concurr... | 2.498909 | 47fdc2fa9768cf8066c5de62a5218b2c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839859 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "brantburnett/CouchbaseRestfulJobPattern",
"max_stars_repo_path": "CouchbaseRestfulJobPattern/Services/MessageBusService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159079"
} | starcoder | <reponame>brantburnett/CouchbaseRestfulJobPattern
using System;
using System.Collections.Concurrent;
using System.Threading;
using System.Threading.Tasks;
namespace CouchbaseRestfulJobPattern.Services
{
/// <summary>
/// Emulates a message bus, such as Kafka or RabbitMQ, for the sake of this example.
/// ... | 2.990117 | 885dc62556fc78dbad2f0fdae5c9f19b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839860 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CuboidGames/bot-scheduler",
"max_stars_repo_path": "Assets/Scripts/UI/GUIManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159080"
} | starcoder | using System;
using UnityEngine;
namespace BotScheduler.UI
{
public class GUIManager
{
}
}
| 0.761332 | 675cec1512f10f2f215827863bcd735a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839861 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "markashleybell/microwiki",
"max_stars_repo_path": "microwiki/Domain/SiteMapDocument.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159081"
} | starcoder | using System;
namespace MicroWiki.Domain
{
public class SiteMapDocument
{
public SiteMapDocument(
Guid id,
Guid? parentID,
string title,
string location,
bool isPublic)
{
ID = id;
ParentID = parentID;
... | 2.335533 | c0c94933ba5255a88b9a0a4b3a4c6b20 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839862 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "samsam07/LiteWare.Remoting.Core-dotnet",
"max_stars_repo_path": "src/LiteWare.Remoting.Core/Builders/RemoteCallDispatcherBuilder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159082"
} | starcoder | <reponame>samsam07/LiteWare.Remoting.Core-dotnet
using LiteWare.Remoting.Core.RemoteCallControllers;
namespace LiteWare.Remoting.Core.Builders;
/// <summary>
/// Class that builds an instance of <see cref="RemoteCallDispatcher"/>.
/// </summary>
public class RemoteCallDispatcherBuilder
{
/// <summary>
/// Ge... | 2.453617 | a6b63b5c30cdcaf758da15218ac10305 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839863 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lzp729/FolderSync",
"max_stars_repo_path": "FolderSync/DataGridViewCheckedComboBox.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159083"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using System.Drawing;
using System.Windows.Forms;
namespace FolderSync
{
public class DataGridViewCheckedComboxBoxColumn : DataGridViewColumn
{
public DataGridViewCheckedComboxBoxColumn()
: base(new DataGr... | 2.652326 | f003e0268c0a9409bcd9b64ae3e5ac48 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839864 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gregorylefevre/snowtifyapi",
"max_stars_repo_path": "src/SnowtifyApi/Models/Follower.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159084"
} | starcoder | <gh_stars>0
using System;
namespace SnowtifyApi.Models
{
public class Follower
{
public string Id { get; set; }
public string PushId { get; set; }
public string PushType { get; set; }
public DateTime CreationDate { get; set; }
public DateTime LastActiv... | 1.192967 | f22722cdf3c52c31ebe165f5be4abe5c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839865 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "chenrensong/T4",
"max_stars_repo_path": "src/Coding4Fun.VisualStudio.TextTemplating/Coding4Fun.VisualStudio.TextTemplating/Directive.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159085"
} | starcoder | using System.Collections.Generic;
using System.Diagnostics;
namespace Coding4Fun.VisualStudio.TextTemplating
{
/// <summary>
/// Represents a directive in the template file
/// </summary>
internal sealed class Directive
{
private const string DirectiveProcessorAttributeName = "processor";
private readonly st... | 2.880913 | d6e0d8fba99336cc63eb4c6411f35f80 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839866 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "warning-explosive/Core",
"max_stars_repo_path": "Tests/Test.Api/SystemTypeTestExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159086"
} | starcoder | <filename>Tests/Test.Api/SystemTypeTestExtensions.cs
namespace SpaceEngineers.Core.Test.Api
{
using System;
using System.Collections.Generic;
using System.Linq;
/// <summary>
/// System.Type extensions for test project
/// </summary>
public static class SystemTypeTestExtensions
{
... | 2.892769 | 769844fa780e0bcf5f64da003c3cf024 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839867 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "Janne252/Gibbed.Dunia",
"max_stars_repo_path": "projects/Gibbed.FarCry2.FileFormats/Map/Archive.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159087"
} | starcoder | /* Copyright (c) 2021 Rick (rick 'at' gibbed 'dot' us)
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* arising from the use of this software.
*
* Permission is granted to anyone to use this software for any purp... | 2.114868 | d31a5453d959f25de0c92014ce9fc430 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839868 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Peter-Georgiev/Programming.Fundamentals",
"max_stars_repo_path": "Lists - Exercises/04.FlipListSides/FlipListSides.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159088"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
class FlipListSides
{
static void Main()
{
List<int> readLine = ReadLine();
List<int> tempLineToRevers = new List<int>(readLine.Count);
List<int> tempList = new List<int>(3);
for (int i = 0; i < readLine.Count... | 3.763448 | c2ebe2bbbd462ae5a7423ea738a33bff |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839869 | {
"extension": "c-sharp",
"max_stars_count": "25.0",
"max_stars_repo_name": "kant2002/wpf-test",
"max_stars_repo_path": "src/Test/Common/Code/Microsoft/Test/Graphics/TestTypes/FactoryParser.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159089"
} | starcoder | <gh_stars>10-100
// 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.
using System;
using System.Windows;
using System.Windows.Media;
using System.Windows.Media.Animatio... | 2.277369 | 558a7096ffb6dd724500b78093b75150 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839870 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "averrunci/Carna",
"max_stars_repo_path": "Spec/Carna.Runner.Spec/Runner/FormattedDescription.StringRepresentation.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159090"
} | starcoder | <reponame>averrunci/Carna
// Copyright (C) 2017 Fievus
//
// This software may be modified and distributed under the terms
// of the MIT license. See the LICENSE file for details.
namespace Carna.Runner
{
[Context("String representation")]
class FormattedDescription_StringRepresentation : FixtureSteppable
... | 2.599104 | d3975c10539d5b2f7f046d7c05c88545 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839871 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "yy1985710/ecsrx",
"max_stars_repo_path": "src/Assets/EcsRx/Unity/EcsRxApplication.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159091"
} | starcoder | <gh_stars>1-10
using System.Collections.Generic;
using System.Linq;
using EcsRx.Extensions;
using UnityEngine;
using EcsRx.Pools;
using EcsRx.Systems;
using EcsRx.Systems.Executor;
using EcsRx.Unity.Plugins;
using EcsRx.Unity.Systems;
using Zenject;
namespace EcsRx.Unity
{
public abstract class EcsRxApplication :... | 1.884089 | 77203fa2d2d61edf4eaee5f8373bfe1f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839872 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "adrianiftode/AuthorizationRegistry",
"max_stars_repo_path": "iSHARE.TokenClient/TokenSource.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159092"
} | starcoder |
using System;
namespace iSHARE.TokenClient
{
public class TokenSource
{
public Uri BaseUri { get; set; }
public string Thumbprint { get; set; }
}
}
| 1.499473 | 4b9ca6a3512f9c6abc1490bf838d328d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839873 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TomChantler/BlazorYahtzee",
"max_stars_repo_path": "BlazorYahtzee/Models/Game.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159093"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using BlazorYahtzee.Models.Categories;
using BlazorYahtzee.Models.Modes;
namespace BlazorYahtzee.Models
{
public class Game
{
public IMode Mode { get; }
public Player Player { get; }
public int TurnsRemaining { get; pri... | 3.203376 | d0d06241a1e27685e3d047f1845de6a6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839874 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "sourcewalker/swift.umbraco",
"max_stars_repo_path": "Source/Core/Models/DTO/CrmResponse.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159094"
} | starcoder | <reponame>sourcewalker/swift.umbraco
namespace Swift.Umbraco.Models.DTO
{
public class CrmResponse
{
public bool Success { get; set; }
public string ConsumerId { get; set; }
public string ApiStatus { get; set; }
public string ApiMessage { get; set; }
}
}
| 1.480689 | e2d9a7f10953aed45d7c68df96bfed91 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839875 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "codetuner/Sircl2",
"max_stars_repo_path": "src/Sircl.Website/Areas/MvcDashboardLocalize/Controllers/QueryController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159095"
} | starcoder | <reponame>codetuner/Sircl2<gh_stars>1-10
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.EntityFrameworkCore;
using Sircl.Website.Areas.MvcDashboardLocalize.Models.Query;
using Sircl.Website.Data.Localize;
using System;
using System.Co... | 1.959436 | 14cdd3f896f6a024b2963706b834e671 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839876 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "skywarth/Beamity-SubDiv",
"max_stars_repo_path": "Beamity.Application/DTOs/CustomDTOs/BehaviourFlowDTO.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159096"
} | starcoder | using Beamity.Application.DTOs.BeaconActivityDTOs;
using Beamity.Application.DTOs.RoomDTOs;
using Beamity.Core.Models;
using System;
using System.Collections.Generic;
using System.Text;
namespace Beamity.Application.DTOs.CustomDTOs
{
public class BehaviourFlowDTO
{
private ReadBeaconActivityDTO from;
... | 2.306505 | 5d6eb903549b47cb66fa25cd31b99c65 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839877 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dasu/imguruploader",
"max_stars_repo_path": "tags/release-2010-02-23-01/ImgurUploader/ImgurUploader.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159097"
} | starcoder | <filename>tags/release-2010-02-23-01/ImgurUploader/ImgurUploader.cs
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Diagnostics;
using System.Drawing;
using System.IO;
using System.Net;
using System.Text;
namespace ImgurUploader
{
public ... | 2.749458 | 88860037e7b87cc5953b8ed8b309f952 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839878 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "sybrenw/l2-lattice",
"max_stars_repo_path": "Lattice.L2LoginServer/Network/LoginPacket/Server/S_0x02_AccountBanned.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159098"
} | starcoder | using Lattice.L2Core.Network.Packet;
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
namespace Lattice.LoginServer.Network.LoginPacket.Server
{
internal class S_0x02_AccountBanned : SendablePacket<LoginClient>
{
public static byte Opcode { get; } = 0x02;
pr... | 2.194605 | 20edc7480163b0f300011f200b679af3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839879 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PoLaKoSz/ExceptionReporter.NET",
"max_stars_repo_path": "src/ExceptionReporter/Mail/IReportSendEvent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159099"
} | starcoder | <filename>src/ExceptionReporter/Mail/IReportSendEvent.cs<gh_stars>0
using System;
namespace ExceptionReporting.Mail
{
/// <summary>
/// Email send event.
/// </summary>
public interface IReportSendEvent
{
/// <summary>
/// send completed
/// </summary>
void Completed(bool success);
/// <summary>
/// ... | 2.247073 | d0f9f5662bf6b84d7b4987723a86d1ab |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839880 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "qq576067421/Unity-Shaders",
"max_stars_repo_path": "Assets/Scripts/BlinnPhongDebugger.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159100"
} | starcoder | <filename>Assets/Scripts/BlinnPhongDebugger.cs
using System.Collections.Generic;
using UnityEngine;
public class BlinnPhongDebugger : MonoBehaviour
{
[Range(0.0f, 200.0f)]
public float specularPower = 100.0f;
[Header("LIGHT")]
public Transform light;
[Range(-1.0f, 1.0f)]
public float lightDirX = 1.0f;
[Range... | 2.425271 | 5a5093ebc141350d86ab4406ef31cc97 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839881 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "alyssakatz/May2020GameJam",
"max_stars_repo_path": "Assets/Cards/CardInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159101"
} | starcoder | using UnityEngine;
using System;
public struct CardInfo
{
public string Name;
public string RulesText;
public string FlavorText;
public string IconLocation;
public int? BaseRange;
public bool CanTarget;
public int TargetingRange;
public Action<CardTargettingInfo> Execute;
public fl... | 1.946215 | f877176b647efaf1baf467eb39840491 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839882 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RapGeneral/PingPong",
"max_stars_repo_path": "PingPong/PingPong.Board/Ball.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159102"
} | starcoder | namespace PingPong.Board
{
using PingPong.Board.Contracts;
using System;
public class Ball : ObjectOnTheBoard, IBall
{
private int moveLeft;
private int moveTop;
private bool canMove;
private bool exitSide;
private Random randomDirection = new Random();
public Ball(IGameBoard gameBoard)
... | 2.969342 | fa69138c2010f9595c7ce0dd630814f4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839883 | {
"extension": "c-sharp",
"max_stars_count": "1705.0",
"max_stars_repo_name": "MDanialSaleem/aws-sdk-net",
"max_stars_repo_path": "sdk/src/Services/DevOpsGuru/Generated/Model/DescribeAccountOverviewResponse.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159103"
} | starcoder | /*
* Copyright 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 "license" fi... | 1.65362 | 8a34ab78264a38ea7e2389e44734a9ef |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839884 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Physer/Snippr-API-backend",
"max_stars_repo_path": "src/Core/Snippr.Application/Options/MongoOptions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159104"
} | starcoder | namespace Snippr.Application.Options
{
public class MongoOptions
{
public const string ConfigurationEntry = "MongoDb";
public string ConnectionString { get; set; }
}
}
| 1.369699 | 64f938ce2de3156d052289c4fb9b7c71 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839885 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "cake-contrib/Cake.HockeyApp",
"max_stars_repo_path": "src/Cake.HockeyApp/Internal/HockeyAppClient.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159105"
} | starcoder | <filename>src/Cake.HockeyApp/Internal/HockeyAppClient.cs
namespace Cake.HockeyApp.Internal
{
using System;
using System.Threading.Tasks;
using Core.Diagnostics;
using Core.IO;
internal class HockeyAppClient
{
private readonly HockeyAppApiClient _client;
private readonly ICakeLog... | 2.542684 | 632853c5845eed1247c0d7a0ea7e1d50 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839886 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "deeround/Vop",
"max_stars_repo_path": "src/Vop.Web/Controllers/Demo1Controller.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159106"
} | starcoder | using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Vop.Api;
using Vop.Api.FluentException;
using Vop.Web.Dtos;
using Vop.Web.Services;
namespace Vop.Web.Controllers
{
[Route("")]
[ApiController... | 1.860406 | cac40023049c20bb41bb0b854ac155f2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839887 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "andrii-litvinov/dotnetfest-2019-async-autofixture",
"max_stars_repo_path": "Demo/Contracts/Trace.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159107"
} | starcoder | <reponame>andrii-litvinov/dotnetfest-2019-async-autofixture<gh_stars>1-10
namespace Contracts
{
public class Trace
{
public string CorrelationId { get; set; }
public string CausationId { get; set; }
}
} | 1.546385 | ab764d2b38c19e7e57b7d7b8a839721a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839888 | {
"extension": "c-sharp",
"max_stars_count": "793.0",
"max_stars_repo_name": "abod1944/WeatherTwentyOne",
"max_stars_repo_path": "src/WeatherTwentyOne/Platforms/Windows/NativeWindowing/WindowsTrayIcon.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159108"
} | starcoder | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Hardcodet.Wpf.TaskbarNotification.Interop
{
public class WindowsTrayIcon
{
private readonly object lockObject = new object();
private NotifyIconDa... | 2.380527 | aaa09b5ca7efece4e3e2e0c4cae6821b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839889 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "akobr/textum.ui",
"max_stars_repo_path": "Commands/Commands.CodeBaseSearch/Model/KeywordBuilders/NameKeywordBuilder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159109"
} | starcoder | using System.Collections.Immutable;
using Humanizer;
namespace Commands.CodeBaseSearch.Model.KeywordBuilders
{
public class NameKeywordBuilder : IKeywordBuilder
{
private readonly string name;
public NameKeywordBuilder(string name)
{
this.name = name;
}
pub... | 2.732043 | 6ff58219ddf73ffdca6ba4882b0b50de |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839890 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "erwin-io/Silupost",
"max_stars_repo_path": "SilupostMobileApp/SilupostMobileApp/SilupostMobileApp/ViewModels/ViewCrimeIncidentReportViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159110"
} | starcoder | <gh_stars>0
using Plugin.Toast;
using SilupostMobileApp.Common;
using SilupostMobileApp.Views.Common;
using SilupostMobileApp.Common.Interface;
using System;
using System.Linq;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
using SilupostMobileApp.Models;
using ... | 1.35904 | 0ef4b9f7541082cc64fc34974a0a0a26 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839891 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "MV10/OrleansDistributedCache",
"max_stars_repo_path": "StandAloneClientDemo/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159111"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text.Json;
using System.Threading.Tasks;
using Microsoft.Extensions.Caching.Distributed;
using Microsoft.Extensions.DependencyInjection;
using Orleans;
using Orleans.Configuration;
using Orleans.Hosting;
using McGuireV10.OrleansDistributedCache;
namespace S... | 2.716068 | d0e933cdb1cdd92268338b67233708e5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839892 | {
"extension": "c-sharp",
"max_stars_count": "53.0",
"max_stars_repo_name": "sonicretro/sa_tools",
"max_stars_repo_path": "SA2Tools/SA2EventViewer/DefaultActionList.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159112"
} | starcoder | using System.Windows.Forms;
using SAModel.SAEditorCommon.UI;
namespace SA2EventViewer
{
public static class DefaultActionList
{
private static ActionKeyMapping[] defaultActionMapping = new ActionKeyMapping[]
{
#region Camera Hotkeys
new ActionKeyMapping()
{
Name = "Camera Mode",
MainKey = Keys... | 2.029957 | 8904813c55892ef88aede773bdd124cb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839893 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "monankov/Structr",
"max_stars_repo_path": "samples/Structr.Samples.Notices/Notices/BarEvent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159113"
} | starcoder | <filename>samples/Structr.Samples.Notices/Notices/BarEvent.cs<gh_stars>1-10
using Structr.Notices;
using System;
namespace Structr.Samples.Notices.Notices
{
public class BarEvent : INotice
{
public DateTime Date { get; set; }
}
}
| 1.818533 | 70597d8f52635b0eb3aa4033c1a3cae9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839894 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "uxb2bralph/IFS-EIVO03",
"max_stars_repo_path": "eIVOGo/Buyer/webform3.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:159114"
} | starcoder |
@{ Register assembly="Uxnet.Com.Net4" namespace="DataAccessLayer.basis" tagprefix="cc1" }
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
</head>
<body>
... | 1.832211 | 3408fe4a19429e0ab2266a93d76947af |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839895 | {
"extension": "c-sharp",
"max_stars_count": "56.0",
"max_stars_repo_name": "jaffinito/newrelic-dotnet-agent",
"max_stars_repo_path": "src/Agent/NewRelic/Agent/Extensions/Providers/Wrapper/RestSharp/AppendHeaders.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159115"
} | starcoder | // Copyright 2020 New Relic, Inc. All rights reserved.
// SPDX-License-Identifier: Apache-2.0
using System;
using System.Net;
using NewRelic.Agent.Api;
using NewRelic.Agent.Extensions.Providers.Wrapper;
namespace NewRelic.Providers.Wrapper.RestSharp
{
/// <summary>
/// This instrumentation is used for CAT sup... | 2.027108 | 7a13e0532157c7f305de95db7ee3e345 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839896 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "igoreksiz/NetOffice",
"max_stars_repo_path": "Source/Visio/Classes/Extender.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159116"
} | starcoder | <gh_stars>0
using System;
using NetRuntimeSystem = System;
using System.ComponentModel;
using NetOffice.Attributes;
namespace NetOffice.VisioApi
{
#region Delegates
#pragma warning disable
public delegate void Extender_CellChangedEventHandler(NetOffice.VisioApi.IVCell cell);
public delegate void Extender_ShapeAd... | 1.034237 | b73cef31dea2b059641a89ed63d13cc0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839897 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DebaJr/ReTime",
"max_stars_repo_path": "ReTime/Assets/Scripts/Character/CharacterJump.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159117"
} | starcoder | <reponame>DebaJr/ReTime<gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CharacterJump : MonoBehaviour
{
[Header("Jumping and Gravity")]
[SerializeField] float jumpForce = 20f;
[Tooltip("Value to be applied as gravity while jumping, to achieve a more g... | 2.174758 | b17ffc85270b026b7371855392297759 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839898 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "MentorSource/mentorbot",
"max_stars_repo_path": "tests/MentorBot.Tests/Business/Processors/HelloProcessorTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159118"
} | starcoder | // cSpell:ignore Whaaaazzzup
using System.Threading.Tasks;
using MentorBot.Functions.Models.TextAnalytics;
using MentorBot.Functions.Processors;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace MentorBot.Tests.Business.Processors
{
[TestClass]
[TestCategory("Business.Processors")]
public se... | 2.548298 | 8f0ff3bf205c46b10fd8f59081d7c7fd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839899 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "gubanotorious/neo-sharp",
"max_stars_repo_path": "src/NeoSharp.Core/Extensions/JsonExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159119"
} | starcoder | using Newtonsoft.Json;
namespace NeoSharp.Core.Extensions
{
public static class JsonExtensions
{
/// <summary>
/// Convert object to json
/// </summary>
/// <param name="obj">Object</param>
/// <param name="indented">Indented</param>
/// <returns>Return json</re... | 3.335644 | 35b5893f3c3e963705d93a938b5d9f1b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839900 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "martinsmith1968/dnx.utils.strings",
"max_stars_repo_path": "Test.DNX.Helpers/Linq/ItemComparisonListTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159120"
} | starcoder | using System.Linq;
using DNX.Helpers.Linq;
using NUnit.Framework;
using Shouldly;
namespace Test.DNX.Helpers.Linq
{
public class ItemComparisonListTests
{
[Test]
public void ItemComparisonList_MatchesItemsBetweenTwoListsOfDifferentTypes_Success()
{
// Arrange
va... | 2.861711 | e37eb735670dec16e03e0bbc1a9b365e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839901 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "kzu/cloudy",
"max_stars_repo_path": "Api/Startup.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159121"
} | starcoder | using Microsoft.ApplicationInsights;
using Microsoft.ApplicationInsights.Extensibility;
using Microsoft.AspNetCore.Http;
using Microsoft.Azure.Cosmos.Table;
using Microsoft.Azure.WebJobs;
using Microsoft.Azure.WebJobs.Host;
using System.Dynamic;
using Microsoft.Azure.WebJobs.Hosting;
using Microsoft.Extensions.Dependen... | 1.743964 | ab63eff6c6c2d06bec518b2127bbf9d0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839902 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jonathanpeppers/Hanselman.Forms",
"max_stars_repo_path": "src/Hanselman/Views/Root/HomePage.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159122"
} | starcoder | <reponame>jonathanpeppers/Hanselman.Forms
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Hanselman.Controls;
using Hanselman.Interfaces;
using Xamarin.Essentials;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace Hanselman.Views
{
p... | 2.382975 | 28b13dfb1103cc6c6049ae4d1fd95b9b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839903 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "opopve/QSProjects",
"max_stars_repo_path": "QS.LibsTest/Utilities/DataRangeTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159123"
} | starcoder | using NUnit.Framework;
using QS.Utilities.Dates;
using System;
using System.Linq;
namespace QS.Test.Utilities
{
[TestFixture(TestOf = typeof(DateRange))]
public class DataRangeTest
{
[Test(Description = "Проверяем исключение диапазона")]
public void GetIntervals_ExcludeTest()
{
var mainRange = new DateRan... | 2.799648 | 6fbf1eb906b4fccbba6b80ff63ab574f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839904 | {
"extension": "c-sharp",
"max_stars_count": "4068.0",
"max_stars_repo_name": "object/akka.net",
"max_stars_repo_path": "src/core/Akka.Cluster.Tests/StartupWithOneThreadSpec.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159124"
} | starcoder | //-----------------------------------------------------------------------
// <copyright file="StartupWithOneThreadSpec.cs" company="Akka.NET Project">
// Copyright (C) 2009-2021 Lightbend Inc. <http://www.lightbend.com>
// Copyright (C) 2013-2021 .NET Foundation <https://github.com/akkadotnet/akka.net>
// </co... | 1.851709 | 5772e0692ddc1886f8e1b933bf5f93e7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839905 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "treyhicks236/Core-CLI",
"max_stars_repo_path": "ReserveBlockCore/Utilities/HexByteUtility.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159125"
} | starcoder | <reponame>treyhicks236/Core-CLI
using System.Globalization;
namespace ReserveBlockCore.Utilities
{
public class HexByteUtility
{
public static string ByteToHex(byte[] pubkey)
{
return Convert.ToHexString(pubkey).ToLower();
}
public static byte[] HexToByte(string HexString)
{
if (HexString.Leng... | 2.873057 | c2ccf604858bd4ab1065025c1786beec |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839906 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "krisz2000/hevadea",
"max_stars_repo_path": "src/Hevadea.Framework/Extension/Texture2DExtension.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159126"
} | starcoder | using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
namespace Hevadea.Framework.Extension
{
public static class Texture2DExtension
{
public static Vector2 GetCenter(this Texture2D tex)
{
return tex.Bounds.Center.ToVector2();
}
public static void ... | 3.019049 | e18f750cc2fe8ad99140fac8223086e5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839907 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kazumatu981/Meshram",
"max_stars_repo_path": "Meshram.Storage/Sqlite/SqliteExtentions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159127"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text.Json;
using Microsoft.Data.Sqlite;
using Meshram.Core;
using Meshram.Storage.Model;
namespace Meshram.Storage.Sqlite
{
public static class SqliteExtentions
{
public static StoredMeshedData ReadMeshedDataColumns(this SqliteDataReader r... | 2.670237 | b5eca7cf3d7ce319c10409c5f04e889c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839908 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GuilhermeZenzen/Project-Manager",
"max_stars_repo_path": "ProjectManager/ProjectManager.Domain/Aggregates/ProjectAggregate/TicketCommentary.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159128"
} | starcoder | <reponame>GuilhermeZenzen/Project-Manager
using ProjectManager.Domain.Common.Entities;
using System;
namespace ProjectManager.Domain.Aggregates.ProjectAggregate
{
public class TicketCommentary : AuditableEntity
{
public string AuthorName { get; private set; }
public string Body { get; private ... | 2.251183 | f7d141402042b88937bc003fe7948016 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839909 | {
"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-0018-db51.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159129"
} | starcoder | <reponame>mikhail-khalizev/max
using System;
using MikhailKhalizev.Processor.x86.BinToCSharp;
namespace MikhailKhalizev.Max.Program
{
public partial class RawProgram
{
[MethodInfo("0x18_db51-1712529")]
public void Method_0018_db51()
{
ii(0x18_db51, 1); push(bp); ... | 1.378213 | c46011325356cbb771f6bb2385d67fca |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839910 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "EmptyBucket/FluentSpec",
"max_stars_repo_path": "src/FluentSpecification.Swagger/Filters/SatisfactionDocumentFilter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159130"
} | starcoder | <filename>src/FluentSpecification.Swagger/Filters/SatisfactionDocumentFilter.cs
// MIT License
//
// Copyright (c) 2021 <NAME>
// https://github.com/EmptyBucket/FluentSpecification
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files... | 1.658565 | 16ac3e4e978b4d3904a8b40e2bb35b5c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839911 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "ettenauer/extension-confluent-kafka-client",
"max_stars_repo_path": "Source/Extension.Confluent.Kafka.Client/Consumer/IBufferedConsumer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159131"
} | starcoder | <gh_stars>1-10
using System;
namespace Extension.Confluent.Kafka.Client.Consumer
{
public interface IBufferedConsumer<TKey, TValue> : IDisposable
{
void Subscribe();
void Unsubscribe();
}
}
| 1.55134 | 219bc54e23556ceac33200d5428946a9 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.