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 | 8842012 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Abraham2908/LojaVirtual",
"max_stars_repo_path": "LojaVirtual/Models/Categorias.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161232"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace LojaVirtual.Models
{
public class Categorias
{
public int Id { get; set; }
[Required]
[Display(Name = "Categoria")]
... | 1.573976 | 347cc1c836ea582be8c743f277e9bbc8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842013 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Svengali/elasticsearch-net",
"max_stars_repo_path": "src/Nest/Cluster/ClusterState/ClusterStateResponse.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161233"
} | starcoder | <filename>src/Nest/Cluster/ClusterState/ClusterStateResponse.cs
using System.Collections.Generic;
using System.Runtime.Serialization;
using Elasticsearch.Net;
namespace Nest
{
public class ClusterStateResponse : ResponseBase
{
[DataMember(Name = "blocks")]
public BlockState Blocks { get; internal set; }
[Dat... | 1.822821 | e2aab6b66e6803f2941550879606a708 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842014 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "orchidalloy/Virtuous",
"max_stars_repo_path": "Projectiles/RainbowArrow.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161234"
} | starcoder | <gh_stars>1-10
using Microsoft.Xna.Framework;
using Terraria;
using Terraria.ModLoader;
using Terraria.Localization;
using Virtuous.Dusts;
namespace Virtuous.Projectiles
{
public class RainbowArrow : ModProjectile
{
private const int Lifespan = 6 * 60; // Total duration of the projetile
private... | 2.344197 | 5eb084c4d879ef748d84e6dce9383e10 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842015 | {
"extension": "c-sharp",
"max_stars_count": "40.0",
"max_stars_repo_name": "BramAlkema/ContosoScubaBot",
"max_stars_repo_path": "Services/ScubaCardService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161235"
} | starcoder | using ContosoScuba.Bot.CardProviders;
using ContosoScuba.Bot.Models;
using System;
using System.Collections.Generic;
using System.IO;
using System.Reflection;
using System.Threading.Tasks;
using System.Linq;
using Microsoft.Bot.Builder;
using Microsoft.Bot.Schema;
using Microsoft.Bot.Builder.Core.Extensions;
namespac... | 2.4281 | 3a7704820e1bca72ccee51c2eec75917 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842016 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SkillsFundingAgency/tl-result-and-certification",
"max_stars_repo_path": "src/Tests/Sfa.Tl.ResultsAndCertification.Web.UnitTests/Controllers/RegistrationControllerTests/AddRegistrationProviderPost/When_Called_With_ChangeMode.cs",
"pro... | starcoder | using FluentAssertions;
using Microsoft.AspNetCore.Mvc;
using NSubstitute;
using Sfa.Tl.ResultsAndCertification.Common.Helpers;
using Sfa.Tl.ResultsAndCertification.Web.ViewModel.Registration.Manual;
using Xunit;
namespace Sfa.Tl.ResultsAndCertification.Web.UnitTests.Controllers.RegistrationControllerTests.AddRegistr... | 1.777594 | 542e8ee32c546b93e05a1696c863a3f3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842017 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hasasnh/Mhasasneh-SearchUI-develop",
"max_stars_repo_path": "Mhasasneh.Foundation.Attributes/Attributes/MultiList.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161237"
} | starcoder | using System;
namespace Mhasasneh.Foundation.Core.Attributes
{
public sealed class MultiList : Attribute, IAttributeBase
{
public MultiList(string name, string itemID)
{
Name = name;
Param = itemID;
}
public string Name
{
get;
... | 1.957455 | 90135a8f8855fda6a06ee1362abb02ee |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842018 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "trigger-death/ZeldaOracle",
"max_stars_repo_path": "ZeldaOracle/GameWpf/Util/BitmapFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161238"
} | starcoder | <filename>ZeldaOracle/GameWpf/Util/BitmapFactory.cs<gh_stars>10-100
using System;
using System.IO;
using System.Windows;
using System.Windows.Interop;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using Bitmap = System.Drawing.Bitmap;
using GdiImage = System.Drawing.Image;
using Graphics = System.Dra... | 2.712855 | 1717632f1a7f7be4430e236717311ebb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842019 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ghiboz/gStageEditor_Demo",
"max_stars_repo_path": "Assets/gStageEditor/PhysMaterial/PhysMaterialItem.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161239"
} | starcoder | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
[System.Serializable]
public class PhysMaterialItem
{
public string itemName = "New Item";
public Texture2D physMaterial = null;
public Texture2D renderMaterial = null;
public int Version = 1;
public float Opacity = 0.6... | 1.77405 | b03d91b34577104eb27034dd0c33a58f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842020 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "masoud-bahrami/CraftingDesignUsingTDD",
"max_stars_repo_path": "TestDoubles/Fake/IFlightRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161240"
} | starcoder | namespace TestDoubles.Fake
{
public interface IFlightRepository
{
public void Add(Flight flight);
void Delete(string flightId);
Flight GetFlight(string flightId);
int Count();
}
} | 2.12539 | 9a64556e51a5a4df9b4dd5afb26bed01 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842021 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gpvigano/OpenVISDIVE",
"max_stars_repo_path": "OpenVISDIVE_Unity/Assets/OpenVISDIVE/Scripts/EditorTkEx/BuildTk.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161241"
} | starcoder | <filename>OpenVISDIVE_Unity/Assets/OpenVISDIVE/Scripts/EditorTkEx/BuildTk.cs
#if UNITY_EDITOR
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using UnityEngine;
using UnityEditor;
namespace EditorTkEx
{
public class BuildTk
{
public static string GetBuildTarg... | 2.383892 | 191b102f21f49c562603bf0c17bf12d6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842022 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TWBob/VRCrossPlatformInterface",
"max_stars_repo_path": "UnityProject/Assets/WaveVR/Extra/commit_info.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161242"
} | starcoder | using System;class WaveVR_COMMITINFO{public static string wavevr_version = @"
commit <PASSWORD>
";}
| 1.757707 | c4a52449e661de7de54c9d52f7d80485 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842023 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jdages/AndrewsHouse",
"max_stars_repo_path": "src/Orchard.Web/Modules/Orchard.Azure.MediaServices/Services/Tasks/Providers/CreateThumbnailTaskProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161243"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Xml.Linq;
using Orchard.Azure.MediaServices.Helpers;
using Orchard.Azure.MediaServices.Models;
using Orchard.Azure.MediaServices.Services.Assets;
using Orchard.Azure.MediaServices.Services.Tasks;
using Orchard.Azure.MediaServices.Se... | 2.011255 | f30379eb36432bdaeb533839f8686781 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842024 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Evomo/unityMotionAIPlugin",
"max_stars_repo_path": "Assets/MotionAI/Tests/PlayTests/ControllerTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161244"
} | starcoder | #if UNITY_EDITOR && !UNITY_IOS
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using FluentAssertions;
using MotionAI.Core;
using MotionAI.Core.Controller;
using MotionAI.Core.POCO;
using UnityEngine;
using UnityEngine.TestTools;
namespace MotionAI.Tests.PlayTests {
public class Contr... | 2.0278 | 1f55775dc4490a0aa4268a23464f97e1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842025 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "cashsignsesh/ProgrammingLanguageTutorialIdea",
"max_stars_repo_path": "ProgrammingLanguageTutorialIdea/Keywords/KWToggleGui.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161245"
} | starcoder | /*
* Created by SharpDevelop.
* User: Elite
* Date: 7/10/2021
* Time: 9:32 PM
*
* To change this template use Tools | Options | Coding | Edit Standard Headers.
*/
using System;
namespace ProgrammingLanguageTutorialIdea.Keywords {
public class KWToggleGui : Keyword {
public const String constName="TOGG... | 1.944534 | 343869fc20ef3146802028090c0d61d3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842026 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "caizhifei2003/Rey.Mapping",
"max_stars_repo_path": "Rey.Mapping.Test/CharTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161246"
} | starcoder | <reponame>caizhifei2003/Rey.Mapping
using Xunit;
namespace Rey.Mapping.Test {
public class CharTest : TestBase {
[Fact]
public void Test() {
Assert.Equal('a', this.Mapper.From('a').To<char>());
Assert.Equal("a", this.Mapper.From('a').To<string>());
}
}
}
| 2.103499 | 92e2947541e5c30cde4220fa9a1b2792 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842027 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "drunkcod/DataBoss",
"max_stars_repo_path": "Source/DataBoss.Data/SqlServer/TableValuedParameter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161247"
} | starcoder | <filename>Source/DataBoss.Data/SqlServer/TableValuedParameter.cs<gh_stars>1-10
using System.Collections.Generic;
using System.Data;
using System.Data.Common;
namespace DataBoss.Data.SqlServer
{
public interface ITableValuedParameter
{
string TypeName { get; }
object Rows { get; }
}
public class Ta... | 2.918872 | 1695645b827810bbe77f4544f861dea4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842028 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "ninject/ninject1",
"max_stars_repo_path": "src/Core/Planning/Plans/StandardActivationPlan.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161248"
} | starcoder | <reponame>ninject/ninject1<gh_stars>10-100
#region License
//
// Author: <NAME> <<EMAIL>>
// Copyright (c) 2007-2008, Enkari, Ltd.
//
// 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
... | 1.902843 | 6edd5e0f10f5a510e7bbacb464d01776 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842029 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "olabini/nregex",
"max_stars_repo_path": "src/main/NRegex/Replacer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161249"
} | starcoder |
namespace NRegex {
using System;
using System.IO;
using System.Text;
public class Replacer {
private Pattern pattern;
private Substitution substitution;
public Replacer(Pattern pattern, Substitution substitution) {
this.pattern=pattern;
this.substitu... | 2.828412 | 1c92582d0d54fc584bdcaaa843678cce |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842030 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "edrmonteiro/FSdotnetAngular",
"max_stars_repo_path": "Brewery/Brewery.MVC/Areas/Identity/Pages/_ViewImports.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:161250"
} | starcoder | <reponame>edrmonteiro/FSdotnetAngular<filename>Brewery/Brewery.MVC/Areas/Identity/Pages/_ViewImports.cshtml
@using Microsoft.AspNetCore.Identity
@using Brewery.MVC.Areas.Identity
@using Brewery.MVC.Areas.Identity.Pages
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
| 1.258369 | 172a887d2f7aa41d11878673de34055d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842031 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "romagny13/NIntercept",
"max_stars_repo_path": "Source/NIntercept/Attributes/SetterInterceptorAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161251"
} | starcoder | using System;
namespace NIntercept
{
[AttributeUsage(AttributeTargets.Property, AllowMultiple = true)]
public class SetterInterceptor : InterceptorAttributeBase, ISetterInterceptorProvider
{
public SetterInterceptor(Type interceptorType) : base(interceptorType)
{
}
}
}
| 1.991464 | c6d6be4c1e54b0690ef17632e7138488 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842032 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Mike111177/OWLib",
"max_stars_repo_path": "TankLib/STU/Types/STU_37D754C8.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161252"
} | starcoder | <gh_stars>1-10
// Instance generated by TankLibHelper.InstanceBuilder
// ReSharper disable All
namespace TankLib.STU.Types {
[STUAttribute(0x37D754C8)]
public class STU_37D754C8 : STU_72849AE5 {
[STUFieldAttribute(0xF09A03B3, ReaderType = typeof(EmbeddedInstanceFieldReader))]
public STU_CD39819... | 0.382183 | 6c10dba8350dc1280990a5fcbc9b3d76 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842033 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "DragonSpark/Framework",
"max_stars_repo_path": "DragonSpark.Application/Navigation/Security/Identity/ExternalLoginPath.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161253"
} | starcoder | <reponame>DragonSpark/Framework
namespace DragonSpark.Application.Navigation.Security.Identity;
public sealed class ExternalLoginPath : DragonSpark.Text.Text
{
public static ExternalLoginPath Default { get; } = new ExternalLoginPath();
ExternalLoginPath() : base("/Identity/Account/ExternalLogin") {}
} | 1.61611 | 4371208451818b01ed138f82c409eda8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842034 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "EmreMicrosoft/NetCoreFramework",
"max_stars_repo_path": "Repository.DataAccess/Concrete/NHibernate/NhCityDal.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161254"
} | starcoder | <filename>Repository.DataAccess/Concrete/NHibernate/NhCityDal.cs
using Core.DataAccess.NHibernate;
using Repository.DataAccess.Abstract;
using Repository.Entities.Concrete;
namespace Repository.DataAccess.Concrete.NHibernate
{
public class NhCityDal : NhEntityRepositoryBase<City>, ICityDal
{
public Nh... | 1.889803 | 7f037e126089ed60da0c9e93bc425995 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842035 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "LorenVS/bacstack",
"max_stars_repo_path": "BACnet.Client/Db/QueryObjectsCommand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161255"
} | starcoder | using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SQLite;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using BACnet.Types;
using BACnet.Client.Descriptors;
namespace BACnet.Client.Db
{
internal class QueryObjectsComman... | 2.797272 | c9ec265990e7a265158480fb3d0b7edf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842036 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pavlexander/VKHotkeys",
"max_stars_repo_path": "VKHotkeys/external/StringFunction.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161256"
} | starcoder | //=============================================================
//| Downloaded From |
//| Visual C# Kicks - http://www.vcskicks.com/ |
//| License - http://www.vcskicks.com/license.html |
//| Go Pro - |
... | 3.48585 | 9101b160d1f873f9362ae948900f7807 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842037 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JorgeGamba/AStarPathFinder",
"max_stars_repo_path": "Astar/Point.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161257"
} | starcoder | using System;
namespace Astar
{
public struct Point : IEquatable<Point>
{
public int X { get; }
public int Y { get; }
public Point(int x, int y)
{
X = x;
Y = y;
}
public bool Equals(Point other)
{
r... | 3.640991 | bc0cae31f60c3773990bd51a8798a571 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842038 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rGovers/Erde-Engine",
"max_stars_repo_path": "EGraphics/GUI/Canvas.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161258"
} | starcoder | using Erde.Application;
using Erde.IO;
using OpenTK;
using OpenTK.Graphics.OpenGL;
using OpenTK.Input;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Drawing;
using System.IO;
using System.Reflection;
using System.Xml;
namespace Erde.Graphics.GUI
{
public class Ca... | 2.150178 | f864550254ff07168716b370d1788b40 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842039 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "fingerx/unity-mesh-fragmentizer",
"max_stars_repo_path": "Assets/Packages/unity-gist/Script/CameraController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161259"
} | starcoder | using UnityEngine;
using UnityEngine.UI;
using UnityEngine.EventSystems;
namespace kmty.gist {
public class CameraController : MonoBehaviour {
[SerializeField] protected Camera target;
Vector3 moveTarget = Vector3.zero;
Vector3 rotateTarget = new Vector3(0, 0, 1);
public enum Mous... | 2.295696 | 9d875c79722679581f59dd13ebbfa4dd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842040 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ericnewton76/UrlHandler",
"max_stars_repo_path": "src/UrlsSample/Urls1.generated.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161260"
} | starcoder |
using System.Reflection;
using UrlHandler.Core;
using ConfigurationManager = System.Configuration.ConfigurationManager;
namespace UrlsSample
{
/// <summary>
/// AUTOGENERATED
/// </summary>
public static partial class Urls
{
static Urls()
{
}
/// <summary>
/// Retrieves value of AppSettings[Urls:... | 2.697013 | d4600ddba0c38261206c34adada47255 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842041 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wolfgangwarneke/nancy-C-Sharp-SQL-Band-Tracker",
"max_stars_repo_path": "Views/deleteVenue.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:161261"
} | starcoder | <filename>Views/deleteVenue.cshtml
<form action="/venues/delete/@Model.GetId()" method="post">
<input type="hidden" name="_method" value="DELETE">
<button type="submit">Confirm Delete @Model.GetName()</button>
</form>
<a href="/">or GO BACK</a>
| 1.892191 | 39245c072c4b55b215a73bed3ae1c199 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842042 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MahBoiDeveloper/Preprocessor",
"max_stars_repo_path": "PreprocessorLib/DeleteForces.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161262"
} | starcoder | using System;
using System.IO;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Windows.Forms;
using ELW.Library.Math;
using ELW.Library.Math.Exceptions;
using ELW.Library.Math.Expressions;
using ELW.Library.Math.Tools;
using ModelComponents;
using PreprocessorUtils;
namespace Pr... | 2.445994 | bec50d99364603454f0dc8ba42c47f8c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842043 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MangoPlex/Minecraft-Projects",
"max_stars_repo_path": "LoadProxiee/LoadProxiee.Library/Backends/BackendConnectRequest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161263"
} | starcoder | using LoadProxiee.Library.Protocol;
using LoadProxiee.Library.Protocol.Bridge;
using System;
using System.Collections.Generic;
using System.Text;
namespace LoadProxiee.Library.Backends
{
public class BackendConnectRequest
{
public ConnectionBridge Bridge;
public string RequestedCluster { get; ... | 1.521487 | 9aecbb35589ba68867f62554365f13ed |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842044 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ZZHGit/corert",
"max_stars_repo_path": "src/Runtime.Base/src/System/RuntimeTypeHandle.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161264"
} | starcoder | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
// System.Type and System.RuntimeTypeHandle are defined here as the C# compiler requires them
// In the redhawk runtime these are not used. In the class library there i... | 2.178177 | e22c7a8c72a5e31d677707e56058c75c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842045 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "BobsFriends/Bobs.PDF",
"max_stars_repo_path": "src/Bobs.PDF/TokenType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161265"
} | starcoder | <filename>src/Bobs.PDF/TokenType.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Bobs.PDF
{
public enum TokenType
{
Unknown = -1,
StartOfFile = 00,
StartOfArray,
StartOfDictionary,
EndOfFile = 10,
EndOfArray,
EndOfDictionary,
Comme... | 2.470509 | 5ba357d6e07fe804c47c2262e447e7c0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842046 | {
"extension": "c-sharp",
"max_stars_count": "89.0",
"max_stars_repo_name": "H-man/UTween",
"max_stars_repo_path": "Core/Script/_Base/Attribute/RequireOneOfComponentsAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161266"
} | starcoder | <reponame>H-man/UTween
/////////////////////////////////////////////////////////////////////////////
//
// Script : RequireOneOfComponentsAttribute.cs
// Info : 特性 - 包含至少一个组件
// Author : ls9512 2019
// E-mail : <EMAIL>
//
/////////////////////////////////////////////////////////////////////////////
using... | 2.726942 | 44e993a00952b379b22d3f3b790702e4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842047 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zephlord/Game-Battle-Tester",
"max_stars_repo_path": "Assets/Scripts/Making Armies/ArmyCreator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161267"
} | starcoder | <filename>Assets/Scripts/Making Armies/ArmyCreator.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class ArmyCreator : MonoBehaviour {
[SerializeField]
private UIManager _ui;
[SerializeField]
private UnitSelect _unitSelector;
[SerializeField]
priva... | 2.374424 | ff433383062677ae9093ec53b0ef9661 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842048 | {
"extension": "c-sharp",
"max_stars_count": "33.0",
"max_stars_repo_name": "jeffcampbellmakesgames/unity-asset-validator",
"max_stars_repo_path": "Unity/Assets/JCMG/AssetValidator/Editor/Validators/Managers/InstanceValidatorManagerBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161268"
} | starcoder | /*
MIT License
Copyright (c) 2019 <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 the rights
to use, copy, modify, merge, publish, distri... | 2.29952 | eae436e24c582bb5d0b279b34aa2efd4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842049 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "alexandrateneva/Programming-Fundamentals-SoftUni",
"max_stars_repo_path": "Arrays/08. Condense Array to Number - Lab/CondenseArrayToNumber.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161269"
} | starcoder | <filename>Arrays/08. Condense Array to Number - Lab/CondenseArrayToNumber.cs
namespace _08.Condense_Array_to_Number___Lab
{
using System;
using System.Linq;
public class CondenseArrayToNumber
{
public static void Main()
{
var numbers = Console.ReadLine().Split(' ').Select(i... | 3.801331 | 6e586bce586642032500d5933fa22ec0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842050 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "otahirs/ClubIS",
"max_stars_repo_path": "BusinessLayer/Services/NewsService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161270"
} | starcoder | using System.Collections.Generic;
using System.Threading.Tasks;
using AutoMapper;
using ClubIS.BusinessLayer.Services.Interfaces;
using ClubIS.CoreLayer.DTOs;
using ClubIS.CoreLayer.Entities;
using ClubIS.DataAccessLayer;
namespace ClubIS.BusinessLayer.Services
{
public class NewsService : INewsService
{
... | 2.570676 | 810e60b59f4b123c04dbb9172d0250e3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842051 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "cosmos-loops/cosmos-validation",
"max_stars_repo_path": "src/CosmosStack.Validation/CosmosStack/Validation/Internals/Tokens/ValueTokens/ValueGreaterThanToken.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161271"
} | starcoder | using System;
using CosmosStack.Validation.Internals.Tokens.ValueTokens.Basic;
using CosmosStack.Validation.Objects;
namespace CosmosStack.Validation.Internals.Tokens.ValueTokens
{
/// <summary>
/// Greater than token
/// </summary>
internal class ValueGreaterThanToken : ValueCompareBasicToken
{
... | 2.616162 | 22700a3f679d117a2d5fc6ac3462facd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842052 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "Eptagone/Telegram.BotAPI",
"max_stars_repo_path": "src/Telegram.BotAPI/Available Methods/sendPhoto.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161272"
} | starcoder | <gh_stars>10-100
// Copyright (c) 2021 <NAME>.
// Licensed under the MIT License, See LICENCE in the project root for license information.
using System;
using System.Runtime.InteropServices;
using System.Threading;
using System.Threading.Tasks;
using Telegram.BotAPI.AvailableTypes;
namespace Telegram.BotAPI.Available... | 2.428397 | 3c55563e06319f10af0359694d178c5d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842053 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "strizzwald/Strizzwald.Amqp",
"max_stars_repo_path": "Amqp.Types.Tests/AmqpShortTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161273"
} | starcoder | <reponame>strizzwald/Strizzwald.Amqp
using System;
using NUnit.Framework;
namespace Amqp.Types.Tests
{
[TestFixture]
public class AmqpShortTests
{
[Test]
public void ToShort_ReturnsShort()
{
var u = new AmqpShort(new byte[] { 0x00, 0x01 });
Assert.AreEqual(1... | 2.099823 | 1f264abee0aa9c50061dc1243164a3e5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842054 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jdevalk2/promitor",
"max_stars_repo_path": "src/Promitor.Scraper.Tests.Unit/Stubs/MetricsDeclarationProviderStub.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161274"
} | starcoder | <reponame>jdevalk2/promitor
using Promitor.Scraper.Host.Configuration.Providers;
using Promitor.Scraper.Host.Configuration.Providers.Interfaces;
namespace Promitor.Scraper.Tests.Unit.Stubs
{
public class MetricsDeclarationProviderStub : MetricsDeclarationProvider, IMetricsDeclarationProvider
{
private... | 1.688492 | 2b05a2e6c8badb182966546883c4a853 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842055 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mitsbits/Bor",
"max_stars_repo_path": "src/Platform/Borg.Platform.EF/DMS/Domain/Document.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161275"
} | starcoder | <reponame>mitsbits/Bor<filename>src/Platform/Borg.Platform.EF/DMS/Domain/Document.cs<gh_stars>0
using Borg.Framework.Cms.BuildingBlocks;
namespace Borg.Platform.EF.DMS.Domain
{
[PlatformDBAggregateRoot(Plural = "Documents", Singular = "Document")]
public class Document : DocumentBase<int>
{
}
} | 1.381406 | a91f9888a7f03ea2fa9efd47f81d3a95 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842056 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GooRain/Cyber-Infection",
"max_stars_repo_path": "Cyber Infection/Assets/CyberInfection/Scripts/GameMechanics/Weapon/Components/IShootComponent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161276"
} | starcoder | using UnityEngine;
namespace CyberInfection.GameMechanics.Weapon.Components
{
public interface IShootComponent
{
void Shoot(Vector2 direction);
}
} | 1.907988 | 8711a419fabf3718b770e4ded64ee4d7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842057 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "usernameHed/AssetStorePrimitives",
"max_stars_repo_path": "Assets/Tiny Life Saver tools/Tools/_HedToolsComponents/Editor/MeshFilter/MovePivot.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161277"
} | starcoder | <filename>Assets/Tiny Life Saver tools/Tools/_HedToolsComponents/Editor/MeshFilter/MovePivot.cs
using UnityEngine;
using static UnityEditor.EditorGUILayout;
using hedCommon.time;
using hedCommon.extension.editor;
using hedCommon.extension.runtime;
using hedCommon.extension.editor.sceneView;
#if UNITY_EDITOR
using Unit... | 1.856029 | 1b8e184a6ceea9d50bff6f48e79a3f4f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842058 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "maca88/CoreSharp",
"max_stars_repo_path": "CoreSharp.Breeze/Metadata/EntityType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161278"
} | starcoder | using System;
using System.Collections.Generic;
using CoreSharp.Breeze.Extensions;
namespace CoreSharp.Breeze.Metadata
{
public class EntityType : StructuralType
{
public EntityType() {}
public EntityType(Type type) : base(type)
{
}
public EntityType(Dictionary<string... | 2.590927 | 742b4175ae312d7b7976ea5730b8bd02 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842059 | {
"extension": "c-sharp",
"max_stars_count": "22.0",
"max_stars_repo_name": "VirtualPhotonics/VTS",
"max_stars_repo_path": "src/Vts.Test/MonteCarlo/PhotonData/pMCDataPointTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161279"
} | starcoder | using System;
using NUnit.Framework;
using Vts.Common;
using Vts.MonteCarlo.PhotonData;
namespace Vts.Test.MonteCarlo.PhotonData
{
[TestFixture]
public class pMCDataPointTests
{
/// <summary>
/// test to verify that pMCDataPoint constructor
/// </summary>
[Test]
pu... | 2.494487 | 64d7c1cc1da1a481306c1a91b83ba95c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842060 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "speechly/dotnet-example-app",
"max_stars_repo_path": "Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161280"
} | starcoder | using System;
namespace SpeechlyExampleApp
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Example App.\nPress 'space' to toggle recording, press 'q' to quit");
SpeechlyClient speechlyClient = new SpeechlyClient(appId: "your-app-id-here",... | 3.006082 | 6297c43654dfb72d5ffbfdfbd9bf4807 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842061 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "CJBuchel/CurtinGUI",
"max_stars_repo_path": "CurtinFRC.Network.Core/CustomViewFactoryAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161281"
} | starcoder | using System;
using System.ComponentModel.Composition;
namespace DotNetDash
{
[MetadataAttribute]
[AttributeUsage(AttributeTargets.Class, Inherited = false, AllowMultiple = false)]
public sealed class CustomViewFactoryAttribute : ExportAttribute, ICustomViewFactoryMetadata
{
public CustomViewF... | 2.043638 | f4cfb9275f41cd1b8faec3f7fd1e5728 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842062 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "publichealthengland/fingertips-open",
"max_stars_repo_path": "FingertipsProfileManager/MainUI/Views/ProfilesAndIndicators/_RemoveSelectedIndicators.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:161282"
} | starcoder | <reponame>publichealthengland/fingertips-open<gh_stars>1-10
@using Fpm.MainUI.Models
@model RemoveIndicatorsModel
<div id="removeIndicators" style="display: none;">
@using (Html.BeginForm("ConfirmRemoveIndicators", "ProfilesAndIndicators", FormMethod.Get, new { id = "RemoveIndicatorForm" }))
{
<div>
... | 2.148467 | 82f7f8700d8235f757e6e7f1bc629464 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842063 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hathu0610/Palette",
"max_stars_repo_path": "Assets/Scripts/Thu/GameMenu/Setting.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161283"
} | starcoder | using UnityEngine;
using System.Collections;
using UnityEngine.SceneManagement;
public class Setting : MonoBehaviour
{
public AudioClip cliptogglesoundsetting;
public void OnMouseDown()
{
// load a new scene
AudioSource.PlayClipAtPoint(cliptogglesoundsetting, new Vector3(5, 1, 2));
... | 1.658516 | 3ed430a10131df4941a53d1018e79a31 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842064 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MAXon28/MessangerClientServer",
"max_stars_repo_path": "MessangerClientServer/Server/EF/ChatDbContext.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161284"
} | starcoder | using System.Data.Entity;
using Server.Model;
namespace Server.EF
{
class ChatDbContext : DbContext
{
public ChatDbContext() : base ("DBConnection") { }
public DbSet<User> Users { get; set; }
public DbSet<ChatMessage> ChatMessages { get; set; }
public DbSet<Game... | 1.726786 | 38e15c9dc9d3b21cb11fa57b2508ebc4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842065 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "AngelsCheeseBurgerOrg/OneClickZip",
"max_stars_repo_path": "Includes/Resources/ResourcePropertiesModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161285"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OneClickZip.Includes.Resources
{
[Serializable]
public class ResourcePropertiesModel
{
private String uniquePropertyId;
private String propertyValue;
privat... | 2.03268 | 6394ac2d18f627a5e2af64e269fa7be4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842066 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LongDuongBIT/ASP.NET_Projects",
"max_stars_repo_path": "mvcarchitecture/Store.Web/ViewModels/CategoryViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161286"
} | starcoder | <gh_stars>0
using System.Collections.Generic;
namespace Store.Web.ViewModels
{
public class CategoryViewModel
{
public int CategoryID { get; set; }
public string Name { get; set; }
public List<GadgetViewModel> Gadgets { get; set; }
}
} | 1.326663 | 9aed299fcc2f0ca61819692c0e8a7497 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842067 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "multimac/Sourced",
"max_stars_repo_path": "src/Data.Pipes/PipelineConfig.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161287"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Data.Pipes.StateMachine;
namespace Data.Pipes
{
/// <summary>
/// The configuration options for a <see cref="Pipeline{TId, TData}"/>.
/// </summary>
public class PipelineConfig... | 2.45304 | a6dc020601c0c09ad1eaf68b22ec1441 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842068 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "planetouched/Unity3d_OEPFramework",
"max_stars_repo_path": "Game/AssetBundles/Futures/CascadeLoadingPromise.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161288"
} | starcoder | <reponame>planetouched/Unity3d_OEPFramework<filename>Game/AssetBundles/Futures/CascadeLoadingPromise.cs
using Basement.OEPFramework.Futures;
namespace Game.AssetBundles.Futures
{
public class CascadeLoadingPromise : Future
{
private readonly CascadeLoading _cascade;
public CascadeLoadingPromis... | 2.020527 | eb9e7dd0a2a558ab3f2c076c70322503 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842069 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RadicalFx/Radical.Windows.Presentation.CastleWindsor",
"max_stars_repo_path": "src/Radical.Windows.Presentation.CastleWindsor/Facilities/SubscribeToMessageFacility.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161289"
} | starcoder | <reponame>RadicalFx/Radical.Windows.Presentation.CastleWindsor
using System;
using System.Linq;
using Castle.MicroKernel.Facilities;
using System.Reflection;
using Topics.Radical.ComponentModel.Messaging;
using Topics.Radical.Reflection;
using System.Collections.Generic;
using Castle.MicroKernel;
using Topics.Radical;... | 2.374318 | 0cac68e2747ea9c456a597bee929a679 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842070 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "vkvenkat/corefx",
"max_stars_repo_path": "src/System.Runtime.Extensions/tests/System/Random.netcoreapp.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161290"
} | starcoder | // 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 Xunit;
namespace System.Tests
{
public static partial class RandomTests
{
[Fact]
publ... | 2.590457 | 8fe024aa469ff3741854ce277542938f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842071 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SNBnani/Xian",
"max_stars_repo_path": "Healthcare/ExternalPractitionerContactPoint.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161291"
} | starcoder | <filename>Healthcare/ExternalPractitionerContactPoint.cs<gh_stars>1-10
#region License
// Copyright (c) 2011, ClearCanvas Inc.
// All rights reserved.
// http://www.clearcanvas.ca
//
// This software is licensed under the Open Software License v3.0.
// For the complete license, see http://www.clearcanvas.ca/OSL... | 2.62403 | c1b35743ddf3262c9977ca0f0a692d97 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842072 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "longshilin/RecyclingListView",
"max_stars_repo_path": "GridScrollView/Demo/Example.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161292"
} | starcoder | <reponame>longshilin/RecyclingListView<filename>GridScrollView/Demo/Example.cs
using System.Collections.Generic;
using SuperScrollView;
using System.Linq;
using UnityEngine;
using UnityEngine.UI;
namespace Example_Grid
{
[DisallowMultipleComponent]
public sealed class Example : MonoBehaviour
{
[Se... | 2.281558 | a21b13f66bee70e2d8574bfe240a6c32 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842073 | {
"extension": "c-sharp",
"max_stars_count": "23.0",
"max_stars_repo_name": "JTOne123/HN.Controls.ImageEx",
"max_stars_repo_path": "src/HN.Controls.ImageEx.Core/Media/ImageBrushExFailedEventArgs.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161293"
} | starcoder | using System;
using JetBrains.Annotations;
namespace HN.Media
{
/// <inheritdoc />
/// <summary>
/// 图像源加载失败事件数据。
/// </summary>
public class ImageBrushExFailedEventArgs : EventArgs
{
/// <inheritdoc />
/// <summary>
/// 初始化 <see cref="ImageBrushExFailedEventArgs" /> 类的... | 2.557652 | 42912057ffb80863b4b6f3b57fce2c67 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842074 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Shaw6157/ToyLibrary",
"max_stars_repo_path": "Demo0607/Demo0607/Demo0607/ViewModels/UserViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161294"
} | starcoder | using Demo0607.Models;
using Demo0607.Services;
using System;
using System.Security.Cryptography;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Input;
using Xamarin.Forms;
namespace Demo0607.ViewModels
{
public class UserViewModel : BaseViewModel
{
User user = new User();
... | 2.531341 | 52fe43e4dd0894cb314b8500b8ca7c48 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842075 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "t-vajana/azure-sdk-for-net",
"max_stars_repo_path": "sdk/databox/Azure.Management.DataBox/src/Generated/Models/CloudError.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161295"
} | starcoder | <filename>sdk/databox/Azure.Management.DataBox/src/Generated/Models/CloudError.cs
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System.Collections.Generic;
namespace Azure.Management.DataBox.Models
{
/// <summary> Clo... | 2.029964 | 14c76b68788eda2d4518af973d0b6b85 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842076 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "bioharz/CleanArchitecture",
"max_stars_repo_path": "src/Domain/Entities/SaleItem.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161296"
} | starcoder | <reponame>bioharz/CleanArchitecture
using System;
namespace CleanArchitecture.Domain.Entities
{
public static class SaleItemConstants
{
public const int Scale = 2;
public const int Precision = 15; //see: https://docs.microsoft.com/en-us/sql/t-sql/data-types/money-and-smallmoney-transact-... | 2.205099 | 1c184f5d67074d24735f7dfd81ca7320 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842077 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "LyuboslavKrastev/BasicDesk-Project-CSharp-MVC-Frameworks-ASP.NET-Core",
"max_stars_repo_path": "BasicDesk.App/Pages/Chat.cshtml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161297"
} | starcoder | <reponame>LyuboslavKrastev/BasicDesk-Project-CSharp-MVC-Frameworks-ASP.NET-Core<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using BasicDesk.Data;
using BasicDesk.Data.Models;
using Microsoft.AspNetCore.Autho... | 2.241812 | f99aa69fc5d9c5a7a03f5142e5ebeed0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842078 | {
"extension": "c-sharp",
"max_stars_count": "27.0",
"max_stars_repo_name": "OwenMcDonnell/MonoAGS",
"max_stars_repo_path": "Source/Engine/AGS.Engine/Platform/IGameWindow.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161298"
} | starcoder | <reponame>OwenMcDonnell/MonoAGS
using System;
using AGS.API;
namespace AGS.Engine
{
public class FrameEventArgs : EventArgs
{
public double Time { get; set; }
}
public interface IGameWindow : IDisposable
{
event EventHandler<EventArgs> Load;
event EventHandler<EventArgs> R... | 2.242213 | 6759f5d2f0b9783f73f0e9598ae97c07 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842079 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TheDev6/Interview_SlotMachine",
"max_stars_repo_path": "src/ObjectOrientedSlotMachine/HandlePullResult.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161299"
} | starcoder | namespace ObjectOrientedSlotMachine
{
public class HandlePullResult
{
public bool IsWinner { get; set; }
}
}
| 1.771799 | 083eb59d6bf40cb4e97731096979e6e7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842080 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kiwipiet/Lucene.Net.ObjectMapping",
"max_stars_repo_path": "src/Lucene.Net.ObjectMapping/Linq/QueryProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161300"
} | starcoder | using Lucene.Net.Mapping;
using Lucene.Net.Search;
using System;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
namespace Lucene.Net.Linq
{
/// <summary>
/// Base class for IQueryProvider objects supporting the LuceneQueryable.
/// </summary>
public abstract class QueryProv... | 2.687343 | 5568bb66b3f560ba4fa5c541528ff704 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842081 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "yesicoo/XqStorageEngine",
"max_stars_repo_path": "SEHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161301"
} | starcoder | <filename>SEHelper.cs
#region 文件描述
//---------------------------------------------------------------------------------------------
// 文 件 名: SEHelper.cs
// 作 者:XuQing
// 邮 箱:<EMAIL>
// 创建时间:2015/4/3 9:54:09
// 描 述:
// 版 本:Version 1.0
//-----------------------------------------------------------------------... | 2.404152 | cc4fe32d938b6dbbf60be1fcf12c526e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842082 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "Yavari/Unofficial.Microsoft.AnalysisServices.AdomdClientNetCore",
"max_stars_repo_path": "AdomdClientNetCore/Microsoft.AnalysisServices.AdomdClient/MemberCollection.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161302"
} | starcoder | <filename>AdomdClientNetCore/Microsoft.AnalysisServices.AdomdClient/MemberCollection.cs
using System;
using System.Collections;
using System.Data;
namespace Microsoft.AnalysisServices.AdomdClient
{
public sealed class MemberCollection : ICollection, IEnumerable
{
public struct Enumerator : IEnumerator
{
priva... | 2.568171 | bbf585880fc16b22122d86b07dff9e99 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842083 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JVanloofsvelt/QBitNinja",
"max_stars_repo_path": "QBitNinja/DefaultDataDirectory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161303"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
namespace QBitNinja
{
public static class DefaultDataDirectory
{
/// <summary>
/// Get or create a directory rooted in a location that is specified as an environment variable
/// named either 'HOME', or 'APPDATA' (fallb... | 3.195183 | 96efc31b022ef1ad81c9e845f2d3516c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842084 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ItsAloof/TestMobile",
"max_stars_repo_path": "Assets/Scripts/Player/BigDecimal.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161304"
} | starcoder | using System.Numerics;
using System.Collections.Generic;
using System;
public class BigDecimal
{
BigInteger number { get; set; }
// The decimal remainer from a big integer
double change {get; set; }
public BigDecimal(BigInteger bigint, double number)
{
double remainder = number % 1;
... | 3.282443 | be8db94e3206caadce25e9f87960e82c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842085 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gordonc247/expression-evaluator",
"max_stars_repo_path": "src/InterpreterException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161305"
} | starcoder | using System;
namespace Codefire.ExpressionEvaluator
{
public class InterpreterException : Exception
{
public InterpreterException(string msg)
: base(msg) {
}
}
} | 1.747788 | 5ec6a09ed36fb377e455c56456c6f7c0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842086 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Warmag2/BtDamageResolver",
"max_stars_repo_path": "BtDamageResolver/src/Api/Entities/CriticalDamageEntry.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161306"
} | starcoder | <reponame>Warmag2/BtDamageResolver<filename>BtDamageResolver/src/Api/Entities/CriticalDamageEntry.cs
using System;
using Faemiyah.BtDamageResolver.Api.Enums;
namespace Faemiyah.BtDamageResolver.Api.Entities
{
[Serializable]
public class CriticalDamageEntry
{
/// <summary>
/// Empty constru... | 2.576746 | 48614acc3660a94b9c13996796a27439 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842087 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Wsm2110/Faster.Ioc.Zero",
"max_stars_repo_path": "src/Faster.Ioc.Zero.SourceGenerator/CodeGeneration/Util.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161307"
} | starcoder | namespace Faster.Ioc.Zero.SourceGenerator.CodeGeneration
{
public static class Util
{
public static string Using = "using";
public static string Namespace = "namespace";
public static string Class = "class";
public static string Enum = "enum";
public static string Interf... | 1.922897 | 9adc289d530a45bd529380c46526404e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842088 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hjkl950217/ExpressionToString",
"max_stars_repo_path": "Tests.DataGenerator/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161308"
} | starcoder | using ExpressionToString.Tests;
using System;
using System.Linq;
using Xunit;
using ExpressionToString.Util;
using System.Reflection;
using System.IO;
using static ExpressionToString.Tests.Functions;
using System.Collections.Generic;
using System.Linq.Expressions;
using static ExpressionToString.FormatterNames;
using ... | 2.36653 | d89673cd58c95f0b0a6af6520f1daa6b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842089 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Link-IT-Developer/VAF.Extensions.Community",
"max_stars_repo_path": "MFiles.VAF.Extensions/Email/Configuration/VAFSmtpConfiguration.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161309"
} | starcoder | <filename>MFiles.VAF.Extensions/Email/Configuration/VAFSmtpConfiguration.cs
using System.Collections.Generic;
using System.Runtime.Serialization;
using MFiles.VAF.Configuration;
using MFilesAPI;
using MFilesAPI.Extensions.Email;
namespace MFiles.VAF.Extensions.Email
{
[DataContract]
public class VAFSmtpConfiguratio... | 2.365591 | 158903f18a6f0ee308751238ac8ec5a7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842090 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "debiaggi/GrabCaster",
"max_stars_repo_path": "Framework/Signature.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161310"
} | starcoder | <filename>Framework/Signature.cs
using HYIS.Framework.Contracts;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
namespace HYIS.Framework
{
[DataContract]
internal class Signature:ISignature
{
/... | 2.215322 | 676a6a06a2562ba33d64bbf57d5981f4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842091 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rmanky/Gopher-Unity",
"max_stars_repo_path": "Assets/Scripts/Robot Controller/GripController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161311"
} | starcoder | <filename>Assets/Scripts/Robot Controller/GripController.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class GripController : MonoBehaviour
{
[System.Serializable]
private class FingerJoint {
public ArticulationBody body;
public float target;
}
... | 2.481793 | 6057a290fca9d3cc0e7c5227ab07ae2c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842092 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "DubsCheckum/pokeone-pluse",
"max_stars_repo_path": "Poke1Protocol/PokedexPokemon.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161312"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Poke1Protocol
{
public class PokedexPokemon
{
public string Name { get; }
public int Id { get; }
public bool Caught { get; private set; }
public bool Se... | 2.76801 | 35fa3da566b77bc4368d8ebaaad7d222 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842093 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "elonim/BookingOpgave",
"max_stars_repo_path": "BookingProject/Booking.Domain/Models/BookingCalendar.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161313"
} | starcoder | namespace Domain.Models;
public class BookingCalendar : IBookingCalendar
{
public Guid Id { get; set; }
public Guid TeacherId { get; set; }
public DateTime WindowStart { get; set; }
public DateTime WindowEnd { get; set; }
public List<Booking> Bookings { get; set; } = new();
public byte[] RowVe... | 1.695352 | 881021f6be208c20af42e9e0fbedb2e5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842094 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Doom2fan/veldrid",
"max_stars_repo_path": "src/Veldrid.SDL2/Sdl2.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161314"
} | starcoder | using System;
using System.Diagnostics;
using System.Reflection;
using System.Runtime.InteropServices;
namespace Veldrid.Sdl2
{
public static unsafe partial class Sdl2Native
{
[DllImport("SDL2", CallingConvention = CallingConvention.Cdecl, EntryPoint = "SDL_GetError")]
private static extern by... | 2.126894 | ac2a1e9188fa401772bab60204f20760 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842095 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "WEBCON-BPS/BPSExt-Teams",
"max_stars_repo_path": "BPSExt.Teams/CustomActions/AddAtachmentsToChannel/AttachmentsHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161315"
} | starcoder | using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using BPSExt.Teams.CustomActions.AddAttachmentsToChannel.Configuration;
using WebCon.WorkFlow.SDK.ActionPlugins.Model;
using WebCon.WorkFlow.SDK.Documents.Model.Attachments;
namespace BPSExt.Teams.CustomActions.Ad... | 2.008827 | b4023e297f054b8c088bbad03f279ba3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842096 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "j7an/launchkey-dotnet",
"max_stars_repo_path": "src/iovation.LaunchKey.Sdk/Transport/Domain/EntityType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161316"
} | starcoder | namespace iovation.LaunchKey.Sdk.Transport.Domain
{
public enum EntityType
{
Organization,
Directory,
Service
}
} | 1.141774 | ae31f51a5ac6944a6a1b8e9295e1dde0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842097 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mahedee/OODP",
"max_stars_repo_path": "SOLID/OCP/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161317"
} | starcoder | <reponame>mahedee/OODP<filename>SOLID/OCP/Program.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Program
{
class Program
{
public static void Main(string[] args)
{
Shape objShape = new Rectangle(20, 3... | 2.81364 | 7e6e1cd704cf17b6abfff1e6d857467a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842098 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Epinova/Epinova.IssuuMedia",
"max_stars_repo_path": "src/IMediaService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161318"
} | starcoder | using System.Threading.Tasks;
namespace Epinova.IssuuMedia
{
public interface IMediaService
{
/// <summary>
/// List all documents belonging to a user profile
/// </summary>
/// <param name="apiKey">Application key for the account</param>
/// <param name="apiSecret">Sec... | 2.29908 | ea13fddc739d3f44e6d0993a35982b29 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842099 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "zzgchina888/msdn-code-gallery-microsoft",
"max_stars_repo_path": "Visual Studio Product Team/Official Visual Studio 2008 C# Samples/[C#]-Official Visual Studio 2008 C# Samples/QueryVisualizer/C#/SqlServerQueryVisualizer/QueryResult.cs",... | starcoder | <filename>Visual Studio Product Team/Official Visual Studio 2008 C# Samples/[C#]-Official Visual Studio 2008 C# Samples/QueryVisualizer/C#/SqlServerQueryVisualizer/QueryResult.cs
//Copyright (C) Microsoft Corporation. All rights reserved.
using System;
using System.Collections.Generic;
using System.ComponentModel;
u... | 2.072783 | 85396d9d20762ec8d7ef41f8f0f7d40e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842100 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "bilke/unity",
"max_stars_repo_path": "Tools/C#/AlphanumComparatorFast.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161320"
} | starcoder | <filename>Tools/C#/AlphanumComparatorFast.cs
// Non-generic version from http://www.dotnetperls.com
using System.Collections.Generic;
public class AlphanumComparatorFast : IComparer<string>
{
public int Compare(string x, string y)
{
var s1 = x;
var s2 = y;
int len1 = s1.Length;
int len2 = s2.Length;
int ... | 3.658955 | c21159b63271008fb580b878543ec724 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842101 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Bartlett-RC3/skilling-module-1-LuHJL",
"max_stars_repo_path": "Assets/Scripts/Homework/Session3Homework.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161321"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Session3Homework : MonoBehaviour
{
//variables
// Start is called before the first frame update
void Start()
{
}
// Update is called once per frame
void Update()
{
MoveCube()... | 2.494621 | fdf9acec36783b5115bb29d8daf1ffaf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842102 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "cantte/MercadoPagoCore",
"max_stars_repo_path": "MercadoPagoCore/Client/User/UserClient.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161322"
} | starcoder | <filename>MercadoPagoCore/Client/User/UserClient.cs<gh_stars>1-10
using System.Threading;
using System.Threading.Tasks;
using MercadoPagoCore.Error;
using MercadoPagoCore.Http;
using MercadoPagoCore.Serialization;
namespace MercadoPagoCore.Client.User
{
/// <summary>
/// Client to get the User information.
... | 2.53615 | b7698fe726acc150702605e77ad50266 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842103 | {
"extension": "c-sharp",
"max_stars_count": "121.0",
"max_stars_repo_name": "makayla-moster/ClemBot",
"max_stars_repo_path": "ClemBot.Api/ClemBot.Api.Data/Migrations/20211217231226_AddDashboardEditClaim.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161323"
} | starcoder | <filename>ClemBot.Api/ClemBot.Api.Data/Migrations/20211217231226_AddDashboardEditClaim.cs
using System;
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace ClemBot.Api.Data.Migrations
{
public partial class AddDashboardEditClaim : Migration
{
protected override void Up(Migrati... | 1.448549 | 0ef782cb639051125347d47b494fc1ce |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842104 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Xaer033/YellowSign",
"max_stars_repo_path": "YellowSignUnity/Assets/Src/Game/GamePlay/Creeps/CreepSpawnInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161324"
} | starcoder | using TrueSync;
public struct CreepSpawnInfo
{
public static CreepSpawnInfo Create(
byte ownerId,
TSVector position,
TSQuaternion rotation,
byte targetOwnerId,
TSVector targetPosition)
{
CreepSpawnInfo spawnInfo = new CreepSpawnInfo();
... | 2.227557 | fbc5075348688f7253b597611986e247 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842105 | {
"extension": "c-sharp",
"max_stars_count": "53.0",
"max_stars_repo_name": "mnchikh/vtfuture-BForms.MVC",
"max_stars_repo_path": "BForms/Renderers/BsToolbarActionRenderer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161325"
} | starcoder | using BForms.Grid;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web.Mvc;
namespace BForms.Renderers
{
/// <summary>
/// For toolbar with forms
/// </summary>
public class BsToolbarActionRenderer<TToolbar> ... | 2.232841 | 19fd8da6cd1265a71d8203e89793bd11 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842106 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hito4t/PerfMonAWS",
"max_stars_repo_path": "PerfMonAWSService/Service1.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161326"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Diagnostics;
using System.IO;
using System.ServiceProcess;
using System.Text;
using System.Threading.Tasks;
using PerfMonAWS;
namespace PerfMonAWSService
{
public partial class Service1 : Se... | 1.72076 | d1ba5402c48de61ef1bb7a7988927f44 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842107 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "johnmott59/ShapeTemplate",
"max_stars_repo_path": "Documentation/ItemDoc/ItemDoc.XMLStructure.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161327"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Xml.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Reflection;
namespace ShapeTemplateLib
{
public partial class ItemDoc
{
/// <summary>
/// Show the XML elements used for an insta... | 2.72917 | a6d8368da8571050e38487ddad33b784 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842108 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BrettRegnier/MissileCommand",
"max_stars_repo_path": "missile_command/src/Utility.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161328"
} | starcoder | <filename>missile_command/src/Utility.cs
namespace missile_command
{
public enum GameModes
{
SURVIVAL,
WAVE
}
public enum PType
{
ENEMY = 0,
PLAYER = 1
};
public enum ETag
{
SYSTEM,
PLAYER1,
PLAYER2,
PLAYER3,
ENEMY
}
public enum Direction
{
NONE = 0,
UP,
RIGHT,
DOWN,
LEFT
};
pu... | 2.347398 | f08a0a947cb405e620589a54a7e9424e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842109 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kbrimble/Dota2.Client",
"max_stars_repo_path": "KBrimble.Dota2.Client/Responses/InnerResponses/PicksAndBansResponse.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161329"
} | starcoder | <reponame>kbrimble/Dota2.Client
using KBrimble.Dota2.Client.Domain;
using KBrimble.Dota2.Client.Domain.MatchInformation;
using Newtonsoft.Json;
namespace KBrimble.Dota2.Client.Responses.InnerResponses
{
internal class PicksAndBansResponse
{
[JsonProperty("HeroId")]
public Hero Hero { ... | 1.281726 | ae5262aaf20d1cafbec554102f07f89e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842110 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "LasToPe/PathfinderTools",
"max_stars_repo_path": "GetData/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161330"
} | starcoder | <reponame>LasToPe/PathfinderTools
using System;
using HtmlAgilityPack;
using ScrapySharp.Extensions;
using ScrapySharp.Network;
using System.Linq;
using System.Collections.Generic;
using Newtonsoft.Json;
using System.IO;
using System.Text.RegularExpressions;
using System.Text;
using DataTypes;
namespace WebScrapeTest... | 2.072916 | 160837187986603cf3a9d0209f7bf712 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842111 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "systemgroupnet/SG.TestRunService",
"max_stars_repo_path": "SG.TestRunService/Data/BuildInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161331"
} | starcoder | <filename>SG.TestRunService/Data/BuildInfo.cs
using SG.TestRunService.Infrastructure;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace SG.TestRunService.Data
{
public class BuildInfo : IEntity<int>
{
... | 1.996274 | c2f5bac2306f5372adf83dc490d50a06 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.