added string | created string | id string | metadata dict | source string | text string | code-score float64 | md5 string |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843312 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Revature-Cinephiliacs/ReviewRepo",
"max_stars_repo_path": "LogicTests/ReviewLogicTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162532"
} | starcoder | using Microsoft.VisualStudio.TestTools.UnitTesting;
using Logic;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Logic.Tests
{
[TestClass()]
public class ReviewLogicTests
{
[TestMethod()]
public void GetReviewsTe... | 1.327535 | 201987be305646e9c73dd45c434c1970 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843313 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "EmilyEdna/KilyCore",
"max_stars_repo_path": "KilyCore.EntityFrameWork/EntityMapping/Enterprise/EnterpriseVedioMap.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162533"
} | starcoder | using KilyCore.EntityFrameWork.Model.Enterprise;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using System;
using System.Collections.Generic;
using System.Text;
#region << 版 本 注 释 >>
/*----------------------------------------------------------------
* 类 描 述 :
* 命名空间 :Kil... | 1.747185 | 6a99f9c70107a9d83b0f3803d00fcb15 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843314 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Aberro/FactorioModLoader",
"max_stars_repo_path": "Prototypes/ICraftingMachine.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162534"
} | starcoder | <filename>Prototypes/ICraftingMachine.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Text;
namespace FactorioModLoader.Prototypes
{
[Repository("data.raw.crafting-machine")]
public interface ICraftingMachine : IEntity
{
IEnumerable<IRecipeCategory> CraftingCategories { get; }
//IEne... | 1.636684 | 860c5d79a9e3347a70230eb1356a253e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843315 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "towhidulmannanuae/frapid",
"max_stars_repo_path": "src/Frapid.Web/Controllers/SiteMapController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162535"
} | starcoder | using System.Net;
using System.Text;
using System.Threading.Tasks;
using System.Web.Mvc;
using Frapid.Areas;
using Frapid.Areas.Caching;
using Frapid.Configuration;
using Frapid.Framework;
using Frapid.i18n;
using System.Web.UI;
namespace Frapid.Web.Controllers
{
public class SiteMapController: FrapidController
... | 1.784127 | 944c20eb3e11cfbdc78bea7678fb992b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843316 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "coffeelabor/CIS174_Reed_James",
"max_stars_repo_path": "Ch13Ex1BookstoreJames/Bookstore/Models/ViewModels/Nav.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162536"
} | starcoder | <reponame>coffeelabor/CIS174_Reed_James
namespace Bookstore.Models
{
// this class isn't exactly a view model, so it doesn't have the ViewModel suffix.
// It's used in the Layout and AdminLayout views to mark a nav link as active.
// It's in this folder because, like a traditional view model, it's used in... | 2.122872 | d9c603121422712b43f336a95b7735b1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843317 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tcd1nc/ProjectRep-PTR",
"max_stars_repo_path": "ViewModels/PTMainViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162537"
} | starcoder | <reponame>tcd1nc/ProjectRep-PTR
using System;
using System.Windows.Input;
using static PTR.StaticCollections;
using static PTR.DatabaseQueries;
using PTR.Models;
using System.Windows;
using System.Collections.Generic;
using System.Linq;
using System.Data;
using static PTR.EnumerationManager;
//using System.L... | 1.811284 | d4db60f29680735b213c6d837ee276d8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843318 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "fsprojects/zzarchive-FSharp.Data.Experimental.XenomorphProvider",
"max_stars_repo_path": "docs/tools/reference/module.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:162538"
} | starcoder | <reponame>fsprojects/zzarchive-FSharp.Data.Experimental.XenomorphProvider
@{
Layout = "default";
Title = "Module";
}
<div class="row">
<div class="span1"></div>
<div class="span10" id="main">
<h1>@Model.Module.Name</h1>
<div class="xmldoc">
@Model.Module.Comment.FullText
</div>
@if (Mo... | 2.283799 | 7444f8fadd6e3c73c74e1ec4e68d1c5c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843319 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jdages/AndrewsHouse",
"max_stars_repo_path": "src/Orchard.Web/Modules/Orchard.JobsQueue/Tests/MessageQueueTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162539"
} | starcoder | <filename>src/Orchard.Web/Modules/Orchard.JobsQueue/Tests/MessageQueueTests.cs
using System;
using System.Collections.Generic;
using Autofac;
using NUnit.Framework;
using Orchard.JobsQueue.Models;
using Orchard.JobsQueue.Services;
using Orchard.Messaging.Models;
using Orchard.Messaging.Services;
using Orchard.... | 1.606434 | 50fcb67abea98908390a29039556823a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843320 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "singularity-group/bugsnag-unity",
"max_stars_repo_path": "src/BugsnagUnity/Native/Android/Breadcrumbs.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162540"
} | starcoder | <filename>src/BugsnagUnity/Native/Android/Breadcrumbs.cs
using System;
using System.Collections.Generic;
using UnityEngine;
using BugsnagUnity.Payload;
namespace BugsnagUnity
{
class Breadcrumbs : IBreadcrumbs
{
NativeInterface NativeInterface { get; }
internal Breadcrumbs(NativeInterface nati... | 2.55943 | 27e6bf3142bae23101555ba77155fe0c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843321 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "arabiasz/service-manager-mvc-5",
"max_stars_repo_path": "Inspinia_MVC5_SeedProject/Views/Fiscalizations/EditorTemplates/SelectDeviceToFiscalizationViewModel.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:162541"
} | starcoder | <reponame>arabiasz/service-manager-mvc-5
@model Inspinia_MVC5_SeedProject.ViewModels.Fiscalizations.FiscalizationViewModel
@Styles.Render("~/Content/plugins/dataTables/dataTablesStyles")
<div class="table-responsive">
<table class="table table-striped table-bordered dt-devicesToFiscalization... | 1.972864 | be1eb6404f85e998adbd832e85761b37 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843322 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "RohitGandhi123/ASP.NET-Voting-App-Demo-",
"max_stars_repo_path": "OnlineVotingSystem/Views/VotingPanel/Beforetime.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:162542"
} | starcoder | <gh_stars>1-10
@{
Layout = null;
}
<head>
<title></title>
<meta http-equiv="refresh" content="1" />
</head>
<body>
<br />
<br />
<br />
<h2 style="text-align:center; color:red">VOTE WILL BE STARTED WITHIN @ViewBag.Message</h2>
</body>
| 1.621698 | 19e4e39e39982cebb4ac4c3c52129357 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843323 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "hangdo201298/J3Week",
"max_stars_repo_path": "DemoInsta/DemoInsta.Android/MainActivity.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162543"
} | starcoder | using System;
using Android.App;
using Android.Content.PM;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using Android.OS;
using FFImageLoading.Forms.Droid;
using Android.Content.Res;
using Android.Util;
namespace DemoInsta.Droid
{
[Activity(Label = "DemoInsta", Icon = "@drawable/icon", Theme... | 1.846842 | e7cdc2e253197d9ec948db12dc6db543 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843324 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ashish-dsajspott/RoboLions",
"max_stars_repo_path": "Rubyer/Transition.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162544"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Med... | 2.388229 | 64850185f7cc1fb91ea374c12f7bb4d4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843325 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AG235HB/Crawler",
"max_stars_repo_path": "Enums/CheckType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162545"
} | starcoder | namespace Crawler
{
public enum CheckType
{
Ping,
Connect,
List,
DetailedList,
FileName,
FileExtension
}
} | 1.645943 | c9a7d6ad4b5d0f0228c0d6beee7729a5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843326 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sponticelli/Unity-Extensions",
"max_stars_repo_path": "Runtime/ListExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162546"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using UnityRandom = UnityEngine.Random;
namespace com.liteninja.unityextensions
{
public static class ListExtensions
{
public static T GetRandomItem<T>(this List<T> list)
{
var random = UnityRandom.Range(... | 2.899048 | ccc6080742e1a0771536f2e5583e3961 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843327 | {
"extension": "c-sharp",
"max_stars_count": "37.0",
"max_stars_repo_name": "wub/SassyStudio",
"max_stars_repo_path": "SassyStudio.Interfaces/StylesheetChangedEventArgs.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162547"
} | starcoder | <reponame>wub/SassyStudio
using System;
namespace SassyStudio
{
public class StylesheetChangedEventArgs : EventArgs
{
public StylesheetChangedEventArgs(ISassStylesheet previous, ISassStylesheet current)
{
Previous = previous;
Current = current;
}
public... | 2.099724 | 5d126cd0bd475c3898d20c0317043e20 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843328 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nagasudhirpulla/wrldc_scada_issues_portal",
"max_stars_repo_path": "src/WrldcScadaIssuesPortal/ScadaIssuesPortal.Web/Areas/Identity/Pages/Account/Manage/_ViewImports.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:162548"
} | starcoder | <filename>src/WrldcScadaIssuesPortal/ScadaIssuesPortal.Web/Areas/Identity/Pages/Account/Manage/_ViewImports.cshtml<gh_stars>0
@using ScadaIssuesPortal.Web.Areas.Identity.Pages.Account.Manage
| 1.132338 | 09c6868aa8733392e439e4ea20aecebb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843329 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "maikebing/dotnetmq",
"max_stars_repo_path": "src/DotNetMQ.Server/StorageManagerFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162549"
} | starcoder | <reponame>maikebing/dotnetmq
using System;
using DotNetMQ.Storage.MemoryStorage;
using DotNetMQ.Storage.MsSqlStorage;
using DotNetMQ.Storage.MySqlStorage;
using DotNetMQ.Settings;
using DotNetMQ.Storage.SQLiteStorage;
using MDS.Storage.PgSqlStorage;
using DotNetMQ.Storage.MySqlConnectorStorage;
namespace DotNetMQ... | 2.624715 | b6a4277ed59e49057a830c36f638d898 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843330 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "meet-aleksey/raptors-wing",
"max_stars_repo_path": "ParrotWings.Api/Models/ApplicationRole.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162550"
} | starcoder | using Microsoft.AspNet.Identity.EntityFramework;
namespace ParrotWings.Api.Models
{
public class ApplicationRole : IdentityRole<int, ApplicationUserRole>
{
public ApplicationRole() { }
public ApplicationRole(string name) { Name = name; }
}
} | 2.03807 | 6260f2631b3ee3245785ca62024ce787 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843331 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "mukaschultze/com.unity.webrtc",
"max_stars_repo_path": "Tests/Runtime/AudioStreamTrackTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162551"
} | starcoder | <gh_stars>1-10
using NUnit.Framework;
using UnityEngine;
namespace Unity.WebRTC.RuntimeTest
{
class AudioStreamTrackTest
{
[SetUp]
public void SetUp()
{
var value = TestHelper.HardwareCodecSupport();
WebRTC.Initialize(value ? EncoderType.Hardware : EncoderType.So... | 2.174848 | 8e09105b186872f33cb43eac7fd6eea3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843332 | {
"extension": "c-sharp",
"max_stars_count": "26.0",
"max_stars_repo_name": "fluenthub-community/FluentHub",
"max_stars_repo_path": "src/FluentHub/ViewModels/Users/OverviewViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162552"
} | starcoder | using FluentHub.Core;
using FluentHub.Models;
using FluentHub.Octokit.Models;
using FluentHub.Octokit.Queries.Users;
using FluentHub.ViewModels.Repositories;
using FluentHub.ViewModels.UserControls.ButtonBlocks;
using Humanizer;
using Microsoft.Toolkit.Mvvm.ComponentModel;
using Microsoft.Toolkit.Mvvm.Input;
using Mic... | 2.048501 | 30b45f4a211d12c878d4292de3ffd6c8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843333 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "cscannell-inacloud/INaCloud-DeploymentCockpit",
"max_stars_repo_path": "src/DeploymentCockpit.BusinessLogic/Services/ScriptService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162553"
} | starcoder | <filename>src/DeploymentCockpit.BusinessLogic/Services/ScriptService.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DeploymentCockpit.Interfaces;
using DeploymentCockpit.Models;
namespace DeploymentCockpit.Services
{
public class Script... | 2.55665 | 87a348ea3260dca1669bc548f9f8788e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843334 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "kpocza/thriot",
"max_stars_repo_path": "Service/Reporting/Thriot.Reporting.Services/FlatDtoConverters.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162554"
} | starcoder | <reponame>kpocza/thriot
using System;
using System.Collections.Generic;
using System.Linq;
using Thriot.Framework;
using Newtonsoft.Json.Linq;
using Thriot.Objects.Model;
using Thriot.Plugins.Core;
using Thriot.Reporting.Services.Dto;
namespace Thriot.Reporting.Services
{
internal static class FlatDtoConverters
... | 2.352908 | e8ae471a7fbdc9ceff0fbe5c189b179c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843335 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "liguifa/Mooc",
"max_stars_repo_path": "Student/Mooc.Student.UI/Views/Course/Video.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:162555"
} | starcoder | @{
Layout = "~/Views/Shared/Layout_basic.cshtml";
StudentClient.ViewModels.VideoModel video = ViewBag.video as StudentClient.ViewModels.VideoModel;
ViewBag.navTitle = video.VideoList.First().VideoName;
}
<link href="~/Static/Html5Video/css/video.css" rel="stylesheet" />
<script src="~/Static/Html5Video/js... | 2.135265 | 080aaa24c065c9c0c2f6d7a0d84b75a5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843336 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "yifan-zhou922/azure-sdk-for-net",
"max_stars_repo_path": "sdk/dashboard/Azure.ResourceManager.Dashboard/src/Generated/Extensions/SubscriptionExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162556"
} | starcoder | <reponame>yifan-zhou922/azure-sdk-for-net
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System.Threading;
using Azure;
using Azure.ResourceManager.Resources;
namespace Azure.ResourceManager.Dashboard
{
/// <summary> A... | 1.750704 | 9838afc04ed68e9fa48dec9130402eef |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843337 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "MustafaCQN/hms-sdk-unity",
"max_stars_repo_path": "hms-sdk-unity/HuaweiMobileServices/Game/ArchiveConstants.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162557"
} | starcoder | using UnityEngine;
using System.Collections;
using System;
namespace HuaweiMobileServices.Game
{
public class ArchiveConstants
{
//private const string CLASS_NAME = "com.huawei.hms.jos.games.archive.ArchiveConstants";
public static int ARCHIVE_LIST_SHOW_MAX_SIZE = -1;
public static i... | 1.35506 | a358f33aec6ed18e788135ee7439585f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843338 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "maxtsarenko/EntityFrameworkCore.SqlServer.NodaTime",
"max_stars_repo_path": "src/EntityFrameworkCore.SqlServer.NodaTime/Scaffolding/Internal/SqlServerNodaTimeCodeGeneratorPlugin.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162558... | starcoder | using EntityFrameworkCore.SqlServer.NodaTime.Extensions;
using Microsoft.EntityFrameworkCore.Design;
using Microsoft.EntityFrameworkCore.Scaffolding;
namespace EntityFrameworkCore.SqlServer.NodaTime.Scaffolding.Internal
{
public class SqlServerNodaTimeCodeGeneratorPlugin : ProviderCodeGeneratorPlugin
{
... | 1.359338 | dd94ffb6eb9cb634bebd7e0029ffac7a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843339 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "YehudaEi/Bluestacks-source-code",
"max_stars_repo_path": "src/HD-Common/BlueStacks/Common/ConnectFailureException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162559"
} | starcoder | <filename>src/HD-Common/BlueStacks/Common/ConnectFailureException.cs
// Decompiled with JetBrains decompiler
// Type: BlueStacks.Common.ConnectFailureException
// Assembly: HD-Common, Version=4.250.0.1070, Culture=neutral, PublicKeyToken=null
// MVID: 7033AB66-5028-4A08-B35C-D9B2B424A68A
// Assembly location: C:\Progr... | 1.930192 | 0c42fe7504c5b0ce60fbb44313fd756e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843340 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "grzesiek-galezowski/vanilla-dependency-injection",
"max_stars_repo_path": "DependencyInjection/ChangingBehaviorThroughComposition/Alarms/SwitchableAlarm.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162560"
} | starcoder | namespace ChangingBehaviorThroughComposition
{
public class SwitchableAlarm : Alarm
{
private readonly Alarm _defaultAlarm;
private readonly Alarm _secondaryAlarm;
private readonly SwitchCriteria _switchCriteria;
public SwitchableAlarm(SwitchCriteria switchCriteria, Alarm defaultAlarm, Alarm secon... | 3.063854 | 1472276717f3d8b59ebc8d26a89e188e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843341 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "draptik/gilded-rose-kata-csharp",
"max_stars_repo_path": "GildedRose/GildedRose/ICanIterate.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162561"
} | starcoder | namespace GildedRose
{
public interface ICanIterate
{
void Iterate();
}
} | 1.980579 | 3428893ce8e3944f74e3422ad3dab10c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843342 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SeppPenner/DesktopSearch",
"max_stars_repo_path": "src/DesktopSearch2/MainView.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162562"
} | starcoder | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="MainView.cs" company="Hämmer Electronics">
// Copyright (c) All rights reserved.
// </copyright>
// <summary>
// The main view.
// </summary>
// ------------------------------... | 2.383084 | ae14610fc4e81428308d6d796c888219 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843343 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "Sitecore/Commerce-Connect-StarterKit",
"max_stars_repo_path": "Website/Tests/FakeContactSystemInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162563"
} | starcoder | <filename>Website/Tests/FakeContactSystemInfo.cs
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="FakeContact.cs" company="Sitecore Corporation">
// Copyright (c) Sitecore Corporation 1999-2016
// </copyright>
// <summary>
// ... | 1.772185 | f7f4b9068541f5c386385013b1add028 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843344 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "brager17/Cached-Query",
"max_stars_repo_path": "HabrCacheQueryTests/Tests/.NetCoreContainer/CacheUsingCoreContainerBaseTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162564"
} | starcoder | <gh_stars>1-10
using System;
using HabrCacheQuery.ExampleQuery;
using HabrCacheQuery.ServiceCollectionExtensions;
using Microsoft.Extensions.DependencyInjection;
namespace Tests
{
public abstract class CacheUsingCoreContainerBaseTests : BaseCacheTest
{
protected override Action<IServiceCollection> Regi... | 1.456859 | 63ce7a9f3a5a5b4ce8444928b7860786 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843345 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "thomfre/AdventOfcode",
"max_stars_repo_path": "AdventOfCode2018/AssemblyInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162565"
} | starcoder | using System.Runtime.CompilerServices;
[assembly: InternalsVisibleTo("AdventOfCode2018Tests")] | 0.756519 | f4dab2323a126cadaee1c21d6f026a47 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843346 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "revaturelabs/housing-provider",
"max_stars_repo_path": "HousingProvider.Business/HousingProvider.Business.Library/Models/Request.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162566"
} | starcoder | using HousingProvider.Business.Library.Interfaces;
using System;
using System.Collections.Generic;
using System.Text;
namespace HousingProvider.Business.Library.Models
{
/// <summary>
/// Represent a request for accommodation or supplies
/// </summary>
public class Request : ILibraryModel
{
publi... | 2.923638 | 147df830b82f3fe6ad2d6926dd95a96b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843347 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "milevkiril/crm_system_SoftUni_Project",
"max_stars_repo_path": "ASP.NET Core/Web/CRMSystem.Web/Controllers/DealsController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162567"
} | starcoder | <reponame>milevkiril/crm_system_SoftUni_Project
namespace CRMSystem.Web.Controllers
{
using CRMSystem.Common;
using CRMSystem.Data;
using CRMSystem.Data.Common.Repositories;
using CRMSystem.Data.Models;
using CRMSystem.Data.Models.Enumerators;
using CRMSystem.Services.Data;
using CRMSystem.... | 2.176234 | d67db734de130c1e82d4651c382ba150 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843348 | {
"extension": "c-sharp",
"max_stars_count": "25.0",
"max_stars_repo_name": "sampath433m/DemoApp",
"max_stars_repo_path": "DragViewSample/DragViewSample.iOS/Renderers/DraggableViewRenderer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162568"
} | starcoder | <reponame>sampath433m/DemoApp<filename>DragViewSample/DragViewSample.iOS/Renderers/DraggableViewRenderer.cs
using Foundation;
using UIKit;
using Xamarin.Forms;
using DragViewSample;
using DragViewSample.iOS.Renderers;
using Xamarin.Forms.Platform.iOS;
using System.ComponentModel;
using CoreGraphics;
[assembly: Export... | 2.181942 | dcc1a07c4ae993f40b36ce9ff19b6adf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843349 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Altairseven/NetMicroservices",
"max_stars_repo_path": "Command/CommandService/SyncDataService/Grpc/PlatformDataClient.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162569"
} | starcoder | using AutoMapper;
using CommandModels.Models;
using Grpc.Net.Client;
using PlatformService;
namespace CommandService.SyncDataService.Grpc;
public class PlatformDataClient : IPlatformDataClient {
private readonly IConfiguration _conf;
private readonly IMapper _mapper;
public PlatformDataClient(IConfigur... | 2.380897 | 3a233e6b04a31b36ce6c3ff4c5a5dcc2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843350 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "clebertonf/dotnetAPI",
"max_stars_repo_path": "APiEstudo/APiEstudo/Migrations/DataContextModelSnapshot.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162570"
} | starcoder | // <auto-generated />
using APiEstudo.Data;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
namespace APiEstudo.Migrations
{
[DbContext(typeof(DataContext))]
partial class DataContextModelSnapshot : ModelSnap... | 2.235816 | c534d98268db08f1dc1b88e39bc49431 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843351 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "atanas-georgiev/MyServer",
"max_stars_repo_path": "src/Web/MyServer.Web/Areas/ImageGalleryAdmin/Views/_ViewStart.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:162571"
} | starcoder | <filename>src/Web/MyServer.Web/Areas/ImageGalleryAdmin/Views/_ViewStart.cshtml<gh_stars>1-10
@using System.IO
@using Microsoft.AspNetCore.Mvc.Razor
@using Microsoft.AspNetCore.Mvc.ViewFeatures
@{
Layout = "~/Pages/_Layout.cshtml";
} | 1.603785 | 4b86af1d509a6e834384108dbc7f3dc6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843352 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "ab4d/Ab3d.OculusWrap",
"max_stars_repo_path": "Ab3d.OculusWrap/Ab3d.OculusWrap/Colorf.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162572"
} | starcoder | // Copyright (c) 2017 AB4D d.o.o.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish,... | 2.295408 | 674e96b54f627da39a1864a2a85cb40e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843353 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AlexandrKlimkin/StickmanWars",
"max_stars_repo_path": "Assets/PathFindingAsset/Scripts/w2dp_PathCalculator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162573"
} | starcoder | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using System;
public class w2dp_PathCalculator {
private List<w2dp_Waypoint> openList = new List<w2dp_Waypoint> ();
private List<w2dp_Waypoint> closeList = new List<w2dp_Waypoint> ();
private List<w2dp_Waypoint> finalPath = new ... | 2.72989 | 11a6c2dd4368e781ef14cc8cb156b54e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843354 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MarceloSAmaral/PiecesOfCode",
"max_stars_repo_path": "TradeCancelling/TradeCancelling.Tests/ExcessiveTradeCancellingCheckerTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162574"
} | starcoder | <filename>TradeCancelling/TradeCancelling.Tests/ExcessiveTradeCancellingCheckerTest.cs
using System.Collections.Generic;
using Xunit;
namespace TradeCancelling.Tests
{
public class ExcessiveTradeCancellingCheckerTest
{
[Fact]
public void TestCompaniesInvolvedInExcessiveCancellations()
... | 2.3815 | 3cdd5df35d90f5e120bd950f9a0b3918 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843355 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "bucknellu/zen",
"max_stars_repo_path": "Zen.App/Model/Audience/PeriodDefinition.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162575"
} | starcoder | <gh_stars>1-10
using System;
namespace Zen.App.Model.Audience {
public class PeriodDefinition
{
public DateTime? StartTime { get; set; } = DateTime.Now;
public DateTime? EndTime { get; set; } = null;
}
} | 1.537038 | 53f6fba5c2ca7e2d3d4a91345a661826 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843356 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sharons74/koobeca",
"max_stars_repo_path": "BL/Handlers/PostHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162576"
} | starcoder | <reponame>sharons74/koobeca
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using System.Web;
using KoobecaFeedController.BL.APIs;
using KoobecaFeedController.BL.Request;
using KoobecaFeedController.DAL.Adapters;
... | 2.379275 | c90261803153ea70e5291d086346ca49 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843357 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "asm2025/essentialMix",
"max_stars_repo_path": "Standard/essentialMix/Other/Microsoft/MultiLanguage/CMLangString.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162577"
} | starcoder | using System.Runtime.InteropServices;
// ReSharper disable once CheckNamespace
namespace Other.Microsoft.MultiLanguage;
[ComImport]
[CoClass(typeof(CMLangStringClass))]
[Guid("C04D65CE-B70D-11D0-B188-00AA0038C969")]
internal interface CMLangString : IMLangString
{
} | 1.434386 | 4460dba2b179da3b40092251763fdfb9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843358 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "adrianbontea/RoboBank.Customer",
"max_stars_repo_path": "src/RoboBank.Customer.Domain/Dynamic.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162578"
} | starcoder | <filename>src/RoboBank.Customer.Domain/Dynamic.cs
using System.Collections.Generic;
namespace RoboBank.Customer.Domain
{
public class Dynamic
{
public IDictionary<string, object> Properties { get; set; } = new Dictionary<string, object>();
}
} | 1.853462 | 96b653045c55d7111cf0294085893418 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843359 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "David-Goru/Vivaio",
"max_stars_repo_path": "Assets/Scripts/Objects/BreadMachine.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162579"
} | starcoder | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
[System.Serializable]
public class BreadMachine : BuildableObject
{
[SerializeField]
public MachineState State;
[SerializeField]
public Timer Timer;
[SerializeField]
public int Flou... | 2.121724 | 4ef972d098b12e65d5e23915c5ec05f8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843360 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "iafb/greatreadingadventure",
"max_stars_repo_path": "SRP/ControlRoom/Modules/Setup/SurveyQuestionAddEdit.aspx.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162580"
} | starcoder | <filename>SRP/ControlRoom/Modules/Setup/SurveyQuestionAddEdit.aspx.cs
using System;
using System.Diagnostics;
using System.IO;
using System.Web.UI.WebControls;
using ExportToExcel;
using SRPApp.Classes;
using GRA.SRP.ControlRooms;
using GRA.SRP.Core.Utilities;
using GRA.SRP.DAL;
using GRA.SRP.Utilities.CoreClasses;
us... | 1.991907 | 1bf919e438fed6c56917e6627e3ef5b4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843361 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MediatedCommunications/MC.RocketMatter",
"max_stars_repo_path": "MC.RocketMatter/Sql/MatterTrustLedgerEntry.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162581"
} | starcoder | <gh_stars>0
using System;
using System.ComponentModel.DataAnnotations.Schema;
namespace MC.RocketMatter.Sql {
public class MatterTrustLedgerEntry {
public int ID { get; set; }
[ForeignKey(nameof(MatterTrustAccount))]
public int MatterTrustAccountId { get; set; }
public virtual Mat... | 1.481769 | c8166f7b8c3119f067f041ed06ad67fc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843362 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "TTcoinDeveloper/HomeSchool",
"max_stars_repo_path": "source/EduCATS/Helpers/Files/Interfaces/IFileManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162582"
} | starcoder | namespace EduCATS.Helpers.Files
{
/// <summary>
/// Files manager interface.
/// </summary>
public interface IFileManager
{
/// <summary>
/// Create file.
/// </summary>
/// <param name="path">File path.</param>
void Create(string path);
/// <summary>
/// Check if file exists.
/// </summary>
//... | 3.177752 | d3d06d2ace2082f1123513b5dbf2db00 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843363 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "omikolaj/the-p-league-api",
"max_stars_repo_path": "ThePLeagueDomain/Models/Schedule/Team.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162583"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
namespace ThePLeagueDomain.Models.Schedule
{
public class Team
{
#region Properties and Fields
public string TeamId { get; set; }... | 2.169318 | 5dee7c0676ff4a994bf258d794639ccd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843364 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "Bhaskers-Blu-Org2/TestEasy",
"max_stars_repo_path": "src/TestEasy.NuGet/WebNuGetProject.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162584"
} | starcoder | <reponame>Bhaskers-Blu-Org2/TestEasy
using NuGet;
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Runtime.Versioning;
namespace TestEasy.NuGet
{
internal class WebNuGetProject
{
private ... | 2.089817 | a05adb30e6366dba2e36562e7f1264e1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843365 | {
"extension": "c-sharp",
"max_stars_count": "131.0",
"max_stars_repo_name": "kylekewley/gsf",
"max_stars_repo_path": "Source/Libraries/GSF.MMS/Model/GeneralManagementParameters.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162585"
} | starcoder | //
// This file was generated by the BinaryNotes compiler.
// See http://bnotes.sourceforge.net
// Any modifications to this file will be lost upon recompilation of the source ASN.1.
//
using GSF.ASN1;
using GSF.ASN1.Attributes;
using GSF.ASN1.Coders;
namespace GSF.MMS.Model
{
[ASN1PreparedElement]
[AS... | 1.853815 | 02ae8d32ed7395339876f27a57e8f0a1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843366 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "2011-nov02-net/danielg-code",
"max_stars_repo_path": "HelloAspWebApp/HelloAspWebApp/Controllers/ViewBasedController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162586"
} | starcoder | using System;
using Microsoft.AspNetCore.Mvc;
namespace HelloAspWebApp.Controllers
{
public class ViewBasedController : Controller
{
public IActionResult HomePage()
{
// usually we return view results with the View helper method from the Contorller base class
// This s... | 2.996798 | d5f73324b7349b74c025873e32d3c805 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843367 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Muhammed-al-idani/-GP21-22-0209-AlgoDataMA",
"max_stars_repo_path": "neighborhood/Assets/Script/BritishBulldog/Game.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162587"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
[Serializable]
public class Game : MonoBehaviour
{
public State currentState;
public GameView view;
void OnEnable()
{
view.updateView(currentState);
}
State CurrentState
... | 2.627646 | 20e9a486bd234ad4ff300a2d6053d30b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843368 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "stuartnoble/generepo",
"max_stars_repo_path": "RepositoryPattern.Core/IKeyedEntityRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162588"
} | starcoder | namespace RepositoryPattern.Core
{
public interface IKeyedEntityRepository<TEntity, in TKey> : IEntityRepository<TEntity>
where TEntity : KeyedEntity<TKey>
{
TEntity GetById(TKey id);
}
} | 2.117641 | a9c4b43e799c243591182fce7e51367b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843369 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jason-c-daniels/Jcd.Refelction",
"max_stars_repo_path": "Jcd.Reflection.Tests/FieldOrPropertyEnumeratorTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162589"
} | starcoder | using System.Linq;
using System.Reflection;
using Xunit;
namespace Jcd.Reflection.Tests
{
public class FieldOrPropertyEnumeratorTests
{
/// <summary>
/// Validate that Enumerate Enumerates AllPublicFieldsAndProperties When GivenAnObjectWithFieldsAndProperties.
/// </summary>
... | 2.609369 | dbbfffa48efb2fa068e66078e2e6c89b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843370 | {
"extension": "c-sharp",
"max_stars_count": "24.0",
"max_stars_repo_name": "SpecBind/SpecBind",
"max_stars_repo_path": "src/SpecBind.Tests/Validation/StartsWithComparerFixture.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162590"
} | starcoder | <reponame>SpecBind/SpecBind<gh_stars>10-100
// <copyright file="StartsWithComparerFixture.cs">
// Copyright © 2013 <NAME> All rights reserved.
// </copyright>
namespace SpecBind.Tests.Validation
{
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using SpecBind.Validat... | 2.606547 | 47f2b04e29032dd3ffa85fb9f2d55c56 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843371 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tt195361/Casl2Simulator",
"max_stars_repo_path": "Casl2SimulatorTest/Casl2/OperandTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162591"
} | starcoder | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Tt195361.Casl2Simulator;
using Tt195361.Casl2Simulator.Casl2;
namespace Tt195361.Casl2SimulatorTest.Casl2
{
/// <summary>
/// <see cref="Operand"/> クラスの単体テストです。
/// </summary>
internal class OperandTest
{
internal stat... | 2.338307 | 52d3f1ddb252dbbe5b5e9451164db7b2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843372 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ankatus/dungeon-crawler",
"max_stars_repo_path": "src/DungeonCrawler/GameObjects/Items/HealthPack.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162592"
} | starcoder | <gh_stars>0
using Microsoft.Xna.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DungeonCrawler.GameObjects.Items
{
public class HealthPack : Item
{
private float _healPercentage;
public HealthPack(Vector2... | 2.558527 | 16e58fe8a45281ca15ff8866b136aede |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843373 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "Greentube/Java-converter",
"max_stars_repo_path": "runtimecs/java/util/HashMap.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162593"
} | starcoder | <reponame>Greentube/Java-converter
using java.lang;
namespace java.util
{
public class HashMap : HashMapImpl
{
public HashMap() : base()
{
}
public HashMap(Map m) : base(m)
{
}
}
public class HashMapImpl : Map
{
internal... | 2.786439 | 32d8c6f913e1533646b5ed5f364c3ead |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843374 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "WinterWonderland/AquaComp",
"max_stars_repo_path": "Software/Fertilize_Manager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162594"
} | starcoder | using GHI.Pins;
using Microsoft.SPOT;
using Microsoft.SPOT.Hardware;
namespace AquaComp
{
static class Fertilize_Manager
{
internal static Fertilize_Pump Pump1;
internal static Fertilize_Pump Pump2;
internal static Fertilize_Pump Pump3;
internal static Fertilize_Pump Pump4;
... | 2.015349 | 204c4b4377f261f25f81838a6d106775 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843375 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NikolayKostadinov/SurveySystem",
"max_stars_repo_path": "Source/BmsSurvey.WebApp/Areas/Identity/Pages/Account/_ViewImports.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:162595"
} | starcoder | @using BmsSurvey.Common.Interfaces
@using BmsSurvey.WebApp.Areas.Identity.Pages.Account
| 1.462537 | f4c299f85071345ea5ea94163f101993 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843376 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "wanlitao/IDCard",
"max_stars_repo_path": "src/Reader/IDCard.Reader/Results/IDCardActionResult.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162596"
} | starcoder | <gh_stars>1-10
namespace IDCard.Reader
{
/// <summary>
/// 身份证操作结果
/// </summary>
public abstract class IDCardActionResult
{
public abstract bool flag { get; }
public int code { get; set; }
/// <summary>
/// error message
/// </summary>
public strin... | 2.024027 | 30e9633c084b01561d4bc6acc1de3cc9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843377 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "MenkaChaugule/hospital-management-emr",
"max_stars_repo_path": "Code/Components/DanpheEMR.ServerModel/Vaccination/VaccinationPatientVM.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162597"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DanpheEMR.ServerModel
{
public class VaccinationPatientVM
{
public int PatientId{get;set;}
public string PatientCode{get;set;}
public string ShortName{get;set;}... | 2.268235 | bdb320a40ab311dad361327762a57e9b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843378 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "ZhaoYis/BerryCore",
"max_stars_repo_path": "BerryCore/BerryCore.Business/BerryCore.Service/BaseManage/UserService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162598"
} | starcoder | <filename>BerryCore/BerryCore.Business/BerryCore.Service/BaseManage/UserService.cs
#region << 版 本 注 释 >>
/*
* 项目名称 :BerryCore.Service.BaseManage
* 项目描述 :
* 类 名 称 :UserService
* 类 描 述 :
* 所在的域 :DASHIXIONG
* 命名空间 :BerryCore.Service.BaseManage
* 机器名称 :DASHIXIONG
* CLR 版本 :4.0.30319.42000
* 作 者 :赵轶
* 创建时间 :2019-12-17 ... | 1.680103 | 4be0b2905af76aa498ee2659e41fc6e5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843379 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "IngvarKofoed/neo4j-ndp-csharpdriver",
"max_stars_repo_path": "src/Neo4j.NDP.CSharpDriver/Serialization/MessageObjectType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162599"
} | starcoder |
namespace Neo4j.NDP.CSharpDriver.Serialization
{
/// <summary>
/// Types of <see cref="IMessageObject"/>
/// </summary>
public enum MessageObjectType
{
Null = 0,
Bool = 1,
Double = 2,
Int = 3,
Text = 4,
Map = 5,
List = 6,
Structure = ... | 1.893859 | a0e9c14c54b8648bf49e7dfbb1600cc0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843380 | {
"extension": "c-sharp",
"max_stars_count": "485.0",
"max_stars_repo_name": "ScriptBox99/reaqtor",
"max_stars_repo_path": "Reaqtor/Core/Engine/Reaqtor.QueryEngine/Reaqtor/QueryEngine/CheckpointingQueryEngine.ReadOnlyMetadataServiceContext.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162600"
} | starcoder | <reponame>ScriptBox99/reaqtor<filename>Reaqtor/Core/Engine/Reaqtor.QueryEngine/Reaqtor/QueryEngine/CheckpointingQueryEngine.ReadOnlyMetadataServiceContext.cs
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT License.
// See the LICENSE file ... | 1.721547 | 5e10d114cae2ca108737efe8f3f67d8e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843381 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "max-ieremenko/AdventOfCode2018",
"max_stars_repo_path": "Day19/InputParser.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162601"
} | starcoder | using System;
using System.Collections.Generic;
using System.Globalization;
namespace Day19
{
internal static class InputParser
{
private const string IP = "#ip ";
public static DeviceProgram Parse(IEnumerable<string> input)
{
var program = new DeviceProgram();
... | 3.218291 | 6314fc0955084922ed42b912247be7fa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843382 | {
"extension": "c-sharp",
"max_stars_count": "39.0",
"max_stars_repo_name": "YArkoba4i/Iot_uwp-shop-analytics",
"max_stars_repo_path": "UWPShop.Client/AppConfig.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162602"
} | starcoder | <gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace UWPShop.Client
{
class AppConfig
{
public static string UWPShopServerUrl => "http://localhost:58032";
public static string PushKey => "Endpoint=sb://<Y... | 1.465979 | cdc43466bc4ef2eeab7737eb2f03fd11 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843383 | {
"extension": "c-sharp",
"max_stars_count": "131.0",
"max_stars_repo_name": "Menniti/Bizanc.io.Core",
"max_stars_repo_path": "Bizanc.io.Matching.Infra/Connector/CryptoConnector.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162603"
} | starcoder | using System;
using System.Numerics;
using System.Threading.Tasks;
using Bizanc.io.Matching.Core.Domain;
using Bizanc.io.Matching.Core.Connector;
using Bizanc.io.Matching.Core.Util;
using Nethereum.Geth;
using Nethereum.Web3.Accounts;
using Nethereum.Contracts;
using Nethereum.RPC.Eth.DTOs;
using Nethereum.ABI.Function... | 2.237533 | e1f566aa3cc43e6be13defaa1e59a99a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843384 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "G-Research/dotnet-apiport",
"max_stars_repo_path": "src/ApiPort/ApiPort.VisualStudio.Common/NotifyPropertyBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162604"
} | starcoder | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Collections.Generic;
using System.ComponentModel;
using System.Runtime.CompilerServices;
namespace ApiPortVS
{
public class NotifyPropertyBase : INot... | 2.411591 | cddcb7c40f99946a624adec00077f6cc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843385 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sorahachan/ZenGo",
"max_stars_repo_path": "src/ZenGo.Core/Entities/Results/IProcessResult.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162605"
} | starcoder | namespace ZenGo.Core.Entities.Results;
public interface IProcessResult
{
public string Message { get; }
} | 1.461661 | ad823ae73381c3efe4569332486c22e7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843386 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "MikaelEliasson/EntityFramework",
"max_stars_repo_path": "src/EntityFramework.Relational/ConnectionStringResolver.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162606"
} | starcoder | // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Linq;
using JetBrains.Annotations;
using Microsoft.Data.Entity.Relational.... | 2.492764 | a42996941c50e00e3c7dd015033f8d81 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843387 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BrandDiaz/HumanServices",
"max_stars_repo_path": "HumanServices/Models/Empleados.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162607"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;
namespace HumanServices.Models
{
public class Empleados
{
[Key]
public int EmpleadoId { get; set; }
publ... | 1.774413 | 507cb5e222959e2c22c3d55a657ce056 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843388 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dudelis/expense-manager",
"max_stars_repo_path": "ExpenseManager.Entities/Concrete/Profile.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162608"
} | starcoder | <filename>ExpenseManager.Entities/Concrete/Profile.cs<gh_stars>0
using ExpenseManager.Entities.Interfaces;
using System;
using System.Collections.Generic;
namespace ExpenseManager.Entities.Concrete
{
public class Profile : IEntity<Guid>
{
public Guid Id { get; set; }
public string Name { get; ... | 1.986288 | ad62240a68bf252d68ea016950532236 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843389 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "mrh520/Orleans.Im",
"max_stars_repo_path": "Orleans.Im/Controllers/WsController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162609"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Configuration;
using Orleans.Im.Common;
using Orleans.Im.Grains;
namespace Orleans.Im.Controllers
{
[Route("api/[controller]/[action]")]
public class WsCo... | 1.947519 | 5ef520ff6b360b3954b5914e6fc75298 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843390 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "uwgraphics/Leap",
"max_stars_repo_path": "LeapUnity/Assets/Standard Assets/Editor/UMA/Core/RaceInspector.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162610"
} | starcoder | <reponame>uwgraphics/Leap
#if UNITY_EDITOR
using UnityEngine;
using System.Collections;
using UnityEditor;
using UMA;
namespace UMAEditor
{
[CustomEditor(typeof(RaceData))]
public class RaceInspector : Editor
{
[MenuItem("Assets/Create/UMA Race")]
public static void CreateRaceMenuItem()
{
C... | 2.100946 | 0ab49556f99b451c8e8191e912e8e919 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843391 | {
"extension": "c-sharp",
"max_stars_count": "45.0",
"max_stars_repo_name": "jianyuyanyu/WPFDevelopers.Minimal",
"max_stars_repo_path": "src/WPFDevelopers.Minimal/Microsoft.Windows.Shell/Standard/KDC.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162611"
} | starcoder | <reponame>jianyuyanyu/WPFDevelopers.Minimal
namespace Standard
{
public enum KDC
{
FREQUENT = 1,
RECENT
}
}
| 1.188776 | 8a426f68bfb100869b65192567393dd4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843392 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "chstorb/CurriculumVitae",
"max_stars_repo_path": "src/CV.WebApplication/Views/Education/Index.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:162612"
} | starcoder | <reponame>chstorb/CurriculumVitae
@using CV.Resources
@model IEnumerable<CV.Model.Education>
@{
ViewBag.Title = Resources.Education;
}
<div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
<h2 class="page-header">@Resources.Education</h2>
<p>
@Html.ActionLink(Resources.C... | 2.425661 | 918e1487d7d654848cdf23ce46d247e7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843393 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "Tannermanner2008/ManiacEditor-GenerationsEdition",
"max_stars_repo_path": "ManiacEditor/Entity Renders/Normal Renders/Bounded/EggTV.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162613"
} | starcoder | using RSDKv5;
namespace ManiacEditor.Entity_Renders
{
public class EggTV : EntityRenderer
{
public override void Draw(Structures.EntityRenderProp Properties)
{
DevicePanel d = Properties.Graphics;
Classes.Scene.EditorEntity e = Properties.EditorObject;
int... | 2.479593 | 6b8579b929b7137d28505764b8b44f7a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843394 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CodeFuller/music-library",
"max_stars_repo_path": "src/PandaPlayer/Events/SongEvents/SongPlaybackFinishedEventArgs.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162614"
} | starcoder | using System;
namespace PandaPlayer.Events.SongEvents
{
public class SongPlaybackFinishedEventArgs : EventArgs
{
}
}
| 0.928205 | 6a9e400d875cd54902834d1a4b68324e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843395 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "alexparvanov/TelerikAcademyAlpha",
"max_stars_repo_path": "HQC/HQC_Teamwork (updated OOP)/AutoService/AutoService.Core/Commands/DepositCashInBank.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162615"
} | starcoder | <filename>HQC/HQC_Teamwork (updated OOP)/AutoService/AutoService.Core/Commands/DepositCashInBank.cs
using System;
using AutoService.Core.Contracts;
using AutoService.Core.Validator;
using AutoService.Models.Assets.Contracts;
namespace AutoService.Core.Commands
{
public class DepositCashInBank : ICommand
{
... | 2.732852 | 2a92ec74f1baa013564a0219ec8fc9ef |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843396 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Polikutkin/Epam_XT-2018Q4",
"max_stars_repo_path": "Epam.Task11/Epam.Task11.WebPages/_MainLayout.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:162616"
} | starcoder | <filename>Epam.Task11/Epam.Task11.WebPages/_MainLayout.cshtml
@using System.Text;
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width" />
<title>@Page.Title</title>
<link rel="stylesheet" type="text/css" href="/Content/css/normalize.css" />
<link rel="stylesheet" type="tex... | 1.949153 | 462bcb1c517d159817759ca33ae52fbf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843397 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "sharwell/ef6tools",
"max_stars_repo_path": "src/EFTools/DesignXmlCore/VisualStudio/XmlModelErrorTask.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162617"
} | starcoder | <gh_stars>1-10
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the MIT license. See License.txt in the project root for license information.
using IOleServiceProvider = Microsoft.VisualStudio.OLE.Interop.IServiceProvider;
namespace Microsoft.Data.Entity.Design.VisualStudio
{
using System;
... | 1.950316 | bec736fe284f527af9e101b9348ac3b4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843398 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mans-tavss/TAVSSonContainers.Hub.API.GitHub",
"max_stars_repo_path": "Installers/PolicyInstaller.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162618"
} | starcoder | <reponame>mans-tavss/TAVSSonContainers.Hub.API.GitHub
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Hub.API.Installers
{
public class PolicyInstaller : IInstaller
... | 1.839349 | 811ebd00a8482ffc818a3f72b93f1394 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843399 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AdminRoc/Xunkong",
"max_stars_repo_path": "src/Desktop/Desktop/ViewModels/TravelNotesViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162619"
} | starcoder | <gh_stars>0
using Xunkong.Core.TravelRecord;
namespace Xunkong.Desktop.ViewModels
{
internal partial class TravelNotesViewModel : ObservableObject
{
private readonly ILogger<TravelNotesViewModel> _logger;
private readonly IDbContextFactory<XunkongDbContext> _ctxFactory;
private read... | 1.780528 | 45fd4d3424452ef5e3e107d928ae7c28 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843400 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "verndale/zodiac-sitecore9-example",
"max_stars_repo_path": "Website/Areas/ExampleSite/Models/ContextContent/BioModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162620"
} | starcoder | using System.Web;
using Constellation.Foundation.ModelMapping.MappingAttributes;
namespace Website.Areas.ExampleSite.Models.ContextContent
{
public class BioModel
{
public HtmlString FullName { get; set; }
public HtmlString JobTitle { get; set; }
public HtmlString Summary { get; set; }
publi... | 1.923188 | 8fc81a158d643e8d13a73fed42330091 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843401 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "abbottdev/gitreminder",
"max_stars_repo_path": "Git.Reminder/Extensions/ReactiveObjectExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162621"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace ReactiveUI
{
public static class ReactiveObjectExtensions
{
private static void SetDeepValue<T, TObj>(TObj notUsed, Expr... | 2.917914 | ed6be13cdbc320e62e1472f449319430 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843402 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Varorbc/DotnetSpider",
"max_stars_repo_path": "src/DotnetSpider.Portal/Controllers/HomeController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162622"
} | starcoder | using System;
using System.Diagnostics;
using System.Threading.Tasks;
using DotnetSpider.DownloadAgentRegisterCenter.Entity;
using DotnetSpider.Portal.Models;
using DotnetSpider.Statistics.Entity;
using Microsoft.AspNetCore.Http.Internal;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
namespace ... | 1.976083 | cac615646ba473199b26d5af17ff7609 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843403 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pardakhtyar/shaparak",
"max_stars_repo_path": "src/PardakhtYar.Shaparak/Models/ShaparakWriteRequest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162623"
} | starcoder | using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using Newtonsoft.Json;
namespace PardakhtYar.Shaparak.Models {
/// <summary>
/// مدل ثبت درخواست توسط پرداخت یار در وب سرویس شاپرک.
/// ص14 مستند وب سرویس شاپرک.
/// انواع درخواست های تعریف پذی... | 2.154856 | 42ed36a0e0e8b6ee0367541c396f505c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843404 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "xhayper/FuckTheBrokenBridge",
"max_stars_repo_path": "Plugin.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162624"
} | starcoder | <filename>Plugin.cs
using System.Reflection;
using HarmonyLib;
using BepInEx;
namespace FuckTheBrokeBridge
{
[BepInPlugin(PluginInfo.PLUGIN_GUID, PluginInfo.PLUGIN_NAME, PluginInfo.PLUGIN_VERSION)]
public class Plugin : BaseUnityPlugin
{
private void Awake()
{
Harmony.CreateAnd... | 1.800295 | cec35c34d56700847bfa2993b104ca55 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843405 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dondbui/dialog-test",
"max_stars_repo_path": "Assets/Scripts/core/dialog/Conversation.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162625"
} | starcoder | /*** ---------------------------------------------------------------------------
/// Conversation.cs
///
/// <author><NAME></author>
/// <date>April 22nd, 2017</date>
/// ------------------------------------------------------------------------***/
using System;
using System.Collections.Generic;
using UnityEngine;
n... | 3.048653 | 7e3b40e278e32e628b8c9791aa69bde0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843406 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "andrei-bozhilov/PhoneSystemAsp",
"max_stars_repo_path": "PhoneSystem.Web/PhoneSystem.Web/Pages/Admin/AdminBasePage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162626"
} | starcoder | <filename>PhoneSystem.Web/PhoneSystem.Web/Pages/Admin/AdminBasePage.cs
namespace PhoneSystem.Web.Pages.Admin
{
using System.Collections.Generic;
using PhoneSystem.Web.Controls;
using Presenters;
public abstract class AdminBasePage<VM, P> : BasePage<VM, P> where P : IPresenter<VM>
{
protec... | 2.302905 | 4ed49ac6082ff52f6c44852517dfc677 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843407 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Scrivener07/Endless-Studio",
"max_stars_repo_path": "Source/Studio.Sharp/Applications/Controls/ProgressWidget.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162627"
} | starcoder | using System;
using System.Windows.Forms;
namespace Sharp.Applications.Controls
{
public partial class ProgressWidget : UserControl
{
public int ProgressValue { get { return this.c_ProgressBar.Value; } set { this.c_ProgressBar.Value = value; } }
public string ProgressText { get { return this.c_ProgressLabel.Te... | 2.231914 | 55c6c3e4bcffef36dddf47b88af774a7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843408 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jetelain/NetWebScript",
"max_stars_repo_path": "NetWebScript/NetWebScript.Debug.Engine/Debug/Property.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162628"
} | starcoder | <reponame>jetelain/NetWebScript
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.Debugger.Interop;
using NetWebScript.Debug.Server;
namespace NetWebScript.Debug.Engine.Debug
{
class Property : IDebugProperty2
{
private readonly Frame frame;
... | 2.251821 | 9ea8885ffb1d60c0b01ff45793c66f7f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843409 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bzz445/RogueGame",
"max_stars_repo_path": "GameSystems/Spells/TargettingStyle.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162629"
} | starcoder | namespace RogueGame.GameSystems.Spells
{
public class TargettingStyle : ITargettingStyle
{
public TargettingStyle(bool offensive, TargetMode targetMode)
{
Offensive = offensive;
TargetMode = targetMode;
}
public bool Offensive { get; }
public Targ... | 2.074268 | 8d71b2f6cd37c93160b124c5fbea8ceb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843410 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "heartfeats/HairSalon",
"max_stars_repo_path": "HairSalon/Views/Home/Stylists.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:162630"
} | starcoder | <reponame>heartfeats/HairSalon
@{
Layout = "_Layout";
}
<h1>Stylists:</h1>
@if (@Model.Count == 0)
{
<h4>No stylists have been added yet!</h4>
}
@foreach (var Stylist in Model)
{
<h4><li><a href="Stylists/@Stylist.GetId()">@Stylist.GetName()</a></li></h4><br>
}
<form action="/Stylists" method="post">
<label f... | 2.416939 | 5613ff456e58050ba743c367f984fc0f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843411 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "FlatlinerDOA/FattyRobot",
"max_stars_repo_path": "Fatty.Brain/Extensions/RandomQueueEnumerator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162631"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections;
using System.Collections.Generic;
namespace Fatty.Brain.Extensions
{
internal sealed class RandomQueueEnumerator<T> : IEnumerator<T>
{
private RandomQueue<T> randomQueue;
private T value;
public RandomQueueEnumerator(... | 2.950227 | c18903dce46d4c38ef8056399067dc2f |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.