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 | 90961 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "neilsarkar/violetui",
"max_stars_repo_path": "Runtime/Navigation/Navigator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:90962"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Sirenix.OdinInspector;
using System.Threading;
using Cysharp.Threading.Tasks;
using UnityEngine.UI;
#if UNITY_EDITOR
using UnityEditor;
#endif
namespace VioletUI {
/// <summary>
/// Navigator maintains a map of <see cr... | 2.116791 | 598e1d32dd6a59d52a89b369ff932d6a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 90962 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "uta-org/BrowserCollectionViewer",
"max_stars_repo_path": "BrowserCollectionViewer/frmAnalyzer.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:90963"
} | starcoder | <filename>BrowserCollectionViewer/frmAnalyzer.Designer.cs
namespace BrowserCollectionViewer
{
partial class frmAnalyzer
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// C... | 1.946084 | 2bff441d5872dabb4b22adc9ee8d249c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 90963 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "willnode/Ascii-Painter",
"max_stars_repo_path": "Ascii-Painter/NewCanvasDialog.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:90964"
} | starcoder | <filename>Ascii-Painter/NewCanvasDialog.Designer.cs
namespace Ascii_Painter
{
partial class NewCanvasDialog
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any ... | 2.579636 | 3510cc101bacadedea51200576dd6b96 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 90964 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jencyraj/HumanResourceManagementProject",
"max_stars_repo_path": "src/HRM.Web/CountryList.aspx.cs",
"provenance": "train-00000-of-00045.jsonl.gz:90965"
} | starcoder | <reponame>jencyraj/HumanResourceManagementProject
using System;
using System.Collections.Generic;
using System.Data;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data.OleDb;
using System.IO;
using HRM.BOL;
using HRM.BAL;
public partial class CountryList : System.Web.UI.Page
{
... | 1.882871 | 772d702266423d21ccb2e8a82561eb57 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 90965 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "tableau/TabProvision",
"max_stars_repo_path": "src/RESTRequests/DownloadWorkbookViewThumbnail.cs",
"provenance": "train-00000-of-00045.jsonl.gz:90966"
} | starcoder | <filename>src/RESTRequests/DownloadWorkbookViewThumbnail.cs
using System;
using System.Xml;
using System.Collections.Generic;
using System.Text;
/// <summary>
/// Downloads a workbook thumbnail image
/// </summary>
partial class DownloadWorkbookViewThumbnail : TableauServerSignedInRequestBase
{
/// <summary>
... | 2.438339 | 3f0df2554dd8ae8579c9973e21066171 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 90966 | {
"extension": "c-sharp",
"max_stars_count": "18.0",
"max_stars_repo_name": "GrapeCity/pagefx",
"max_stars_repo_path": "tests/TestRunner/UI/GeneralOptionsPage.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:90967"
} | starcoder | namespace DataDynamics.PageFX.TestRunner.UI
{
partial class GeneralOptionsPage
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being us... | 1.494894 | 9d5f6cf98b6389a45201417b81ce0b55 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 90967 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "christides11/touhou-unlimited-fantasies",
"max_stars_repo_path": "Assets/_Project/Scripts/Content/GameModes/TrainingMode/GameModeTraining.cs",
"provenance": "train-00000-of-00045.jsonl.gz:90968"
} | starcoder | <gh_stars>1-10
using System.Collections;
using System.Collections.Generic;
using TUF.Core;
using TUF.Entities;
using TUF.Entities.Shared;
using UnityEngine;
namespace TUF.GameMode
{
public class GameModeTraining : GameModeBase
{
public EntityManager dummy;
public bool frameByFrame = false;
... | 1.828789 | 74dee0befac2b42722741aa45f2571fc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 90968 | {
"extension": "c-sharp",
"max_stars_count": "236.0",
"max_stars_repo_name": "yevgenish/FileDB",
"max_stars_repo_path": "Extrator/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:90969"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
namespace Extrator
{
class Program
{
static void Main(string[] args)
{
if (args.Length != 0)
{
Console.WriteLine("Usage: Extrator <file>");
... | 3.308844 | 114dbbe4d403c93938d65475b312cfb9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 90969 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JasonSkillman/Heading-Home",
"max_stars_repo_path": "Assets/Imported Assets/Jason's Scene Fader Manager/Scripts/Example/SceneFaderTriggger.cs",
"provenance": "train-00000-of-00045.jsonl.gz:90970"
} | starcoder | using UnityEngine;
public class SceneFaderTriggger : MonoBehaviour {
public string sceneToLoad;
public string popOfText;
void Awake() {
DontDestroyOnLoad(gameObject);
}
void Start() {
SceneFaderManager.main.OnFadeOut += OnFadeOutEnd;
SceneFaderManager.main.OnFadeIn += OnFadeInEnd;
}
void Update() {
... | 2.162901 | 00c8885a6c9456bd30e45a5d1ec802fb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 90970 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "eiceblue/Free-Spire.PDF-for-.NET",
"max_stars_repo_path": "CS/10_StampsAndWatermarks/ImageWatermarkSecond.cs",
"provenance": "train-00000-of-00045.jsonl.gz:90971"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using Spire.Pdf;
using Spire.Pdf.Graphics;
namespace ImageWatermarkSecond
{
public partial class Form1 : Form
{
public Form1()
{
... | 2.761625 | 2b08b9102d5f984020e7d4450b64d6d0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 90971 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Thieum/Sally7",
"max_stars_repo_path": "Sally7.Tests/ValueTypeConversionTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:90972"
} | starcoder | <gh_stars>1-10
using System;
using Sally7.ValueConversion;
using Xunit;
namespace Sally7.Tests
{
public class ValueTypeConversionTests
{
[Theory]
[InlineData(0)]
[InlineData(1)]
[InlineData(-1)]
[InlineData((int) short.MinValue)]
[InlineData((int) short.MaxValue... | 2.672922 | 831f520457c0b506963fc7adb5e5dcaf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 90972 | {
"extension": "c-sharp",
"max_stars_count": "116.0",
"max_stars_repo_name": "MichaelSimons/CliCommandLineParser",
"max_stars_repo_path": "src/source/CommandLine/ParserConfiguration.cs",
"provenance": "train-00000-of-00045.jsonl.gz:90973"
} | starcoder | <gh_stars>100-1000
using System;
using System.Collections.Generic;
using System.Linq;
namespace Microsoft.DotNet.Cli.CommandLine
{
public class ParserConfiguration
{
public ParserConfiguration(
IReadOnlyCollection<Option> definedOptions,
IReadOnlyCollection<char> argumentDelimit... | 2.346907 | 5f50ccc21fe6d1727001199d9a0009cc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 90973 | {
"extension": "c-sharp",
"max_stars_count": "251.0",
"max_stars_repo_name": "4-FLOSS-Free-Libre-Open-Source-Software/KeeTheme",
"max_stars_repo_path": "KeeTheme/Theme/CustomToolStripRenderer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:90974"
} | starcoder | <reponame>4-FLOSS-Free-Libre-Open-Source-Software/KeeTheme<filename>KeeTheme/Theme/CustomToolStripRenderer.cs
using System.Windows.Forms;
using System.Drawing;
using System.Drawing.Drawing2D;
using KeePass.UI.ToolStripRendering;
namespace KeeTheme.Theme
{
class CustomToolStripRenderer : ProExtTsr
{
private readon... | 2.163781 | 8a2c8a1cbd6a510cb225b6702c4bb579 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 90974 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "bzn/ChaoHsiangEx",
"max_stars_repo_path": "Assets/Cinema Suite/Cinema Director/Cutscene Items/Global Items/Cutscene/PlayCutscene.cs",
"provenance": "train-00000-of-00045.jsonl.gz:90975"
} | starcoder | <gh_stars>1-10
// Cinema Suite
using UnityEngine;
namespace CinemaDirector
{
/// <summary>
/// Play a given Cutscene.
/// </summary>
[CutsceneItem("Cutscene", "Play Cutscene", CutsceneItemGenre.GlobalItem)]
public class PlayCutscene : CinemaGlobalEvent
{
// The Cutscene to be... | 2.360832 | d9dcf69ced037bc1ecba77d2a7f2ea69 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 90975 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "abombss/machine",
"max_stars_repo_path": "Source/Migrations/Machine.Migrations/Services/Impl/MigrationRunner.cs",
"provenance": "train-00000-of-00045.jsonl.gz:90976"
} | starcoder | <filename>Source/Migrations/Machine.Migrations/Services/Impl/MigrationRunner.cs
using System;
using System.Collections.Generic;
using System.Data;
namespace Machine.Migrations.Services.Impl
{
public class MigrationRunner : IMigrationRunner
{
#region Logging
static readonly log4net.ILog _log = log4... | 2.381207 | 49ad67826a5cbaebf9dc7a84709b82a5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 90976 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "EG-BRS/Xena.Contracts",
"max_stars_repo_path": "src/Xena.Contracts/Domain/XenaUserSubscriptionLineDto.cs",
"provenance": "train-00000-of-00045.jsonl.gz:90977"
} | starcoder | namespace Xena.Contracts.Domain
{
public class XenaUserSubscriptionLineDto : XenaUserDto
{
public long SubscriptionId { get; set; }
public decimal Quantity { get; set; }
public string Description { get; set; }
public string ArticleNumber { get; set; }
public int Index { ... | 1.41681 | d6efbf10ca350fe4c05700bfc54e47d5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 90977 | {
"extension": "c-sharp",
"max_stars_count": "29.0",
"max_stars_repo_name": "dataexplorer/dataexplorer",
"max_stars_repo_path": "Presentation.Tests/Views/ScatterPlots/Renderers/Plots/PlotRendererTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:90978"
} | starcoder | using System.Collections.Generic;
using System.Windows;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using DataExplorer.Application.Views.ScatterPlots;
using DataExplorer.Presentation.Core.Canvas.Factories;
using DataExplorer.Presentation.Core.Canvas.Items;
using DataExplorer.Presentation.Core.Geome... | 2.156873 | 8040dc519bd86562b0482a2fe3aa64ce |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 90978 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "adospace/reactorui-wpf",
"max_stars_repo_path": "src/WpfReactorUI/RxShape.cs",
"provenance": "train-00000-of-00045.jsonl.gz:90979"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Collections;
using System.Reflection;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Effects;
using System.Windows.Shell;
using System.Windo... | 2.123137 | 95e38d678ed4901218d3791135e28a2f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 90979 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "safern/runfo",
"max_stars_repo_path": "DevOps.Util.DotNet/Triage/SearchTimelinesRequest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:90980"
} | starcoder | using DevOps.Util.DotNet;
using DevOps.Util.DotNet.Triage;
using DevOps.Util.DotNet.Triage.Migrations;
using Microsoft.EntityFrameworkCore;
using Octokit;
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Linq.Expressions;
using System.Runtime.Intero... | 2.345431 | eb10c3ef2944d417157f1b3dd30d00c8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 90980 | {
"extension": "c-sharp",
"max_stars_count": "21.0",
"max_stars_repo_name": "stefan-baumann/ManiaPlanetSharp",
"max_stars_repo_path": "src/ManiaPlanetSharp/GameBox/Types/FileReference.cs",
"provenance": "train-00000-of-00045.jsonl.gz:90981"
} | starcoder | <reponame>stefan-baumann/ManiaPlanetSharp
using System;
using System.Collections.Generic;
using System.Text;
namespace ManiaPlanetSharp.GameBox
{
public class FileReference
{
public byte Version { get; set; }
public byte[] Checksum { get; set; }
public string FilePath { get; set; }
... | 1.579072 | f1f373e22dae0dd2402d7e3e8959f6f5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 90981 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "kitchanismo/KitchanismoDynamicCard",
"max_stars_repo_path": "DynamicCardDemo/DynamicCardDemo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:90982"
} | starcoder | <reponame>kitchanismo/KitchanismoDynamicCard
// Kitchanismo Dynamic Card
// Version 3.0
// Created by <NAME>
// CardContainer Properties
// OrderBy | Default 'ASCENDING'
// Style | Default 'Mini'
// Themes | Default 'Light'
// Layout | Default 'Vertical'
// Primary | Default '255,0,128'
// Secondary | Default ... | 2.536565 | 65ddaf5b42bf5f75cee9c807b3b01dc8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 90982 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kegbeach/ErsatzTV",
"max_stars_repo_path": "ErsatzTV.Application/MediaCollections/PagedMediaCollectionsViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:90983"
} | starcoder | <gh_stars>0
namespace ErsatzTV.Application.MediaCollections;
public record PagedMediaCollectionsViewModel(int TotalCount, List<MediaCollectionViewModel> Page);
| 0.909655 | 8ffa89fc43d029ef3fdb33c4b54d4a28 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 90983 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DovetailSoftware/fubumvc",
"max_stars_repo_path": "src/FubuMVC.Tests/UI/Elements/Builders/TextboxBuilderTester.cs",
"provenance": "train-00000-of-00045.jsonl.gz:90984"
} | starcoder | <reponame>DovetailSoftware/fubumvc<filename>src/FubuMVC.Tests/UI/Elements/Builders/TextboxBuilderTester.cs<gh_stars>0
using FubuCore;
using FubuCore.Formatting;
using FubuMVC.Core.UI.Elements;
using FubuMVC.Core.UI.Elements.Builders;
using FubuTestingSupport;
using NUnit.Framework;
namespace FubuMVC.Tests.UI.El... | 2.371096 | 732dd5399876f7bceae41ea0fa2998de |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 90984 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "Shuttle/Shuttle.Esb.Samples",
"max_stars_repo_path": "Shuttle.DependencyInjection/Shuttle.DependencyInjection.Client/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:90985"
} | starcoder | <filename>Shuttle.DependencyInjection/Shuttle.DependencyInjection.Client/Program.cs
using System;
using Ninject;
using Shuttle.Core.Ninject;
using Shuttle.DependencyInjection.Messages;
using Shuttle.Esb;
namespace Shuttle.DependencyInjection.Client
{
internal class Program
{
private static void Main(s... | 2.082751 | c31fe7d787c4c0fe01b45707b17bf5ec |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 90985 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "erxdkh/azos",
"max_stars_repo_path": "src/testing/Azos.Tests.Nub/Configuration/ConfigAttributeTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:90986"
} | starcoder | <reponame>erxdkh/azos
/*<FILE_LICENSE>
* Azos (A to Z Application Operating System) Framework
* The A to Z Foundation (a.k.a. Azist) licenses this file to you under the MIT license.
* See the LICENSE file in the project root for more information.
</FILE_LICENSE>*/
using Azos.Conf;
using Azos.Scripting;
using System... | 2.388649 | 79b93dd4ceff34548e92e43b25c02b71 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 90986 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sherikhanx/SOSERP",
"max_stars_repo_path": "webapp/Areas/cms/Views/Seo/PageMetadata.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:90987"
} | starcoder | @model CMS.Entity.CmsPage
@{
ViewBag.Title = "Optimization > /" + Model.Name;
}
@section styles{
<link href="http://code.jquery.com/ui/1.10.2/themes/smoothness/jquery-ui.css" rel="Stylesheet" />
<link href="~/Content/Bootstrap Typehead/tokenfield-typeahead.css" rel="stylesheet" />
<link href="~/Conten... | 2.037831 | 2a63b18cadab473767525b7637e9443c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 90987 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "caiogarcia/Asp.netCore-POC",
"max_stars_repo_path": "mywebapp/Pages/Solange/Index.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:90988"
} | starcoder | <gh_stars>0
@page
<h1>Hi Solange</h1>
<p>this page is at /Solange</p>
@{
var i = 2 + 2;
}
<b>The consert starts at: @i PM</b> | 2.233943 | 04037f88a24b040787e7fb2fcd800a03 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 90988 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "asoftwareworld/shopping-cart",
"max_stars_repo_path": "Business/ShoppingCart.Business/Contracts/IOrderService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:90989"
} | starcoder | <filename>Business/ShoppingCart.Business/Contracts/IOrderService.cs
using ShoppingCart.DTO;
using ShoppingCart.Entities.Model;
using ShoppingCart.Entities.ViewModel;
using System;
using System.Collections.Generic;
using System.Text;
namespace ShoppingCart.Business.Contracts
{
public interface IOrderService
{
... | 1.459381 | 95609328b18188ec2ad513330c9f3965 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 90989 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Backs/judge.net",
"max_stars_repo_path": "Judge/Judge.Application/AdminService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:90990"
} | starcoder | namespace Judge.Application
{
using Judge.Application.Interfaces;
using Judge.Application.ViewModels.Admin.Contests;
using Judge.Application.ViewModels.Admin.Languages;
using Judge.Application.ViewModels.Admin.Problems;
using Judge.Data;
using Judge.Model.CheckSolution;
using Judge.Model.Co... | 2.111298 | f6d7389a33dfa9f484c68ea0585b2018 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 90990 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "EricDoReMi/AppleReportTool",
"max_stars_repo_path": "AppleDailyReportTool/entity/ApplePoTb.cs",
"provenance": "train-00000-of-00045.jsonl.gz:90991"
} | starcoder | <reponame>EricDoReMi/AppleReportTool
using AppleDailyReportTool.utils;
using System;
using System.Collections.Generic;
using System.Data.OleDb;
using System.Linq;
using System.Text;
namespace AppleDailyReportTool.entity
{
public partial class ApplePoTb
{
public ApplePoTb()
{
... | 2.034495 | 4e47c23357add0ba0402cf43b065b5ae |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 90991 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "Cimpress/FomaSdk.Net",
"max_stars_repo_path": "src/Model/ItemSearchRequestDto.cs",
"provenance": "train-00000-of-00045.jsonl.gz:90992"
} | starcoder | <reponame>Cimpress/FomaSdk.Net<gh_stars>1-10
using System.Collections.Generic;
using System.Runtime.Serialization;
using System.Text;
using Newtonsoft.Json;
namespace Cimpress.Clients.Foma.Model {
/// <summary>
///
/// </summary>
[DataContract]
public class ItemSearchRequestDto {
/// <summary>
/// ... | 2.175881 | 5f2223ebfea09a5574688699a83cc151 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 90992 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TheAutomatingMrLynch/NBi",
"max_stars_repo_path": "NBi.Testing.Core/Scalar/Resolver/GlobalVariableScalarResolverTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:90993"
} | starcoder | <gh_stars>0
using Moq;
using NBi.Core.Scalar.Resolver;
using NBi.Core.Variable;
using NBi.Extensibility.Resolving;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NBi.Testing.Core.Scalar.Resolver
{
public class Gl... | 2.027328 | e144daec4d19e4cba3da3815e20d45f6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 90993 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RetroSwimAU/QnDoptimiser",
"max_stars_repo_path": "Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:90994"
} | starcoder | <reponame>RetroSwimAU/QnDoptimiser
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace QnDoptimiser
{
class Program
{
static void Main(string[] args)
{
if(args.Length == 0)
... | 3.222042 | e6f254c9d55fba5169392640a9f11946 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 90994 | {
"extension": "c-sharp",
"max_stars_count": "3359.0",
"max_stars_repo_name": "cnheider/SpaceEngineers",
"max_stars_repo_path": "Sources/VRage/Profiler/MyDrawArea.cs",
"provenance": "train-00000-of-00045.jsonl.gz:90995"
} | starcoder | using System;
namespace VRage.Profiler
{
public class MyDrawArea
{
public readonly float x_start;
public readonly float y_start;
public readonly float x_scale;
public readonly float y_scale;
public float y_range { get; private set; }
public float y_legend_ms_in... | 3.015938 | 912d5de156865a8eb724b0328090d4c8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 90995 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "borislavdostov/WorkPlacesAPI",
"max_stars_repo_path": "Workplaces.Common/Constants/GlobalConstants.cs",
"provenance": "train-00000-of-00045.jsonl.gz:90996"
} | starcoder | <reponame>borislavdostov/WorkPlacesAPI
namespace Workplaces.Common.Constants
{
public class GlobalConstants
{
public const string XMLDocument = "Workplaces.xml";
public const string SwaggerTitle = "Workplaces API";
public const string SwaggerVersion = "v1";
public const string S... | 1.390167 | aff4c98d010e1a4d5cbab25f74e8a80d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 90996 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SkillsFundingAgency/DC-2021-PeriodEnd-ReportService",
"max_stars_repo_path": "src/ESFA.DC.PeriodEnd.ReportService.Reports/AppsMonthly/ProviderMonitoringsBuilder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:90997"
} | starcoder | using System.Collections.Generic;
using System.Linq;
using ESFA.DC.PeriodEnd.ReportService.Reports.AppsMonthly.Interface;
using ESFA.DC.PeriodEnd.ReportService.Reports.Extensions;
using ESFA.DC.PeriodEnd.ReportService.Reports.Interface.AppsMonthly.Model;
namespace ESFA.DC.PeriodEnd.ReportService.Reports.AppsMonthly
{... | 2.073089 | 7397da9ba25ed76bb6b82ddb7e48a39c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 90997 | {
"extension": "c-sharp",
"max_stars_count": "18.0",
"max_stars_repo_name": "bwinzhb/SoftwareLicense",
"max_stars_repo_path": "Generator/RegInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:90998"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Generator
{
public class RegBaseInfo
{
public string Organization { get; set; }
public string MachineCode { get; set; }
public string ExpiryDate { get; set; }
}
public class RegInfo... | 1.746922 | 8f9ae10d2b6802937a49e8d018c6846c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 90998 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "pascalberger/Cake.Prca.Issues.Markdownlint",
"max_stars_repo_path": "src/Cake.Prca.Issues.Markdownlint.Tests/MarkdownlintIssuesProviderTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:90999"
} | starcoder | <reponame>pascalberger/Cake.Prca.Issues.Markdownlint
namespace Cake.Prca.Issues.Markdownlint.Tests
{
using System.Linq;
using Core.IO;
using Shouldly;
using Testing;
using Xunit;
public class MarkdownlintIssuesProviderTests
{
public sealed class TheMarkdownlintIssuesProviderCtor
... | 2.380137 | 92a615be1f95cce3e0469702b542c9d0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 90999 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "salslab/LittlePdf",
"max_stars_repo_path": "LittlePdf/Pdf/HighLevel/PdfCharWidths.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91000"
} | starcoder | using System.IO;
using System.Threading.Tasks;
namespace LittlePdf.Pdf.HighLevel
{
public class PdfCharWidths : PdfIndirectObject
{
public PdfArray Widths { get; set; }
public override async Task WriteAsync(Stream stream)
{
Value = Widths;
await base.WriteAsync... | 2.246772 | b4e59580e82a3f8ec8a6ba2447424dac |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91000 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "da1fanshu/1234ewsd",
"max_stars_repo_path": "Assets/Scripts/Game/duifen/ResultItemInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91001"
} | starcoder | <reponame>da1fanshu/1234ewsd
using Assets.Scripts.Common.Adapters;
using UnityEngine;
using Sfs2X.Entities.Data;
using YxFramwork.Common;
using YxFramwork.Common.DataBundles;
using YxFramwork.Common.Model;
// ReSharper disable FieldCanBeMadeReadOnly.Local
#pragma warning disable 649
namespace Assets.Scripts.Game.du... | 1.986104 | 841f401bc7145a961d7466a3af73189a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91001 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "michaeldtaylor/blueprint",
"max_stars_repo_path": "src/Blueprint.Http/FromQueryAttribute.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91002"
} | starcoder | <filename>src/Blueprint.Http/FromQueryAttribute.cs<gh_stars>1-10
using System;
namespace Blueprint.Http
{
/// <summary>
/// Indicates that an API operation property should be loaded from the query string in the HTTP request.
/// </summary>
[AttributeUsage(AttributeTargets.Property)]
public sealed c... | 3.073366 | 5e276184e737596e205a4562cbca5fdb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91002 | {
"extension": "c-sharp",
"max_stars_count": "18.0",
"max_stars_repo_name": "Mu-L/UnityExtensions",
"max_stars_repo_path": "Extensions/Hub/Editor/Scripts/Pages/HubLayerPage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91003"
} | starcoder | <filename>Extensions/Hub/Editor/Scripts/Pages/HubLayerPage.cs
using System;
using System.Collections.Generic;
using Hub.Editor.Scripts.Base;
using UnityEditor;
using UnityEditorInternal;
using UnityEngine;
namespace Hub.Editor.Scripts.Pages
{
public class HubLayerPage : Hub_PageBase
{
private List<int>... | 1.930721 | 6002d1f45f85852a1375dbd8aac6ac84 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91003 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "P3D-Legacy/P3D-Legacy-Server",
"max_stars_repo_path": "src/P3D.Legacy.Server.Application/Extensions/AsyncEnumerablerExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91004"
} | starcoder | using P3D.Legacy.Server.Abstractions;
using System.Collections.Generic;
using System.Linq;
namespace P3D.Legacy.Server.Application.Extensions
{
public static class AsyncEnumerablerExtensions
{
public static IAsyncEnumerable<IPlayer> AreInitializedAsync(this IAsyncEnumerable<IPlayer> query) => query.W... | 2.300714 | 9975abe83d1e62701354f71891ac0830 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91004 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Judopay/DotNetSDK",
"max_stars_repo_path": "JudoPayDotNet/Models/ThreeDSecureReceiptModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91005"
} | starcoder | <filename>JudoPayDotNet/Models/ThreeDSecureReceiptModel.cs
using System.Runtime.Serialization;
namespace JudoPayDotNet.Models
{
/// <summary>
/// 3D secure receipt
/// </summary>
// ReSharper disable UnusedAutoPropertyAccessor.Global
// ReSharper disable UnusedMember.Global
[DataContract(Name ... | 2.546762 | 2ffb985791fefc7b909f669ff35a365f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91005 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lefevbre-organization/eShopOnContainers",
"max_stars_repo_path": "src/Services/Signature/Signature.API/Infrastructure/Services/BrandingsService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91006"
} | starcoder | using Microsoft.Extensions.Options;
using System;
using System.Threading.Tasks;
namespace Lefebvre.eLefebvreOnContainers.Services.Signature.API.Infrastructure.Services
{
using BuildingBlocks.Lefebvre.Models;
using Infrastructure.Repositories;
using Models;
public class BrandingsService : IBrandingsSe... | 2.072545 | 2c1051a3d6ae441da4f4847028e07a5c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91006 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DefiantCode/Cake.AzureCLI",
"max_stars_repo_path": "src/Cake.AzureCLI/Aks/AzAksSettings.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91007"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace Cake.AzureCLI.Aks
{
public class AzAksSettings : AzSettings
{
public string ResourceGroup { get; set; }
public string Name { get; set; }
public string Location { get; set; }
}
}
| 1.41935 | 6706756e2a30fe0bdcc73a0ad7c383dd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91007 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "davkean/msbuild",
"max_stars_repo_path": "src/Build.UnitTests/Compat/TempFileCollection.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91008"
} | starcoder | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
// Minimal implementation of TempFileCollection
using System;
using System.Collections.Generic;
using System.IO;
namespace System.CodeDom.Compiler
{
class Temp... | 2.581653 | 6f06f0dd6756576fa0923010ee60a3a2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91008 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "barsic1234/nonMetaSerializer",
"max_stars_repo_path": "implPrimitive/BytePrimitive.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91009"
} | starcoder | <filename>implPrimitive/BytePrimitive.cs
namespace nonMetaSerializer.implPrimitive
{
class BytePrimitive : IPrimitive
{
private readonly int length = 1;
byte[] IPrimitive.GetByteStream(object valueField)
{
var byteValue = (byte)valueField;
var bytes = new byte[]... | 2.545243 | f419301b2b1ad7a5633b3781417ac796 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91009 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DaraOladapo/random-team-project",
"max_stars_repo_path": "code/FrontEnd/Models/Team.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91010"
} | starcoder | <filename>code/FrontEnd/Models/Team.cs<gh_stars>0
using System;
namespace FrontEnd.Models
{
public class Team
{
public Guid ID { get; set; }
public string Name { get; set; }
public string TeamName { get; set; }
public int LuckyNumber { get; set; }
}
} | 2.093015 | a26b1d1271a135bc2c28a89c6b2bff4e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91010 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "siderisltd/UspeliteProject",
"max_stars_repo_path": "Uspelite.Web/Models/Common/SocialProfileViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91011"
} | starcoder | <gh_stars>1-10
namespace Uspelite.Web.Models.Common
{
using Data.Models.Enum;
using Uspelite.Data.Models;
using Uspelite.Web.Infrastructure.Mapping.Contracts;
public class SocialProfileViewModel : IMapFrom<SocialProfile>
{
public string Url { get; set; }
public SocialProfileType S... | 1.434214 | 82628df1d22fc08724d10a518f84b771 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91011 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TongueEnvy/TR-ai-NS-3D",
"max_stars_repo_path": "Assets/script_throwJack.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91012"
} | starcoder | <reponame>TongueEnvy/TR-ai-NS-3D
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class script_throwJack : MonoBehaviour {
public GameObject jack;
public Vector2 throwVelocity;
private void OnEnable()
{
var newJack = Instantiate<GameObject>(jack);
... | 1.802964 | 7625e78129e6cbc25057a409070082b6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91012 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rhtua/notado",
"max_stars_repo_path": "Views/Redirect/Error.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:91013"
} | starcoder | <reponame>rhtua/notado<filename>Views/Redirect/Error.cshtml
<h1>Erro.</h1>
<h2>Ocorreu um erro ao processar sua solicitação.</h2>
| 1.500666 | bc03f39ed0224b4012898e78cc0aef7d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91013 | {
"extension": "c-sharp",
"max_stars_count": "24.0",
"max_stars_repo_name": "assertorz/Unity-Attributes-Example",
"max_stars_repo_path": "Assets/Unity-Attributes-Example/46.Min/MinExample.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91014"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace UnityAttributesExample {
public class MinExample : MonoBehaviour {
[Min(20)]
public int intMin = 20;
[Min(1.2f)]
public float floatMin = 1.2f;
}
} | 2.263988 | 87f00ae03584609a37e2d66a5d41544c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91014 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "mdamyanova/C-Sharp-Web-Development",
"max_stars_repo_path": "07.C# DB Fundamentals/07.02.Databases Advanced - Entity Framework/08.Best Practices and Architecture/PhotoShare.Services/UserService.cs",
"provenance": "train-00000-of-0004... | starcoder | namespace PhotoShare.Services
{
using Data;
using Models;
using System;
using System.Collections.Generic;
using System.Linq;
public class UserService
{
public void RegisterUser(string username, string password, string email)
{
User user = new User
{... | 2.801034 | c045cc1e2c3a751540f575c94038c26d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91015 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cleak/MathLibGen",
"max_stars_repo_path": "MathLibGen/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91016"
} | starcoder | using System;
using System.IO;
namespace MathLibGen
{
class Program
{
static void Main(string[] args)
{
string[] suffixes = new string[]{
"l",
"ul",
"i",
"ui",
"s",
"us",
... | 3.034348 | c9ce22bdba89551af0854ca3693d424a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91016 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "rgfaber/m5x-sdk",
"max_stars_repo_path": "robby/src/hosts/Robby.Sub/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91017"
} | starcoder | using System;
using System.Threading.Tasks;
using Microsoft.Extensions.Hosting;
namespace Robby.Sub
{
internal class Program
{
private static async Task Main(string[] args)
{
await new HostBuilder()
.ConfigureServices((hostContext, services) => { throw ne... | 1.72076 | 04a5a6309f86dbb3099aa128add556e2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91017 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mika-f/Kotoha",
"max_stars_repo_path": "Source/Kotoha.Plugin/Automation/Controls/Wpf/WpfTextBox.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91018"
} | starcoder | <reponame>mika-f/Kotoha
using Kotoha.Plugin.Automation.Controls.Interface;
using RM.Friendly.WPFStandardControls;
namespace Kotoha.Plugin.Automation.Controls.Wpf
{
internal class WpfTextBox : ITextBox
{
private readonly WPFTextBox _textBox;
public WpfTextBox(WPFTextBox textBox)
{
... | 1.885579 | 5cd1679a266783bd96aa22d3e97d4c42 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91018 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "ProSuite/ProSuite",
"max_stars_repo_path": "src/ProSuite.DomainModel.AO/Workflow/ProjectUtils.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91019"
} | starcoder | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Reflection;
using ESRI.ArcGIS.Geodatabase;
using ProSuite.Commons;
using ProSuite.Commons.AO.Geodatabase;
using ProSuite.Commons.DomainModels;
using ProSuite.Commons.Essentials.Assertions;
using ProSuite.Commons.Essentials.CodeAnnota... | 1.756763 | 648eaff8dda9edae26c5f3563cb7fe83 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91019 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "tech-ticks/RTDXTools",
"max_stars_repo_path": "Assets/Scripts/Stubs/Generated/Assembly-CSharp-firstpass/UnityStandardAssets/ImageEffects/BloomScreenBlendMode.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91020"
} | starcoder | <reponame>tech-ticks/RTDXTools
/*
* Generated code file by Il2CppInspector - http://www.djkaty.com - https://github.com/djkaty
*/
using System;
using System.Diagnostics;
using System.Runtime.CompilerServices;
// Image 45: Assembly-CSharp-firstpass.dll - Assembly: Assembly-CSharp-firstpass, Version=0.0.0.0, Culture... | 1.253564 | 1cea479abea040184277175bf0c89d16 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91020 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kelvincrtz/BibleForum",
"max_stars_repo_path": "BibleForumSolution/BibleForum/Controllers/SupportingVerseController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91021"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using BibleForum.Data;
using BibleForum.Data.Models;
using BibleForum.Models.ReplySupportingBibleVerse;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.... | 1.860929 | a32b4a66e83dd0f25185ffe1d3ebb587 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91021 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "alwek/Digitalboken",
"max_stars_repo_path": "Digitalboken/Server/Controllers/SearchController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91022"
} | starcoder | <reponame>alwek/Digitalboken<filename>Digitalboken/Server/Controllers/SearchController.cs
using Digitalboken.Server.Interfaces;
using Digitalboken.Server.Models.Search;
using Microsoft.AspNetCore.Mvc;
using Newtonsoft.Json;
namespace Digitalboken.Server.Controllers
{
[ApiController]
[Route("api/[controller]")... | 2.549412 | 916dd75129058b558bb85c62b453e4de |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91022 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "dgarcia202/CliFx",
"max_stars_repo_path": "CliFx/Domain/CommandParameterSchema.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91023"
} | starcoder | <gh_stars>1-10
using System;
using System.Diagnostics.CodeAnalysis;
using System.Reflection;
using System.Text;
using CliFx.Attributes;
namespace CliFx.Domain
{
internal partial class CommandParameterSchema : CommandArgumentSchema
{
public int Order { get; }
public string Name { get; }
... | 2.516476 | 6d257afaeec00ee325600a290617966b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91023 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SVemulapalli/jasper",
"max_stars_repo_path": "src/Jasper.Persistence.Marten/Resiliency/RunScheduledJobs.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91024"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Jasper.Messaging.Durability;
using Jasper.Messaging.Logging;
using Jasper.Messaging.Runtime;
using Jasper.Messaging.Transports;
using Jasper.Messaging.WorkerQueues;
using Jasper.Persistence.Marten.Persist... | 1.581478 | a343f4371957fb99bc53aa7745c6c83e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91024 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cgi-techseminar-ee/messagequeue-topologies-dotnet",
"max_stars_repo_path": "competing-consumers/Consumer/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91025"
} | starcoder | <reponame>cgi-techseminar-ee/messagequeue-topologies-dotnet
namespace Consumer
{
using System;
using System.Diagnostics;
using System.Threading.Tasks;
using Common;
using Common.Messages;
using MassTransit;
internal static class Program
{
private static void Main(string[] arg... | 2.572437 | 91148216f85b84625817f747e0a8ac73 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91025 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "jungervin/fs-gauge-bridge",
"max_stars_repo_path": "BridgeClient/ViewModel/MainWindowViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91026"
} | starcoder | <filename>BridgeClient/ViewModel/MainWindowViewModel.cs
using System;
using System.Windows.Input;
namespace BridgeClient.ViewModel
{
class MainWindowViewModel : BaseViewModel
{
public string Input { get => Get<string>(); set => Set(value); }
public string Buffer { get => Get<string>(); set => ... | 2.742399 | fb13559a04b238448429948f7e114139 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91026 | {
"extension": "c-sharp",
"max_stars_count": "357.0",
"max_stars_repo_name": "wfu8/lightwave",
"max_stars_repo_path": "tools/win/VMRestSsoAdminSnapIn/RestSsoAdminSnapIn/Views/Wizard/HelpDialog.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91027"
} | starcoder | /*
* Copyright © 2012-2016 VMware, Inc. 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.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... | 1.664453 | 743c838cd7a909cc803a4520c5079545 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91027 | {
"extension": "c-sharp",
"max_stars_count": "20.0",
"max_stars_repo_name": "sql-bi/Pbi-PushDataset",
"max_stars_repo_path": "Sqlbi.PbiPushTools/Cmdlets/ConfirmPushDataset.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91028"
} | starcoder | <gh_stars>10-100
using System.IO;
using System.Management.Automation;
using System.Collections.Generic;
using System.CommandLine.Rendering;
using TabModel = Microsoft.AnalysisServices.Tabular;
using Sqlbi.PbiPushDataset;
namespace Sqlbi.PbiPushTools.CmdLets
{
[Cmdlet("Confirm", "PushDataset")] // Correspond to Ch... | 2.491991 | d29010358a7da7f672d3ff1a176c21a4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91028 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "nathnael/cats",
"max_stars_repo_path": "Web/Areas/Logistics/Views/Transfer/Edit.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:91029"
} | starcoder | @using Cats.Helpers
@model Cats.Models.Transfer
@{
ViewBag.Title = "Edit";
const string pageName = "Logistics.Transfer.Edit";
}
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true... | 2.200439 | 8114f7acb276a748631a0f3f965ee01e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91029 | {
"extension": "c-sharp",
"max_stars_count": "146.0",
"max_stars_repo_name": "ScriptIdiot/DAFT",
"max_stars_repo_path": "DAFT/Progam.Modules.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91030"
} | starcoder | using System;
using System.Collections.Generic;
using DAFT.Modules;
namespace DAFT
{
sealed partial class App
{
private void _SQLAgentJob(SqlInstances sqlInstances)
{
SQLAgentJob sAJ = new SQLAgentJob(credentials);
sAJ.SetComputerName(sqlInstances.Server);
... | 1.821609 | 4479f6bdbac3722acc4934f3e8bbab76 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91030 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nk-rotten/MicBeach.Framework.Core",
"max_stars_repo_path": "src/Dev/MicBeach.Develop/DataValidation/Validators/RegularExpressionValidator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91031"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace MicBeach.Develop.DataValidation.Validators
{
/// <summary>
/// 正则表达式验证
... | 2.798285 | 6d2fbc4423ef5a662a4f374f189de1b4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91031 | {
"extension": "c-sharp",
"max_stars_count": "29.0",
"max_stars_repo_name": "acaceresssit/Blog",
"max_stars_repo_path": "RepositoryPattern/RepositoryPattern/IRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91032"
} | starcoder | namespace RepositoryPattern
{
using System.Collections.Generic;
using System.Threading.Tasks;
public interface IRepository<T> where T : IIdentifiable
{
IEnumerable<T> GetAll();
T Delete(string id);
T GetById(string id);
T Insert(T entity);
T Update(T entity);
... | 2.41093 | 2c32e9d62cf7f37d351515441a67be20 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91032 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "QinZhuo/FivePointAI",
"max_stars_repo_path": "Script/AiLv2.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91033"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class AiLv2 : SamepleAi {
// Use this for initialization
void Start () {
if (chessColor != Chess.观战) Debug.Log(chessColor + "AI: LV" + 2);
toScore = new SortedList<string, float>();
to... | 1.997417 | f168194aaccdfb63c68ae3133d57e920 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91033 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "BigETI/ElectrodZMultiplayer",
"max_stars_repo_path": "ElectrodZMultiplayer/Core/Data/Vector3FloatData.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91034"
} | starcoder | using Newtonsoft.Json;
/// <summary>
/// ElectrodZ multiplayer data namespace
/// </summary>
namespace ElectrodZMultiplayer.Data
{
/// <summary>
/// A class that describes 3D vector data
/// </summary>
[JsonObject(MemberSerialization.OptIn)]
public class Vector3FloatData
{
/// <summary... | 3.150461 | 0626f8da9eb5ad0a1cc2af943f20f526 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91034 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Devil7-Softwares/GSTIN-Validator---Example",
"max_stars_repo_path": "CS.NET/GSTINValidator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91035"
} | starcoder | //==========================================================================//
// //
// (C) Copyright 2018 Devil7 Softwares. //
// //
// ... | 2.887007 | 0a7d5b02c6a0a6f4da07cba833724ea2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91035 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hallower/WhooingTransactionMaker",
"max_stars_repo_path": "WhooingTransactionMaker/WhooingTransactionMaker/WhooingTransactionMaker/ViewModels/InsertPageViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91036"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Input;
using WhooingTransactionMaker.Helpers;
using WhooingTransactionMaker.Models;
usin... | 2.372316 | 6295f65cb46fa2e1a9843f17cd1a96a8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91036 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Anastasia635/tractusx",
"max_stars_repo_path": "coreservices/registration/src/CatenaX.NetworkServices.Registration.Service/Controllers/RegistrationController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91037"
} | starcoder | using CatenaX.NetworkServices.Cosent.Library.Data;
using CatenaX.NetworkServices.Mockups;
using CatenaX.NetworkServices.Registration.Service.BusinessLogic;
using CatenaX.NetworkServices.Registration.Service.Model;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using Newtonsoft.Json;
using System;... | 1.939996 | eb24acf4b096f6a11a938ed31702b0b3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91037 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Naxos84/SpaceShooterGame",
"max_stars_repo_path": "Game/Assets/Scripts/ScrollableBackground.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91038"
} | starcoder | <reponame>Naxos84/SpaceShooterGame<filename>Game/Assets/Scripts/ScrollableBackground.cs
using UnityEngine;
using System.Collections;
public class ScrollableBackground : MonoBehaviour {
public float speed = 0.5f;
// Use this for initialization
void Start () {
}
// Update is called once per frame... | 2.187882 | 157e5155042892acbe4058ee6fdca85a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91038 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NumLocker-Japan/makeNewFile_AsrScript",
"max_stars_repo_path": "WPF_based/makeNewFile/Template.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91039"
} | starcoder | using Microsoft.Win32;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text.RegularExpressions;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
using System.Windows.Media;
namespace makeNewFile
{
/// <summary>
/// Template.xaml ... | 2.304316 | 0d8a347e064184a5e89e711839b4e663 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91039 | {
"extension": "c-sharp",
"max_stars_count": "19.0",
"max_stars_repo_name": "manictime/manictime-server-sampleclient",
"max_stars_repo_path": "src/SampleClient.Gui/SendActivityUpdatesWindow.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91040"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows;
using Finkit.ManicTime.Server.SampleClient.Resources;
namespace Finkit.ManicTime.Server.SampleClient.Ui
{
public partial class SendActivityUpdatesWindow
{
private static string GroupsText;
private static ... | 2.280274 | 6eb1f9be9a2958ddd91678ab08fbfd5d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91040 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zhlnpu/SmartphoneVR2-ARinVR",
"max_stars_repo_path": "SmartPhoneVR-stage2-pc-ARinVR/Assets/MathLibraryForUnity/Tests/Scripts/Distance/2D/Test_DistSegment2Segment2.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91041"
} | starcoder | using UnityEngine;
using Dest.Math;
namespace Dest.Math.Tests
{
[ExecuteInEditMode]
public class Test_DistSegment2Segment2 : Test_Base
{
public Transform P0, P1;
public Transform R0, R1;
private void OnDrawGizmos()
{
Segment2 segment0 = CreateSegment2(P0, P1);
Segment2 segment1 = CreateSegment2(R0, ... | 2.087775 | c10cd698d4967c656af667273b6fd31b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91041 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "NewLifeX/NewLife.IoT",
"max_stars_repo_path": "NewLife.IoT/Drivers/DriverAttribute.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91042"
} | starcoder | namespace NewLife.IoT.Drivers;
/// <summary>驱动特性</summary>
public class DriverAttribute : Attribute
{
/// <summary>
/// 名称
/// </summary>
public String Name { get; set; }
/// <summary>
/// 指定驱动名称
/// </summary>
/// <param name="name"></param>
public DriverAttribute(String name) =>... | 2.789285 | 19205747648085179154a00a0ffab6da |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91042 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "2015meb1082/DemoUnityTests",
"max_stars_repo_path": "Assets/Test2/Scripts/RaycastTest2D.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91043"
} | starcoder | using UnityEngine;
public class RaycastTest2D : MonoBehaviour
{
// Start is called before the first frame update
void Start()
{
Physics2D.queriesStartInColliders = false;
}
// Update is called once per frame
void Update()
{
RaycastHit2D hitInfo;
hitInfo = Physics2D... | 2.363921 | dfd6283a90912019a91f2f3fd853070a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91043 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rayscc/dev-track",
"max_stars_repo_path": "000/Complier/Model/Ast/StatementSequenceNode.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91044"
} | starcoder | using System;
using System.Collections.Generic;
namespace Complier.Model.Ast
{
public class StatementSequenceNode : AstNode
{
public IEnumerable<AstNode> SubNodes
{
get
{
return subNodes;
}
}
List<AstNode> subNodes;
... | 3.030873 | 686ca79cc398b5c5308147c01fd9891d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91044 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "WhateverDevs/Core",
"max_stars_repo_path": "Runtime/Build/Hooks/CopyFolderToBuild.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91045"
} | starcoder | using System.IO;
using Sirenix.OdinInspector;
using UnityEngine;
using WhateverDevs.Core.Runtime.Common;
namespace WhateverDevs.Core.Runtime.Build.Hooks
{
/// <summary>
/// Copy a folder to the build path after building.
/// </summary>
[CreateAssetMenu(menuName = "WhateverDevs/BuildHooks/CopyFolder", f... | 2.526729 | b859e562ac2d87b5ea424c6476ea89bc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91045 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Visin1991/Role-playing-Game-Framework",
"max_stars_repo_path": "FrameWork/Assets/Script/FrameWroks/Input/UserInputPr.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91046"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityStandardAssets.CrossPlatformInput;
[RequireComponent(typeof(InputClientManager))]
public class UserInputPr : MonoBehaviour {
InputClientManager inputClientManager;
public string fireButton;
public KeyCode Key_A;
... | 1.950218 | 30d1967d3bdfb94f4f647d94f3174412 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91046 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Aggrathon/LudumDare33",
"max_stars_repo_path": "Assets/Scripts/SeasonActive.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91047"
} | starcoder | <gh_stars>0
using UnityEngine;
using System.Collections;
public class SeasonActive : MonoBehaviour, IOnSeasonChange {
public Data.Seasons season;
void Start () {
if(season != Data.Seasons.EverySeason) {
Data.AddSeasonListener(this);
OnSeasonChange(Data.season);
}
}
public void OnSeasonChange(Data.Sea... | 1.881149 | 56f1ac90355a0d0c1f9c0d02056db7ff |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91047 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "obiwanjacobi/Zim80",
"max_stars_repo_path": "Source/Code/Jacobi.Zim80/CpuZ80/States/Instructions/CompareRepeatInstruction.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91048"
} | starcoder | namespace Jacobi.Zim80.CpuZ80.States.Instructions
{
internal class CompareRepeatInstruction : RepeatInstruction
{
private ReadT3InstructionPart _readPart;
public CompareRepeatInstruction(CpuZ80 cpu)
: base(cpu)
{ }
protected override void OnClockNeg()
{
... | 2.38985 | bad8b78f6259f4ec648674ee966d5257 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91048 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "3DStreamingToolkit/3DStreamingToolkit-deploy",
"max_stars_repo_path": "web-api/Cloud3DSTKDeployment/Services/IBatchService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91049"
} | starcoder | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
namespace Cloud3DSTKDeployment.Services
{
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Cloud3DSTKDeployment.Models;
using Microsoft.Azure.Batch;
using Microsof... | 2.21965 | abecaa307da8570573146d622261268b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91049 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "0x0AB/RPGCore",
"max_stars_repo_path": "src/RPGCore.Behaviour/View/SyncEventCollectionHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91050"
} | starcoder | <filename>src/RPGCore.Behaviour/View/SyncEventCollectionHandler.cs<gh_stars>1-10
using Newtonsoft.Json.Linq;
using RPGCore.Behaviour;
namespace RPGCore.View
{
public class SyncEventCollectionHandler<TKey, TValue> : IEventCollectionHandler<TKey, TValue>
{
private readonly ViewDispatcher dispatcher;
private reado... | 2.327679 | af7ae3badb81943811eebab93a89b567 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91050 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rafalkozik/fireblender-datagen",
"max_stars_repo_path": "src/Fireblender.DataGen.Common/Helper/RandomExtension.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91051"
} | starcoder | namespace Fireblender.DataGen.Common.Helper
{
using System;
public static class RandomExtension
{
public static Guid NextGuid(this Random random)
{
var bytes = new byte[16];
random.NextBytes(bytes);
return new Guid(bytes);
}
public stati... | 2.689029 | 9f55c807c211005208fa9483d857504e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91051 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "spellbound-game/spellbound",
"max_stars_repo_path": "Assets/Scripts/Spell.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91052"
} | starcoder | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Spell : MonoBehaviour {
public Transform firePoint;
public Transform firepointdown;
public GameObject spellPrefab;
private int p1mana;
public bool isarena = false;
public AudioClip impact;... | 2.0581 | 36dfda58e7e790a4374cc067894890c0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91052 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "NTaylorMullen/EndGate.Server",
"max_stars_repo_path": "EndGate.Server/EndGate.Server.Core/Game/GameTime.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91053"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using EndGate.Server;
namespace EndGate.Server
{
/// <summary>
/// Defines a game time class that is used to manage update timing execution as well as total game time.
/// </summary>
public class GameT... | 2.945322 | 201c9ba6e0810c2121223d3c914a8427 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91053 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "HSR-BusinessApplications/CampusApp",
"max_stars_repo_path": "Hsr.Campus.Core/TestData/MenuTestData.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91054"
} | starcoder | // Copyright (c) Hochschule für Technik Rapperswil. All Rights Reserved.
// Licensed under the Apache 2.0 license. See LICENSE.txt in the project root for license information.
// The classes with test data must only be compiled in the Test-Build!
#pragma warning disable SA1124 // Do not use regions
#if TEST_DATA... | 2.200431 | 5459300e8734c8d3d15867b2ba8790cb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91054 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "daryl-mcmillan/kinesis-agent-windows",
"max_stars_repo_path": "Amazon.KinesisTap.Core/Parsers/W3SVCLogRecord.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91055"
} | starcoder | <reponame>daryl-mcmillan/kinesis-agent-windows<filename>Amazon.KinesisTap.Core/Parsers/W3SVCLogRecord.cs
/*
* Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License... | 1.975663 | 0ac46d5348de90122a3316186ed2027a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91055 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "SunnySoldier357/KMSCalendar",
"max_stars_repo_path": "KMSCalendar/KMSCalendar/Models/Settings/AppSecrets.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91056"
} | starcoder | using System;
namespace KMSCalendar.Models.Settings
{
public class AppSecrets
{
//* Public Properties
public string Android { get; private set; }
public string IOS { get; private set; }
//* Static Methods
public static AppSecrets UpdateSettings(AppSecrets @this, AppSecrets other)
{
if (... | 2.643631 | 6c57e17a5fc1451c2b586307c897556f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91056 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "maya-papaya/Rush-Racing",
"max_stars_repo_path": "Assets/Scripts/Positioning/PositionBehind.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91057"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
//Author: <NAME>
//This simple script allows the car to change the UI position display accordingly when the AI car passes the player's position and vice versa.
public class PositionBehind : MonoBehaviour
{
//This... | 2.765849 | dd9b7c681e71971bc0384d0b0eae76e3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91057 | {
"extension": "c-sharp",
"max_stars_count": "77.0",
"max_stars_repo_name": "hartviglarsen/OurUmbraco",
"max_stars_repo_path": "OurUmbraco/Project/Models/VersionCompatibility.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91058"
} | starcoder | using System.Runtime.Serialization;
namespace OurUmbraco.Project.Models
{
[DataContract]
public class VersionCompatibility
{
[DataMember(Name = "percentage")]
public int Percentage { get; set; }
[DataMember(Name = "smiley")]
public string Smiley { get; set; }
[DataMe... | 1.874009 | 664ba57b4ed9a464304b1caf79a36d79 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91058 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Kittyfisto/System.Threading.Extensions",
"max_stars_repo_path": "src/System.Extensions.Test/IO/PathComparerTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91059"
} | starcoder | using System.Collections.Generic;
using System.IO;
using FluentAssertions;
using NUnit.Framework;
namespace System.Extensions.Test.IO
{
[TestFixture]
public sealed class PathComparerTest
{
public static IEnumerable<string> InvalidPaths => new[]
{
null,
"",
"?"
};
[Test]
public void TestEquals1(... | 2.821966 | 0ced654652364efa24e8171e55aff12b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91059 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SimonWalkerNAIT/Pi",
"max_stars_repo_path": "PI_Comm_Wrapper/PI_I2C.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91060"
} | starcoder | <filename>PI_Comm_Wrapper/PI_I2C.cs<gh_stars>1-10
using System;
using System.Runtime.InteropServices;
namespace PI_Comm_Wrapper
{
public class PI_I2C : IDisposable
{
// DLL Mapping to private local class
private static class _PI_Comm
{
[DllImport("libpi_comm_base.so", EntryPoint = "I2C_Open", SetLastError =... | 2.580595 | 20662015bf1d313d58dcd09d3a164c02 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91060 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "renatohsilva/MarvelApp",
"max_stars_repo_path": "MarvelApp/MarvelApp/MarvelApp.Android/SplashActivity.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91061"
} | starcoder | using System;
using System.Threading.Tasks;
using Android.App;
using Android.Content;
using Android.OS;
using Android.Util;
namespace MarvelApp.Droid
{
[Activity(Theme = "@style/Theme.Splash",
MainLauncher = true,
NoHistory = true)]
public class SplashActivity : Activity
{
... | 2.406037 | 79472d4291b401fc14b4d040254337f3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.