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 | 8841212 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "JDiaz11/office-ribbonx-editor",
"max_stars_repo_path": "src/OfficeRibbonXEditor/Properties/AssemblyInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160432"
} | starcoder | <filename>src/OfficeRibbonXEditor/Properties/AssemblyInfo.cs
using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
[assembly: SuppressMessage("SonarLint", "S3267", Justification = "This warning is about 'simplifying' foreach loops with LINQ expressions. More often than not, the alternative is ... | 1.764218 | e2f03e1aea9d2e0a6b1f42fb98d83c41 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841213 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "IgorVukovic753/FbBot",
"max_stars_repo_path": "libraries/Adapters/Microsoft.Bot.Builder.Adapters.Facebook/FacebookEvents/Templates/DefaultAction.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160433"
} | starcoder | <gh_stars>1-10
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using Newtonsoft.Json;
namespace Microsoft.Bot.Builder.Adapters.Facebook.FacebookEvents.Templates
{
public class DefaultAction
{
/// <summary>
/// Gets or sets the type... | 1.962949 | 2178ec150e1f59e7224d5896180e52b5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841214 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "AndroFARsh/ComputeShaderExperiments",
"max_stars_repo_path": "Assets/Histogram/Editor/BaseGpuHistogramTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160434"
} | starcoder | <reponame>AndroFARsh/ComputeShaderExperiments
using NUnit.Framework;
using ShaderUtils;
public abstract class BaseGpuHistogramTest {
private IHistogram gpuHist;
protected abstract IHistogram CreateGpuHistogram();
[SetUp]
public void SetUp()
{
gpuHist = CreateGpuHistogram();
}
[Test]
public void Histogr... | 2.120453 | 3004b9c77f1d739cb2ccb0daa2cf4396 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841215 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "staggartcreations/CurveLUT",
"max_stars_repo_path": "CurveLUT.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160435"
} | starcoder | using UnityEngine;
namespace CurveLUTGenerator
{
public class CurveLUT
{
//Resolutions lower than 256 will start to show a grey line at the bottom
//High resolutions aren't needed thanks to bilinear interpolation between texels
private const int resolution = 256;
publi... | 2.818907 | e654f85808b5988d8fadc549d1d1808d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841216 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "zhangkong828/SchedulerZ",
"max_stars_repo_path": "src/SchedulerZ.Manager.API/Model/Dto/UserDto.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160436"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace SchedulerZ.Manager.API.Model.Dto
{
public class UserDto
{
public long Id { get; set; }
public string Username { get; set; }
//public string Password { get; set; }
publi... | 1.699511 | 3cecb37e486d047f4e9c646be27e2332 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841217 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "radoslawmarek/GoToTheCloud",
"max_stars_repo_path": "PIcodeFirst.GoToTheCloud.FrontEnd/Views/Account/SignedOut.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:160437"
} | starcoder |
@{
ViewData["Title"] = "Wylogowany";
}
<h2>Wylogowany</h2>
| 1.799455 | 17dd929382ffefaaa22180025a2df757 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841218 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GraOOu/Dev",
"max_stars_repo_path": "MNIST/MNISTVisualInterface.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160438"
} | starcoder | namespace MNIST
{
partial class MNISTViewer
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param ... | 2.263404 | 7d32ab6e2c21ada81afbec4ef32338a9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841219 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "pengwin/DotNetOS",
"max_stars_repo_path": "IL2AsmTranspiler/Implementations/CodeChunks/InernedStringCodeChunk.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160439"
} | starcoder | using System.Linq;
using System.Text;
using IL2AsmTranspiler.Interfaces;
using IL2AsmTranspiler.Interfaces.CodeChunks;
namespace IL2AsmTranspiler.Implementations.CodeChunks
{
internal class InernedStringCodeChunk : IInernedStringCodeChunk
{
public InernedStringCodeChunk(string label, string stringToIn... | 2.784471 | 9e0ad5e468563df3a9fcd393e8ef47d8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841220 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jtschuster/runtime",
"max_stars_repo_path": "src/libraries/System.Data.Common/src/System/Data/Common/DefaultDataSource.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160440"
} | starcoder | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
namespace System.Data.Common
{
internal sealed class DefaultDataSource : DbDataSource
{
private readonly DbProviderFactory _dbProviderFactory;
private readonl... | 2.497901 | 04233f789517c4b11eb585773f2007e6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841221 | {
"extension": "c-sharp",
"max_stars_count": "21.0",
"max_stars_repo_name": "dolkensp/HoloXPLOR",
"max_stars_repo_path": "HoloXPLOR.Data/DataForge/AutoGen/SCItemComponentParams.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160441"
} | starcoder | <filename>HoloXPLOR.Data/DataForge/AutoGen/SCItemComponentParams.cs<gh_stars>10-100
using System;
using System.Xml.Serialization;
namespace HoloXPLOR.Data.DataForge
{
[XmlRoot(ElementName = "SCItemComponentParams")]
public partial class SCItemComponentParams
{
}
}
| 1.55533 | b028f4c55ba26b1a012d6cd5d6af46df |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841222 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "NextAudio/NextAudio",
"max_stars_repo_path": "src/NextAudio/Core/IAudioPlayer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160442"
} | starcoder | using System;
using System.IO.Pipelines;
using System.Threading;
using System.Threading.Tasks;
namespace NextAudio
{
/// <summary>
/// Represents an audio player that can play tracks.
/// </summary>
public interface IAudioPlayer : IAsyncDisposable, IDisposable
{
/// <summary>
/// Th... | 2.860057 | d03857fc37b443aa9d779b6031e21366 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841223 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Seddryck/NBi.CosmosDb",
"max_stars_repo_path": "NBi.Core.CosmosDb/Query/Command/GraphCommandOperation.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160443"
} | starcoder | using Microsoft.Azure.Documents.Linq;
using NBi.Core.CosmosDb.Query.Client;
using Microsoft.Azure.Graphs;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Azure.Graphs.Elements;
namespace NBi.Core.CosmosDb.Query.Command
{
class Gra... | 1.32944 | ca7d29f89c3e99b6ba91ac0a22f130d7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841224 | {
"extension": "c-sharp",
"max_stars_count": "74.0",
"max_stars_repo_name": "Razchek/Unispect",
"max_stars_repo_path": "Unispect/Enums/Offsets.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160444"
} | starcoder | // -ReSharper disable UnusedMember.Global
// todo: move all structs into their own class files maybe
namespace Unispect
{
// Structures and offsets created manually with references to the module memory, IDA disassembly with pdb and:
// https://github.com/Unity-Technologies/mono/blob/unity-2018.4-mbe
inter... | 1.863539 | 91250498de183396da56439b8737d920 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841225 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DrJohnMelville/Pdf",
"max_stars_repo_path": "Src/Melville.Pdf.LowLevel/Writers/DocumentWriters/NewXrefTableWriter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160445"
} | starcoder | using System;
using System.IO.Pipelines;
using System.Threading.Tasks;
namespace Melville.Pdf.LowLevel.Writers.DocumentWriters;
public static class NewXrefTableWriter
{
/// <summary>
/// This method writes out an xref table with the offsets indicated.
/// this method mutates the refs parameter.
/// <... | 2.490994 | 744abef4d72918ab584929b133edb0df |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841226 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bazile/Training",
"max_stars_repo_path": "CSharp/L05-S02-EventHandlerList/Book.Tests/BookFixture.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160446"
} | starcoder | <gh_stars>0
using System;
using NUnit.Framework;
namespace Belhard.Training.UnitTests
{
[TestFixture]
public class BookFixture
{
[Test]
public void Test1()
{
}
}
}
| 1.019421 | e8a46c4a06e14bad8cb88181c39db050 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841227 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pramo/Maileon",
"max_stars_repo_path": "Maileon/Transactions/Collections/TransactionTypeCollection.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160447"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;
namespace Maileon.Transactions
{
/// <summary>
/// A class for wrapping a list of contacts
/// </summary>
[XmlRoot("transaction_types")]
public class ... | 2.708071 | 3d7184c6c1d777332eac13e22356f3dc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841228 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "correaAlex/YAFNET",
"max_stars_repo_path": "yafsrc/YetAnotherForum.NET/Controls/PMList.ascx.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160448"
} | starcoder | <filename>yafsrc/YetAnotherForum.NET/Controls/PMList.ascx.cs
/* Yet Another Forum.NET
* Copyright (C) 2003-2005 <NAME>
* Copyright (C) 2006-2013 <NAME>
* Copyright (C) 2014-2022 <NAME>
* https://www.yetanotherforum.net/
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor ... | 1.87152 | b29371c44b0c10c93f077cf2bf3e1a28 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841229 | {
"extension": "c-sharp",
"max_stars_count": "85.0",
"max_stars_repo_name": "m0c1-us/PowerToys",
"max_stars_repo_path": "src/common/interop-tests/UnitTest1.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160449"
} | starcoder | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.IO.Pipes;
using interop;
using System.IO;
using System.Threading;
using System.Text;
namespace interop_tests
{
[TestClass]
public class UnitTest1
{
private string SERVER_SIDE = "\\\\.\\pipe\\serverside";
... | 2.674009 | b24729a01c6c467b083c4c3e18d05676 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841230 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "bricefriha/AresGaming",
"max_stars_repo_path": "AresNews/AresNews/Controls/HtmlContent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160450"
} | starcoder | <filename>AresNews/AresNews/Controls/HtmlContent.cs<gh_stars>1-10
using LabelHtml.Forms.Plugin.Abstractions;
using System;
using System.Collections.Generic;
using System.Text;
using Xamarin.Forms;
namespace AresNews.Controls
{
public class HtmlContent : HtmlLabel
{
}
}
| 1.393402 | 67a655ecef31cd2e2f1d71e9f99b5142 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841231 | {
"extension": "c-sharp",
"max_stars_count": "119.0",
"max_stars_repo_name": "waterbuddy16/NitoriWare",
"max_stars_repo_path": "Assets/Microgames/KnifeDodge/Scripts/KnifeDodgeHilt.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160451"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class KnifeDodgeHilt : MonoBehaviour {
// Use this for initialization
void Start () {
GetComponent<SpriteRenderer> ().color = new Color(Random.Range(0.0f, 1.0f),Random.Range(0f, 1.0f),Random.Range(0f, 1.0f),Random.Range(0.5f, 1... | 1.756057 | 9c2c78d8b1a10c55c76837eb6f9e9ac4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841232 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "jurishev/memento",
"max_stars_repo_path": "server/Mem.Core/ProtoModels/ProtoArea.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160452"
} | starcoder | <reponame>jurishev/memento
using System.Collections.Generic;
namespace Mem.Core
{
public class ProtoArea
{
public ProtoAreaInfo Info { get; set; }
public List<ProtoRoom> Rooms { get; set; }
public List<ProtoItem> Items { get; set; }
public List<ProtoMobile> Mobiles { get; se... | 1.302172 | 97c5452fc5982705447c89163d0c0b60 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841233 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "across0406/ImageProcessing",
"max_stars_repo_path": "DetectPosition/DetectPosition/Spline3D.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160453"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CubicSpline
{
public class Spline3D
{
#region Nested Classes
public static class Curve
{
public static Cubic[] CalcCurve(int n, float[] axis)
... | 3.241284 | 7ac72715faf0f8b4f733a47768d8e732 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841234 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lotosbin/smsbao-dotnet-sdk",
"max_stars_repo_path": "smsbao/(Implements)/SmsbaoService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160454"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Web;
using Binbin.HttpHelper;
namespace smsbao
{
/// <summary>
/// http://www.smsbao.com/
/// http://smsbao.com/openapi
/// 错误代码表
/// 30:密码错误
/// 40:账号不存在
/// 41:余额不足
/// 42:帐号过期
//... | 2.29644 | 0ae4c4d2e1d6a2389bc5131a2c44980c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841235 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Lakerfield/bunqsdk",
"max_stars_repo_path": "src/Lakerfield.BunqSdk/Model/Generated/NoteAttachmentSofortMerchantTransactionDelete.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160455"
} | starcoder | <reponame>Lakerfield/bunqsdk
using Newtonsoft.Json;
namespace Lakerfield.BunqSdk.Model
{
[BunqObject("NoteAttachmentSofortMerchantTransactionDelete")]
public class NoteAttachmentSofortMerchantTransactionDelete
{
// TODO: Empty class in definition
}
}
| 0.992243 | a50a237480fea56b67e289a41b7d1bd5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841236 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "WamWooWam/HedgeModManager",
"max_stars_repo_path": "HedgeModManager/src/SS16MessageBox.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160456"
} | starcoder | using HedgeModManager.Properties;
namespace SS16
{
partial class SS16MessageBox
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
... | 1.915809 | bf5af229739f10f5594ea5112bed1b1d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841237 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "StratosBlue/Cuture.Extensions.Configuration.Nacos",
"max_stars_repo_path": "src/Cuture.Extensions.Configuration.Nacos/TaskExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160457"
} | starcoder | namespace System.Threading.Tasks
{
internal static class TaskExtensions
{
#region Public 方法
public static void WaitWithoutContext(this Task task)
{
if (task.IsCompleted)
{
return;
}
task.ConfigureAwait(false).GetAwaiter()... | 2.891507 | e66b8ab77d1d25cd057d8cff5323e965 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841238 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DreichDreneich/rehearsal-portal-server",
"max_stars_repo_path": "RehearsalPortal.Core/Repositories/Interfaces/IBaseUserRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160458"
} | starcoder | using RehearsalPortal.Domain;
namespace RehearsalPortal.Core
{
public interface IBaseUserRepository : IBasicRepository<BaseUser>
{
BaseUser GetBaseUserByUserId(System.Guid userId);
}
}
| 1.609432 | 3d744d5b1e2a5ba3e404555c71909be9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841239 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "jburman/Owin.ServiceWorker",
"max_stars_repo_path": "sample/Owin.ServiceWorkerSample/App_Start/OwinStartup.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160459"
} | starcoder | <filename>sample/Owin.ServiceWorkerSample/App_Start/OwinStartup.cs
using System.Configuration;
using Microsoft.Owin;
using Owin.ServiceWorker;
[assembly: OwinStartup(typeof(Owin.ServiceWorkerSample.OwinStartup))]
namespace Owin.ServiceWorkerSample
{
public class OwinStartup
{
public void Configuratio... | 1.847619 | e445de504cd2368a9312008b7feb5fde |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841240 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "pablocastilla/NServiceBus.Kafka",
"max_stars_repo_path": "src/NServiceBus.Kafka.AcceptanceTests/App_Packages/NSB.AcceptanceTests.6.1.3/Config/When_multiple_configuration_providers.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160... | starcoder | <reponame>pablocastilla/NServiceBus.Kafka
namespace NServiceBus.AcceptanceTests.Config
{
using System;
using AcceptanceTesting;
using EndpointTemplates;
using Features;
using NServiceBus.Config.ConfigurationSource;
using NUnit.Framework;
public class When_multiple_configuration_providers :... | 1.503063 | f5ca78f552de89f9d8c0feb0d0395ae2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841241 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "Taybenberg/BungieSharper",
"max_stars_repo_path": "BungieSharper.CodeGen.Entities/Components/Response/ResponseObject.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160461"
} | starcoder | using BungieSharper.CodeGen.Entities.Common;
using System.Text.Json.Serialization;
namespace BungieSharper.CodeGen.Entities.Components.Response
{
public class ResponseObject
{
[JsonPropertyName("description")]
public string? Description { get; set; }
[JsonPropertyName("content")]
... | 1.937053 | a6d4203178f8f7edac66c16e56e9d0fd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841242 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jmeyblum/Hollywood",
"max_stars_repo_path": "Packages/com.jeanmeyblum.hollywood/Editor/UnityAssemblyInjection/InjectableMonoBehaviour.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160462"
} | starcoder | using Mono.Cecil;
namespace Hollywood.Editor.UnityAssemblyInjection
{
internal class InjectableMonoBehaviour
{
public TypeDefinition Type;
public TypeReference MonoBehaviourBaseType;
public InjectableMonoBehaviour(TypeDefinition type)
{
Type = type;
}
}
}
| 1.716872 | 77877b05f53a6fad51ebf23482dde113 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841243 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NETponents/war-of-katan",
"max_stars_repo_path": "war-of-katan/war-of-katan/MainMenuScreen.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160463"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Katan.Graphics;
namespace Katan
{
namespace Screens
{
class MainMenuScreen : Screen
{
/// <summary>
/// Creates and instance of the MainMenu object.
/// </summary>
... | 2.856375 | 8f13bb9b7c325f7983d24733b284e374 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841244 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dotnetjunkie/NServiceBus",
"max_stars_repo_path": "src/NServiceBus.Hosting.Windows/WindowsHost.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160464"
} | starcoder | <filename>src/NServiceBus.Hosting.Windows/WindowsHost.cs<gh_stars>0
namespace NServiceBus.Hosting.Windows
{
using System;
using System.Collections.Generic;
/// <summary>
/// A windows implementation of the NServiceBus hosting solution
/// </summary>
public class WindowsHost : MarshalByR... | 2.550625 | 3868bbbac74790b935edb99e8d788340 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841245 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "rwobig93/Panacea",
"max_stars_repo_path": "Panacea/Windows/Popups/MacPopup.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160465"
} | starcoder | using Panacea.Classes;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
using System.Windows.Media.Animation;
using static Panac... | 2.392762 | a304fabdd3e1dd632069af8171a07475 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841246 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "UltraCombos/SecondeBody",
"max_stars_repo_path": "Project/Unity-SecondBody/Assets/UltraCombos.MeshBuffer/Runtime/NativeHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160466"
} | starcoder | <filename>Project/Unity-SecondBody/Assets/UltraCombos.MeshBuffer/Runtime/NativeHelper.cs
/*
* Native dll invocation helper by <NAME>
* www.runningdimensions.com/blog
*/
using System;
using System.Runtime.InteropServices;
using UnityEngine;
public static class Native
{
public static T Invoke<T, T2>(IntPtr library... | 2.507504 | 8e256971a55c4fee6fe4989a646bc8e7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841247 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "marinaRupe/FER.RAUPJC-PROJEKT",
"max_stars_repo_path": "SimpleWebEditor/src/SimpleWebEditorApplication/Core/Repositories/PageSqlRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160467"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using SimpleWebEditorApplication.Core.Interfaces;
using SimpleWebEditorApplication.Core.Models;
namespace SimpleWebEditorApplication.Core.Repositories
{
public class PageSqlRepository : SqlRepositoryBase<Gu... | 2.726207 | 1c0555034046fc55c6c479f819dabc57 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841248 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "ctrl-alt-d/DoNotSleep",
"max_stars_repo_path": "donotsleep/MainWindow.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160468"
} | starcoder | <gh_stars>1-10
namespace DAVIDSystems.donotsleep
{
partial class MainForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// ... | 1.654521 | 0b3925a184d24c5ed5a7f078388da3cb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841249 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gteijeiro/mikrotik4net",
"max_stars_repo_path": "tik4net.ApiGenerator/Properties/Resources.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160469"
} | starcoder | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.5448
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated... | 2.065171 | a1d451d0d69578bf7e1025e105ad8427 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841250 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Homely/Homely.HackDays.ListingsAI",
"max_stars_repo_path": "src/Homely.HackDays.ListingsAI.WebUI/Models/HomelyListing/Info.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160470"
} | starcoder | <filename>src/Homely.HackDays.ListingsAI.WebUI/Models/HomelyListing/Info.cs
namespace Homely.HackDays.ListingsAI.WebUI.Models.HomelyListing
{
public class Info
{
public string Description { get; set; }
}
} | 1.690664 | 1aeb3e92e6299053674c339599b3092c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841251 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mengke2815/net6-project",
"max_stars_repo_path": "NET6.Domain/ViewModels/JsonView.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160471"
} | starcoder | namespace NET6.Domain.ViewModels;
/// <summary>
/// 统一返回结构
/// </summary>
public class JsonView
{
/// <summary>
/// 状态码
/// </summary>
public int Code { get; set; }
/// <summary>
/// 消息
/// </summary>
public string Msg { get; set; }
/// <summary>
/// 条数
/// </summary>
p... | 1.939869 | ea5fd73daf32006465297f074c5dae36 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841252 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "stormmuller/DDD-Caching",
"max_stars_repo_path": "CachedDomainState.Domain.Core/IDataSource.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160472"
} | starcoder | <gh_stars>0
namespace CachedDomainState.Domain.Core
{
using System;
public interface IDataSource<TEntity> where TEntity : IEntity
{
TEntity GetEntity(Func<TEntity, bool> filter);
}
}
| 1.58742 | c29b858e3ca0382aa15e2459e6355a67 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841253 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "trisagion-games/Convergence-game",
"max_stars_repo_path": "Assets/Scripts/EndingScene.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160473"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using TMPro;
using UnityEngine;
using UnityEngine.UI;
public class EndingScene : MonoBehaviour {
public AudioSource dingSource;
public AudioSource errorSource;
public AudioSource beepSource;
public AudioSource musicSource;
public List<I... | 2.090889 | 0cde67ef1d215963d6325471aba46d6a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841254 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Myrddyn/GitObjectDb",
"max_stars_repo_path": "GitObjectDb/Extensions/IServiceProviderExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160474"
} | starcoder | <filename>GitObjectDb/Extensions/IServiceProviderExtensions.cs
using System;
using System.Collections.Generic;
using System.Text;
namespace System
{
/// <summary>
/// A set of methods for instances of <see cref="IServiceProvider"/>.
/// </summary>
internal static class IServiceProviderExtensions
{
... | 2.789494 | 43784949f529ca2bf2bb9e2dcac896c0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841255 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "uwgraphics/Leap",
"max_stars_repo_path": "Tools/SpeechServer/SpeechServer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160475"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Speech.AudioFormat;
using System.Speech.Recognition;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace SpeechServer
{
public class SpeechServer : ISpeechServer
{
public Sp... | 2.635818 | dc09038a41299f57b367b857b5daef31 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841256 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "charlenni/Xam-GLMap-Android",
"max_stars_repo_path": "Xam-GLMap-Android/Additions/GLMapView.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160476"
} | starcoder | using Java.Lang;
using System;
namespace GLMap
{
public partial class GLMapView
{
public GLMap.GLMapTileState CenterTileState
{
get
{
return (GLMap.GLMapTileState)getCenterTileState().Ordinal();
}
}
public GLMapRasterTileSour... | 2.058998 | efc29b883776029ff17dcc3fbbdb8223 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841257 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "muaddibco/O10city",
"max_stars_repo_path": "Common/O10.Core/Architecture/RegisterWithSimulatorFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160477"
} | starcoder | using System;
namespace O10.Core.Architecture
{
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface, Inherited = false, AllowMultiple = true)]
public class RegisterWithSimulatorFactory : RegisterType
{
public RegisterWithSimulatorFactory(Type factoryType)
{
Fac... | 2.26481 | 6ca1dfbbd2e223ca10d0463b51db9839 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841258 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "igoreksiz/NetOffice",
"max_stars_repo_path": "Source/MSHTML/Behind/Classes/HTMLLinkElement.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160478"
} | starcoder | using System;
using NetRuntimeSystem = System;
using System.ComponentModel;
using NetOffice.Attributes;
namespace NetOffice.MSHTMLApi.Behind
{
/// <summary>
/// CoClass HTMLLinkElement
/// SupportByVersion MSHTML, 4
/// </summary>
[SupportByVersion("MSHTML", 4)]
[EntityType(EntityType.IsCoClass)]
[ComEvent... | 1.199002 | 2a58bea69e4526af2ebf06f2f1575600 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841259 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "wagnerhsu/packt-Customizing-ASP.NET-Core-5.0",
"max_stars_repo_path": "Chapter04/HttpSample5.0/Views/_ViewImports.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:160479"
} | starcoder | @using HttpSample
@using HttpSample.Models
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
| 1.682588 | 62433f0a8e1cf0efb3d1c9cc58041d1f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841260 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Seddryck/NBi.Gremlin",
"max_stars_repo_path": "NBi.Testing.Core.Gremlin.Unit/Query/Client/GremlinClientTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160480"
} | starcoder | <reponame>Seddryck/NBi.Gremlin
using NBi.Core;
using NBi.Core.Gremlin.Query.Client;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NBi.Testing.Core.Gremlin.Unit.Query.Client
{
public class GremlinClientTest
{... | 1.867033 | 656cf097b8384869334c1d18bc47d9ef |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841261 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "InKahootz/Cake.Svn",
"max_stars_repo_path": "src/Cake.Svn/Info/SvnInfoSettingsExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160481"
} | starcoder | <filename>src/Cake.Svn/Info/SvnInfoSettingsExtensions.cs
using Cake.Svn.Internal.Extensions;
using SharpSvn;
namespace Cake.Svn.Info
{
internal static class SvnInfoSettingsExtensions
{
internal static SvnInfoArgs ToSvnInfoArgs(this SvnInfoSettings settings)
{
settings.NotNull(nameo... | 2.38034 | 946d9f11d553b2fac2d5460c49af1c44 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841262 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "webigboss/Leetcode",
"max_stars_repo_path": "01.AlgorithmPlayground/FractionAdditionandSubtraction_LC592/FractionAdditionandSubtraction.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160482"
} | starcoder | using System;
using System.Text.RegularExpressions;
namespace AlgorithmPlayground
{
public class FractionAdditionandSubtraction
{
public FractionAdditionandSubtraction()
{
var result = FractionAddition("5/20+10/20");
}
public string FractionAddition(string expressi... | 3.461056 | 0985f95419ebc901bd7b916b9f388f08 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841263 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "MicrosoftResearch/SHS",
"max_stars_repo_path": "Library/StoreInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160483"
} | starcoder | /*
* SHS -- The Scalable Hyperlink Store
*
* Copyright (c) Microsoft Corporation
* 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.
* You may obtain a copy of the License at
*
* http://www.apach... | 2.184125 | ca48bd9cbc582e09803fc6847f336d0f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841264 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "alopezlago/Quiz-Bowl-Discord-Tournament-Assistant",
"max_stars_repo_path": "QBDiscordAssistant/QBDiscordAssistant/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160484"
} | starcoder | using System;
using System.IO;
using System.Threading.Tasks;
using Newtonsoft.Json;
using Serilog;
using Serilog.Events;
namespace QBDiscordAssistant
{
internal class Program
{
// 200 MB file limit
private const long maxLogfileSize = 1024 * 1024 * 200;
// Following the example from htt... | 2.703145 | 3e35494c55fac45ccb68d2d84da7d49b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841265 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "lewisbennett/dialog-messaging",
"max_stars_repo_path": "samples/Sample.MvvmCross.Core/MainViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160485"
} | starcoder | using MvvmCross.Commands;
using MvvmCross.ViewModels;
using Sample.MvvmCross.Core.Messaging;
namespace Sample.MvvmCross.Core
{
public class MainViewModel : MvxViewModel
{
public IMvxCommand ActionSheetButtonClickCommand { get; set; }
public IMvxCommand ActionSheetBottomButtonClickCommand { ge... | 1.946401 | e791b6eb3eec586f5a7c54bc78f2684e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841266 | {
"extension": "c-sharp",
"max_stars_count": "203.0",
"max_stars_repo_name": "sfsharapov/ViennaNET",
"max_stars_repo_path": "src/ViennaNET.Logging/Configuration/TextFileValidator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160486"
} | starcoder | using System;
using ViennaNET.Logging.Contracts;
namespace ViennaNET.Logging.Configuration
{
public class TextFileValidator : IListenerValidator
{
public void Validate(LogListener listener)
{
VerifyTextAppendParameter(listener);
VerifyTextMaxSizeParameter(listener);
VerifyPreserveLogFile... | 2.507903 | 8e5c2e2079f2f1bdc3548c657f7633e3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841267 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "fablecode/dueltank",
"max_stars_repo_path": "src/uwp/src/dueltank/Presentation/dueltank/ViewModels/Cards/CardsViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160487"
} | starcoder | namespace dueltank.ViewModels.Cards
{
public class CardsViewModel
{
}
} | 0.825111 | fc888eeb39123cbacf297858252ce055 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841268 | {
"extension": "c-sharp",
"max_stars_count": "36.0",
"max_stars_repo_name": "momoma-null/MomomaTools",
"max_stars_repo_path": "Editor/TreeView/MeshRendererExplorer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160488"
} | starcoder | <filename>Editor/TreeView/MeshRendererExplorer.cs
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.Rendering;
using UnityEditor;
using UnityEditor.IMGUI.Controls;
using UnityEditor.Experimental.SceneManagement;
namespace MomomaAssets
{
cl... | 1.971029 | d88c814ab6046adff0155b972cb28feb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841269 | {
"extension": "c-sharp",
"max_stars_count": "263.0",
"max_stars_repo_name": "gordonjohnpatrick/XobotOS",
"max_stars_repo_path": "android/naked-stubs/javax/crypto/KeyAgreementSpi.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160489"
} | starcoder | using Sharpen;
namespace javax.crypto
{
[Sharpen.NakedStub]
public abstract class KeyAgreementSpi
{
}
}
| 0.952947 | 6672d93e2bee4e7451fba81df4bfdfe6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841270 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jvtroyen/golden-gate",
"max_stars_repo_path": "src/Our.Umbraco.GoldenGate.uSync/Models/PreValue.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160490"
} | starcoder | <reponame>jvtroyen/golden-gate<gh_stars>0
using Newtonsoft.Json;
namespace Our.Umbraco.GoldenGate.uSync.Models
{
public class PreValue
{
[JsonProperty("id")]
public int Id { get; set; }
[JsonProperty("value")]
public string Value { get; set; }
}
} | 1.581045 | 39f24531d5d2efd83a905d44f68ce691 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841271 | {
"extension": "c-sharp",
"max_stars_count": "254.0",
"max_stars_repo_name": "larsw/dotnetrdf",
"max_stars_repo_path": "Testing/unittest/Parsing/RdfJsonParserTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160491"
} | starcoder | <reponame>larsw/dotnetrdf
using System;
using System.Linq;
using FluentAssertions;
using Xunit;
namespace VDS.RDF.Parsing
{
public class RdfJsonParserTests
{
[Fact]
public void ItShouldParseAnIso8601DateTimeLiteral()
{
var json = @"
{
""http://example.com"": {
""http... | 2.439109 | f2dade48cc4111df23ce62b0a76b93b3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841272 | {
"extension": "c-sharp",
"max_stars_count": "22.0",
"max_stars_repo_name": "TheJVaughan/Amazon",
"max_stars_repo_path": "src/Amazon.Ssm/Actions/RegisterTaskWithMaintenanceWindowRequest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160492"
} | starcoder | <gh_stars>10-100
namespace Amazon.Ssm;
public sealed class RegisterTaskWithMaintenanceWindowRequest
{
}
| 0.864518 | 8b4488b758fbe3940f53d36c0680d918 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841273 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Realtao/corefx",
"max_stars_repo_path": "src/System.Runtime.Extensions/tests/System/Environment.Exit.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160493"
} | starcoder | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Diagnostics;
using System.Runtime.InteropServices;
using Xunit;
public class Environment_Exit : RemoteExecutorTestBase
{
[Theory]
[InlineData(0)]
... | 2.223625 | 4cacdf799287a3c18e20ff082b80ed75 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841274 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DawidMierzejewski/reservation-system",
"max_stars_repo_path": "src/Services/Scheduling/ReservationSystem.Scheduling.Infrastructure/Migrations/20201209144322_init.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160494"
} | starcoder | using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace ReservationSystem.Scheduling.Infrastructure.Migrations
{
public partial class init : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.EnsureSchema(
na... | 1.999086 | 1c95a772d91eea9b685c1931d90b0d4b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841275 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "oleg-st/DevSync",
"max_stars_repo_path": "DevSyncBenchmark/FileMaskListBenchmark.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160495"
} | starcoder | using System.Collections.Generic;
using BenchmarkDotNet.Attributes;
using DevSyncLib;
namespace DevSyncBenchmark
{
public class FileMaskListBenchmark
{
private FileMaskList _fileList;
[GlobalSetup]
public void Setup()
{
_fileList = new FileMaskList();
... | 2.236945 | 579c72c3398fbfa91d877782109875cf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841276 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Will-GuiSKJ/Bannerlord.Actus.Purus",
"max_stars_repo_path": "Actus.Purus/Models/BattleRewardModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160496"
} | starcoder | <filename>Actus.Purus/Models/BattleRewardModel.cs
using Bannerlord.Actus.Purus.Utils;
using System;
using System.Collections.Generic;
using TaleWorlds.CampaignSystem;
using TaleWorlds.CampaignSystem.SandBox.GameComponents.Map;
using TaleWorlds.Core;
namespace Bannerlord.Actus.Purus.Models
{
internal class BattleR... | 2.672845 | d280d517e3a122009d9aca436428d0a4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841277 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "robertsundstrom/rgb-led-uap",
"max_stars_repo_path": "src/RGBLight.Shared/Animation.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160497"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace RGBLight
{
/// <summary>
/// Holds the animation.
/// </summary>
public static class Animation
{
public static Color InterpolateColors(int seconds)
{
if (seconds < 0 || seconds > 30)
... | 3.512375 | ccbafe54061c5167f25600c9c03a1f98 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841278 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PaitoAnderson/stripe-dotnet",
"max_stars_repo_path": "src/Stripe.net/Entities/Transfers/Transfer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160498"
} | starcoder | namespace Stripe
{
using System;
using System.Collections.Generic;
using Newtonsoft.Json;
using Stripe.Infrastructure;
public class Transfer : StripeEntity<Transfer>, IHasId, IHasMetadata, IHasObject, IBalanceTransactionSource
{
[JsonProperty("id")]
public string Id { get; set; ... | 1.688445 | b98dc7b3f40c2ec86fff742f8f654b2f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841279 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DavidFidge/FrigidRogue",
"max_stars_repo_path": "FrigidRogue.MonoGame.Core.Tests/ExtensionsTests/PointXnaExtensionsTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160499"
} | starcoder | <reponame>DavidFidge/FrigidRogue
using System.Collections.Generic;
using FrigidRogue.MonoGame.Core.Extensions;
using FrigidRogue.TestInfrastructure;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Microsoft.Xna.Framework;
namespace FrigidRogue.MonoGame.Core.Tests.Services
{
[TestClass]
... | 2.409595 | 7597fabf5f40854fa50c8ea0f40532af |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841280 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "marcinbudny/AddInSample",
"max_stars_repo_path": "HostView/ScheduledTaskHostView.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160500"
} | starcoder | <reponame>marcinbudny/AddInSample
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using AddInContracts;
namespace HostView
{
public abstract class ScheduledTaskHostView
{
public abstract ScheduleOptions GetScheduleOptions();
... | 1.2658 | 3fe18d9c2996de1ddf21ae52e1348adc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841281 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "interopxyz/UiPlus",
"max_stars_repo_path": "UiPlus/Library/Viewer/UiViewer.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160501"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;... | 1.693278 | 33d2753f5fe0aae749e0efad4f298a3c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841282 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "usernameHed/Swouch",
"max_stars_repo_path": "Swouch/Assets/Plugins/Unity Essentials - TimeScale/Scripts/Extensions/ExtMathf.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160502"
} | starcoder | <gh_stars>0
using System;
using UnityEngine;
using System.Collections;
using System.Linq;
using System.Collections.Generic;
namespace unityEssentials.timeScale.extensions
{
public static class ExtMathf
{
/// <summary>
/// number convert range (55 from 0 to 100, to a base 0 - 1 for exemple)
... | 2.471601 | d4d6bccef7846d0c1662f8f9bd405016 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841283 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "zhangmingjian/RapidityHttp",
"max_stars_repo_path": "tests/Rapidity.Http.Tests/httpHeaderValuesTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160503"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using Xunit;
namespace Rapidity.Http.Tests
{
public class httpHeaderValuesTest
{
[Fact]
public void ToStringTest()
{
var header = new HttpHeaderValues();
header.Add("Accept", "image/webp,image/ap... | 2.235026 | 2436bd05c105e98a90fecef0c665220d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841284 | {
"extension": "c-sharp",
"max_stars_count": "228.0",
"max_stars_repo_name": "hkaizzer/DataflowEx",
"max_stars_repo_path": "Gridsum.DataflowEx/TargetDataflow.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160504"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Threading.Tasks.Dataflow;
namespace Gridsum.DataflowEx
{
public class TargetDataflow<TIn> : Dataflow<TIn>
{
private readonly ITargetBlock<TIn> m_block;
... | 2.357819 | aeb713a592ea4c4891a5a2a22d29757e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841285 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "enginekit/copy_of_roslyn",
"max_stars_repo_path": "Src/Compilers/CSharp/Source/FlowAnalysis/FlowNotImplemented.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160505"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Roslyn.Compilers.CSharp
{
/// <summary>
/// Below are the unimplemented parts of flow analysis.
/// </summary>
partial class FlowAnalysisWalker
{
protected object Unimplemented(Bo... | 2.234025 | 140dce2b554ba1795f0830d721e1ea89 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841286 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ricardoalkain/FileCatalog",
"max_stars_repo_path": "Respositories/Interfaces/IFileRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160506"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using FileCatalog.Respositories.DTO;
using Microsoft.AspNetCore.Http;
namespace FileCatalog.Respositories.Interfaces
{
public interface IFileRepository : IBaseRepository<FileEntry>
{
Task<FileEntry> GetContent... | 1.805705 | 8ef11ea55cbe4efe835cb3b4cb94e8a6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841287 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Thomuscle/TrafficManagerMod",
"max_stars_repo_path": "TLM/TLM/Custom/AI/CustomCitizenAI.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160507"
} | starcoder | using ColossalFramework;
using ColossalFramework.Math;
using System;
using System.Collections.Generic;
using System.Text;
using TrafficManager.Custom.PathFinding;
using TrafficManager.State;
using TrafficManager.Geometry;
using UnityEngine;
using TrafficManager.Traffic;
using TrafficManager.Manager;
using static Traff... | 1.980894 | 7991b96f93b6b59bd46aae7a9f04563b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841288 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "alldevic/Recovery2",
"max_stars_repo_path": "Recovery2/Views/ContestView.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160508"
} | starcoder | <gh_stars>0
using System.ComponentModel;
using System.Windows.Forms;
namespace Recovery2.Views
{
partial class ContestView
{
/// <summary>
/// Required designer variable.
/// </summary>
private IContainer components = null;
/// <summary>
/// Clean up any resour... | 1.790512 | 36377a9fc94462e4c289e1bbf33bd12f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841289 | {
"extension": "c-sharp",
"max_stars_count": "27.0",
"max_stars_repo_name": "jsuarezruiz/BindableLayoutPlayground",
"max_stars_repo_path": "src/BindableLayoutPlayground/BindableLayoutPlayground/Views/UserProfileView.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160509"
} | starcoder | using BindableLayoutPlayground.ViewModels;
using Xamarin.Forms;
namespace BindableLayoutPlayground.Views
{
public partial class UserProfileView : ContentPage
{
public UserProfileView()
{
InitializeComponent();
BindingContext = new UserProfileViewModel();
... | 1.504842 | a88b628d88ed69bd635c1636367bf15c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841290 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Zysce/NLog.Targets.Fluentd",
"max_stars_repo_path": "src/Tests/Web.Tests/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160510"
} | starcoder | <gh_stars>0
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using NLog.Config;
using NLog.Targets;
using NLog.Web;
using System;
namespace Web.Tests
{
class Program
{
public static void Main(string[] args)
{
var logger = NLogBuilder.Configur... | 2.004834 | 9543b5656d10eaca0271e9533af88356 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841291 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "aljannuzzi/ContainerNanny",
"max_stars_repo_path": "examples/azure-queue-storage-consumer/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160511"
} | starcoder | using Microsoft.WindowsAzure.Storage;
using Microsoft.WindowsAzure.Storage.Blob;
using Microsoft.WindowsAzure.Storage.Queue;
using System;
using System.Collections.Generic;
using System.IO;
using System.Net;
using System.Threading;
using System.Threading.Tasks;
namespace QueueStorage.Consumer
{
class Program
... | 2.443615 | ab04f4fa871c3a9e3240dd272b72b09f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841292 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "polylith/PlumploriGame",
"max_stars_repo_path": "Assets/Scripts/Logic/Formula/DNF.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160512"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class DNF : Formula
{
private List<Atom> atoms;
private int index;
private Formula f;
private bool generated;
public DNF(string name, Entity entity, List<Atom> atoms, int index) : base(name, entity)
{
... | 2.765469 | 2539868b7b3ce8bd14f4014ce9a69b68 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841293 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mediaexplorer74/MyPhone",
"max_stars_repo_path": "MyPhone.OBEX/BluetoothObexServerSession.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160513"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Windows.Devices.Bluetooth.Rfcomm;
using Windows.Networking;
using Windows.Networking.Sockets;
namespace MyPhone.OBEX
{
public class BluetoothObexServerSessionClientAcceptedEventArgs<T> where T : ObexServer
{... | 2.488107 | 8245b9f5b5fc75313ae78a0a36ac3501 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841294 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "ScriptBox99/issuesof.net",
"max_stars_repo_path": "src/IssueDb/Querying/Ranges/UnaryRangeSyntax.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160514"
} | starcoder | <reponame>ScriptBox99/issuesof.net
using System;
namespace IssueDb.Querying.Ranges
{
public sealed class UnaryRangeSyntax<T> : RangeSyntax<T>
where T : IComparable<T>
{
public UnaryRangeSyntax(UnaryRangeOperator op, T operand)
{
Op = op;
Operand = operand;
... | 2.904127 | d53d3667f817ea96c0e812902e6de9ec |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841295 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SNBnani/Xian",
"max_stars_repo_path": "ImageViewer/Web/KnownTypeProviders.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160515"
} | starcoder | <filename>ImageViewer/Web/KnownTypeProviders.cs
#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/OSLv3.0
#endregion
u... | 1.646239 | 4ba9ea2e38627ca9cf28ab46a6f5d18a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841296 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "cinder14/echosign_sdk_csharp",
"max_stars_repo_path": "Source/Cinder14.EchoSign/Models/Agreements/AgreementInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160516"
} | starcoder | <gh_stars>1-10
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using System;
namespace Cinder14.EchoSign.Models
{
public class AgreementInfo
{
/// <summary>
/// (string): The message associated with the document that the sender has provided,
/// </summary>
public strin... | 2.35528 | 5a7f74c72904ea29a698b3705f739b9d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841297 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Changelling/GrillMaster",
"max_stars_repo_path": "src/Infrastructure/BinPack/HeuristicFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160517"
} | starcoder | <reponame>Changelling/GrillMaster
using GrillMaster.Infrastructure.BinPack.Enums;
using GrillMaster.Infrastructure.BinPack.Heuristic;
using GrillMaster.Infrastructure.BinPack.Interfaces;
using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using System.Text;
namespace GrillMaster.Inf... | 2.186168 | 19e0df31e20bbcd096ba5e5196eec2d7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841298 | {
"extension": "c-sharp",
"max_stars_count": "18.0",
"max_stars_repo_name": "homura/tippy",
"max_stars_repo_path": "src/Ckb.Molecule/Base/OptionSerializer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160518"
} | starcoder | using System;
namespace Ckb.Molecule.Base
{
public class OptionSerializer<TItem, TItemSerializer> : BaseSerializer<TItem> where TItemSerializer : BaseSerializer
{
private readonly TItemSerializer Serializer;
public OptionSerializer(TItem value, TItemSerializer serializer) : base(value)
... | 2.355598 | abd29919e0bd02ed6dd4218cdebd2407 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841299 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "adamosoftware/AxosoftAPI",
"max_stars_repo_path": "AxosoftAPI.NET/Models/SystemOptions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160519"
} | starcoder | <gh_stars>1-10
using Newtonsoft.Json;
namespace AxosoftAPI.NET.Models
{
public class SystemOptions
{
[JsonProperty("focus_resources")]
public FocusResources FocusResources { get; set; }
[JsonProperty("context_resources")]
public ContextResources ContextResources { get; set; }
}
}
| 1.346911 | 788a80bec9a5e136fe9172b585a8f5f9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841300 | {
"extension": "c-sharp",
"max_stars_count": "1209.0",
"max_stars_repo_name": "mariloutb/EntityFramework-Classic",
"max_stars_repo_path": "test/Shared/UnitTests/Utilities/TaskHelperTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160520"
} | starcoder | <gh_stars>1000+
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
namespace System.Data.Entity.Utilities
{
using System.Linq;
using Xunit;
public class TaskHelperTests
{
[Fact]
public void FromCancellat... | 2.143505 | 869ec8505de6bfd7490e2744fcfd0294 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841301 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "niksmanov/AutoTrade",
"max_stars_repo_path": "AutoTrade.Services/CommonService/CommonService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160521"
} | starcoder | <filename>AutoTrade.Services/CommonService/CommonService.cs
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using AutoTrade.Core;
using AutoTrade.Core.JsonModels;
using AutoTrade.Db;
using AutoTrade.Db.Entities;
using Microsoft.EntityFrameworkCore;
using ImageMagi... | 2.644421 | 745a1ce1f11b1bca3c99ca538483b67b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841302 | {
"extension": "c-sharp",
"max_stars_count": "54.0",
"max_stars_repo_name": "stormpath/stormpath-sdk-dotnet",
"max_stars_repo_path": "src/Stormpath.SDK.Core/Impl/Application/DefaultApplication.Oauth.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160522"
} | starcoder | // <copyright file="DefaultApplication.Oauth.cs" company="Stormpath, Inc.">
// Copyright (c) 2016 Stormpath, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.ap... | 1.345956 | 5f4bb56c4ccba36f5dd9ec201ecdb357 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841303 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kayschulze/MayaSpecialtyFoods",
"max_stars_repo_path": "MayaSpecialtyFoods/Models/Repositories/EFProductRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160523"
} | starcoder | using System.Linq;
using Microsoft.EntityFrameworkCore;
namespace MayaSpecialtyFoods.Models
{
public class EFProductRepository : IProductRepository
{
MayaSpecialtyFoodsContext db = new MayaSpecialtyFoodsContext();
public EFProductRepository(MayaSpecialtyFoodsContext connection = null)
... | 3.16102 | 13e885599dc47a7761ffa6008073a7fc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841304 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "jchristn/KvpbaseCSharpSDK",
"max_stars_repo_path": "KvpbaseSDK/KvpbaseClient.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160524"
} | starcoder | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using RestWrapper;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace KvpbaseSDK
{
/// <summary>
/// Kvpbase object storage client.
/// </sum... | 2.507787 | 41ced551ea593b33103cdfe37d1b3caf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841305 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "Albeoris/MMXLegacy",
"max_stars_repo_path": "Legacy.Core/Core/Entities/InteractiveObjects/Door.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160525"
} | starcoder | using System;
using Legacy.Core.Api;
using Legacy.Core.EventManagement;
using Legacy.Core.Map;
using Legacy.Core.SaveGameManagement;
namespace Legacy.Core.Entities.InteractiveObjects
{
public class Door : InteractiveObject
{
private EInteractiveObjectState m_State = EInteractiveObjectState.DOOR_CLOSED;
private... | 2.328801 | a5f7f109fa73334f8fd29cc7507ed070 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841306 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RMiike/MyECommerceSample",
"max_stars_repo_path": "src/web/MECS.WebApp.MVC/Extensions/RazorHelpers.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160526"
} | starcoder | <filename>src/web/MECS.WebApp.MVC/Extensions/RazorHelpers.cs<gh_stars>0
using Microsoft.AspNetCore.Mvc.Razor;
using System.Security.Cryptography;
using System.Text;
using System.Threading;
namespace MECS.WebApp.MVC.Extensions
{
public static class RazorHelpers
{
public static string HashEmailForGravat... | 2.801009 | b4f0237c72091a54a7e8867ce768ff9a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841307 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "knoxaramav2/KCC",
"max_stars_repo_path": "KCC/Compiler/Launcher.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160527"
} | starcoder | using CodeTranslator;
using CommonLangLib;
using KCC;
namespace Compiler
{
internal class Launcher
{
private static int Main(string[] args)
{
KCCEnv.Init();
//Parse CLI options
var cliOptions = CliOptions.GetInstance();
cliOptions.... | 2.178559 | 2a326af1fd7edc4448209f1304be4e81 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841308 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ajlopez/AjSharpure",
"max_stars_repo_path": "Src/AjSharpure/Language/Variable.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160528"
} | starcoder | <gh_stars>1-10
namespace AjSharpure.Language
{
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
public class Variable : IObject, IComparable, INamed
{
private IPersistentMap metada... | 2.802003 | 8be9b3a89a0cab8a4ab5c5ee54437b84 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841309 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "alchiweb/AdminLteTheme.AspNetCore",
"max_stars_repo_path": "src/AdminLteTheme.AspNetCore/Layout/WrapperTagHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160529"
} | starcoder | <reponame>alchiweb/AdminLteTheme.AspNetCore
using Microsoft.AspNetCore.Razor.TagHelpers;
using System.Linq;
using System.Threading.Tasks;
namespace AdminLteTheme.AspNetCore.Layout
{
[HtmlTargetElement("lte-wrapper")]
public class WrapperTagHelper : LteTagHelperBase
{
private readonly LteLayoutOpti... | 1.924224 | a0b7a27b59fbf0ec64668f90de8ab327 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841310 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "djafk0/MyShirtsApp",
"max_stars_repo_path": "MyShirtsApp/Infrastructure/ImportShirtSizeModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160530"
} | starcoder | <gh_stars>1-10
namespace MyShirtsApp.Infrastructure
{
public class ImportShirtSizeModel
{
public int ShirtId { get; set; }
public int SizeId { get; set; }
public int? Count { get; set; }
}
}
| 1.630687 | 25a7927ec2c53ccda2821555721eaf40 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841311 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "FrankYang1995/project-nebula",
"max_stars_repo_path": "The Aluben Mission/Assets/Resources/Scripts/FireMonster.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160531"
} | starcoder | <reponame>FrankYang1995/project-nebula<filename>The Aluben Mission/Assets/Resources/Scripts/FireMonster.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class FireMonster : MonoBehaviour {
private float speed = 0.25f;
private Animator fireAnim;
private float timeB... | 2.182287 | ad33e757ca20509b25d20a80c168f8d9 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.