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 | 8847612 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rostrastegaev/RealEstate",
"max_stars_repo_path": "src/RealEstate.Core/Entities/Realties/House.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166832"
} | starcoder | namespace RealEstate.Core.Entities.Realties
{
public class House : Realty
{
public int Rooms { get; private set; }
public int Floors { get; private set; }
public override RealtyType Type => RealtyType.House;
public void Update(House house)
{
Rooms = house.R... | 2.618548 | f86eca548a38b01e5239aa2e3afdfc81 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847613 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "kseitz10/MeetingLauncher",
"max_stars_repo_path": "MeetingLauncher.ModernWPF/ViewModels/SettingsViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166833"
} | starcoder | using GalaSoft.MvvmLight.Command;
using MeetingLauncher.Common.BusinessObjects;
using MeetingLauncher.ModernWPF.ViewModels.Support;
namespace MeetingLauncher.ModernWPF.ViewModels
{
public class SettingsViewModel : MeetingLauncherViewModelBase
{
public SettingsViewModel() : base()
{
}
... | 1.633166 | 51dd58892ecbfad0db1530700b6bbcf7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847614 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tolik-punkoff/input-digit-control",
"max_stars_repo_path": "test-app/InputDigit2/frmMain.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166834"
} | starcoder | <filename>test-app/InputDigit2/frmMain.Designer.cs
namespace InputDigit2
{
partial class frmMain
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources b... | 2.182037 | 77e64d8c1e9ddb57263a10693b0d6c28 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847615 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "westonpace/Sublinq",
"max_stars_repo_path": "ArrowIr/Frame.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166835"
} | starcoder | <reponame>westonpace/Sublinq<gh_stars>0
// <auto-generated>
// automatically generated by the FlatBuffers compiler, do not modify
// </auto-generated>
namespace SubLinq.ArrowIr
{
/// The kind of window function to be executed
public enum Frame : byte
{
Rows = 0,
Range = 1,
};
}
| 0.639686 | 08cc0dd9aa5047a01ca42d806c1ee5ec |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847616 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "zz110/sharding-core",
"max_stars_repo_path": "src/ShardingCore/Core/VirtualRoutes/TableRoutes/RoutingRuleEngine/IRoutingRuleEngineFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166836"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.EntityFrameworkCore;
using ShardingCore.Sharding.Abstractions;
namespace ShardingCore.Core.VirtualRoutes.TableRoutes.RoutingRuleEngine
{
/*
* @Author: xjm
* @Description:
* @Date: Thursday, 28 January 2021 13:30:28
* @Email: <EMAIL>
*/
... | 2.080477 | eef6d949262e44e1c2fb5a46c4b28ac5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847617 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "thehoglet/RVis",
"max_stars_repo_path": "UI/Module/Estimation/State/Impl/ChainState.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166837"
} | starcoder | using LanguageExt;
using Nett;
using RVis.Base.Extensions;
using RVis.Model;
using System.Collections.Generic;
using System.Data;
using System.IO;
using System.Linq;
using static LanguageExt.Prelude;
using static RVis.Base.Check;
using static RVis.Data.FxData;
using static System.Double;
using static System.Globalizat... | 2.037879 | 32b374ebd690c1a613360942f4d331a2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847618 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Oxidda/Leatherback",
"max_stars_repo_path": "Leatherback.DataAccess/SearchQuery.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166838"
} | starcoder | <filename>Leatherback.DataAccess/SearchQuery.cs<gh_stars>1-10
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Leatherback.Core.Entity;
namespace Leatherback.DataAccess
{
public class SearchQuery<TEntity, TSearchCriteria> : ISearchQuery<TEntity, TSearchCriteria>
whe... | 2.602836 | 576709bcce11dc2f42a195be935363a3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847619 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ljcollins25/Codeground",
"max_stars_repo_path": "src/UnoApp/UnoDecompile/Uno.UI/Windows.UI.Xaml.Media.Animatio/LinearDoubleKeyFrame.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166839"
} | starcoder | namespace Windows.UI.Xaml.Media.Animation;
public class LinearDoubleKeyFrame : DoubleKeyFrame
{
public LinearDoubleKeyFrame()
{
}
public LinearDoubleKeyFrame(double value)
: base(value)
{
}
public LinearDoubleKeyFrame(double value, KeyTime keyTime)
: base(value, keyTime)
{
}
internal override IEasingF... | 2.257784 | a919f392f21ddbaab0aa962a6d1ef67d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847620 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "dwmkerr/QuickAccent",
"max_stars_repo_path": "QuickAccent/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166840"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
namespace QuickAccent
{
/// <summary>
/// The main program class.
/// </summary>
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
... | 2.704913 | b5677b77362bba45a9b0a1755f1c82f6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847621 | {
"extension": "c-sharp",
"max_stars_count": "22.0",
"max_stars_repo_name": "TheJVaughan/Amazon",
"max_stars_repo_path": "src/Amazon.Ec2/Models/InstanceTypeMap.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166841"
} | starcoder | using System.Linq;
namespace Amazon.Ec2.Models;
public sealed class InstanceTypeMap
{
public static InstanceType[] All => map.Select(m => m.Value).ToArray();
private static readonly Dictionary<string, InstanceType> map = new () {
{ "c1.medium" , new ("c1.medium") },
{ "c1.xlarge"... | 2.34773 | 1bd86dce911e0e83ef7a077d412adb39 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847622 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tinyunknowndeveloper/WeeTanksMod",
"max_stars_repo_path": "src/UnityExplorer-4.3.5/src/UI/Panels/InspectorPanel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166842"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
using UnityEngine.UI;
using UnityExplorer.Core.Config;
using UnityExplorer.Inspectors;
namespace UnityExplorer.UI.Panels
{
public class InspectorPanel : UIPanel
{
public s... | 1.742629 | 3f0986d08fe87d270889957f41cdab5b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847623 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MightyBarto/PSOpenEdge",
"max_stars_repo_path": "src/Cmdlets/AdminService/AppserverRelatedCmdlet.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166843"
} | starcoder |
using System.Management.Automation;
using PSOpenEdge.Powershell;
namespace PSOpenEdge.Cmdlets.AdminService
{
public abstract class AppserverRelatedCmdlet : AdminServerRelatedCmdletBase
{
#region --- Properties ---
[Parameter(ParameterSetName = ParamSetsCustom.Default)]
[Pa... | 2.047238 | c8db6a0157b4f98ee405036b747d5294 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847624 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "nerdsquirrel/Beautiful-piece-of-code",
"max_stars_repo_path": "WebApi/UnityFilterProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166844"
} | starcoder | public class UnityFilterProvider : IFilterProvider
{
private readonly IUnityContainer _container;
private readonly ActionDescriptorFilterProvider _defaultProvider = new ActionDescriptorFilterProvider();
public UnityFilterProvider(IUnityContainer container)
{
_container = container;
}
... | 2.176623 | 4b23812cf866e9091f8acd56b4948999 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847625 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "k94ll13nn3/Strinken",
"max_stars_repo_path": "docs/input/Shared/Section/_Value.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:166845"
} | starcoder | <filename>docs/input/Shared/Section/_Value.cshtml
@using Microsoft.AspNetCore.Html;
@{
IDocument type = Model.Get<IDocument>("Type");
string value = Model.String("Summary");
}
@if(type != null || !string.IsNullOrWhiteSpace(value))
{
<h1 id="Value">Value</h1>
<div class="box">
<div class="box-body no-padding table... | 2.521303 | f11ee4e085011655c97ffe7cd8f30dff |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847626 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nmcguinness/arvr_1_getting_started_unity",
"max_stars_repo_path": "getting_started/Assets/ARVR/Common/Scripts/ScriptableObjects/Game/GameScene.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166846"
} | starcoder | <gh_stars>0
using UnityEngine;
using UnityEngine.Rendering;
using UnityEngine.SceneManagement;
/// <summary>
/// Stores data relating to a single scene within a level
/// </summary>
/// <see cref="https://blogs.unity3d.com/2020/07/01/achieve-better-scene-workflow-with-scriptableobjects/"/>
namespace ARVR.GameLayout
{... | 2.426519 | 130a1e5e265134ab0872b035dc828e32 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847627 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "beinj/Exchange.WebServices.Extensions",
"max_stars_repo_path": "samples/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166847"
} | starcoder | using Exchange.WebServices.OccurrenceData;
using Microsoft.Exchange.WebServices.Data;
using Microsoft.Extensions.Configuration;
using System;
namespace samples
{
public static class Program
{
static void Main(string[] args)
{
Run().Wait();
}
private static async Sy... | 2.463282 | 2e6bfce1f859382f639afab6a93a5414 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847628 | {
"extension": "c-sharp",
"max_stars_count": "3375.0",
"max_stars_repo_name": "nul800sebastiaan/Umbraco-CMS",
"max_stars_repo_path": "tests/Umbraco.Tests.Integration/Umbraco.Core/Mapping/UmbracoMapperTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166848"
} | starcoder | // Copyright (c) Umbraco.
// See LICENSE for more details.
using System.Globalization;
using System.Linq;
using Microsoft.Extensions.DependencyInjection;
using NUnit.Framework;
using Umbraco.Cms.Core.Mapping;
using Umbraco.Cms.Core.Models;
using Umbraco.Cms.Core.Models.ContentEditing;
using Umbraco.Cms.Core.PropertyE... | 1.823122 | 7434fe3e717d6112b0a30b9be25feb1c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847629 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MHove89/enterspeed-source-sitecore-cms",
"max_stars_repo_path": "src/Enterspeed.Source.SitecoreCms.V9/Services/EnterspeedPropertyService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166849"
} | starcoder | using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Linq;
using System.Web;
using Enterspeed.Source.Sdk.Api.Models.Properties;
using Enterspeed.Source.SitecoreCms.V9.Extensions;
using Enterspeed.Source.SitecoreCms.V9.Models.Configuration;
using Enterspeed.Source.SitecoreC... | 1.668528 | 4ba9e68a82bcc6a81b46a54d8dbee6e9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847630 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MEDVEDx64/SoundAndVision",
"max_stars_repo_path": "Massacre.Snv.DisplayServer/Windows/NotificationSenderDialog.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166850"
} | starcoder | <gh_stars>0
using Massacre.Snv.Core.Network.Packets;
using System.Windows;
namespace Massacre.Snv.DisplayServer.Windows
{
public partial class NotificationSenderDialog : Window
{
Client client = null;
const int maxMsgLen = 255;
public NotificationSenderDialog(Client cli)
{
... | 2.259196 | 6551be2e0597f49f08ee687562f36ade |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847631 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ckarcz/Strata.ConvertedToCSharp",
"max_stars_repo_path": "modules/measure/src/main/java/com/opengamma/strata/measure/cms/CmsTradeCalculationFunction.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166851"
} | starcoder | using System;
using System.Collections.Generic;
/*
* Copyright (C) 2016 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
namespace com.opengamma.strata.measure.cms
{
using ImmutableMap = com.google.common.collect.ImmutableMap;
using ImmutableSet = com... | 1.554889 | 068049c75854ac7fba54a9f8caa76138 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847632 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "1904-apr22-net/thomas-code",
"max_stars_repo_path": "MVC/MovieApp/MovieApp.UI/Controllers/MovieController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166852"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using MovieApp.BL;
using MovieApp.UI.Models;
namespace MovieApp.UI.Controllers
{
public class MovieController : Controller
{
// ASP.NET heav... | 2.657237 | 7ab049abff95caaea57f48439da73304 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847633 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Armp4/TQVaultAE",
"max_stars_repo_path": "src/TQVaultAE.Domain/Entities/Variable.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166853"
} | starcoder | //-----------------------------------------------------------------------
// <copyright file="Variable.cs" company="None">
// Copyright (c) <NAME> and <NAME>. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
namespace TQVaultAE.Domain.Entities
{
using ... | 3.219093 | 80a73d09d786c95dd5be0ae261fe099f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847634 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "marinakolova/SoftUni-CSharp-Courses",
"max_stars_repo_path": "Technology-Fundamentals-with-CSharp-January-2019/20-AssociativeArraysExercise/08-CompanyUsers/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166854"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
namespace _08_CompanyUsers
{
class Program
{
static void Main(string[] args)
{
var listOfCompanies = new Dictionary<string, List<string>>();
while (true)
{
string command = C... | 3.379609 | ed88e7a92e840e2e4b3fe21bd136cccf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847635 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "max-bytes/omnikeeper",
"max_stars_repo_path": "backend/Omnikeeper/GraphQL/Types/TraitTypes.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166855"
} | starcoder | <filename>backend/Omnikeeper/GraphQL/Types/TraitTypes.cs
using GraphQL.Types;
using Omnikeeper.Base.Entity;
using System.Collections.Generic;
using System.Linq;
namespace Omnikeeper.GraphQL.Types
{
public class EffectiveTraitType : ObjectGraphType<EffectiveTrait>
{
public EffectiveTraitType()
... | 2.235981 | b923bb448fed8adc7020d4d50bc19f80 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847636 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "kayschulze/MayaFoods",
"max_stars_repo_path": "MayaFoods/Controllers/ReviewsController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166856"
} | starcoder | using System.Linq;
using Microsoft.AspNetCore.Mvc;
using MayaFoods.Models;
using Microsoft.EntityFrameworkCore;
using Microsoft.AspNetCore.Mvc.Rendering;
// For more information on enabling MVC for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860
namespace MayaFoods.Controllers
{
public class... | 2.182225 | ac211a5471dac7e124c10835adce95be |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847637 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rjcastaneda/Alpha-One",
"max_stars_repo_path": "Assets/Scripts/Enemies/Enemy.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166857"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Enemy : MonoBehaviour
{
private Animator enemyAnimator;
private EnemyMoveController thisMoveController;
private Component[] enemyColliders;
private PlayerData player;
private EnemyShoot thisEnemyShoot;
... | 2.516094 | 7709c6419bc76d00a74772ca0a5c6bdb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847638 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "Aux/Twitch-Net",
"max_stars_repo_path": "src/NTwitch.Rest/Entities/RestEntity.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166858"
} | starcoder | using System;
namespace NTwitch.Rest
{
public class RestEntity<T> : IEntity<T>
{
/// <summary> An instance of the client that created this entity </summary>
public BaseTwitchClient Client { get; }
/// <summary> The unique identifier for this entity </summary>
public T Id { get;... | 2.6875 | 0c8a0dd7427439eecfa62ee71f7b2b10 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847639 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ppetrov-dev/JobInterview",
"max_stars_repo_path": "JobInterview/JobInterview.AssetExchanger/Abstractions/IConversionRateProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166859"
} | starcoder | <filename>JobInterview/JobInterview.AssetExchanger/Abstractions/IConversionRateProvider.cs
namespace JobInterview.AssetExchanger.Abstractions
{
internal interface IConversionRateProvider : IIsReadyProvider
{
public decimal? GetRate(IAsset fromAsset, IAsset toAsset);
}
} | 1.564728 | 199177b272bbf8ba3d353e956662e463 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847640 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "PacktWorkshops/The-C-Sharp-Workshop",
"max_stars_repo_path": "Chapter10/Chapter10.Tests/Exercise01Tests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166860"
} | starcoder | using System;
using NUnit.Framework;
namespace Chapter10.Tests
{
[TestFixture]
public class Exercise01Tests
{
[Test]
public void AssertThat_TwoNumbers_ReturnProduct()
{
Assert.That(10 * 10, Is.EqualTo(100));
}
}
} | 2.40626 | 233482f979ffd5cd4ee346403eb775a1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847641 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BigETI/ElectrodZDeathmatch",
"max_stars_repo_path": "ElectrodZDeathmatch/Factories/DeathmatchGameUserFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166861"
} | starcoder | using ElectrodZMultiplayer.Server;
/// <summary>
/// ElectrodZ deathmatch factories namespace
/// </summary>
namespace ElectrodZDeathmatch.Factories
{
/// <summary>
/// A class that describes a deathmatch game user factory
/// </summary>
internal class DeathmatchGameUserFactory : IGameUserFactory
... | 2.490415 | d3158b07bab413733c76a8080fe1a802 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847642 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lanit-office-map/OfficeMap",
"max_stars_repo_path": "OfficeMapApi/SpaceService/SpaceService/Controllers/SpaceTypeController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166862"
} | starcoder | <reponame>lanit-office-map/OfficeMap<gh_stars>0
using System.Threading.Tasks;
using System;
using Common.Response;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using SpaceService.Models;
using SpaceService.Services.Interfaces;
namespace SpaceService.Controllers
{
[Route("[controller]")]... | 2.145569 | 28b280e337645e889311a7d097657d86 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847643 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "daniellanner/trijam-93",
"max_stars_repo_path": "Assets/tools/InDiversity/MatchValue/MatchValue.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166863"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MatchValue : MonoBehaviour
{
[SerializeField]
private GameObject _toTrack;
}
| 1.229914 | 55e74e2687902c50bde607d289ad57a1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847644 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "truthiswill/CSharpMath",
"max_stars_repo_path": "CSharpMath/FrontEnd/IFontChanger.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166864"
} | starcoder | using System;
namespace CSharpMath.FrontEnd
{
using Enumerations;
public interface IFontChanger
{
/// <summary>Changes glyphs among the various font styles -- italic, regular, etc. If you are
/// implementing a front end with a unicode font, you may be able to re-use
/// UnicodeGlyphFinder for your im... | 2.616711 | c6e03328f5d155e164ac096a59bf19e3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847645 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "lukasroegner/sevdesk-exchange-sync",
"max_stars_repo_path": "SevDeskExchangeSync.Services.SevDesk/Categories/ProjectCategory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166865"
} | starcoder | <reponame>lukasroegner/sevdesk-exchange-sync
namespace SevDeskExchangeSync.Services.SevDesk.Categories
{
/// <summary>
/// Represents the category of a project.
/// </summary>
public sealed class ProjectCategory : Category
{
#region Constructors
/// <summary>
/// Initialize... | 1.433821 | 80a2b76aac2f67d647f631341a5dd865 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847646 | {
"extension": "c-sharp",
"max_stars_count": "563.0",
"max_stars_repo_name": "WelpThatWorked/UCR",
"max_stars_repo_path": "UCR/Utilities/Validators/NumberBindingValidator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166866"
} | starcoder | using System.Globalization;
using System.Text.RegularExpressions;
using System.Windows.Controls;
using HidWizards.UCR.Views.Controls.Plugin;
namespace HidWizards.UCR.Utilities.Validators
{
public class NumberBindingValidator : ValidationRule
{
public PluginPropertyDependencyObject PluginPropertyDepend... | 2.465753 | b342c63e992218250304cb4e0784b780 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847647 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dbajgoric/playground",
"max_stars_repo_path": "coding-practice/c#/data-structures-algorithms/Sources/IUnweightedGraph.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166867"
} | starcoder | using System;
namespace datastructuresalgorithms
{
/**
* Defines the interface to be implemented by unweighted graph implementations.
*/
public interface IUnweightedGraph<T> : IGraph<T>
{
/**
* Adds a new edge between the vertices at specified indices.
*
* @not... | 3.391521 | 5b0cccad680b4f9ad66ebde4304461ce |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847648 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SamoFMF/Definitely-Not-Uno",
"max_stars_repo_path": "Assets/Scripts/Logic/Logic.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166868"
} | starcoder | <filename>Assets/Scripts/Logic/Logic.cs
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
using Random = System.Random;
public class Logic
{
private Random Rng;
private int NumStartCards;
private int NumIlegalMoveDraw;
// Variables
private List<Card>... | 2.834676 | b827ff2fa8d3d655608e4e78fb1a768d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847649 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "elisee/NuclearWinter",
"max_stars_repo_path": "NuclearSample/NuclearSample/GameStates/GameStateMainMenu.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166869"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework;
namespace NuclearSample.GameStates
{
//--------------------------------------------------------------------------
internal class GameStateMainM... | 2.246491 | 5a07a22aeb99b0ecc96887010dd63c9d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847650 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Freed-BV/Xamarin-MAS-Foundation",
"max_stars_repo_path": "sample/Android/BasicAuthSample/MainActivity.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166870"
} | starcoder | <gh_stars>1-10
// Copyright (c) 2018 CA. All rights reserved.
// This software is provided under the terms of CA’s Pre-Release Agreement.
// See the LICENSE [https://github.com/CAAPIM/Xamarin-MAS-Foundation/blob/LICENSE.md] file for details.
// This software is for evaluation purposes only and currently not supported... | 2.143691 | 625e0c9e6d3f72e1273d62e90abb9d3b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847651 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "barteke22/FishingInfoOverlays",
"max_stars_repo_path": "FishingInfoOverlays/Overlay.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166871"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using StardewModdingAPI;
using StardewModdingAPI.Events;
using StardewValley;
using StardewValley.Locations;
using StardewValley.Menus;
using StardewValley.Objects;
u... | 1.739417 | 1c4d7453b96d6040f5f410d8be9f5662 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847652 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "whortleberrybearer/AutoEquality",
"max_stars_repo_path": "AutoEquality/AutoEquality/AutoEquality/EqualityComparerWrapper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166872"
} | starcoder | namespace AutoEquality
{
using System.Collections;
using System.Collections.Generic;
// This wrapper class it needed to allow comparer that implement the generic IEqualityComparer to be called via the reflected type.
internal class EqualityComparerWrapper<T> : IEqualityComparer
{
private I... | 3.316131 | 386742c4a93e11915f7cee08e03b7c1e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847653 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "darjanbogdan/todo",
"max_stars_repo_path": "src/Todo.Repository/Context/TodoDbContext.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166873"
} | starcoder | using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Text;
using Todo.Domain.Model.Identity;
namespace Todo.DataAccess.Context
{
public class TodoDbContext : IdentityDbContext<User, Role, Guid, UserClaim, UserRol... | 2.324987 | 2ca0fa93877673df0064257f7ad0e226 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847654 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "OpenMagic/OpenMagic",
"max_stars_repo_path": "tests/OpenMagic.Specifications/Steps/Dummy.Value(Type type) Steps.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166874"
} | starcoder | <reponame>OpenMagic/OpenMagic
using System;
using System.Collections.Generic;
using System.Linq;
using FluentAssertions;
using OpenMagic.Specifications.Helpers;
using TechTalk.SpecFlow;
namespace OpenMagic.Specifications.Steps
{
[Binding]
// ReSharper disable once InconsistentNaming
public class Dummy_Val... | 2.871866 | 5bca863d577085ae634f954f9ad1b4ce |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847655 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cgonzaleznarvaez/SensorFab",
"max_stars_repo_path": "WindowsFormsApplication2/WindowsFormsApplication2/MainForm.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166875"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace WindowsFormsApplication2
{
public partial class MainForm : Form
{
... | 2.116361 | 189a62846d43c7aab62ccab008684e29 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847656 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "WillianRafaelVeres/Faculdade_LogicaDeProgramacao",
"max_stars_repo_path": "DesafiosM3/DesafioM3/Cilindro.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166876"
} | starcoder | // <NAME> - 18_11_2021
using System;
namespace DesafioM3
{
//início escopo da classe
public class Cilindro
{
// Variável que armazena o raio do cilindro
private double raio;
// Variável que armazena a altura do cilindro
private double altura;
// Variável que arma... | 3.450695 | e7b106b76113143df2a956a8184ab36c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847657 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Aim-Educational/FarmMaster",
"max_stars_repo_path": "CrudModule/Views/CrudModule/Species/CreateEdit.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:166877"
} | starcoder | <filename>CrudModule/Views/CrudModule/Species/CreateEdit.cshtml
@model CrudCreateEditViewModel<Species>
@{
Layout = "_LayoutCrudCreateEdit";
ViewData["NavName"] = "Species";
ViewData["LayoutModel"] = new CrudLayoutViewModel
{
EntityName = "Species",
EntityId = Mo... | 2.070085 | 912cdc0e115893086cf7a6d70c2051ae |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847658 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Assimalign-LLC/asal-dotnet-extensions",
"max_stars_repo_path": "src/linq/src/Assimalign.Extensions.Linq.Serialization/Nodes/Node.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166878"
} | starcoder | <gh_stars>0
using System;
using System.Runtime.Serialization;
namespace Assimalign.Extensions.Linq.Serialization.Nodes;
/// <summary>
///
/// </summary>
[DataContract]
[Serializable]
#region KnownTypes
[KnownType(typeof(LinqExpressionBinaryNode))]
[KnownType(typeof(LinqExpressionConditionalNode))]
[KnownType(typeo... | 1.751741 | 8b6a41274387ddaee73c43d159fe727e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847659 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "ANamelessWolf/AutoCADAPI2018-1",
"max_stars_repo_path": "Compuertas/Model/Node.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166879"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AutoCADAPI.Lab3.Model
{
public class Node
{
public Object Data;
public Node Parent;
public List<Node> Children;
public Boolean IsRoot { get { return thi... | 2.643596 | e67c631617ccac2411124b63812f3825 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847660 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bradystroud/NativeNotes",
"max_stars_repo_path": "NativeNotes/NativeNotes/Services/NoteService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166880"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using NativeNotes.Models;
using Newtonsoft.Json;
namespace NativeNotes.Services
{
public class NotesFileService
{
private string FilePath { get; set; }
public NotesFileService()
{
FilePath ... | 3.164519 | e4d48af0d4954de9c4b2e471f08ab53d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847661 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "michalblaha/HlidacStatu-InsolvencniRejstrik",
"max_stars_repo_path": "src/InsolvencniRejstrik/FromSearch/SpisovaZnacka.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166881"
} | starcoder | <gh_stars>1-10
namespace InsolvencniRejstrik.FromSearch
{
public class SpisovaZnacka
{
public int SoudniOddeleni { get; set; }
public string RejstrikovaZnacka { get; set; }
public int Cislo { get; set; }
public int Rocnik { get; set; }
}
}
| 1.640025 | 68be163001b9b144afb4f62e56dce9a2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847662 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "MCClassicServerArchive/ProCraft",
"max_stars_repo_path": "fCraft/Player/ChatTimer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166882"
} | starcoder | <filename>fCraft/Player/ChatTimer.cs
// Part of fCraft | Copyright 2009-2015 <NAME> <<EMAIL>> | BSD-3 | See LICENSE.txt //Copyright (c) 2011-2013 <NAME>, <NAME> and <NAME> <<EMAIL>> //Copyright (c) <2012-2014> <LeChosenOne, DingusBungus> | ProCraft Copyright 2014-2019 <NAME> <<EMAIL>>
using System;
using System.Collec... | 2.665159 | 0b5994d3310fbb94d6faa0b36cebc9a8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847663 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "r-Larch/TcAzureBlobFsPlugin",
"max_stars_repo_path": "TcPluginBase/Tools/TcPluginLoader.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166883"
} | starcoder | using System;
using System.Configuration;
using System.Diagnostics;
using System.Linq;
using System.Reflection;
using System.Threading;
namespace TcPluginBase.Tools {
[Serializable]
internal static class TcPluginLoader {
/// <summary>
/// This is the TcPluginBase EntryPoint!
/// </sum... | 2.272458 | 6f984e2ab7c65932eed84f8db6d5dded |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847664 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DerKO9/YLSaveFileEditor",
"max_stars_repo_path": "YLSaveFileEditor/YLSaveFileEditor/GameData.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166884"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Reflection;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace YLSaveFileEditor
{
public partial class GameData
{
[JsonProperty("player")]
publ... | 2.116845 | e008e87e3a4edb4ecad0107580391659 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847665 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "itspaiva/DDTank4.1",
"max_stars_repo_path": "Source Server/SourceQuest4.5/Newtonsoft.Json/Newtonsoft.Json.Utilities/DynamicReflectionDelegateFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166885"
} | starcoder | using Newtonsoft.Json.Serialization;
using System;
using System.Globalization;
using System.Reflection;
using System.Reflection.Emit;
namespace Newtonsoft.Json.Utilities
{
internal class DynamicReflectionDelegateFactory : ReflectionDelegateFactory
{
public static DynamicReflectionDelegateFactory Instance = new Dyn... | 2.372671 | bc9098fbbea31f9bc2ca90f74a915763 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847666 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DimchoLakov/ProgrammingFundamentalsMay2017",
"max_stars_repo_path": "Exams/SampleExam05/02.HornetComm/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166886"
} | starcoder | <reponame>DimchoLakov/ProgrammingFundamentalsMay2017
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
namespace _02.HornetComm
{
class Program
{
static void Main(string[] args)
{
List<KeyValuePair<string, st... | 3.323283 | 21190d3806f0bde83375ca0852ab22db |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847667 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "mmitche/issue-labeler",
"max_stars_repo_path": "src/CreateMikLabelModel/Models/GitHubModels.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166887"
} | starcoder | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Generic;
// Various models used to deserialize GraphQL responses from GitHu... | 2.112552 | 67a52d6bd58f55fe783fd31500dcae51 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847668 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "uk-gov-mirror/SkillsFundingAgency.das-commitments",
"max_stars_repo_path": "src/CommitmentsV2/SFA.DAS.CommitmentsV2.TestSubscriber/Constants.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166888"
} | starcoder | <gh_stars>1-10
namespace SFA.DAS.CommitmentsV2.TestSubscriber
{
public static class Constants
{
public static readonly string AppName = $"{typeof(Program).Namespace}";
public static readonly string NameSpace = "SFA.DAS.CommitmentsV2.TestSubscription";
}
} | 1.403278 | 7fd0d2738c0c9b7d3098e3420f394714 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847669 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cacothi/design-pattern",
"max_stars_repo_path": "AbstractFactoryPatternAgg/FactoryProducer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166889"
} | starcoder | <reponame>cacothi/design-pattern
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DesignPattern.AbstractFactoryPatternAgg
{
public class FactoryProducer
{
public static AbstractFactory GetFactory(String choice)
{
if (choice.Equals("... | 2.400246 | cef82f1b8420235dad6424fd8a452b9a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847670 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Vasil-Hadzhiev/News-System",
"max_stars_repo_path": "NewsSystem.Web/Controllers/HomeController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166890"
} | starcoder | namespace NewsSystem.Web.Controllers
{
using Models.ViewModels.Articles;
using PagedList;
using Services.Interfaces;
using System.Collections.Generic;
using System.Linq;
using System.Web.Mvc;
public class HomeController : Controller
{
private readonly IArticleService articles;
... | 2.425392 | 7394f175c8b3fef8f4984c0166a67a1f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847671 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ygfweb/SweetMapper",
"max_stars_repo_path": "SweetMapper/SweetMapperTests/ConfigTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166891"
} | starcoder | using Microsoft.VisualStudio.TestTools.UnitTesting;
using SweetMapper;
using System;
using System.Collections.Generic;
using System.Text;
namespace SweetMapperTests
{
[TestClass()]
public class ConfigTests
{
[TestMethod()]
public void AutoMapTest()
{
SweetMapper<SourceC... | 2.804873 | dea20aeb1ee3dfbf8da069ee456cef0e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847672 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "JulianWolfgangVonRoete/MATE",
"max_stars_repo_path": "Mate.Production.Core/Environment/Options/Seed.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166892"
} | starcoder | using System;
using Mate.Production.Core.Environment.Abstractions;
namespace Mate.Production.Core.Environment.Options
{
public class Seed : Option<int>
{
public Seed(int value)
{
_value = value;
}
public Seed()
{
Action = (config, argument) => {... | 2.402585 | becfb99fca8a51a9cee76fa83eec1257 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847673 | {
"extension": "c-sharp",
"max_stars_count": "488.0",
"max_stars_repo_name": "chauffer/BulletSharpUnity3d",
"max_stars_repo_path": "Scripts/CollisionShapes/BConvexHullShape.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166893"
} | starcoder | using BulletSharp;
using UnityEngine;
namespace BulletUnity
{
[AddComponentMenu("Physics Bullet/Shapes/Convex Hull")]
public class BConvexHullShape : BCollisionShape
{
[SerializeField]
protected Mesh hullMesh;
public Mesh HullMesh
{
get { return hullMesh; }
... | 2.473833 | d30de66b015c5de8e14ac8e26418650d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847674 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "obiwanjacobi/Zim80",
"max_stars_repo_path": "Source/Code/Jacobi.Zim80.UnitTests/CpuZ80/Instructions/InterruptInstructionTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166894"
} | starcoder | using FluentAssertions;
using Jacobi.Zim80.CpuZ80.Opcodes;
using Jacobi.Zim80.CpuZ80.UnitTests;
using Jacobi.Zim80.Diagnostics;
using Jacobi.Zim80.Test;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
namespace Jacobi.Zim80.CpuZ80.Instructions.UnitTests
{
[TestClass]
public class InterruptIn... | 2.02472 | 4b1c6be97dc7ddd46b0c083715a332a2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847675 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "gcardi/TouchKB",
"max_stars_repo_path": "TouchKB/TouchKey.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166895"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;
using System.Windows.Forms;
namespace TouchKB
{
class TouchKey
{
private Point pos_;
private Keys key_;
private int scanCode_;
private string[] text_ = new string[8];
... | 2.459062 | 326c9a9b8c6c8eeba54279fbfccc3dd1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847676 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Atomthin/LeetCode",
"max_stars_repo_path": "LeetCode.Test/UnitTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166896"
} | starcoder | using System;
using LeetCode.Core.Common;
using LeetCode.Core.Problems;
using System.Collections.Generic;
using LeetCode.Core.DataStructure.LinkedList;
using Xunit;
namespace LeetCode.Test
{
public class UnitTest
{
#region UT
Algorithms al = new Algorithms();
[Fact]
public void ... | 3.111083 | f8fbd124884d651a0e95f871ca5a9e3f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847677 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "petrsnd/tetrad",
"max_stars_repo_path": "WebService/Login/Global.asax.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166897"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.SessionState;
using System.Configuration;
using System.Collections.Specialized;
namespace TetraSlide.Login
{
public class Global : System.Web.HttpApplication
{
public static... | 1.983885 | ac0cbc009f1518e40ab79bbaa721b1d3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847678 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "harry-wangx/Harry.Excel",
"max_stars_repo_path": "Harry.Extensions.EPPlus/DataTableExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166898"
} | starcoder | <reponame>harry-wangx/Harry.Excel
using OfficeOpenXml;
using System;
using System.Collections.Generic;
using System.Data;
using System.IO;
using System.Text;
namespace Harry.Extensions.EPPlus
{
public static class DataTableExtensions
{
public static void WriteToExcel(this DataTable dt, Stream stream, ... | 2.316744 | 36147482697682e325d242e017219329 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847679 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jammerware/dotnetrunner",
"max_stars_repo_path": "DotNetRunner/src/Json/CodeSetConverter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166899"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using DotNetRunner.Models;
using Newtonsoft.Json;
namespace DotNetRunner.Json
{
internal class CodeSetConverter : JsonConverter
{
private IEnumerable<Set> _sets;
public CodeSetConverter(IEnumerable<Set> sets)
{
... | 2.981061 | dcf582413128d6122b4e7ae14ac2221a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847680 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "PetroslavGochev/CSharpFundamentalModule",
"max_stars_repo_path": "06.Objects and Classes/Objects and Classes - More Exercise/03. Speed Racing/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166900"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace _03._Speed_Racing
{
class Program
{
static void Main(string[] args)
{
int numberOfCars = int.Parse(Console.ReadLine());
List<Car> listOfCars = new List<Car>();
fo... | 3.568214 | a4e1f1b75c881813df20bcf503ea285a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847681 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "moto2002/tianzi_src2",
"max_stars_repo_path": "src/TaskUseItem.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166901"
} | starcoder | using System;
[Serializable]
public class TaskUseItem
{
public int taskId;
public string effectName;
public string postion;
public string strEffect;
}
| 1.516733 | 7c5d5066320f848a1bd56d0dc65e8473 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847682 | {
"extension": "c-sharp",
"max_stars_count": "64.0",
"max_stars_repo_name": "Chongruiyuan893/TeamCloud",
"max_stars_repo_path": "src/TeamCloud.API/Data/Results/ResultErrorCode.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166902"
} | starcoder | <gh_stars>10-100
/**
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*/
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace TeamCloud.API.Data.Results
{
[JsonConverter(typeof(StringEnumConverter))]
public enum ResultErrorCode
{
Unknown,
Failed,... | 1.467228 | 3fe5d5887befe005d32af6f692dbbc8e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847683 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SophiaKiryakova/TelerikAcademyAlpha",
"max_stars_repo_path": "Module II/01. DSA/03. Recursion/Practice_15_PowerOfNumber/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166903"
} | starcoder | <reponame>SophiaKiryakova/TelerikAcademyAlpha<gh_stars>0
using System;
namespace Practice_15_PowerOfNumber
{
class Program
{
static void Main(string[] args)
{
// 15. Write a program in C# Sharp to calculate the power of any number using recursion.
Console.WriteLine("In... | 3.817317 | 7f0d14906699e4c86eac3b6082883c2e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847684 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "UKHO/external-notification-service",
"max_stars_repo_path": "UKHO.D365CallbackDistributorStub.API/UKHO.D365CallbackDistributorStub.API/Startup.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166904"
} | starcoder | using Microsoft.OpenApi.Models;
using UKHO.D365CallbackDistributorStub.API.Services;
namespace UKHO.D365CallbackDistributorStub.API
{
public class Startup
{
public Startup(IWebHostEnvironment env)
{
BuildConfiguration(env);
}
protected IConfigurationRoot BuildConfi... | 2.170674 | 47ff53c57f87cd4e6688e55430405d1c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847685 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "boop5/EzSurvey",
"max_stars_repo_path": "src/EzSurvey.Core.Shared/TransferObjects/SurveyDto.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166905"
} | starcoder | using System;
using EzSurvey.Core.Shared.Entities;
namespace EzSurvey.Core.Shared.TransferObjects
{
public class SurveyDto
{
public DateTime CreatedAt { get; init; }
public string CreatedBy { get; init; }
public DateTime ModifiedAt { get; init; }
public string ModifiedBy { get... | 1.645213 | 2cb7fccf363ca5a414cdf1ffb012de2f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847686 | {
"extension": "c-sharp",
"max_stars_count": "21.0",
"max_stars_repo_name": "itsjasonc/Fallout76-QuickConfiguration",
"max_stars_repo_path": "Fo76ini/Tweaks/Interface/AutoTrackQuestWhenStartedTweak.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166906"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Fo76ini.Tweaks.Interface
{
class AutoTrackQuestWhenStartedTweak : ITweak<bool>, ITweakInfo
{
public AutoTrackQuestWhenStartedTweak(string keyPrefix, string questType)
{... | 2.574243 | 991a0867b7d18408f375fd4aa7b08c4b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847687 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "manihew/urban-barnacle",
"max_stars_repo_path": "Source/Company1.Department1.Project1.AuthenticationModule.Tests/AuthModuleTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166907"
} | starcoder | using Company1.Department1.Project1.AuthenticationModule.Modules;
using Company1.Department1.Project1.Services.Authentication.Interfaces;
using Company1.Department1.Project1.Services.Authentication.Models;
using Company1.Department1.Project1.Services.Dependency;
using Company1.Department1.Project1.Services.Helper.Inte... | 1.949924 | 8a0ebc4d086cd627e9911bdf96d044db |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847688 | {
"extension": "c-sharp",
"max_stars_count": "180.0",
"max_stars_repo_name": "DawidPotgieter/OdataToEntity",
"max_stars_repo_path": "source/OdataToEntity/Parsers/Cache/UriCompare/OeComparerExtension.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166908"
} | starcoder | using Microsoft.OData.Edm;
namespace OdataToEntity.Cache.UriCompare
{
public static class OeComparerExtension
{
public static bool IsEqual(this IEdmTypeReference @this, IEdmTypeReference edmTypeReference)
{
if (@this == edmTypeReference)
return true;
if ... | 2.417058 | 2590d9b362e36e6ec8ce06405d74f639 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847689 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ChristopherSchubert/com.appalachia.unity3d.appa.collections",
"max_stars_repo_path": "src/Special/DirtyIntCollection.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166909"
} | starcoder | <filename>src/Special/DirtyIntCollection.cs
#region
using System;
using collections.src.Implementations.List;
using UnityEngine;
#endregion
namespace collections.src.Special
{
[Serializable]
public sealed class DirtyIntCollection : IsDirtyCollection<int, AppaList_int>
{
protected override string ... | 2.07479 | 137d9e55afe5114d1019273978737aa1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847690 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Varunda/EquipTerm",
"max_stars_repo_path": "WeaponStats/Services/Repositories/ICharacterRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166910"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using WeaponStats.Models.Census;
namespace WeaponStats.Services.Repositories {
/// <summary>
/// Service to get and update <see cref="Ps2Character"/>s, both from census and the backing DB
/// </summary>
p... | 2.809767 | cb8fc506d5e1a1a593761cdbdfbd824e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847691 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mdavid/nuxleus",
"max_stars_repo_path": "linux-distro/package/nuxleus/Source/Vendor/Microsoft/IronPython-2.0/Samples/DynamicWebServiceHelpers/sources/SimpleXmlHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166911"
} | starcoder | <gh_stars>1-10
/* ****************************************************************************
*
* Copyright (c) Microsoft Corporation. All rights reserved.
*
* This source code is subject to terms and conditions of the Microsoft Public License. A
* copy of the license can be found in the License.html file a... | 1.935901 | 7f261a8720bd2056be9d13dff068cd35 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847692 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "roeyskoe/Jypeli",
"max_stars_repo_path": "Jypeli/AdvanceMath/IO/MathReader.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166912"
} | starcoder | #region MIT License
/*
* Copyright (c) 2005-2008 <NAME>. http://physics2d.googlepages.com/
*
* 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 lim... | 2.476025 | b3bf43d6d6b273dcda8688561e64abf1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847693 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "YouRenJee/BattleChessClient",
"max_stars_repo_path": "Assets/ChessScripts/BaseModule/NetWorkManagement.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166913"
} | starcoder | <reponame>YouRenJee/BattleChessClient<gh_stars>0
using System.Collections;
using System.Collections.Generic;
using System;
using System.Net;
using System.Net.Sockets;
using System.Threading;
using UnityEngine;
using SGF.Base;
public class NetWorkManagement : UnitySingleton<NetWorkManagement>
{
private ... | 2.166044 | b636e1583505c99e78824ccd18037c95 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847694 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ducanhtk5/RimSigns",
"max_stars_repo_path": "Code/CMS.Service/Repository/SettingRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166914"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CMS.Service.UnitOfWork;
using CMS.Data;
using System.Data;
using System.Data.Entity;
namespace CMS.Service.Repository
{
public class SettingRepository : RepositoryBase<Setting>
{
public SettingRepository()
... | 2.565078 | f1c46d390a02d339d14887ff0e8a3e4c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847695 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "melnx/Bermuda",
"max_stars_repo_path": "Bermuda.QL/Language/RootExpression.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166915"
} | starcoder | namespace Bermuda.QL
{
public abstract partial class RootExpression : SingleNodeTree
{
public RootExpression()
{
Root = this;
}
public bool ContainsTextSearch = false;
internal long[] GetTagLookup(string stringValue)
{
throw... | 1.987392 | 9ee4755eacba801b3e1fb40c851fa823 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847696 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "oklacoder/seaq",
"max_stars_repo_path": "src/SEAQ/Index/Index.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166916"
} | starcoder | using Nest;
using Serilog;
using System;
using System.Collections.Generic;
using System.Linq;
namespace seaq
{
public class Index :
BaseDocument
{
public override string Id => Name;
public override string IndexName => Constants.Indices.InternalIndexStoreName;
public override s... | 2.369057 | 6e8f0e6e9292f4109b86608fb6c114a8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847697 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "mtfoley/OpenArabic",
"max_stars_repo_path": "api/Services/TextService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166917"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using api.Dtos;
using api.Enums;
using api.MicroServiceFacades;
using api.Models;
using api.ResourceParameters;
using AutoMapper;
using Microsoft.EntityFrameworkCore;
namespace api.Services {
public class TextServic... | 2.20416 | 5b990c25bb7aae64d2c4fe7d58527881 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847698 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zhy-stay/Unity-Learning",
"max_stars_repo_path": "Unity-DesignPattern-Learning/Unity-DesignPattern/Assets/Scripts/CharacterSystem/CharacterSystem.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166918"
} | starcoder | <reponame>zhy-stay/Unity-Learning
using System;
using System.Collections.Generic;
public class CharacterSystem : IGameSystem
{
private List<ICharacter> mEnemys = new List<ICharacter>();
private List<ICharacter> mSoldiers = new List<ICharacter>();
public void AddEnemy(IEnemy enemy)
{
mEnemys.A... | 2.713913 | 9f2f7745c83e6bb58efce164ff068c08 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847699 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "calmeGoV/-GravityInfiniteRunnerUnity5",
"max_stars_repo_path": "Unity/Assets/Scripts/UIScripts/TestEvents.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166919"
} | starcoder | <reponame>calmeGoV/-GravityInfiniteRunnerUnity5<filename>Unity/Assets/Scripts/UIScripts/TestEvents.cs
using UnityEngine;
using System.Collections;
public class TestEvents : MonoBehaviour {
private bool _testBool;
public bool testBool {
get {
return _testBool;
}
set {
_testBool = value;
Debug.Log ("T... | 1.988887 | 7513c4feb8fbe51bfc25257ccdefb1ab |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847700 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gusg21/Midnight",
"max_stars_repo_path": "ECS/Entity.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166920"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Midnight.ECS.Builtins;
namespace Midnight.ECS
{
public class Entity : GameObject
{
public CTransform transform;
protect... | 2.318289 | 76669229ae4e75c7808b40fce7e87dc3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847701 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "renatod/wopi-validator-core",
"max_stars_repo_path": "src/WopiValidator.Core/Validators/ResponseCodeValidator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166921"
} | starcoder | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System.Collections.Generic;
namespace Microsoft.Office.WopiValidator.Core.Validators
{
/// <summary>
/// Validates that response code matches provided expected value.
/// </summary>
class ResponseCodeValidator :... | 2.433662 | dfa3ace75f7f9a6e9e57fddad46ebbc9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847702 | {
"extension": "c-sharp",
"max_stars_count": "50.0",
"max_stars_repo_name": "Neuralia/Neuralia.NClap",
"max_stars_repo_path": "src/Tests/UnitTests/GlobalSuppressions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166922"
} | starcoder | //
// This file is used by Code Analysis to maintain SuppressMessage
// attributes that are applied to this project.
// Project-level suppressions either have no target or are given
// a specific target and scoped to a namespace, type, member, etc.
//
using System.Diagnostics.CodeAnalysis;
using System.Runtime.Comp... | 1.700585 | c525aeb3b1bfd1ad44916062d450703e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847703 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "Sharpach/NoteBase",
"max_stars_repo_path": "IRO.Task.NoteBase.BLL.Contracts/IBookService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166923"
} | starcoder | using IRO.Task.NoteBase.Entities;
using System.Collections.Generic;
namespace IRO.Task.NoteBase.BLL.Contracts
{
public interface IBookService
{
bool AddBook(Book book);
bool ChangeBook(long bookId, string newName);
bool DeleteBook(long bookId);
List<Book> GetByUser(User user);
... | 2.045864 | 567617434b704aa49f68314bb905e197 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847704 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "sbarrac1/Unify",
"max_stars_repo_path": "src/Unify.Windows.Shared/Input/Hooks/LLMouseHook.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166924"
} | starcoder | using System.Runtime.InteropServices;
namespace Unify.Windows.Shared.Input.Hooks;
public delegate bool LLMouseCallback(WindowMessage message, User32.MSLLHOOKSTRUCT mouseData);
public sealed class LLMouseHook : LLhookBase
{
private readonly LLMouseCallback _callback;
public LLMouseHook(IWindow context, LLMo... | 2.193442 | 38ad009a32fee7e0eef7e2d708ba00e7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847705 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Villix-Main/CacheIn",
"max_stars_repo_path": "src/Villix.CacheIn/Villix.CacheIn.Core/Formatters/CacheStringFormatter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166925"
} | starcoder | <filename>src/Villix.CacheIn/Villix.CacheIn.Core/Formatters/CacheStringFormatter.cs<gh_stars>0
namespace Villix.CacheIn.Core.Formatters
{
// Set of methods to format cache string data
public static class CacheStringFormatter
{
/// <summary>
/// Does a default format on a <see cref="string"/... | 3.233846 | 61cdc5b521e173e1074e7cc432924cfc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847706 | {
"extension": "c-sharp",
"max_stars_count": "24.0",
"max_stars_repo_name": "undergroundwires/safeOrbit",
"max_stars_repo_path": "src/tests/UnitTests/Memory/SafeBytes/SafeByte/DataProtection/DecryptedBytesMarshalerTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166926"
} | starcoder | <reponame>undergroundwires/safeOrbit<filename>src/tests/UnitTests/Memory/SafeBytes/SafeByte/DataProtection/DecryptedBytesMarshalerTests.cs
using System;
using System.Linq;
using NUnit.Framework;
namespace SafeOrbit.Memory.SafeBytesServices.DataProtection
{
/// <seealso cref="DecryptedBytesMarshaler" />
/// <s... | 2.656444 | c8eeff47063a437911c95c68e6a06422 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847707 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "colbylwilliams/Nomads",
"max_stars_repo_path": "Nomads.Utilities/Nomads.Utilities.Extensions/Nomads.Utilities.Extensions.Unified/NSPredicateExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166927"
} | starcoder | using System;
using Foundation;
using System.Collections.Generic;
namespace Nomads.Utilities.Extensions
{
public class PredicateData
{
public string KeyString { get; set; }
public string OperatorString { get; set; }
public string ValueString { get; set; }
public string OriginalString { get; private set; ... | 2.960538 | 24309df733c3710600de3f5e249ca08c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847708 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Wswkevin/hell",
"max_stars_repo_path": "MvcCore/Views/_Layout.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:166928"
} | starcoder |
@{
ViewData["Title"] = "_Layout";
}
<h2>_Layout</h2>
| 1.395883 | 01d817f5a7e394b8b52b0dd77cdd4c81 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847709 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "leeveel/RocketMQ.Client",
"max_stars_repo_path": "RocketMQ.Client/Consumer/ConsumeMessageConcurrentlyService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166929"
} | starcoder | <reponame>leeveel/RocketMQ.Client
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace RocketMQ.Client
{
public class ConsumeMessageConcurrentlyService : ConsumeMessageService
{
//private static readonly InternalLogger log = ClientLogger.getLog();
sta... | 1.815868 | 43c9a458f734c95bac82733fd27b1887 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847710 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lifewithcoffee/CoreCmdPlayground",
"max_stars_repo_path": "CoreCmdPlayground.Scaffold/Commands/GenerateCommand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166930"
} | starcoder | using CoreCmd.Attributes;
using System;
using System.Collections.Generic;
using System.Text;
namespace CoreCmdPlayground.Scaffold.Commands
{
[Alias("gen")]
class GenerateCommand
{
}
}
| 1.122896 | 1b2816aeb885d9dd5dabb8bfe0d5f896 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847711 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mark-s/BitFlyerDotNet",
"max_stars_repo_path": "Samples/RealTimeApiSample/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166931"
} | starcoder | <filename>Samples/RealTimeApiSample/Program.cs
using System;
using System.Threading.Tasks;
using BitFlyerDotNet.LightningApi;
using BitFlyerDotNet.LightningApi.Domain;
namespace RealTimeApiSample
{
internal class Program
{
private static async Task Main(string[] args)
{
... | 2.826173 | d45f1894a349f01b419030adabb51468 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.