added string | created string | id string | metadata dict | source string | text string | code-score float64 | md5 string |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91561 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GuitarAlchemist/ga",
"max_stars_repo_path": "Common/GA.Business.Core/IReadOnlyValue.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91562"
} | starcoder | namespace GA.Business.Core;
public interface IReadOnlyValue
{
public int Value { get; }
} | 1.618968 | 1a90316be51a058ab6dddf6dbda2f270 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91562 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "timmychan97/HexagonTowerDefense",
"max_stars_repo_path": "Assets/Scripts/InGame/UI/Panel Unit Info/UI_PanelUnitInfo_Unit.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91563"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class UI_PanelUnitInfo_Unit : UI_PanelUnitInfo
{
public Unit unit;
public Text unitName;
public Text level;
public Text hp;
public Text attack;
public Text attackSpeed;
public Text de... | 2.577054 | 384800ce78190a8ca7f313fa92094a90 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91563 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CodeCasterNL/WindowsServiceExtensions",
"max_stars_repo_path": "src/CodeCaster.WindowsServiceExtensions/PowerEventAwareWindowsServiceLifetime.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91564"
} | starcoder | <filename>src/CodeCaster.WindowsServiceExtensions/PowerEventAwareWindowsServiceLifetime.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceProcess;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Ext... | 2.579767 | 3bc655c12730c5a084d091604e616729 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91564 | {
"extension": "c-sharp",
"max_stars_count": "345.0",
"max_stars_repo_name": "JeffInChrist/dotnet-maui",
"max_stars_repo_path": "src/Controls/src/Core/HandlerImpl/DatePicker.Impl.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91565"
} | starcoder | <reponame>JeffInChrist/dotnet-maui<gh_stars>100-1000
namespace Microsoft.Maui.Controls
{
public partial class DatePicker : IDatePicker
{
Font? _font;
Font ITextStyle.Font => _font ??= Font.OfSize(FontFamily, FontSize).WithAttributes(FontAttributes);
}
} | 1.90068 | 72bb205b3009b456bdf5b1e43f4d4ff2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91565 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "armunro/dashman",
"max_stars_repo_path": "DashMan/Configuration/ConfigurationProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91566"
} | starcoder | using System.IO;
using DashMan.Configuration.Defaults;
using DashMan.Configuration.Model;
using Newtonsoft.Json;
namespace DashMan.Configuration
{
public static class ConfigurationProvider
{
public static DashConfiguration GetConfiguration(string filePath)
{
return JsonConvert.Deser... | 2.730611 | 9f21d01c6d30a274c29d7bf1c92f60cf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91566 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "abjerner/Skybrud.Social-for-Umbraco",
"max_stars_repo_path": "src/Skybrud.Social.Umbraco/DataTypes/Instagram/InstagramOAuthDataEditor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91567"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Xml.Linq;
using Skybrud.Social.Umbraco.DataTypes.Facebook;
using umbraco.interfaces;
namespace Skybrud.Social.Umbra... | 2.103027 | c2fec5ceebf8d21bfa5ff532ed30db6d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91567 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "RealCA/AtmosphericScattering",
"max_stars_repo_path": "Assets/AtmosphericScatteringBlitPass.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91568"
} | starcoder | using UnityEngine;
using UnityEngine.Rendering;
using UnityEngine.Rendering.Universal;
public class AtmosphericScatteringBlitPass : ScriptableRendererFeature
{
public RenderPassEvent PassEvent;
AtmosphericScatteringPass m_ScriptablePass;
public override void Create()
{
AtmosphericScattering sc... | 2.198286 | f864f0fd7b66b1351ea562b75be333dc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91568 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "yvanvds/YSchoolAPI",
"max_stars_repo_path": "OpenLdap/Connector.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91569"
} | starcoder | <reponame>yvanvds/YSchoolAPI
using System;
using System.Collections.Generic;
using System.DirectoryServices.Protocols;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using YSchoolAPI;
namespace OpenLdap
{
public static class Connector
{
static internal LdapConnection connection;
stati... | 1.914872 | 77d913e6c7900c1c8e00c7f9cf8f6d4a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91569 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "iguanaware/Svg",
"max_stars_repo_path": "src/SixLabors.Svg/RenderTree/SvgDocument.RenderPath.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91570"
} | starcoder | <gh_stars>10-100
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using SixLabors.ImageSharp;
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.ImageSharp.Processing;
using SixLabors.Primitives;
using SixLabors.Shapes;
using SixLabors.Svg.Shapes;
using SVGSharpie;
namespace Si... | 2.381968 | c62389f11325fd4a1c92c124fdab041b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91570 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "agents-net/agents.net.designer",
"max_stars_repo_path": "src/Agents.Net.Designer.Tests/StepDefinitions/TreeStepDefinitions.When.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91571"
} | starcoder | <reponame>agents-net/agents.net.designer
#region Copyright
// Copyright (c) <NAME> and contributors
// This file is licensed under MIT
#endregion
using System;
using System.Linq;
using Agents.Net.Designer.Model;
using Agents.Net.Designer.Tests.Tools;
using Agents.Net.Designer.ViewModel;
using Agents.Net.De... | 1.969363 | d3d51c30d0de64bf54d92bb60dca831f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91571 | {
"extension": "c-sharp",
"max_stars_count": "103.0",
"max_stars_repo_name": "neozhu/smartadmin.core.urf",
"max_stars_repo_path": "smartadmin-core-urf/src/SmartAdmin.Dto/ExpColumnOpts.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91572"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace SmartAdmin.Dto
{
public class ExpColumnOpts
{
public virtual string EntitySetName { get; set; }
public virtual string FieldName { get; set; }
public virtual string SourceFieldName { get; set; }
public virtual bool IsExpor... | 1.292703 | 0b8bbb72dbc48a1785285c8a87f1c929 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91572 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DiegoGalante/lotofacil-aspnetcore",
"max_stars_repo_path": "LoteriaFacil.Infra.Data/Mappings/LotteryMap.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91573"
} | starcoder | using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using LoteriaFacil.Domain.Models;
namespace LoteriaFacil.Infra.Data.Mappings
{
public class LotteryMap : IEntityTypeConfiguration<Lottery>
{
public void Configure(EntityTypeBuilder<Lottery> builder)
{
... | 2.430568 | b29628a83d69a9f99d98b52e65b721da |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91573 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "amitthanki/Docker-dotnet-core-multi-project-solution",
"max_stars_repo_path": "Aspnetcoreapp/Pages/_ViewImports.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:91574"
} | starcoder | <reponame>amitthanki/Docker-dotnet-core-multi-project-solution<gh_stars>1-10
@using aspnetcoreapp
@namespace aspnetcoreapp.Pages
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
| 1.145372 | bcabdfbdb93ae1a9a3d6831e9aa5999c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91574 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "TwilioDevEd/ivr-phone-tree-csharp",
"max_stars_repo_path": "IVRPhoneTree.Web/App_Start/BundleConfig.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91575"
} | starcoder | using System.Web.Optimization;
namespace IVRPhoneTree.Web
{
public class BundleConfig
{
// For more information on bundling, visit http://go.microsoft.com/fwlink/?LinkId=301862
public static void RegisterBundles(BundleCollection bundles)
{
bundles.Add(new StyleBundle("~/Con... | 1.926061 | e535a76c5ae8cd1161913aad653d0173 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91575 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "clay-one/composer-core",
"max_stars_repo_path": "test/Tests/Generics/Components/GenericComponentAndContract.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91576"
} | starcoder | <reponame>clay-one/composer-core
using ComposerCore.Attributes;
namespace ComposerCore.Tests.Generics.Components
{
[Contract]
[Component]
public class OpenGenericComponentAndContract<T> : IGenericContractOne<T>
{
#region Implementation of IGenericContractOne<T>
public T Get()
{
return default(T);
}
... | 2.596663 | 0c623505484ab51ae3bbe6bc0b85e594 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91576 | {
"extension": "c-sharp",
"max_stars_count": "53.0",
"max_stars_repo_name": "jtark/Totem",
"max_stars_repo_path": "src/Totem.Timeline/Runtime/ITopicScheduler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91577"
} | starcoder | using System;
namespace Totem.Timeline
{
/// <summary>
/// Describes the scheduling of events for a topic
/// </summary>
public interface ITopicScheduler
{
DateTimeOffset Now { get; }
void At(Event e, DateTimeOffset whenOccurs);
}
} | 2.119704 | 7a6dbbc12a74ae16bf07a61d07279fc2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91577 | {
"extension": "c-sharp",
"max_stars_count": "20.0",
"max_stars_repo_name": "krish3402/test-doynet",
"max_stars_repo_path": "samples/Orleans.SyncWork.Demo.Services/Grains/HelloWorld.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91578"
} | starcoder | using System.Threading.Tasks;
namespace Orleans.SyncWork.Demo.Services.Grains
{
public class HelloWorld : Grain, IHelloWorld
{
public Task<string> GetGreeting(string name)
{
return Task.FromResult($"Hello {name}!");
}
}
}
| 2.457731 | 9a02305b066824e200504ba2307a921c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91578 | {
"extension": "c-sharp",
"max_stars_count": "18.0",
"max_stars_repo_name": "Will9371/Character-Template",
"max_stars_repo_path": "Assets/Playcraft/Quality of Life/Time/RangedRepeatingTimedEvent.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91579"
} | starcoder | using UnityEngine;
using UnityEngine.Events;
// Rename, apply ShowIf attribute when OdinInspector imported
namespace Playcraft
{
public class RangedRepeatingTimedEvent : MonoBehaviour
{
[SerializeField] bool useRange = true;
[SerializeField] Vector2 range = new Vector2(1f, 2f);
[Toolti... | 2.460033 | 338bdd83b86c78f05392d41fe65a8015 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91579 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Sarlianth/4th-year-mobile-apps-project",
"max_stars_repo_path": "myChat/MainPage.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91580"
} | starcoder | using Microsoft.WindowsAzure.MobileServices;
using System;
using System.Net.NetworkInformation;
using System.Threading.Tasks;
using Windows.Networking.PushNotifications;
using Windows.UI;
using Windows.UI.Core;
using Windows.UI.Popups;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Media;... | 2.044294 | 6c139d5a34720c9bf558ddb657984668 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91580 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "waltersoto/littlepack",
"max_stars_repo_path": "LittlePack/LittlePack/Packer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91581"
} | starcoder | /*
The MIT License (MIT)
Copyright (c) 2015 <NAME>
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, publi... | 2.708121 | 2493e7c51e8c3b6f4e68ac5eb7a9deee |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91581 | {
"extension": "c-sharp",
"max_stars_count": "999.0",
"max_stars_repo_name": "dustinsoftware/CsprojToVs2017",
"max_stars_repo_path": "Project2015To2017.MigrateXXXX.Tool/ProgramBase.ApplyVerbosity.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91582"
} | starcoder | using Microsoft.DotNet.Cli.CommandLine;
using Serilog.Events;
namespace Project2015To2017.Migrate2017.Tool
{
internal static partial class ProgramBase
{
public static void ApplyVerbosity(ParseResult result, AppliedOption globalOptions)
{
var verbosityValue = globalOptions.ValueOrDefault<string>("verbosity")?.... | 2.497151 | fc7600aff4af892ed1347651bf61ebec |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91582 | {
"extension": "c-sharp",
"max_stars_count": "24.0",
"max_stars_repo_name": "TelerikAcademy/SchoolAcademy",
"max_stars_repo_path": "2015-03-Xamarin-Forms/15. Working-with-local-data/WorkingWithLocalData.SharedUI/MainPage.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91583"
} | starcoder | <gh_stars>10-100
using System;
using WorkingWithLocalData.ViewModels;
using Xamarin.Forms;
namespace WorkingWithLocalData.SharedUI
{
public partial class MainPage : ContentPage
{
public MainPage(MainPageViewModel viewModel)
{
InitializeComponent();
this.ViewModel = v... | 2.422381 | 8a69c15fc77283469ca9e578026bcb03 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91583 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "haneda-atsushi/UnityCustomSurfaceShader-",
"max_stars_repo_path": "Assets/Editor/SimpleShaderVariationGUI.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91584"
} | starcoder | <filename>Assets/Editor/SimpleShaderVariationGUI.cs
// Unity built-in shader source. Copyright (c) 2016 Unity Technologies. MIT license (see license.txt)
using System;
using UnityEngine;
namespace UnityEditor
{
internal class SimpleShaderVariationGUI : ShaderGUI
{
public override void OnGUI(MaterialEd... | 2.203062 | d297e86b0c7aabf03e1b3fb855317349 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91584 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hamk-uas/vikke-game",
"max_stars_repo_path": "Assets/MaxstAR/Script/MapViewerBehaviour.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91585"
} | starcoder | /*==============================================================================
Copyright 2017 Maxst, Inc. All Rights Reserved.
==============================================================================*/
using UnityEngine;
using System.Text;
using JsonFx.Json;
namespace maxstAR
{
public class MapViewerBehavio... | 1.095364 | 01464ccc5e0a61849580c85e98c61396 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91585 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "MobiliyaTechnologies/RESTServer",
"max_stars_repo_path": "RestService/RestService/Enums/DayofWeek.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91586"
} | starcoder | namespace RestService.Enums
{
public enum DayofWeek
{
Mon = 1,
Tue = 2,
Wed = 3,
Thu = 4,
Fri = 5,
Sat = 6,
Sun = 7
}
} | 2.177099 | b3e860c339d4e31d52b16f65935f2afa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91586 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "S-Docker/Modular-Gun-System",
"max_stars_repo_path": "Modular Weapon System/Assets/Scripts/Entities/Projectiles/Base Classes/ProjectileTypeComponent.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91587"
} | starcoder | using UnityEngine;
[DisallowMultipleComponent]
public abstract class ProjectileTypeComponent : ProjectileComponent
{
[Range(1, 100)]
[SerializeField] protected float maxProjectileTravel = 1; public float MaxProjectileTravel => maxProjectileTravel;
public abstract void InitialiseMovement(Vector3 point... | 2.055708 | de6f579feffa0fe2955617f656740764 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91587 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nickc01/ViridianCore",
"max_stars_repo_path": "Hollow Knight/GlobalEnums/CameraFadeType.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91588"
} | starcoder | using System;
namespace GlobalEnums
{
public enum CameraFadeType
{
LEVEL_TRANSITION,
HERO_DEATH,
HERO_HAZARD_DEATH,
JUST_FADE,
START_FADE
}
}
| 1.265836 | b94c966c22d40994fbc9d6f4b6fd73d8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91588 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "andreyfellbs/CakeExample",
"max_stars_repo_path": "src/Example/FaxVersandAllOptions/Meta.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91589"
} | starcoder | public class Meta
{
public string customerReference { get; set; }
public JobValid jobValid { get; set; }
} | 1.262618 | 0ee42cd49cbac5e0b052c0bad0331056 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91589 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rGunti/SortThineLetters",
"max_stars_repo_path": "src/SortThineLetters.Base.DTOs/StringKeyedDto.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91590"
} | starcoder | namespace SortThineLetters.Base.DTOs
{
public class StringKeyedDto : Dto<string> { }
}
| 1.433864 | b556ebb14685d6952ac4f784298a3dd0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91590 | {
"extension": "c-sharp",
"max_stars_count": "119.0",
"max_stars_repo_name": "LunarWorld/Sigma",
"max_stars_repo_path": "Sigma.Core.Monitors.WPF/Panels/Controls/BitmapPanel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91591"
} | starcoder | <filename>Sigma.Core.Monitors.WPF/Panels/Controls/BitmapPanel.cs
using log4net;
using Sigma.Core.Monitors.WPF.View.Windows;
using System;
using System.Collections.Generic;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using Sigma.Core.MathAbstract;... | 2.63688 | 59c48e83b5e9d54fa07455933cdecc30 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91591 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "scholtz/FastZep",
"max_stars_repo_path": "FastZep3/Security/PublicKeyInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91592"
} | starcoder | // Type: System.Security.Cryptography.Pkcs.PublicKeyInfo
// Assembly: System.Security, Version=4.0.0.0, Culture=neutral, PublicKeyToken=<KEY>
// Assembly location: C:\Windows\Microsoft.NET\Framework\v4.0.30319\System.Security.dll
using System;
using System.Runtime;
using System.Runtime.InteropServices;
using System.S... | 2.182546 | 5d24672fd9b8a388590ed600db375b70 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91592 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "glapinski/concurrent-programming",
"max_stars_repo_path": "Project1/Logic/Region.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91593"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace Logic
{
public class Region
{
public int size { get; set; }
public List<Ball> balls { get; set; }
private Task changePosition;
private int time = ... | 3.349837 | 4f9a11644aebbe0d65bf2ae49742c9f1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91593 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vintage-software/vstack-server-demo",
"max_stars_repo_path": "Services/Filters/Notebook/ByAccountId.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91594"
} | starcoder | <filename>Services/Filters/Notebook/ByAccountId.cs
using Persistence.Mappers;
using Services.General;
using System.Linq;
using Vstack.Services.Filters;
using Vstack.Services.General;
using Dmn = Domain;
namespace Services.Filters.Notebook
{
public class ByAccountId : IPrimaryDtoFilter<Dmn.Notebook, NotebookMapper... | 2.259256 | 8f0dce047f9719caa1abc557faf4bdcf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91594 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "REW-Z/PictureDraw",
"max_stars_repo_path": "REWDraw/DoubleBufferPanel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91595"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace REWDraw
{
public class DoubleBufferPanel: Panel
{
public DoubleBufferPanel():base()
{
this.DoubleBuffered = true;
}
... | 1.784911 | 2603d426088bdf150d2f0e213be47153 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91595 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DenicaAtanasova/CHE",
"max_stars_repo_path": "Web/CHE.Web.InputModels/Cooperatives/CooperativeAddressInputModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91596"
} | starcoder | <filename>Web/CHE.Web.InputModels/Cooperatives/CooperativeAddressInputModel.cs
namespace CHE.Web.InputModels.Cooperatives
{
using CHE.Data.Models;
using CHE.Services.Mapping;
using System.ComponentModel.DataAnnotations;
using static CHE.Common.DataConstants.Address;
using static DataErrorMessages... | 2.205954 | c5729be3f5160a41400187520b7e2b79 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91596 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NikShaw/Octocation",
"max_stars_repo_path": "Octo/Assets/Scripts/Gameplay/PufferTrigger.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91597"
} | starcoder | using UnityEngine;
using System.Collections;
public class PufferTrigger : MonoBehaviour {
private GameObject puffer;
private PufferFish pufferScript;
void Start () {
puffer = this.transform.parent.gameObject;
pufferScript = puffer.GetComponent<PufferFish>();
}
void OnTrigger... | 2.178194 | 7debd8f9d8a1a01b0d5a578a083f70d5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91597 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "stevenaw/chess-app",
"max_stars_repo_path": "ChessLibrary.Tests/GameTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91598"
} | starcoder | <reponame>stevenaw/chess-app
using ChessLibrary.Models;
using ChessLibrary.Serialization;
using NUnit.Framework;
namespace ChessLibrary.Tests
{
[TestFixture]
public class GameTests
{
[Test]
public void EnPassant_UpdatesState_WhenAllowed()
{
var game = new Game();
... | 2.980344 | 7eaa1759a6e50c8b59068a7fc3e4bf0c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91598 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bluewalk/lidlplus-dotnet-client",
"max_stars_repo_path": "Net.Bluewalk.LidlPlus/Client.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91599"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using Flurl.Http;
using Flurl.Http.Configuration;
using Net.Bluewalk.LidlPlus.Mo... | 1.878093 | 2960cea2d2e6c800809fce5e8da02848 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91599 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "erri120/BinaryShenanigans",
"max_stars_repo_path": "BinaryShenanigans.Tests/Reader/SpanReaderTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91600"
} | starcoder | using System;
using System.Buffers.Binary;
using System.Text;
using BinaryShenanigans.Reader;
using Xunit;
namespace BinaryShenanigans.Tests.Reader
{
public class SpanReaderTests : AReaderTest
{
public override void TestReadInt16(short value, bool littleEndian)
{
var buffer = new b... | 2.555942 | 9087cdcdb447c52791263baf43ba5181 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91600 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ivan-alles/poker-acpc",
"max_stars_repo_path": "pkr/bots/neytiri/trunk/src/main/net/ai.pkr.bots.neytiri/FinalizeMonteCarloData.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91601"
} | starcoder | /* Copyright 2010-2012 <NAME>.
Licensed under the MIT License (see file LICENSE). */
using System.Collections.Generic;
using System.Diagnostics;
using ai.lib.algorithms.tree;
using ai.pkr.metagame;
namespace ai.pkr.bots.neytiri
{
class FinalizeMonteCarloData : WalkTree<ActionTree, ActionTreeNode, int>
{
... | 2.457675 | ea9b2e14cc402c36b205c368be4354ae |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91601 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "OctopusDeploy/azure-sdk-tools",
"max_stars_repo_path": "WindowsAzurePowershell/src/Management.CloudService.Test/Tests/Cmdlet/SaveAzureServiceProjectPackageTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91602"
} | starcoder | <reponame>OctopusDeploy/azure-sdk-tools
// ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a ... | 1.494886 | d60b4f4c68b21541ab00a6cab7bcb630 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91602 | {
"extension": "c-sharp",
"max_stars_count": "92.0",
"max_stars_repo_name": "catcat0921/lindexi_gd",
"max_stars_repo_path": "RemfehijeKailernerefear/RemfehijeKailernerefear/RemfehijeKailernerefear.Shared/Framework/ViewModelBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91603"
} | starcoder | using System.ComponentModel;
using System.Runtime.CompilerServices;
namespace Tool.Shared.Framework
{
public abstract class ViewModelBase : IViewModel,INotifyPropertyChanged
{
public abstract void OnNavigatedTo(object parameter);
public event PropertyChangedEventHandler PropertyChanged;
... | 2.227883 | 52fd2928a5eb6b67fd68e8c4cf3a6f03 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91603 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "virtualplaynl/couchbase-lite-unity",
"max_stars_repo_path": "Libraries/Couchbase.Lite/Properties/DynamicAssemblyInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91604"
} | starcoder |
using System.Reflection;
[assembly: AssemblyVersion ("0.0.0")]
[assembly: AssemblyInformationalVersion("0.0.0")] | 0.962593 | 7b5060b1ea79c6b8762c97f12fd3e2ed |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91604 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ita-social-projects/SoftServeCar-Back-End",
"max_stars_repo_path": "Car.Backend/Car.Domain/Dto/User/UserStopDto.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91605"
} | starcoder | <filename>Car.Backend/Car.Domain/Dto/User/UserStopDto.cs<gh_stars>0
using Car.Data.Enums;
using Car.Domain.Dto.Stop;
namespace Car.Domain.Dto.User
{
public class UserStopDto
{
public int UserId { get; set; }
public int StopId { get; set; }
public StopType? StopType { get; set; }
... | 1.802144 | be109111fc6d66f5eb3fa2b8eac191bb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91605 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sontx/regutils",
"max_stars_repo_path": "RegUtils/ProgramScope.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91606"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace In.Sontx.RegUtils
{
public enum ProgramScope
{
/// <summary>
/// Just for one user.
/// </summary>
User,
/// <summary>
/// For everyone ... | 2.053841 | 2861e322e56f029181f740a857663962 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91606 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Ghetaldus/retro-dungeon-crawler-kit",
"max_stars_repo_path": "Scripts/Templates/Meta/TemplateMetaCombatStyle.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91607"
} | starcoder | // =======================================================================================
// RETRO DUNGEON CRAWLER KIT (Support Forum: www.dungeoncrawler.net)
//
// --- DO NOT CHANGE ANYTHING BELOW THIS LINE (UNLESS YOU KNOW WHAT YOU ARE DOING) ---
// =================================================================... | 1.957176 | ff27b78a9f2c3176290fb68dd95f1fdf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91607 | {
"extension": "c-sharp",
"max_stars_count": "87.0",
"max_stars_repo_name": "pjc0247/SlowSharp",
"max_stars_repo_path": "Slowsharp/Runtime/MemberFlag.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91608"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Slowsharp
{
[Flags]
public enum MemberFlag
{
None = 0,
Static = 1,
Member = 2,
Public = 4, Protected = 8, Private = 16, Internal = 32
}
p... | 2.698899 | 0bd175f86e1dc1997e732116a9e52500 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91608 | {
"extension": "c-sharp",
"max_stars_count": "38.0",
"max_stars_repo_name": "jizc/Trollpants",
"max_stars_repo_path": "52SwipeUp/Assets/Scripts/GUI/ButtonClickAnimationTrigger.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91609"
} | starcoder | <reponame>jizc/Trollpants
// <copyright file="ButtonClickAnimationTrigger.cs" company="<NAME>">
// Copyright (c) 2018 <NAME>. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
// </copyright>
namespace SwipeUp.GUI
{
using UnityEngine;
us... | 2.365608 | 4393389e92087ea22e695730fcf4c8dd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91609 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bmcdavid/episerver-ioc",
"max_stars_repo_path": "src/EpiserverIoc.Abstractions/IEpiserverEnvironment.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91610"
} | starcoder | <gh_stars>0
namespace EpiserverIoc.Abstractions
{
public interface IEpiserverEnvironment
{
string Name { get; }
bool IsProduction { get; }
bool IsPreproduction { get; }
bool IsIntegration { get; }
bool IsLocal { get; }
bool IsUnitTest { get; }
bool ... | 1.24018 | fbeafd449789fa9d411e7c835af825e4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91610 | {
"extension": "c-sharp",
"max_stars_count": "25.0",
"max_stars_repo_name": "edwinhuish/eipcore2",
"max_stars_repo_path": "Api/Common/EIP.Common.Entities/Dtos/IdInput.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91611"
} | starcoder | using System;
using System.ComponentModel.DataAnnotations;
using EIP.Common.Entities.Resx;
namespace EIP.Common.Entities.Dtos
{
/// <summary>
/// 以传递一个实体Id值给应用服务方法。
/// </summary>
/// <typeparam name="TId"></typeparam>
public class IdInput<TId> : IInputDto
{
/// <summary>
/// 主... | 2.699265 | 835b8f3aa4f16a6449b7fa107c0fd851 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91611 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "savpek/Protacon.RxMq",
"max_stars_repo_path": "Protacon.RxMq.AzureServiceBus/Topic/AzureTopicMqSettings.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91612"
} | starcoder | using System;
using System.Collections.Generic;
using Microsoft.Azure.ServiceBus;
using Protacon.RxMq.Abstractions.DefaultMessageRouting;
namespace Protacon.RxMq.AzureServiceBus.Topic
{
public class AzureBusTopicSettings : AzureMqSettingsBase
{
public string TopicSubscriberId { get; set; } = Environmen... | 2.114363 | e2c337a32366508050af15b399a1619b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91612 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ViniciusAugusto/sgmi-csharp",
"max_stars_repo_path": "SGMI/Controllers/EstadoController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91613"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Entity;
using System.Linq;
using System.Threading.Tasks;
using System.Net;
using System.Web;
using System.Web.Mvc;
using SGMI.Models;
namespace SGMI.Controllers
{
public class EstadoController : Controller
{
... | 1.99963 | 5336412517e4a25ebd6793ae7e5265ff |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91613 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "fxMem/asyncstream",
"max_stars_repo_path": "PlainValley.AsyncStream/AsyncBufferStream.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91614"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace PlainValley.AsyncStream
{
public class AsyncBufferStream : Stream
{
private bool _disposeBufferStream;
private long _readPosition;
private... | 2.969966 | e0bd5ef58b042129be232e2045a6f56d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91614 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LawrenceGow/GW2BuildLibrary",
"max_stars_repo_path": "BuildLibrary/Specialization.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91615"
} | starcoder | namespace GW2BuildLibrary
{
/// <summary>
/// The available specializations.
/// </summary>
public enum Specialization : byte
{
None = 0,
// Guardian
Valor = 13,
Radiance = 16,
Dragonhunter = 27,
Zeal = 42,
Virtues = 46,
Honor = 49,
... | 2.07243 | 76118f3a1bda143f59a2fd8471c90285 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91615 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RobThree/BindingTest",
"max_stars_repo_path": "BindingTest/NumberFormatter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91616"
} | starcoder | <reponame>RobThree/BindingTest<gh_stars>0
using System.Linq;
namespace BindingTest
{
public interface INumberFormatter
{
string FormatNumber(string phoneNumber, NumberFormat numberFormat);
}
public class NumberFormatter : INumberFormatter
{
public string FormatNumber(string phoneN... | 2.90374 | 28f8d56ee8308f10bc317e0c6ffece4e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91616 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "rkoeninger/zed-sharp",
"max_stars_repo_path": "src/KitchenSink.Tests/DatesAndTimes.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91617"
} | starcoder | using System;
using NUnit.Framework;
namespace KitchenSink.Tests
{
public class DatesAndTimes
{
[Test]
public void DateRangeTests()
{
Assert.IsTrue(DateSpan.EntireMonth(2000, 4).Contains(new DateTime(2000, 4, 5, 13, 24, 53)));
Assert.IsTrue(DateSpan.EntireYear(2... | 2.814079 | bde1766bc37c905c52e1b61ef4ceef7c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91617 | {
"extension": "c-sharp",
"max_stars_count": "123.0",
"max_stars_repo_name": "smh1988/TailwindTraders-Backend",
"max_stars_repo_path": "Source/Services/Tailwind.Traders.Profile.Api/Csv/ProfileCsvMap.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91618"
} | starcoder | <reponame>smh1988/TailwindTraders-Backend
using CsvHelper.Configuration;
using Tailwind.Traders.Profile.Api.Csv;
namespace Tailwind.Traders.Profile.Api.Helpers
{
public sealed class ProfilesMap : ClassMap<ProfileData>
{
public ProfilesMap()
{
AutoMap();
}
}
}
| 1.162793 | 67e815bd45f982dd85fa81dd253f29a0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91618 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "frenkieIngr/Panelak.Framework",
"max_stars_repo_path": "Panelak.Framework/Panelak.Sql.Parsing/SqlConditionParser.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91619"
} | starcoder | namespace Panelak.Sql.Parsing
{
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Linq;
using LeftRightExprFactory = System.Func<ISqlConditionExpression, ISqlConditionExpression, object>;
using RightExprFactory = System.Func<ISqlConditionExp... | 2.9096 | 3dec5cb2d3a0f35b291a485e64abe81e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91619 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "reductech/Core",
"max_stars_repo_path": "Core/Entities/Schema/EntityNode.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91620"
} | starcoder | <reponame>reductech/Core
namespace Reductech.Sequence.Core.Entities.Schema;
/// <summary>
/// Matches a structured object
/// </summary>
public record EntityNode(
EnumeratedValuesNodeData EnumeratedValuesNodeData,
EntityAdditionalItems EntityAdditionalItems,
EntityPropertiesData EntityProperti... | 2.125751 | 707b3f28d31dc49a288d0e51a8471c75 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91620 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wslyvh/MS-Enterprise-patterns-practices",
"max_stars_repo_path": "wslyvh.Core.Interfaces/ServiceClient/Rest/IRestClient.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91621"
} | starcoder | <gh_stars>0
using System;
namespace wslyvh.Core.Interfaces.ServiceClient.Rest
{
public interface IRestClient
{
IRestClientConfiguration RestClientConfiguration { get; }
IRestRequest DefaultRestRequest { get; }
Uri BaseUri { get; }
IAuthenticator Authenticator { get; }
}
}
| 1.032426 | ccd08cc6de690eda2425c94b621607d7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91621 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Jogann94/mpd_xamarin_client",
"max_stars_repo_path": "MPDApp/MPDApp/MPDApp/Models/MasterPageItem.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91622"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
namespace MPDApp.Models
{
public class MasterPageItem
{
public string Title { get; set; }
public string Icon { get; set; }
public Type TargetType { get; set; }
public Colo... | 2.761789 | da41fe65a13a6290a235c6e34800c261 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91622 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Espik/Forget-Me-Now",
"max_stars_repo_path": "Assets/Forget Me Now/ForgetMeNow.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91623"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
using KModkit;
public class ForgetMeNow : MonoBehaviour {
public KMAudio Audio;
public KMBombInfo Bomb;
public KMBombModule Module;
public KMSelectable[] Buttons;
public Renderer[] Ligh... | 2.134413 | e93db75c4451a62c68cec53ab0a1db4f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91623 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "adnkai/Application-Insights",
"max_stars_repo_path": "WebApp/Pages/Index.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:91624"
} | starcoder | @page "/{raise?}"
@model IndexModel
@using System
@using Newtonsoft.Json.Linq
@{
ViewData["Title"] = "Home page";
String btcData = ViewData["btc"].ToString();
JObject btc = JObject.Parse(btcData);
}
<div class="text-center">
<h1 class="display-4">Application Insights Test Page AZ 204</h1>
<a href=... | 2.466929 | cff4a25c090ee346eb7688a02e25be27 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91624 | {
"extension": "c-sharp",
"max_stars_count": "469.0",
"max_stars_repo_name": "lefb766/mono",
"max_stars_repo_path": "mcs/class/System.Windows.Forms.DataVisualization/Test/Charting/Form1.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91625"
} | starcoder | namespace WindowsFormsApplication1
{
partial class Form1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources shoul... | 1.923539 | 332a4835cf953bb6c3d49cf149b49d36 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91625 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "sambeauvois/infoday",
"max_stars_repo_path": "DayInfo/DateInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91626"
} | starcoder | <reponame>sambeauvois/infoday
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DayInfo
{
public class DateInfo
{
public DateTime Date
{
get;
set;
}
public DayInfo DayInfo
... | 2.835186 | eaee1ba9b966820b185a1ac204b3ba1a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91626 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "resjosh265/alienRun",
"max_stars_repo_path": "Assets/prefabs/Enemies/Saw/Scripts/SawAI.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91627"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SawAI : MonoBehaviour {
public bool debugMode;
private Rigidbody2D mainBody;
public GameObject leftEdge, rightEdge;
private Animator anim;
public float moveSpeed = 0.05f;
public float chaseSpeed = 0.10f;
public float... | 2.191461 | db48b24716eecf449d875b993616dd64 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91627 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "danielmarbach/OversizedSends",
"max_stars_repo_path": "OversizedSends/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91628"
} | starcoder | using System;
using System.Threading;
using System.Threading.Tasks;
using NServiceBus;
using NServiceBus.Pipeline;
using NServiceBus.Transport.AzureServiceBus;
namespace OversizedSends
{
class Program
{
static async Task Main(string[] args)
{
var configuration = new En... | 2.616693 | e710e427f6bda718245824c468b3279d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91628 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "WikiLibs/API",
"max_stars_repo_path": "WikiLibs.Models/Output/Admin/ApiKey.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91629"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using WikiLibs.Data.Models;
namespace WikiLibs.Models.Output.Admin
{
public class ApiKey : GetModel<ApiKey, Data.Models.ApiKey>
{
public string Id { get; set; }
public string Description { get; set; }
public string Orig... | 2.213149 | 7d5da73460df204be5bf506689000652 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91629 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dpesheva/QuizFactory",
"max_stars_repo_path": "QuizFactory/QuizFactory.Data/IQuizFactoryData.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91630"
} | starcoder | namespace QuizFactory.Data
{
using System;
using System.Linq;
using QuizFactory.Data.Common.Interfaces;
using QuizFactory.Data.Models;
public interface IQuizFactoryData
{
IQuizFactoryDbContext Context { get; }
IDeletableEntityRepository<AnswerDefinition> AnswerDefinitions { g... | 1.86461 | 0f9968a1c668bedd900e3f96cf402e69 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91630 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "joaosito00/artesanatoCapixaba",
"max_stars_repo_path": "artesanatoCapixaba/functions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91631"
} | starcoder | using System;
using System.Windows.Forms;
using System.Data;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Configuration;
namespace artesanatoCapixaba
{
class functions
{
private static SqlConnection connection = new SqlConnection(ConfigurationManager.AppSettings["connStr... | 2.795131 | 33ec91d2e1484080c7a7453d012c22c7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91631 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "sedc-codecademy/skwd9-net-06-csharpadv",
"max_stars_repo_path": "G2/Class13 - TryBeingFit/SEDC.TryBeingFit/SEDC.TryBeingFit.Domain/Enums/TrainingDifficulty.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91632"
} | starcoder | <gh_stars>1-10
namespace SEDC.TryBeingFit.Domain.Enums
{
public enum TrainingDifficulty
{
Easy = 1,
Medium,
Hard
}
}
| 1.666453 | 56e62244500a1dafe8d96b6489dcc8a9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91632 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "zspitz/ExpressionTreesInVBandCS",
"max_stars_repo_path": "CSharp_SetColumns/XamlBindingPathVisitor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91633"
} | starcoder | using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using Shared;
namespace CSharp_SetColumns {
public class XamlBindingPathVisitor : ExpressionVisitor {
private static readonly HashSet<MethodInfo> stringFormats = typeof(string).GetMethods()
... | 2.735381 | c8878da409bbc92dd6bba4c224a4458a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91633 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Nikhil2194/2D-Platformer-Game",
"max_stars_repo_path": "Assets/Scripts/LobbyController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91634"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
public class LobbyController : MonoBehaviour
{
public Button buttonPlay;
public GameObject LevelSelection;
private void Awake()
{
buttonPlay.onClick.AddListe... | 1.888853 | 594ec58bb4ff64de0d10a0392685fb16 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91634 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ovidr/RepoDb",
"max_stars_repo_path": "RepoDb/RepoDb/MemoryCache.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91635"
} | starcoder | using System;
using System.Collections.Generic;
using RepoDb.Interfaces;
using System.Linq;
using System.Collections;
namespace RepoDb
{
/// <summary>
/// An object used for caching a result in the repository <i>Query</i> operation. This object is the default
/// memory cache object used by the <i>RepoDb<... | 3.32364 | 0d2d2c2e0ea79fb1c36292e0c96c11c7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91635 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "hozuki/TheaterDaysSim",
"max_stars_repo_path": "src/TheaterDays/Subsystems/Configuration/ConfigurationHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91636"
} | starcoder | <reponame>hozuki/TheaterDaysSim
using JetBrains.Annotations;
using OpenMLTD.MilliSim.Configuration;
using OpenMLTD.MilliSim.Foundation;
using OpenMLTD.TheaterDays.Configuration;
using OpenMLTD.TheaterDays.Configuration.Extending;
using YamlDotNet.Serialization;
using YamlDotNet.Serialization.NamingConventions;
using Ya... | 1.715326 | 57d634fa498ad207cdae2f15344d3f8b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91636 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dmequus/gizmofort.connector.erpnext",
"max_stars_repo_path": "Libs/GizmoFort.Connector.ERPNext/ERPTypes/Hotel_room_amenity/ERPHotel_room_amenity.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91637"
} | starcoder | <reponame>dmequus/gizmofort.connector.erpnext
using GizmoFort.Connector.ERPNext.PublicTypes;
using GizmoFort.Connector.ERPNext.WrapperTypes;
using System.ComponentModel;
namespace GizmoFort.Connector.ERPNext.ERPTypes.Hotel_room_amenity
{
public class ERPHotel_room_amenity : ERPNextObjectBase
{
public ER... | 2.035267 | f415983ac23f67a69175f8ecd3d3ee97 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91637 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "suhsteve/interactive",
"max_stars_repo_path": "dotnet-interactive.Tests/HttpApiTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91638"
} | starcoder | <filename>dotnet-interactive.Tests/HttpApiTests.cs
// Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.IO;
using System.Net;
using Syst... | 2.129858 | 3b1f7e6ecd90b3015bcff88cb6d83b04 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91638 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "Soletude/WpfMouseWheelLib",
"max_stars_repo_path": "Lib/Windows/Input/MouseWheel/MouseWheelFilter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91639"
} | starcoder | <reponame>Soletude/WpfMouseWheelLib
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using Lada.Maths;
using Lada.Windows.MotionFlow;
namespace Lada.Windows.Input
{
public class MouseWheelLinearFilter : IMotionFilter
{
public void ... | 2.407483 | d509e8d649277259b17e872b35309ac4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91639 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "britttttk/btcpayserver-configurator",
"max_stars_repo_path": "BTCPayServerDockerConfigurator/Models/ElectrumXSettings.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91640"
} | starcoder | namespace BTCPayServerDockerConfigurator.Models
{
public class ElectrumXSettings
{
public bool Enabled { get; set; }
}
} | 1.28055 | 927204c42d0fa7ed59c3794ad0d82fc0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91640 | {
"extension": "c-sharp",
"max_stars_count": "148.0",
"max_stars_repo_name": "ScriptBox99/Money",
"max_stars_repo_path": "src/Money/Commands/ChangeCurrencySymbol.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91641"
} | starcoder | using Neptuo;
using Neptuo.Commands;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Money.Commands
{
/// <summary>
/// Changes a <see cref="NewSymbol"/> of the currency with <see cref="UniqueCode"/>.
/// </summary>
public c... | 3.024294 | 752a2b0fc16714a6bbc8a76dfba95e99 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91641 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "SnelStartSoftwareBV/B2B.client.net",
"max_stars_repo_path": "SnelStart.B2B.Client/Operations/Artikelen/ArtikelIdentifierModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91642"
} | starcoder | namespace SnelStart.B2B.Client.Operations
{
/// <summary>
/// De gegevenscontainer voor een Artikel.
/// </summary>
public class ArtikelIdentifierModel : IdentifierModel
{
/// <summary>
/// Geeft de naam van deze gegevenscontainer terug.
/// </summary>
public const s... | 2.346958 | edf796e56572f9776688dc644e55b6ae |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91642 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "JaskaRoman/selenium-utils",
"max_stars_repo_path": "src/Samples/Riganti.Selenium.Core.Samples.New/Controllers/TestController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91643"
} | starcoder | <gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
namespace Riganti.Selenium.Core.Samples.New.Controllers
{
public class TestController : Controller
{
public ActionResult Al... | 1.969913 | b29df01f2744dbb47fb23e69767714d4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91643 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "DevsDNA/NSSpain2017",
"max_stars_repo_path": "App/NSSpain2017/iOS/PrototypeCell.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91644"
} | starcoder | <gh_stars>1-10
namespace NSSpain2017.iOS
{
using System;
using Foundation;
using UIKit;
public partial class PrototypeCell : UITableViewCell
{
Session _session;
public static readonly NSString Id = new NSString("PrototypeCell");
public PrototypeCell (IntPtr handle) : base (handle)
{
... | 2.276105 | 366535fb5abb2644728bd733b3dd1650 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91644 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "ahives/Machete",
"max_stars_repo_path": "src/Machete.X12Schema/V5010/Layouts/Maps/LoopL0_304Map.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91645"
} | starcoder | namespace Machete.X12Schema.V5010.Maps
{
using X12;
using X12.Configuration;
public class LoopL0_304Map :
X12LayoutMap<LoopL0_304, X12Entity>
{
public LoopL0_304Map()
{
Id = "Loop_L0_304";
Name = "Loop L0";
Segment(x => x.LineIte... | 1.640088 | 6f1e9e37d69f057b96fe45dd04297146 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91645 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "maSchoeller/dhbw-vorlesung-csharp",
"max_stars_repo_path": "MaSchoeller.Dublin/MaSchoeller.Dublin.Core/Models/Vehicle.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91646"
} | starcoder | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
namespace MaSchoeller.Dublin.Core.Models
{
[DataContract]
public class Vehicle
{
[DataMember]
public... | 2.016421 | 02fab2d61a569336f3cd1240e9f0f499 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91646 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "Leo-Corporation/InternetTest",
"max_stars_repo_path": "InternetTest/InternetTest/Classes/Global.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91647"
} | starcoder | <reponame>Leo-Corporation/InternetTest<filename>InternetTest/InternetTest/Classes/Global.cs
/*
MIT License
Copyright (c) Léo Corporation
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 r... | 2.219129 | 5f29bd1922c8c14a47f0dd5bbb2a4dbf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91647 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BerkEmreCabuk/electronic-shopping",
"max_stars_repo_path": "ElectronicShopping/test/ElectronicShopping.Api.Tests/Repositories/Entities/CartDetailEntityTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91648"
} | starcoder | using ElectronicShopping.Api.Enums;
using ElectronicShopping.Api.Repositories.Entities;
using System;
using Xunit;
namespace ElectronicShopping.Api.Tests.Repositories.Entities
{
public class CartDetailEntityTests
{
[Theory, InlineData(1), InlineData(-1)]
public void AddQuantity_ShouldAssertVal... | 2.452042 | ef548d9bb54414885a1e7c6d6f002d21 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91648 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mmrath/Highlander.Net",
"max_stars_repo_path": "FpML.V5r3.Components/MarketDataServer/BEmu/MarketDataRequest/ElementMarketSubscriptionCancelReason.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91649"
} | starcoder | <reponame>mmrath/Highlander.Net<gh_stars>0
//------------------------------------------------------------------------------
// <copyright project="BEmu" file="MarketDataRequest/ElementMarketSubscriptionCancelReason.cs" company="<NAME>">
// Copyright (c) 2013 <NAME>. All rights reserved.
//
// The use of this s... | 2.247924 | b05c1a8458ad009f6d3b8d085c2566f1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91649 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Bia10/War3Net",
"max_stars_repo_path": "src/War3Net.Build/Diagnostics/DiagnosticCategory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91650"
} | starcoder | <reponame>Bia10/War3Net
// ------------------------------------------------------------------------------
// <copyright file="DiagnosticCategory.cs" company="Drake53">
// Licensed under the MIT license.
// See the LICENSE file in the project root for more information.
// </copyright>
// -------------------------------... | 1.386044 | 96d7588656fc535e9ab0795e34460dcb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91650 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pirocorp/Databases-Advanced---Entity-Framework",
"max_stars_repo_path": "14. Exams/C# DB Advanced Exam - 08 August 2020/VaporStore/Data/Models/User.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91651"
} | starcoder | <filename>14. Exams/C# DB Advanced Exam - 08 August 2020/VaporStore/Data/Models/User.cs
namespace VaporStore.Data.Models
{
using System.Collections.Generic;
public class User
{
public User()
{
this.Cards = new List<Card>();
}
public int Id { get; set; }
... | 2.466671 | 1d3bc37b203204895f6bb3db42725b78 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91651 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "201019-UiPath/GresensCarson-Project0",
"max_stars_repo_path": "Project0/StoreDB/Models/Customer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91652"
} | starcoder | <reponame>201019-UiPath/GresensCarson-Project0<gh_stars>0
using StoreDB.Models;
using System.Collections.Generic;
namespace StoreDB.Models
{
public class Customer : Person
{
private List<Order> orderHistory;
public List<Order> OrderHistory { get; set; }
public void AddOrderToHistory(Order o)
{
... | 2.340012 | dc00cb0acae29407b431233499c73bf0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91652 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LifeLich/LudumDare46",
"max_stars_repo_path": "Assets/Runnors/Runner.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91653"
} | starcoder | using System;
using System.Collections.Generic;
using UnityEngine;
public class Runner : Character_Base
{
[SerializeField] Sprite normalFace;
[SerializeField] Sprite doubleBuildFace;
[SerializeField] Sprite buildAndRunFace;
[SerializeField] Sprite respanFace;
void Start()
{
startPoin... | 2.019864 | 7a8e37f258ec012a910567e63de3ffa4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91653 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BenStull/RequestTelemetryHttpModule",
"max_stars_repo_path": "BenStull.HttpRequestTelemetry.AspNetHttpModule.Demo/Areas/HelpPage/Views/Help/DisplayTemplates/ImageSample.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:91654"
} | starcoder | <reponame>BenStull/RequestTelemetryHttpModule<filename>BenStull.HttpRequestTelemetry.AspNetHttpModule.Demo/Areas/HelpPage/Views/Help/DisplayTemplates/ImageSample.cshtml
@using BenStull.HttpRequestTelemetry.AspNetHttpModule.Demo.Areas.HelpPage
@model ImageSample
<img src="@Model.Src" /> | 1.562994 | 34ac6d1637f2bb22496908cbb5124624 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91654 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "CopperPenguin96/SmartBlocks",
"max_stars_repo_path": "SmartBlocks/Entities/Attributes/AttributeModifier.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91655"
} | starcoder | using java.util;
using SmartBlocks.Entities.Living.Mobs;
using SmartBlocks.Utils;
using SmartNbt;
using SmartNbt.Tags;
namespace SmartBlocks.Entities.Attributes
{
public class AttributeModifier : ITagProvider
{
public ModifierOperation Operation { get; private set; }
public double Value { get... | 2.166277 | 4b9a745272f29e93f89571eb7b4e2d53 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91655 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Thaesch/GGJ2022",
"max_stars_repo_path": "Duellements/Assets/_Sev/Guardian.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91656"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using _Marco.Scripts;
using UnityEngine;
[RequireComponent(typeof (Shoot))]
public class Guardian : MonoBehaviour
{
private Shoot weapon;
public Element element = Element.NORMAL;
public List<Projectile> projectiles = new List<P... | 2.172399 | 43fa323147a60db20c04ef5be80ab5a0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91656 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "pacal/NPoco_Identity_Provider",
"max_stars_repo_path": "NPoco_Idenity_Provider/UserStore.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91657"
} | starcoder | <filename>NPoco_Idenity_Provider/UserStore.cs
using System;
using System.Collections.Generic;
using System.Security.Claims;
using System.Threading.Tasks;
using Microsoft.AspNet.Identity;
using NPoco.Linq;
namespace Pacal.NPoco_Idenity_Provider
{
public class UserStore<TUser, TRole> : IUserLoginStore<TUser>,
... | 2.466991 | 8472b8b1b9229748013d8fa6331d8c8a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91657 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "thefixxers/ClaymoreLogChart",
"max_stars_repo_path": "DockPanels/TempStatsPanel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91658"
} | starcoder | <reponame>thefixxers/ClaymoreLogChart<filename>DockPanels/TempStatsPanel.cs<gh_stars>0
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;
using WeifenLuo.W... | 2.05524 | 999072a95b2a65d7f343b86c14cacea2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91658 | {
"extension": "c-sharp",
"max_stars_count": "64.0",
"max_stars_repo_name": "chimkennumget/Legendary-Palm-Tree",
"max_stars_repo_path": "Legendary-Palm-Tree-9-30/Legendary-Palm-Tree-9-30/Multiplayer Game/Assets/emotitron/NST Core 5/Sample Scenes/Scripts/Ball.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9... | starcoder | <reponame>chimkennumget/Legendary-Palm-Tree
using UnityEngine;
/// <summary>
/// Adds random force to a object to keep it bouncing randomly. NST objects that aren't owner will be isKinematic so force will be ignored.
/// </summary>
public class Ball : MonoBehaviour {
Rigidbody rb;
private void Awake()
{
rb = G... | 2.414756 | 7ae39f037bfce96cc0c99d391e2b08be |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91659 | {
"extension": "c-sharp",
"max_stars_count": "27.0",
"max_stars_repo_name": "leeohalloran/encog-dotnet-core",
"max_stars_repo_path": "encog-core-cs/Bot/Browse/Extract/IExtract.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91660"
} | starcoder | //
// Encog(tm) Core v3.3 - .Net Version
// http://www.heatonresearch.com/encog/
//
// Copyright 2008-2014 Heaton Research, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
/... | 2.385633 | 164bc442d3986b7d4ea10b5d7ff8bd6a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91660 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Ollon/VSShortcutInstaller",
"max_stars_repo_path": "Src/FileContextMenuExt/CMF.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91661"
} | starcoder | <reponame>Ollon/VSShortcutInstaller
/********************************** Module Header **********************************\
Module Name: ShellExtLib.cs
Project: CSShellExtContextMenuHandler
Copyright (c) Microsoft Corporation.
The file declares the imported Shell interfaces: IShellExtInit and IContextMenu,
imple... | 1.884836 | 404ccf8c6063ca47c98205cc9526a8bf |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.