added string | created string | id string | metadata dict | source string | text string | code-score float64 | md5 string |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8633 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Chinyeins/wambojam",
"max_stars_repo_path": "Assets/Lightning.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8634"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Lightning : MonoBehaviour
{
public GameObject Ghost;
public float minDelay = 5;
public float maxDelay = 30;
public float minLight = .03f;
public float maxLight = 0.1f;
void Start()
{
Ghost.gameObject.SetActiv... | 2.496403 | aaf141744bdda8e801c9ed66c742568e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8634 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "duncanmhor/MhorMail",
"max_stars_repo_path": "MhorMail.Web/Views/Admin/MailServerConfiguration.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:8635"
} | starcoder | <filename>MhorMail.Web/Views/Admin/MailServerConfiguration.cshtml
@model MhorMail.Model.ServerConfiguration
@{
ViewBag.Title = "Mail Server Configuration";
Layout = "~/Views/Shared/_baselayout.cshtml";
}
<h2>Mail Server Configuration</h2>
@using (Html.BeginForm())
{
@Html.LabelFor(x=>x.ServerName)
@... | 1.915943 | 93ea8b200eb89be614da0d801bd4a5ce |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8635 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "PhilippSchoenauer/mss-dotnet",
"max_stars_repo_path": "MssNet/Xml/IXmlDeserializer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8636"
} | starcoder | namespace MssNet.Xml
{
public interface IXmlDeserializer
{
T Deserialize<T>(string xmlContent);
}
}
| 1.717453 | b5e5cb3619cd179da31368b3b658bc76 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8636 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "esso23/Skclusive.Material.Component",
"max_stars_repo_path": "Button/src/Common/ButtonCommon.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8637"
} | starcoder | <filename>Button/src/Common/ButtonCommon.cs<gh_stars>0
using Microsoft.AspNetCore.Components;
using Skclusive.Material.Core;
using Skclusive.Core.Component;
using System.Collections.Generic;
using System.Linq;
using System;
namespace Skclusive.Material.Button
{
public abstract class ButtonCommonComponent : Materi... | 2.462616 | c2692fd0d9c38efa2bdf289775acf2ae |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8637 | {
"extension": "c-sharp",
"max_stars_count": "112.0",
"max_stars_repo_name": "DevrexLabs/OrigoDB",
"max_stars_repo_path": "src/OrigoDB.Core/Operations/Command.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8638"
} | starcoder | <reponame>DevrexLabs/OrigoDB
using System;
namespace OrigoDB.Core
{
/// <summary>
/// A command modifies the state of the model.
/// </summary>
[Serializable]
public abstract class Command
{
/// <summary>
/// Gracefully cancels command execution by throwing a CommandAbortedEx... | 2.879185 | 565c6970c80440e575fdb2bd5711e525 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8638 | {
"extension": "c-sharp",
"max_stars_count": "31.0",
"max_stars_repo_name": "minhducsun2002/OsuSharp",
"max_stars_repo_path": "src/OsuSharp.Domain/Interfaces/IUserGradeCounts.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8639"
} | starcoder | <gh_stars>10-100
namespace OsuSharp.Interfaces
{
public interface IUserGradeCounts
{
long SS { get; }
long SSH { get; }
long S { get; }
long SH { get; }
long A { get; }
}
} | 1.543632 | 9967942c7dc2848c61f6e3cc3fa8427f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8639 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ilinatsoneva3/SoftUni-Official",
"max_stars_repo_path": "CSharpAdvancedExercises/IteratorsAndComparators/Stack/MyStack.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8640"
} | starcoder | <reponame>ilinatsoneva3/SoftUni-Official
namespace Stack
{
using System;
using System.Collections;
using System.Collections.Generic;
public class MyStack<T> : IEnumerable<T>
{
private List<T> data;
public MyStack()
{
this.data = new List<T>();
}
... | 3.594253 | 339936f5ea5bb465a351165ee6f0c832 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8640 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LearnAzure/appconfigdemo",
"max_stars_repo_path": "Core/HelloConfigBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8641"
} | starcoder | namespace AppConfigDemo.Core
{
public class HelloConfigBase
{
public string FromWhere { get; set; }
public string ToWhom { get; set; }
}
} | 1.590236 | 8117b3877fc8bcc8786c682ee9238d0d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8773 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DavideYang125/wiwi_core",
"max_stars_repo_path": "src/Shared/Wiwi.Shared.Common/EventBus/RabbitMQ/EventBusRabbitMQ.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8774"
} | starcoder | using System.Threading.Tasks;
using DotNetCore.CAP;
using Wiwi.Shared.Common.EventBus.Base;
namespace Wiwi.Shared.Common.EventBus.RabbitMQ
{
public class EventBusRabbitMQ : IEventBus
{
private readonly ICapPublisher _capPublisher;
public EventBusRabbitMQ(ICapPublisher capPublisher)
{
... | 2.38711 | 004ebbbdb5f533436bccfb0974b6730e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8774 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Jagerente/RCFixed",
"max_stars_repo_path": "Source/TweenScale.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8775"
} | starcoder | using System;
using UnityEngine;
[AddComponentMenu("NGUI/Tween/Scale")]
public class TweenScale : UITweener
{
public Vector3 from = Vector3.one;
private UITable mTable;
private Transform mTrans;
public Vector3 to = Vector3.one;
public bool updateTable;
public static TweenScale Beg... | 1.935587 | b98f96af87a215970cace45465773201 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8775 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "vurdalakov/websequencediagrams",
"max_stars_repo_path": "src/WebSequenceDiagrams/Vurdalakov/RecentFiles.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8776"
} | starcoder | namespace Vurdalakov
{
using System;
using System.Windows.Input;
public class RecentFile : MenuItemViewModel
{
public RecentFile(String fileName, ICommand command) : base(fileName, command, fileName)
{
}
public String FileName { get { return this.Header; } }
p... | 2.902816 | 55a52249c65a8be3f9806db3c560ef86 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8776 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "Ideia-Boa/diva-distribution",
"max_stars_repo_path": "OpenSim/Region/ScriptEngine/Shared/Api/Implementation/Plugins/Listener.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8777"
} | starcoder | /*
* Copyright (c) Contributors, http://opensimulator.org/
* See CONTRIBUTORS.TXT for a full list of copyright holders.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must r... | 1.750921 | ce0cf5592eb20c6842681687e42fb6e1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8777 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "webmaster442/FfConvert",
"max_stars_repo_path": "FFConvert.Tests/Steps/PresetValidationTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8778"
} | starcoder | <reponame>webmaster442/FfConvert
namespace FFConvert.Tests.Steps;
[TestFixture]
internal class PresetValidationTests : StepTestBase<PresetValidation>
{
private Mock<IImplementationsOf<IValidator>> _validatorsMock;
private Mock<IImplementationsOf<IConverter>> _convertersMock;
public override PresetValidat... | 1.97968 | c9b256575477ed1476b758e752299282 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8778 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jonathanxavier/DeviceSQL",
"max_stars_repo_path": "DeviceSQL.Devices/Device/Modbus/Data/LongRegister.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8779"
} | starcoder | <filename>DeviceSQL.Devices/Device/Modbus/Data/LongRegister.cs
#region Imported Types
using System;
#endregion
namespace DeviceSQL.Device.MODBUS.Data
{
public class LongRegister : MODBUSRegister<int>
{
#region Constructor(s)
public LongRegister()
: base()
{
... | 2.602917 | b0da375deb20bc448fa30655f462feaa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8779 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "basheermohamed/taskscheduler",
"max_stars_repo_path": "TaskService/Native/EventLog.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8780"
} | starcoder | <reponame>basheermohamed/taskscheduler
#if (NET20 || NETSTANDARD2_0)
/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
* Event methods and classes literally pulled from the .NET 4.0 implementation.
* None of this is original work. It comes straight from decompiled Microsoft
* assem... | 1.943608 | 01bdbe7d50abf0e29562d153dcd524ea |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8780 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Folleach/SocketFlow",
"max_stars_repo_path": "CSharp/SocketFlow/DataWrappers/IDataWrapper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8781"
} | starcoder | <filename>CSharp/SocketFlow/DataWrappers/IDataWrapper.cs
namespace SocketFlow.DataWrappers
{
public interface IDataWrapper<out T>
{
T FormatRaw(byte[] data);
byte[] FormatObject(object value);
}
}
| 1.937821 | a2f4beb3d60e2c4582fac5590f273d08 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8781 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "307209239/apollo-net",
"max_stars_repo_path": "Apollo/Core/Ioc/Adapters/Lifetime/PerContainerLifetime.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8782"
} | starcoder | using System;
namespace Com.Ctrip.Framework.Apollo.Core.Ioc
{
/// <summary>
/// Ensures that only one instance of a given service can exist within the container.
/// </summary>
public class PerContainerLifetime : ILifetime, IDisposable
{
private Com.Ctrip.Framework.Apollo.Core.Ioc.LightIn... | 2.811398 | 3b9693326a546f16fe4a2589cf6702c0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8782 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "peter-villadsen/DatalogExplorer",
"max_stars_repo_path": "DatalogExplorer/ViewModels/ViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8783"
} | starcoder | using System;
using System.ComponentModel;
using System.Linq;
using System.Windows;
using System.Windows.Input;
using Microsoft.Win32;
using Sharplog;
using System.Diagnostics;
using System.Globalization;
using System.IO;
using System.Windows.Controls;
using DatalogExplorer.Properties;
namespace DatalogExplorer.ViewM... | 2.443506 | be223bd1f242d12d9037926f0c14736e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8783 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "taskbit/HiRezApi",
"max_stars_repo_path": "src/Examples/HiRezApi.Examples.App/RealmRoyale.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8784"
} | starcoder | <gh_stars>1-10
namespace HiRezApi.Examples.App
{
using System;
using System.Diagnostics;
using System.Threading.Tasks;
using System.Linq;
using HiRezApi.Common;
using HiRezApi.RealmRoyale;
using HiRezApi.RealmRoyale.Models;
using Microsoft.Rest.TransientFaultHandling;
using Match =... | 2.460055 | e26cd41782e2751fcb77d453c9da378a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8784 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Kolahzary/Binance.Net",
"max_stars_repo_path": "Binance.Net/Objects/BinanceSubAccount.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8785"
} | starcoder | using System;
using Binance.Net.Converters;
using CryptoExchange.Net.Converters;
using Newtonsoft.Json;
namespace Binance.Net.Objects
{
internal class BinanceSubAccountWrapper
{
[JsonProperty("msg")]
public string Message { get; set; }
public bool Success { get; set; }
public B... | 2.34586 | 73c7d8560bdc884356c8000f3fcad5dd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8785 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ajsuth/OrderCloud",
"max_stars_repo_path": "Pipelines/Blocks/PrepareOrderCloudClientBlock.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8786"
} | starcoder | <reponame>ajsuth/OrderCloud
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="PrepareOrderCloudClientBlock.cs" company="Sitecore Corporation">
// Copyright (c) Sitecore Corporation 1999-2022
// </copyright>
// -----------------... | 1.930545 | 1c7c23b5e25b28ddba8e6df482791078 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8786 | {
"extension": "c-sharp",
"max_stars_count": "19.0",
"max_stars_repo_name": "eger-geger/FryProxy",
"max_stars_repo_path": "FryProxy.Tests/src/Headers/HttpHeadersTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8787"
} | starcoder | <reponame>eger-geger/FryProxy<gh_stars>10-100
using System;
using System.Collections.Generic;
using FryProxy.Headers;
using NUnit.Framework;
namespace FryProxy.Tests.Headers
{
public class HttpHeadersTests : AssertionHelper
{
private static readonly IEnumerable<IList<String>> HeadersDataSet =... | 2.163078 | 5a37e155326decb44614a6cfb648c65f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8787 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "coldwarrior5/TestSortingProblem",
"max_stars_repo_path": "TestSortingProblem/Structures/GaSettings.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8788"
} | starcoder | namespace TestSortingProblem.Structures
{
public enum GaVariables
{
Mortality,
PopulationSize,
MutationProbability,
MaxNoChange
}
public class GaSettings
{
public double Mortality { get; private set; }
public int PopulationSize { get; private set; }
public double MutationProbability { get; private ... | 2.833215 | 95e11ff4de29cd9fd2171f851c835d0f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8788 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "EdutechSRL/Adevico",
"max_stars_repo_path": "3-Business/4-Services/Actions/lm.Comol.Modules.ActionPersistence/ActionService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8789"
} | starcoder | <reponame>EdutechSRL/Adevico
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using lm.ActionDataContract;
using lm.ActionPersistence;
namespace lm.ActionPersistence
{
public class ActionService: iActionService
{
#region iActionService Members
public void... | 1.411503 | 6dae02aad5f8783a1049faeea58454ef |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8789 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "plsgard/dotnet-command",
"max_stars_repo_path": "src/System.Command.Abstractions/Commands/ICommand.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8790"
} | starcoder | <gh_stars>1-10
namespace System.Command.Commands
{
/// <summary>
/// Represents a command.
/// </summary>
public interface ICommand
{
/// <summary>
/// The name of the command.
/// Should be unique and use to identify the command.
/// </summary>
/// <value>A u... | 2.280159 | 9ffd2ae8b36398a5d651ef8c7a70c489 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8790 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "786744873/JT809",
"max_stars_repo_path": "src/JT809.Protocol/JT809Formatters/JT809SubMessageBodyFormatters/JT809_0x1200_0x1202Formatter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8791"
} | starcoder | <filename>src/JT809.Protocol/JT809Formatters/JT809SubMessageBodyFormatters/JT809_0x1200_0x1202Formatter.cs
using JT809.Protocol.JT809Extensions;
using JT809.Protocol.JT809SubMessageBody;
using JT809.Protocol.JT809Enums;
using System;
using System.Buffers;
using System.Collections.Generic;
using System.Text;
namespace... | 1.84431 | e2137e4c3868b8c77741c694925cb263 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8791 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "42north/constellation",
"max_stars_repo_path": "src/FTN/Constellation/RouterStatistics.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8792"
} | starcoder | namespace FTN.Constellation.Routing
{
public class RouterStatistics
{
public long DeliveredMessages;
public long UndeliveredMessages;
public long UnmatchedMessages;
public long MatchedMessages;
public long TotalSyncDeliveryTime;
public long TotalAsyncDeliveryTime;... | 1.514679 | 6288aa42b4b49912b5ffa70b2fb8560f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8792 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "joncrump/norml",
"max_stars_repo_path": "Tests/Norml.Common.Data.Tests/WriteDatabaseRepositoryBaseTests/TestModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8793"
} | starcoder | <filename>Tests/Norml.Common.Data.Tests/WriteDatabaseRepositoryBaseTests/TestModel.cs<gh_stars>0
using System;
namespace Norml.Common.Data.Tests.WriteDatabaseRepositoryBaseTests
{
public class TestModel : ITestModel
{
public Guid Id { get; set; }
}
}
| 1.684483 | 8b43fd7d9aecfaebf1b7ed9d78812e22 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8793 | {
"extension": "c-sharp",
"max_stars_count": "29.0",
"max_stars_repo_name": "Adsolution/Ray1Map",
"max_stars_repo_path": "Assets/Scripts/DataTypes/Jade/OBJ/GameObject/Flags/OBJ_GameObject_ExtraFlags.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8794"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace R1Engine.Jade {
[Flags]
public enum OBJ_GameObject_ExtraFlags : ushort {
None = 0,
FreezePlayer = 0x01, // Freeze le player meme la BMagique
Montpellier_NoNBlendBone... | 2.068464 | d15117d03ec748c66dc8de15ab2dc609 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8794 | {
"extension": "c-sharp",
"max_stars_count": "5343.0",
"max_stars_repo_name": "jongalloway/AspNetCore.Docs",
"max_stars_repo_path": "aspnetcore/web-api/index/samples/6.x/Controllers/PetsController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8795"
} | starcoder | using System.Collections.Generic;
using System.Linq;
using System.Net.Mime;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using WebApiSample.Models;
namespace WebApiSample.Controllers
{
#region snippet_Inherit
[Produces(MediaTypeNames.Application.Json)]
[Route("[controller]")]
publi... | 2.804306 | 2645f0e0b331e7dc46e36eb317cc2b81 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8795 | {
"extension": "c-sharp",
"max_stars_count": "1208.0",
"max_stars_repo_name": "mpdeimos/StyleCop",
"max_stars_repo_path": "Project/Test/Tests.StyleCop.CSharp.Rules/TestData/MethodParameters/IndexerDeclarationOpeningParenthesisPlacement.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8796"
} | starcoder | <reponame>mpdeimos/StyleCop
namespace IndexerDeclarationOpeningParenthesisPlacement1
{
using System;
public class NormalMethods1
{
public bool this
[int x]
{
get { return true; }
}
public bool this
[
short x]
{
... | 1.855076 | 33aa4f67a19698485a3b15d2aee422a9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8796 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "gwerren/MultiCaret",
"max_stars_repo_path": "OptionsDialogPage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8797"
} | starcoder | namespace MultiCaret
{
using System.ComponentModel;
using System.Runtime.InteropServices;
using System.Windows;
using Microsoft.VisualStudio.ComponentModelHost;
using Microsoft.VisualStudio.Shell;
[ClassInterface(ClassInterfaceType.AutoDual)]
[ComVisible(true)]
[Guid("d1bdec27-7925-45f... | 1.874516 | 7b0934c682774c69bce054f3a6343aa9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8797 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "KrzysiekTalarczyk/mySimpleMessageService",
"max_stars_repo_path": "src/mySimpleMessageService.Api/Configuration/IoConfig.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8798"
} | starcoder | using Microsoft.Extensions.DependencyInjection;
using mySimpleMessageService.Application.Contacts;
using mySimpleMessageService.Application.Filtering;
using mySimpleMessageService.Application.Interfaces;
using mySimpleMessageService.Persistence.Repositories;
namespace mySimpleMessageService.Api.Configuration
{
pu... | 1.651465 | 910569d964ed9d3c70d8d7a8d8d5eb49 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8798 | {
"extension": "c-sharp",
"max_stars_count": "36.0",
"max_stars_repo_name": "emlin2019/DotNetHook",
"max_stars_repo_path": "DotNetHook/Hooks/ManagedHook.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8799"
} | starcoder | <reponame>emlin2019/DotNetHook<filename>DotNetHook/Hooks/ManagedHook.cs
using System;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using DotNetHook.Models;
namespace DotNetHook.Hooks
{
public class ManagedHook : HookBase
{
#region Public Propert... | 2.648681 | 8ba9d33c08cd12b186063beedaf1485c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8799 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ZEisinger/OpenProtocolInterpreter",
"max_stars_repo_path": "src/OpenProtocolInterpreter/PowerMACS/IPowerMACS.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8800"
} | starcoder | namespace OpenProtocolInterpreter.PowerMACS
{
public interface IPowerMACS
{
}
}
| 1.138915 | fdd4061226e556ff3ee4cac0d7f53e7e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8800 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "EmilienDup/DynamicData",
"max_stars_repo_path": "src/DynamicData.Tests/List/GroupImmutableFixture.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8801"
} | starcoder | <reponame>EmilienDup/DynamicData
using System;
using System.Linq;
using System.Reactive;
using System.Reactive.Subjects;
using DynamicData.Tests.Domain;
using Xunit;
using DynamicData.Kernel;
using FluentAssertions;
namespace DynamicData.Tests.List
{
public class GroupImmutableFixture: IDisposable
{
... | 2.817984 | 964dee5d3db9fea4a3f629767ecf5b07 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8801 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "VVoev/Telerik-Academy",
"max_stars_repo_path": "11.High-Quality-Code-Part-2/01. Defensive-Programming-and-Exceptions/demos/ExceptionDemo/ExceptionDemo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8802"
} | starcoder | <reponame>VVoev/Telerik-Academy<filename>11.High-Quality-Code-Part-2/01. Defensive-Programming-and-Exceptions/demos/ExceptionDemo/ExceptionDemo.cs
using System;
namespace ExceptionDemo
{
public class ExceptionDemo
{
static void Main(string[] args)
{
Console.WriteLine("Please enter ... | 3.209912 | 2df121e91f8c3424f6ad9cc58693598f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8802 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "MaxNox7/space-station-14",
"max_stars_repo_path": "Content.Server/ParticleAccelerator/Components/ParticleProjectileComponent.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8803"
} | starcoder | using Content.Server.Projectiles.Components;
using Content.Server.Singularity.Components;
using Content.Shared.Singularity.Components;
using Robust.Server.GameObjects;
using Robust.Shared.GameObjects;
using Robust.Shared.IoC;
using Robust.Shared.Log;
using Robust.Shared.Maths;
using Robust.Shared.Timing;
namespace Con... | 1.990362 | 3f873f11bcb828858d4508e369b4e8b5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8803 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "nemesissoft/Nemesis.CodeAnalysis",
"max_stars_repo_path": "Nemesis.CodeAnalysis/Legacy.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8804"
} | starcoder | #if !NET
namespace System.Runtime.CompilerServices
{
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
internal static class IsExternalInit { }
}
#endif | 1.186965 | 789451131bcdc50c3116e4dc1f7ab755 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8804 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Ketomaa/hello-world",
"max_stars_repo_path": "HelloWorld/ConsoleApp1/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8805"
} | starcoder | using System;
namespace ConsoleApp1
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello And Welcome");
Console.WriteLine("Tatu");
Console.WriteLine("Ketomaa");
Console.WriteLine("You Have Mail!");
}
}
}
| 2.184509 | 4fda5061078ea0aa9b450083b95f809e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8805 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "dimojang/Frogy",
"max_stars_repo_path": "Views/DashboardView.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8806"
} | starcoder | <gh_stars>10-100
using Frogy.ViewModels;
using System.Web.UI.WebControls;
using System.Windows;
using System.Windows.Controls;
using LiveCharts;
using LiveCharts.Wpf;
using System.Windows.Input;
using System;
using HandyControl.Controls;
namespace Frogy.Views
{
/// <summary>
/// Interaction logic for Dashboar... | 1.343983 | bf95746f063954c4075e633367583124 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8806 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "raylu1/PropertyTools",
"max_stars_repo_path": "Source/Examples/DataGrid/DataGridDemo/Examples/Window103.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8807"
} | starcoder | <reponame>raylu1/PropertyTools<filename>Source/Examples/DataGrid/DataGridDemo/Examples/Window103.xaml.cs
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="Window103.xaml.cs" company="PropertyTools">
// Copyright (c) 2014 Prop... | 2.13067 | 931f5e5dc5940e6a7880c918be75e394 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8807 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "creosB/Beyin-Gocu-Application",
"max_stars_repo_path": "beyingocu/trmenu.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8808"
} | starcoder | <filename>beyingocu/trmenu.Designer.cs
namespace ProjeHazirlama
{
partial class trmenu
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.... | 1.696095 | f6688d0d9548ce457772326f00bc2a6a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8808 | {
"extension": "c-sharp",
"max_stars_count": "153.0",
"max_stars_repo_name": "JavierCanon/Toasty.net",
"max_stars_repo_path": "src/Others/NToastNotify/samples/Toastr/Pages/Privacy.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:8809"
} | starcoder | @page
@model PrivacyModel
@{
ViewData["Title"] = "Privacy Policy";
}
<h1>@ViewData["Title"]</h1>
<p>Use this page to detail your site's privacy policy.</p>
<h4 id="message">AJAX Messages</h4>
<script>
window.addEventListener('load', function () {
setTimeout(function () {
$('#message').te... | 2.610914 | 88bca5b44357c094ac7d7ae3ea9c24de |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8809 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wujun4code/Play-SDK-dotNET",
"max_stars_repo_path": "Demo/ThreeCards/Assets/Script/Constants.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8810"
} | starcoder | <reponame>wujun4code/Play-SDK-dotNET<filename>Demo/ThreeCards/Assets/Script/Constants.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public static class Constants {
// Room properties
// 房间总筹码
public const string PROP_ROOM_GOLD = "PROP_ROOM_GOLD";
// Player properti... | 1.517109 | 049c1384d4e332f2db5c17cd2697e009 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8810 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "danielrosasilveira/EscolaMVC",
"max_stars_repo_path": "Escola/Escola/Views/Instituicao/Details.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:8811"
} | starcoder | <filename>Escola/Escola/Views/Instituicao/Details.cshtml
@model Modelo.Cadastro.Instituicao
@{
Layout = "_LayoutIES";
}
@section Styles{
<link rel="stylesheet" href="https://pro.fontawesome.com/releases/v5.10.0/css/all.css" integrity="<KEY>" crossorigin="anonymous" />
}
<div class="card">
<div class="ca... | 1.989827 | b572be2ca8cb70f513f01b79691fcddc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8811 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "krzysztofkolek/AdventureWorks.UI.Telerik",
"max_stars_repo_path": "AdventureWorks.UI.WPF/Helpers/SampleContentService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8812"
} | starcoder | <filename>AdventureWorks.UI.WPF/Helpers/SampleContentService.cs
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Windows;
using Telerik.Windows.Data;
using Telerik.Windows.Documents.FormatProviders.Xaml;
using Telerik.Windows.Documents.Model;
namesp... | 2.724988 | e9de2d975ef93d54f0d88cdfa0fe70ce |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8812 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "pengjugame/ET",
"max_stars_repo_path": "Unity/Assets/Hotfix/Core/Object/ObjectPool.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8813"
} | starcoder | using System;
using System.Collections.Generic;
namespace ETHotfix
{
public class ComponentQueue: Object
{
public string TypeName
{
get;
}
private readonly Queue<Object> queue = new Queue<Object>();
public ComponentQueue(string typeName)
{
... | 2.583694 | f65789bd3cd14283f5b22b7164139a76 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8813 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jsmm0202/Training",
"max_stars_repo_path": "c#/Json#12/m3-08-attributes-demo/JsonOptInOptOutDemo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8814"
} | starcoder | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace pluralsight.json.net.m3.d8
{
public class JsonOptInOptOutDemo
{
public static void ShowJsonOptInOptOut()
{
Console.Clear();
... | 2.761339 | ebf795d583e10dba9349241bf62ea53c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8814 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rdiazconcha/kcdc2021-dapr-workshop",
"max_stars_repo_path": "src/DaprHospital.Core/IDomainEvent.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8815"
} | starcoder | namespace DaprHospital.Core
{
public interface IDomainEvent
{
}
} | 0.920308 | ede2d7b8feda518a4fa0f6c2b66b301a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8815 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dhorth/GooglePhotoDownloader",
"max_stars_repo_path": "src/Services/IGooglePhotosApi.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8816"
} | starcoder | <filename>src/Services/IGooglePhotosApi.cs
using GoogleDownloader.Model;
using Refit;
using System.IO;
using System.Threading.Tasks;
namespace GoogleDownloader.Services
{
/// <summary>
/// Refit interface definitions for google
/// photo apis
///
/// <see cref="https://developers.google.com/phot... | 2.298187 | 79c289e9b7ba9f97e14b339898ccb64a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8816 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SamTheBay/LegendsOfDescent",
"max_stars_repo_path": "DungeonGame/DungeonGame/GameScreens/MerchantScreen.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8817"
} | starcoder | using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
#if WINDOWS_PHONE || WIN8
using Microsoft.Xna.Framework.Input.Touch;
#endif
namespace LegendsOfDescent
{
class ItemSlot
{
public bool PlayerOwned = true;
public int X = 0;
public int Y = 0;
public ItemS... | 2.22366 | f3482149a234b93a9d3e5a5bc234da39 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8817 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cirinovargas/DemoApp",
"max_stars_repo_path": "src/DemoApp.Core/Interfaces/IRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8818"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Threading.Tasks;
namespace DemoApp.Core.Interfaces
{
public interface IRepository<TEntity> where TEntity : class
{
#region " Async "
Task<TEntity> GetByIdAsync(object id);
Ta... | 2.510365 | d7f4b7e25880bb28b4805b6eaeebce7c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8818 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AdsophicSolutions/AppBlocks.Autofac",
"max_stars_repo_path": "src/AppBlocks.Autofac/Common/ApplicationConfiguration.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8819"
} | starcoder | using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Xml;
namespace AppBlocks.Autofac.Common
{
/// <summary>
/// <see cref="ApplicationConfiguration"/> provides configuration details a
... | 2.687892 | 1f4faa11b8634e5c4cf7fc42c6454e4d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8819 | {
"extension": "c-sharp",
"max_stars_count": "1429.0",
"max_stars_repo_name": "tonghudan/PanuonUI.Silver",
"max_stars_repo_path": "UIBrowser/PartialViews/Custom/ColorPickerView.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8820"
} | starcoder | <reponame>tonghudan/PanuonUI.Silver
using Panuon.UI.Silver;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Media.Effects;
using UIBrowser.Helpers;
namespace UIBrowser.PartialViews.Custom
{
/// <summary>
/// ComboBoxVi... | 1.936771 | 0b38b1b79143342b5dad1813a25dc35b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8820 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "eozgit/core-mvc-kanban",
"max_stars_repo_path": "Views/Tasks/Edit.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:8821"
} | starcoder | <reponame>eozgit/core-mvc-kanban
@model QuakeKanban.ViewModels.TaskWriteViewModel
@{
ViewData["Title"] = "Edit";
}
<h1>Edit</h1>
<h4>Task</h4>
<hr />
<div class="row">
<div class="col-md-4">
<form asp-action="Edit">
<div asp-validation-summary="ModelOnly" class="text-danger">... | 1.869323 | 39050a02efc28070a3733c4ab11a8965 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8821 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Augusto-Neves/bootcamp-framework-padawans",
"max_stars_repo_path": "consoleMaisSaude/Classes/Profissional.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8822"
} | starcoder | <gh_stars>0
using System;
namespace Saude
{
class Profissional
{
public string Nome { get; set; }
public string Email { get; set; }
public int Senha { get; set; }
public string Ubs { get; set; }
public string Funcao { get; set; }
public int Idade { get; set; }
... | 2.727765 | 91f5e6297cb0815177237a994dc49ce5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8822 | {
"extension": "c-sharp",
"max_stars_count": "110.0",
"max_stars_repo_name": "jesusmogollon/ClientDependency",
"max_stars_repo_path": "src/ClientDependency.TypeScript/TypeScriptWriter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8823"
} | starcoder | <reponame>jesusmogollon/ClientDependency<filename>src/ClientDependency.TypeScript/TypeScriptWriter.cs
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web;
using ClientDependency.Core;
using ClientDependency.Core.CompositeFiles;
using ClientDependency.Core.CompositeFile... | 2.445571 | bad68a8aabbbf4c638a5068a59110e43 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8823 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "MenkaChaugule/hospital-management-emr",
"max_stars_repo_path": "Code/Components/DanpheEMR.ServerModel/LabModels/LabGovReportItemModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8824"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DanpheEMR.ServerModel.LabModels
{
public class LabGovReportItemModel
{
[Key]
... | 1.824962 | 95fdc03f8e264baafa02eb26f6eb9a62 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8824 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "ZorPastaman/Event-Based-Blackboard",
"max_stars_repo_path": "Editor/EditorTools/BlackboardPropertyReferenceDrawer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8825"
} | starcoder | // Copyright (c) 2019-2020 <NAME> <EMAIL> https://github.com/ZorPastaman/Event-Based-Blackboard
using System;
using System.Collections.Generic;
using UnityEditor;
using UnityEngine;
using Zor.EventBasedBlackboard.Serialization;
using Object = UnityEngine.Object;
namespace Zor.EventBasedBlackboard.EditorTools
{
publi... | 2.017135 | 570823dafafe3b89539a0a67d4356f65 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8825 | {
"extension": "c-sharp",
"max_stars_count": "29.0",
"max_stars_repo_name": "PyneTrading/Sharpkit.Learn",
"max_stars_repo_path": "src/Sharpkit.Learn.Test/ClassWeightTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8826"
} | starcoder | // -----------------------------------------------------------------------
// <copyright file="ClassWeightTest.cs" company="">
// TODO: Update copyright text.
// </copyright>
// -----------------------------------------------------------------------
using MathNet.Numerics.LinearAlgebra.Double;
using Microsoft.VisualS... | 2.599763 | 1c2c3e9635f422682c4828f02b306dcd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8826 | {
"extension": "c-sharp",
"max_stars_count": "76.0",
"max_stars_repo_name": "sora-jp/leak",
"max_stars_repo_path": "sources/Leak.Networking.Core/NetworkExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8827"
} | starcoder | <filename>sources/Leak.Networking.Core/NetworkExtensions.cs
using System;
namespace Leak.Networking.Core
{
public static class NetworkExtensions
{
public static void ReceiveIf(this NetworkConnection connection, Action<NetworkIncomingMessage> callback, int bytes)
{
connection.Receiv... | 2.805278 | e2b6d434d0b324536edad36ce616c43a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8827 | {
"extension": "c-sharp",
"max_stars_count": "20.0",
"max_stars_repo_name": "DvdKhl/AVDump3",
"max_stars_repo_path": "AVDump3Lib/Processing/BlockConsumers/Matroska/Segment/Tags/TagsSection.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8828"
} | starcoder | <filename>AVDump3Lib/Processing/BlockConsumers/Matroska/Segment/Tags/TagsSection.cs
using BXmlLib;
using BXmlLib.DocTypes.Matroska;
using System.Collections.Generic;
namespace AVDump3Lib.Processing.BlockConsumers.Matroska.Segment.Tags {
public class TagsSection : Section {
public EbmlList<TagSection> Items { get; p... | 2.604872 | 9d5d180b34fd51351e0a6395396222eb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8828 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gideonkorir/Msape-sql",
"max_stars_repo_path": "src/BookKeeping/Msape.BookKeeping.Api/Models/TillPaymentApiModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8829"
} | starcoder | using FluentValidation;
using Msape.BookKeeping.Api.Infra;
namespace Msape.BookKeeping.Api.Models
{
public record TillPaymentApiModel(string CustomerNumber, string TillNumber, decimal Amount);
public class TillPaymentApiModelValidator : AbstractValidator<TillPaymentApiModel>
{
public Til... | 2.719472 | d3a68d0bc1ba4e59830ad34558072262 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8829 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "belav/runtime",
"max_stars_repo_path": "src/libraries/System.Data.OleDb/tests/OleDbConnectionTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8830"
} | starcoder | <reponame>belav/runtime<filename>src/libraries/System.Data.OleDb/tests/OleDbConnectionTests.cs
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Collections.Generic;
using System.Data.Common;
using System.IO;
using Xuni... | 1.994439 | 6a00904fac8432a1403b0d3f612d3e8c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8830 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hakanaku2009/Openbound",
"max_stars_repo_path": "OpenBound/GameComponents/Interface/Popup/PopupSelectMobile.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8831"
} | starcoder | /*
* Copyright (C) 2020, <NAME>. <<EMAIL>>
* This file is part of OpenBound.
* OpenBound is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation, either version 3 of the License, or(at your option) any later versio... | 1.831793 | 0e61aabc087cc4c53a6bab5435e16136 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8831 | {
"extension": "c-sharp",
"max_stars_count": "18.0",
"max_stars_repo_name": "GrapeCity/pagefx",
"max_stars_repo_path": "source/libs/Flash/Core/SpecialTypes/ISpecialType.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8832"
} | starcoder | namespace DataDynamics.PageFX.Flash.Core.SpecialTypes
{
internal interface ISpecialType
{
}
} | 1.158108 | 8aae502bb21342886ed95bf86a2df571 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8832 | {
"extension": "c-sharp",
"max_stars_count": "327.0",
"max_stars_repo_name": "Myfreedom614/WinRTXamlToolkit",
"max_stars_repo_path": "WinRTXamlToolkit.Controls.DataVisualization/ResourceDictionaryExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8833"
} | starcoder | <gh_stars>100-1000
// (c) Copyright Microsoft Corporation.
// This source is subject to the Microsoft Public License (Ms-PL).
// Please see http://go.microsoft.com/fwlink/?LinkID=131993 for details.
// All other rights reserved.
using Windows.UI.Xaml;
namespace WinRTXamlToolkit.Controls.DataVisualization.Charti... | 2.281767 | 9e7ebf83f3e0c1e1d78596e0ead1214b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8833 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Slippy2k/Playnite",
"max_stars_repo_path": "source/Playnite/Providers/BattleNet/BattleNetGameController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8834"
} | starcoder | using Microsoft.Win32;
using NLog;
using Playnite.Models;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Playnite.SDK.Models;
namespace Playnite.Providers.BattleNe... | 1.915045 | 3b597b86a2b920508307423bb336eafd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8834 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "JosepLleal/GameJam_S-Team",
"max_stars_repo_path": "S-Team/Assets/External Assets/Lean/Transition/Examples/Scripts/LeanAnimationKeyPress.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8835"
} | starcoder | <reponame>JosepLleal/GameJam_S-Team
using UnityEngine;
using Lean.Transition; // Make sure you add this if you want to use Lean Transition!
// We put this example code in a namespace, so it doesn't clutter the project up
namespace Lean.Transition.Examples
{
// Create a new component called Repeater
[HelpURL(LeanTra... | 2.415159 | 344fb7a86c24d9c8bc0b107f956ea762 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8835 | {
"extension": "c-sharp",
"max_stars_count": "40.0",
"max_stars_repo_name": "ninascarpelli/audio-analysis",
"max_stars_repo_path": "src/AudioAnalysisTools/EventStatistics/EventStatistics.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8836"
} | starcoder | // <copyright file="EventStatistics.cs" company="QutEcoacoustics">
// All code in this file and all associated files are the copyright and property of the QUT Ecoacoustics Research Group (formerly MQUTeR, and formerly QUT Bioacoustics Research Group).
// </copyright>
namespace AudioAnalysisTools.EventStatistics
{
... | 2.524865 | 831efd7c87de0200482c9efe0e95030c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8836 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zzsnn/FastTunnel",
"max_stars_repo_path": "FastTunnel.Core/Config/IServerConfig.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8837"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace FastTunnel.Core.Config
{
public interface IServerConfig
{
string BindAddr { get; set; }
int BindPort { get; set; }
#region Web相关配置
int WebProxyPort { get; set; }
string WebDomain { get; set... | 1.816563 | e82f9bd40916a5e5d65aaac0bba56938 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8837 | {
"extension": "c-sharp",
"max_stars_count": "1010.0",
"max_stars_repo_name": "MiggieNRG/microsoft-authentication-library-for-dotnet",
"max_stars_repo_path": "tests/devapps/XForms/XForms.iOS/AcquirePageRenderer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8838"
} | starcoder | <reponame>MiggieNRG/microsoft-authentication-library-for-dotnet<filename>tests/devapps/XForms/XForms.iOS/AcquirePageRenderer.cs
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using Xamarin.Forms.Platform.iOS;
namespace XForms.iOS
{
internal class AcquirePageRender... | 1.363396 | e3bcc828d570b56ce757f9849535ab23 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8838 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "coojee2012/pm3",
"max_stars_repo_path": "SurveyDesign/Government/AppSGXKZGL/EmpSel.aspx.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8839"
} | starcoder | <reponame>coojee2012/pm3<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using ProjectData;
using Tools;
using ProjectBLL;
using System.Text;
using Approve.RuleCenter;
using EgovaDAO;
using ProjectData;
using System.D... | 1.783607 | 7530bfca561cd9fd32c015b23725bc4e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8839 | {
"extension": "c-sharp",
"max_stars_count": "336.0",
"max_stars_repo_name": "furoTmark/Elmah",
"max_stars_repo_path": "tests/ErrorLogPageFactoryTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8840"
} | starcoder | <reponame>furoTmark/Elmah<gh_stars>100-1000
#region License, Terms and Author(s)
//
// ELMAH - Error Logging Modules and Handlers for ASP.NET
// Copyright (c) 2004-9 <NAME>. All rights reserved.
//
// Author(s):
//
// <NAME>, http://www.raboof.com
//
// Licensed under the Apache License, Version 2.0 (the "License... | 1.997458 | 0568642194975deb92bb1d1f38192d4a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8840 | {
"extension": "c-sharp",
"max_stars_count": "18.0",
"max_stars_repo_name": "alisterk/Slik",
"max_stars_repo_path": "tests/SlikCord.IntegrationTests/NamespaceServiceTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8841"
} | starcoder | using Containerd.Services.Namespaces.V1;
using Google.Protobuf.Collections;
using Google.Protobuf.WellKnownTypes;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Linq;
using System.Threading.Tasks;
namespace Slik.Cord.IntegrationTests
{
[TestClass]
#if NET5_0
[TestCategory(".Net ... | 2.01827 | 765f7b6fc164474ff8cedb5f971331b2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8841 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DragomirPetrov/TelerikAcademy",
"max_stars_repo_path": "C #/C# Part 1/06.Loops/04.PrintADeck/04.PrintADeck.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8842"
} | starcoder | using System;
class Program
{
static void Main()
{
string cardSign = Console.ReadLine();
int n = 0;
switch (cardSign)
{
case "2": n += 2; break;
case "3": n += 3; break;
case "4": n += 4; break;
case "5": n += 5; break;
... | 3.425097 | 0cf38fb6a3ff8851640a6ca994603935 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8842 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "RLittlesII/Versions",
"max_stars_repo_path": ".build/Build.AzurePipelines.CI.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8843"
} | starcoder | <gh_stars>1-10
using Nuke.Common;
using Nuke.Common.Tooling;
using Rocket.Surgery.Nuke.Azp;
/// <summary>
/// Represents the Azure Pipeline portion of the build.
/// </summary>
[AzurePipelinesSecretStepsAttribute(
InvokeTargets = new[] { nameof(AzurePipelines) },
Parameters = new[] { nameof(IHaveConfiguration.... | 1.521144 | 86bbd4adea05a3cb47b600ed82aa8f19 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8843 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LeonZly90/RP",
"max_stars_repo_path": "Services/ADService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8844"
} | starcoder | <reponame>LeonZly90/RP<gh_stars>0
using Microsoft.AspNetCore.Identity;
using Microsoft.Extensions.Configuration;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.DirectoryServices.AccountManagement;
using ResourcePlanning.Models;
using ResourcePlanning.Utili... | 2.109628 | 2adf2e04e72298ab3fb6130f378f06d2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8844 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Neo-Ciber94/FastCSV",
"max_stars_repo_path": "FastCSV/Converters/Collections/TupleConverter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8845"
} | starcoder | <filename>FastCSV/Converters/Collections/TupleConverter.cs
using FastCSV.Internal;
using FastCSV.Utils;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.CompilerServices;
namespace FastCSV.Converters.Collections
{
internal class TupleConverter : CsvCollectionConverter<ITuple... | 2.84814 | 3c7ec50048151f9bf08909de6c266201 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8845 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Myrmecoman/PetProjectRepo",
"max_stars_repo_path": "PetProject/Assets/Scripts/Mecanics/RandomPitch.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8846"
} | starcoder | <filename>PetProject/Assets/Scripts/Mecanics/RandomPitch.cs
using UnityEngine;
public class RandomPitch : MonoBehaviour
{
public float interval = 0.1f;
void Start()
{
GetComponent<AudioSource>().pitch = GetComponent<AudioSource>().pitch + Random.Range(-interval/2, interval/2);
}
} | 2.054821 | 9a25b132d2ca4655233df9341a38a14b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8846 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "parkeradam/DDNSUpdate",
"max_stars_repo_path": "src/DDNSUpdate.Tests/Application/Providers/DigitalOcean/Configuration/DigitalOceanDNSRecordValidatorTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8847"
} | starcoder | using DDNSUpdate.Application.Providers.DigitalOcean.Configuration;
using DDNSUpdate.Domain;
using DDNSUpdate.Tests.Helpers;
using FluentValidation;
using FluentValidation.Results;
using Xunit;
namespace DDNSUpdate.Tests.Application.Providers.DigitalOcean.Configuration
{
public class DigitalOceanDNSRecordValidator... | 2.138222 | 6d738f1f6d95c9ba480c3c45d1fbdb0c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8847 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "smbc-digital/iag-contentapi",
"max_stars_repo_path": "test/StockportContentApiTests/Unit/Services/DocumentsServiceTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8848"
} | starcoder | <filename>test/StockportContentApiTests/Unit/Services/DocumentsServiceTests.cs
using System;
using System.Collections.Generic;
using Contentful.Core.Models;
using FluentAssertions;
using Moq;
using StockportContentApi.Builders;
using StockportContentApi.Config;
using StockportContentApi.ContentfulFactories;
using Stoc... | 2.036416 | 5e7bc333f4400ced70d34bf823e86225 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8848 | {
"extension": "c-sharp",
"max_stars_count": "87.0",
"max_stars_repo_name": "liuguiyou/JT808Gateway",
"max_stars_repo_path": "src/JT808.DotNetty.Core/Converters/ByteArrayHexTextJsonConverter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8849"
} | starcoder | <reponame>liuguiyou/JT808Gateway
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.Json;
using System.Text.Json.Serialization;
using System.Threading.Tasks;
namespace JT808.DotNetty.Core.JsonConvert
{
/// <summary>
///
/// ref:https://github.com/dotne... | 2.58984 | 2259e9be4bb05cde21bf3b647553f2ae |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8849 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "petronerd/purus",
"max_stars_repo_path": "InsurerWebApplication/Models/ViewModels.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8850"
} | starcoder |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Services;
namespace PURUSInsurance.Models
{
public class SearchPageViewModel
{
public SearchPage... | 2.414797 | 7629e2450f7ac2276a65593ce66ad0a3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8850 | {
"extension": "c-sharp",
"max_stars_count": "29.0",
"max_stars_repo_name": "dataexplorer/dataexplorer",
"max_stars_repo_path": "Application.Tests/Layouts/Base/Queries/BaseGetAllLayoutColumnsQueryHandlerTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8851"
} | starcoder | <gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Media.Imaging;
using DataExplorer.Application.Columns;
using DataExplorer.Domain.Columns;
using DataExplorer.Domain.Tests.Columns;
using Moq;
using NUnit.Framework;
... | 2.02111 | 7f89b918f692369414d334cd98a248f4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8851 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Jackwar/String-Math-Calculator",
"max_stars_repo_path": "StringMathCalculator/CalculatorOperation.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8852"
} | starcoder |
using System;
using System.Collections.Generic;
using System.Text;
namespace StringMathCalculator.Calculations
{
/// <summary>
/// Holds the weight and CalculationPair for an operation character.
/// </summary>
struct CalculatorOperation
{
/// <value>Calculation pair to be tied with a cha... | 3.45487 | 6040e643685d667b9d410c9aed3dec47 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8852 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "assurestor/zertoFailover",
"max_stars_repo_path": "zertoFailover/ZertoZvm.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8853"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text;
using System.Web;
using System.Web.Script.Serialization;
using System.Xml.Linq;
using Newtonsoft.Json.Converters;
using Newtonsoft.Json.Linq;
nam... | 2.220465 | 811f8531b8bc3c3ca5992a8e509bee20 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8853 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "sbannikov/csharpcroc20",
"max_stars_repo_path": "CrocCSharpBot/WebControlPanel/Storage/Users.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8854"
} | starcoder | <gh_stars>1-10
//------------------------------------------------------------------------------
// <auto-generated>
// Этот код создан по шаблону.
//
// Изменения, вносимые в этот файл вручную, могут привести к непредвиденной работе приложения.
// Изменения, вносимые в этот файл вручную, будут перезаписаны ... | 1.844558 | ede70a9cc337d98d40d56f1c3b39df83 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8854 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hemingfei/read-write-EXCEL",
"max_stars_repo_path": "tool_proto2excel/consoleProto2Excel/consoleProto2Excel/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8855"
} | starcoder | using NPOI.SS.UserModel;
using NPOI.XSSF.UserModel;
using System;
using System.Collections.Generic;
using System.IO;
namespace consoleProto2Excel
{
class Program
{
static void Main(string[] args)
{
//string dir = Environment.CurrentDirectory;
//Console.WriteLine(dir);
... | 2.578649 | ba9b22a154a7e478cb91d6d385537a9a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8855 | {
"extension": "c-sharp",
"max_stars_count": "439.0",
"max_stars_repo_name": "gnusmas12/MyTested.AspNet.TV",
"max_stars_repo_path": "src/Elastic Search with .NET/Code/Server/CarRentalSystem.Dealers/Models/CarAds/CarAdOutputModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8856"
} | starcoder | <filename>src/Elastic Search with .NET/Code/Server/CarRentalSystem.Dealers/Models/CarAds/CarAdOutputModel.cs
namespace CarRentalSystem.Dealers.Models.CarAds
{
using AutoMapper;
using CarRentalSystem.Models;
using Data.Models;
public class CarAdOutputModel : IMapFrom<CarAd>
{
public int Id ... | 2.54478 | fe4ade466480783d93716a6145e6f4dc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8856 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Xpitfire/dork.backend-services",
"max_stars_repo_path": "src/Dork.Services.Profiles/Queries/AuthState.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8857"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Dork.Servies.Profiles.Queries
{
public enum AuthState
{
Successful,
ClientError,
ServerError
}
}
| 1.320473 | 417604795e54dba2f705d523a04fadc0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8857 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "vijit101/BattleTankGame",
"max_stars_repo_path": "Assets/Scripts/Tank/TankController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8858"
} | starcoder | <gh_stars>1-10
using Tanks.Bullet;
using Tanks.ObjectPool;
using UnityEngine;
namespace Tanks.Tank
{
public class TankController
{
public TankController(TankModel tankModel, TankView tankView)
{
//instantiates the tank view prefab passed to it via service
Ta... | 2.608788 | 92a3143c27f4ebf6049335cf4f01c327 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8858 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Tominous/DiscordForOffice",
"max_stars_repo_path": "DiscordForExcel/ThisAddIn.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8859"
} | starcoder | using System.Collections.Generic;
using Excel = Microsoft.Office.Interop.Excel;
using System.Diagnostics;
using DiscordRPC;
using DiscordRPC.Logging;
using Microsoft.Office.Interop.Excel;
namespace DiscordForExcel
{
public partial class ThisAddIn
{
public DiscordRpcClient client;
private stati... | 1.959637 | f1abef4eea6bd143a2a49e629127d5b2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8859 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kalosfide/KalosfideAPI",
"max_stars_repo_path": "KalosfideAPI/Data/Facture.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8860"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using KalosfideAPI.Data.Constantes;
using Microsoft.EntityFrameworkCore;
namespace KalosfideAPI.Data
{
public class Facture : Keys.AKeyUidRnoNo
{
// key
[Required]
[MaxLength(LongueurMax.UId)]
... | 2.246921 | 1d0b11776d2073b67f01bb1ea2ee8d1c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8860 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "yawkale/missingcode-umbraco-html-minifier",
"max_stars_repo_path": "src/HtmlMinifier.Webv7/Views/MacroPartials/VelstandWidgetContentMap.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:8861"
} | starcoder | <filename>src/HtmlMinifier.Webv7/Views/MacroPartials/VelstandWidgetContentMap.cshtml
@using Velstand.Constants
@using Velstand.Models
@inherits Umbraco.Web.Macros.PartialViewMacroPage
@{
IPublishedContent current = CurrentPage;
IPublishedContent holder = current.VBlogHolderTop();
}
<ul class="v-widget collect... | 2.363992 | cc73a640747ffc8838fe5cbac15b0efd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8861 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AquaticInformatics/cross-section-field-data-plugin",
"max_stars_repo_path": "src/CrossSectionPlugin.UnitTests/TestData/TestHelpers.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8862"
} | starcoder | using System.Collections.Generic;
namespace CrossSectionPlugin.UnitTests.TestData
{
public class TestHelpers
{
public static IDictionary<string, string> CreateExpectedCrossSectionFields()
{
return new Dictionary<string, string>
{
{ "Location", "Server.Pl... | 1.953139 | 1448ad0f2c4db445c915b9319db0b9f8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8862 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "totollygeek/awesome-app",
"max_stars_repo_path": "src/awesome.app/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8863"
} | starcoder | <filename>src/awesome.app/Program.cs
using System;
using System.Linq;
using TOTOllyGeek.Awesome.Lib;
namespace TOTOllyGeek.Awesome
{
class Program
{
static int Main(string[] args)
{
if (args.Length == 0)
{
Console.WriteLine("You need to specify some text... | 3.135226 | 32dc07d7e493bce210406e9610798f85 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8863 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "bonprosoft/VSShare-Server",
"max_stars_repo_path": "Views/Manage/AccessTokens.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:8864"
} | starcoder | @model IEnumerable<Server.Models.UserAccessToken>
@{
ViewBag.Title = "アクセストークンの管理";
}
<h2>アクセストークンの管理</h2>
<p>
@using (Html.BeginForm("CreateAccessToken", "Manage", FormMethod.Post))
{
<div class="form-horizontal">
@Html.AntiForgeryToken()
<div class="form-... | 2.466337 | b6782e03e514e014e9306092b61dcfb6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8864 | {
"extension": "c-sharp",
"max_stars_count": "34.0",
"max_stars_repo_name": "Folleach/GeometryDashAPI",
"max_stars_repo_path": "GeometryDashAPI/Extensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8865"
} | starcoder | <gh_stars>10-100
using System;
using System.Reflection;
namespace GeometryDashAPI
{
public static class Extensions
{
public static T GetAttributeOfSelected<T>(this Enum value) where T : Attribute
{
MemberInfo info = value.GetType().GetMember(value.ToString())[0];
object... | 2.679957 | 5a78dcee32c5f7ad9fe1feef626fdc7d |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.