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 | 8840912 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "141-Gelecek-Varlik-FullStack-Bootcamp/net-5-api-httpverbs-kullanimi-emirxmertoglu",
"max_stars_repo_path": "BasicUser.API/BasicUser.Model/User.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160132"
} | starcoder | <filename>BasicUser.API/BasicUser.Model/User.cs
using System;
using System.ComponentModel.DataAnnotations;
namespace BasicUser.Model
{
public class User
{
[Key]
public int Id { get; set; }
[Required(ErrorMessage = "Kullanici adinizi giriniz!")]
[StringLength(maximumLength:50, ... | 2.757051 | 138baf2dcea93d381547bbce789f4260 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840913 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ZebraDevs/Savanna-CSharp-SDK",
"max_stars_repo_path": "Zebra.Savanna/Models/Errors/Fault.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160133"
} | starcoder | <filename>Zebra.Savanna/Models/Errors/Fault.cs
namespace Zebra.Savanna.Models.Errors
{
/// <summary>
/// Describes issues encountered while invoking an API.
/// </summary>
public class Fault
{
/// <summary>
/// The fault that occurred.
/// </summary>
public string Fa... | 2.403745 | c28b109041caf1c9201f334571f31513 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840914 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SuchByte/Macro-Deck-Windows-Utils-Plugin",
"max_stars_repo_path": "Services/ApplicationLauncher.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160134"
} | starcoder | using SuchByte.MacroDeck.Logging;
using SuchByte.WindowsUtils.Utils;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Text;
namespace SuchByte.WindowsUtils.Services
{
... | 2.476882 | 6767a011d51d9e067a3ce31a08c8e36c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840915 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "dbrant/BlackHoleRaytracer",
"max_stars_repo_path": "Hitable/Disk.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160135"
} | starcoder | <filename>Hitable/Disk.cs
using System;
using System.Drawing;
using System.Numerics;
using BlackHoleRaytracer.Equation;
namespace BlackHoleRaytracer.Hitable
{
public class Disk : IHitable
{
private double radiusInner;
private double radiusOuter;
private double radiusInnerSqr;
p... | 2.980534 | 7decaac3187d371d12fe068cde5ad7dc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840916 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mattwood2855/Trefle.Net",
"max_stars_repo_path": "Trefle.Net/Dto/SearchResponsePlantDataDto.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160136"
} | starcoder | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;
namespace Trefle.Net.Dto
{
public class SearchResponsePlantDataDto
{
[JsonProperty("author")]
public string Author { get; set; }
[JsonProperty("bibliography")]
public string Bibliography ... | 1.781338 | c8cb2a5d8bf9ed45a1f7d8c8aaffee48 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840917 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Btr-bbit/danmaku2D",
"max_stars_repo_path": "Assets/Script/CameraController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160137"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CameraController : MonoBehaviour {
public GameObject player;
// Use this for initialization
void Start () {
transform.position.Set(player.transform.position.x, transform.position.y, player.transform.position.z);... | 2.113295 | e8cd6383a0cd322f45738e1e20f1fc89 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840918 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TaylorClark/PrimeTime",
"max_stars_repo_path": "FontGen/FormMain.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160138"
} | starcoder | <reponame>TaylorClark/PrimeTime
namespace FontGen
{
partial class FormMain
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if... | 1.992419 | 6a30c5eae809c555ad2bf4c051c08a8e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840919 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jbt00000/RevolutionaryStuff",
"max_stars_repo_path": "src/RevolutionaryStuff.SSIS/TestComponent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160139"
} | starcoder | using Microsoft.SqlServer.Dts.Pipeline;
using Microsoft.SqlServer.Dts.Pipeline.Wrapper;
using RevolutionaryStuff.Core;
using System;
namespace RevolutionaryStuff.SSIS
{
[DtsPipelineComponent(
DisplayName = "TestComponent2 - LeftAndOnlyLeft",
ComponentType = ComponentType.Transform,
NoEdito... | 2.055292 | 385a9bc9475c8aca79f58d3025bc74f1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840920 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "benbristow/YouTube-Music-Downloader",
"max_stars_repo_path": "MusicDownloader/Lib/Video.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160140"
} | starcoder | <filename>MusicDownloader/Lib/Video.cs<gh_stars>1-10
using System;
using WrapYoutubeDl;
using System.IO;
namespace MusicDownloader.Lib
{
public class Video
{
public string id { get; set; }
public string title { get { return getTitle(); } set { _title = value; }}
public DateTim... | 3.086958 | 5338461245a846837673775133d8f382 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840921 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "EatonGaming/dot-net-enigma",
"max_stars_repo_path": "DotNetEnigma/DotNetEnigma/Enigma/KeyProcessing/Rotors/IRotor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160141"
} | starcoder | <reponame>EatonGaming/dot-net-enigma
using System.Collections.Generic;
namespace DotNetEnigma.Enigma.KeyProcessing.Rotors
{
public interface IRotor
{
List<(char left, char right)> WiringConfiguration { get; }
RotorNumber RotorNumber { get; set; }
int NotchPosition { get; set; }
... | 2.081222 | b66b249837afa4f3d5b35bd4dfa16b7f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840922 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "greeduomacro/vivre-uo",
"max_stars_repo_path": "Scripts/Mobiles/Monsters/Elemental/Magic/FireElemental.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160142"
} | starcoder | using System;
using Server;
using Server.Items;
namespace Server.Mobiles
{
[CorpseName( "a fire elemental corpse" )]
public class FireElemental : BaseCreature
{
public override double DispelDifficulty{ get{ return 117.5; } }
public override double DispelFocus{ get{ return 45.0; } }
[Constructable]
public F... | 1.968 | cb95ce35e03d9f24669ec3398268fa11 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840923 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "AlexanderGroeger/RogueEssence",
"max_stars_repo_path": "RogueEssence/Lua/TemplateManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160143"
} | starcoder | /*
TemplateManager.cs
2017/07/01
<EMAIL>
Description:This is the root of the template system for handling object and character templates used throughout the game.
*/
using System;
using System.Collections.Generic;
using RogueEssence.Content;
using RogueEssence.Ground;
using RogueEssence.Dungeon;
using RogueElements;
... | 3.07693 | 050cb9a4bdcbb478e9cbdc67ddbc1b47 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840924 | {
"extension": "c-sharp",
"max_stars_count": "36.0",
"max_stars_repo_name": "wagnerhsu/sample-EasyAbp-NotificationService",
"max_stars_repo_path": "src/EasyAbp.NotificationService.Web/Pages/NotificationService/Notifications/Notification/Index.cshtml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160144"
} | starcoder | using System.Threading.Tasks;
namespace EasyAbp.NotificationService.Web.Pages.NotificationService.Notifications.Notification
{
public class IndexModel : NotificationServicePageModel
{
public virtual async Task OnGetAsync()
{
await Task.CompletedTask;
}
}
}
| 1.464607 | 6cedeaadfc58d90fd473369111657250 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840925 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pozy/Swashbuckle.AspNetCore.Filters",
"max_stars_repo_path": "src/Swashbuckle.AspNetCore.Filters/Examples/ExamplesConverter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160145"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.OpenApi.Any;
using Microsoft.OpenApi.Models;
using Newtonsoft.Json;
using Swashbuckle.AspNetCore.Filters.Extensions;
namespace Swashbuckle.AspNetCore.Filters
{
internal class ExamplesConverter
{
private readonly JsonForm... | 2.488893 | ab0e4ca25b81422b87a87e7f9383c49d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840926 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "msotiroff/Asp.Net-Core-Projects",
"max_stars_repo_path": "source/VehicleCostsMonitor.Web/Areas/Vehicle/Views/Vehicle/Details.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:160146"
} | starcoder | @model VehicleDetailsViewModel
<h2 class="text-center">Details</h2>
<hr />
<div class="container">
<div class="container">
<div class="row">
<dl class="dl-horizontal col-md-3">
<dt>
@Html.DisplayNameFor(model => model.FullModelName)
</dt>
... | 2.067166 | 4bfceb8dcac0f0db34d2cd0fc5beb737 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840927 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Sonozuki/StardewMods",
"max_stars_repo_path": "FarmAnimalVarietyRedux/Patches/ShearsPatch.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160147"
} | starcoder | <gh_stars>0
using StardewValley;
using StardewValley.Tools;
namespace FarmAnimalVarietyRedux.Patches
{
/// <summary>Contains patches for patching game code in the <see cref="Shears"/> class.</summary>
internal class ShearsPatch
{
/*********
** Internal Methods
*********/
//... | 2.163657 | b2ea408918a1fbf69b845d96b67cd04e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840928 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "inputfalken/Sharpy",
"max_stars_repo_path": "src/Sharpy.Core/Linq/ToList.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160148"
} | starcoder | using System;
using System.Collections.Generic;
namespace Sharpy.Core.Linq
{
/// <summary>
/// Provides a set of static methods for <see cref="IGenerator{T}" />.
/// </summary>
public static partial class Extensions
{
/// <summary>
/// <para>
/// Creates a <s... | 3.421967 | dfc8e9e1755842befae4f78cca31bbd8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840929 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "decoy/ConsoleBox",
"max_stars_repo_path": "ConsoleBox/UI/Widgets/HoverWidget.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160149"
} | starcoder | namespace ConsoleBox.UI.Widgets
{
using System;
public class HoverWidget : StatefulWidget<bool, EventWidget>
{
public IWidget Child { get; set; }
public HoverWidget(string name, IWidget child) : base(name)
{
Child = child;
}
public HoverWidget(string n... | 2.654492 | b2c819f17d49483c98b54bdf0c0c68d6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840930 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Xathz/Video-Notifications",
"max_stars_repo_path": "Video-Notifications/Database/Types/Channel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160150"
} | starcoder | <filename>Video-Notifications/Database/Types/Channel.cs
using LiteDB;
namespace VideoNotifications.Database.Types {
/// <summary>
/// A YouTube channel.
/// </summary>
public class Channel {
/// <summary>
/// Channel ID.
/// </summary>
[BsonId]
public string I... | 2.514749 | ccc25ad361a6b83a19f659eddbe43ca9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840931 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ren19890419/LuaStriveGame",
"max_stars_repo_path": "Assets/StriveGame/Source/Generate/KBEngine_MemoryStreamWrap.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160151"
} | starcoder | //this source code was auto-generated by tolua#, do not modify it
using System;
using LuaInterface;
public class KBEngine_MemoryStreamWrap
{
public static void Register(LuaState L)
{
L.BeginClass(typeof(KBEngine.MemoryStream), typeof(System.Object));
L.RegFunction("data", data);
L.RegFunction("setData", setDa... | 1.912819 | fb0c146290386ce9c9d02c102e61ccb6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840932 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "FINTmodels/FINT.Information.Model",
"max_stars_repo_path": "FINT.Model.Resource.Utdanning/Elev/MedlemskapResources.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160152"
} | starcoder | <gh_stars>0
using FINT.Model.Resource;
namespace FINT.Model.Utdanning.Elev
{
public class MedlemskapResources : AbstractCollectionResources<MedlemskapResource>
{
}
}
| 0.568439 | f5cc3e3b6faec2d6a9a41b6f19130c74 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840933 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "ctu-fee-group/Christofel",
"max_stars_repo_path": "src/Plugins/Christofel.Api/Ctu/Auth/Duplicate.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160153"
} | starcoder | //
// Duplicate.cs
//
// Copyright (c) Christofel authors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Christofel.Common.Database.Models;
namespace Christofel.Api.Ctu.Auth
{
/// <summary>
/// Information about a duplica... | 2.407374 | d023229d886a2f2a43b002deb95347e8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840934 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "codetuner/Arebis.Common",
"max_stars_repo_path": "Arebis.Pdf/Writing/ITextTransformer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160154"
} | starcoder | <filename>Arebis.Pdf/Writing/ITextTransformer.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Arebis.Pdf.Writing
{
public interface ITextTransformer
{
/// <summary>
/// Transforms (or not) text to be written in a Pdf document.
... | 2.795778 | 7767fb0d3d70f7d636b7ddf37e0ee1ec |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840935 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "GhomiDev/WPFCaliburnNTierSample",
"max_stars_repo_path": "src/PresentationLayer/ViewModels/Interfaces/IShell.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160155"
} | starcoder | namespace WPFCaliburnNTierSample.PresentationLayer.ViewModels.Interfaces
{
/// <summary>
/// Shell view interface
/// </summary>
public interface IShell
{
}
} | 1.788338 | 4fc08fce932d616da4325e428ae8ac8b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840936 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Dariuosh/uaParser",
"max_stars_repo_path": "uaParserMiddleware/OptionBuilder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160156"
} | starcoder | using Microsoft.Extensions.DependencyInjection;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace uaParserMiddleware
{
public class OptionBuilder : IOptionBuilder
{
public OptionBuilder(IServiceCollection services)
{
... | 1.821145 | 6de55bf3dfee1d3e4afe4517cc44d051 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840937 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tec-csf/TC2017-T2-Otono-2019-A01129460",
"max_stars_repo_path": "ArbolesB.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160157"
} | starcoder | <gh_stars>0
/********************
**** <NAME> | <NAME> ******
**** A01021689 | A01129460 ******
********************/
// BTrees in C#
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Arboles_B
{
public class EntryAlreadyExistsException ... | 2.820579 | 5d69e9fd7c9e4b2136502d90b4175804 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840938 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "jsuarezruiz/Microcharts.GTK.Samples",
"max_stars_repo_path": "src/Microcharts.GTK.Sample/Microcharts.GTK.Sample/Microcharts.GTK.Sample/Views/MainView.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160158"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using SkiaSharp;
using Xamarin.Forms.Xaml;
namespace Microcharts.GTK.Sample.Views
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class MainView : Xamarin.Forms.ContentPage
{
public MainView()
{
InitializeComponent();
}
... | 2.585491 | ea96ef8881d95b8930a28bcee41d89c2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840939 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "KonH/GameSystem",
"max_stars_repo_path": "Idler.Common/State/SharedState.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160159"
} | starcoder | <reponame>KonH/GameSystem
namespace Idler.Common.State {
public sealed class SharedState {
public int Resources { get; set; }
}
} | 1.343271 | 2c0348047d370533f2eddb5b991041a5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840940 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Los-Panas/MathsMare-GDSG-Intrinsic-Game-Jam",
"max_stars_repo_path": "BrainMaths/Assets/Scripts/UI/BlackBoardNice.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160160"
} | starcoder | <filename>BrainMaths/Assets/Scripts/UI/BlackBoardNice.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class BlackBoardNice : MonoBehaviour
{
float manual_time = 0;
float sinus_speed = 2.0f;
[SerializeField]
float arc = 10.0f;
RectTransform rt;
// Start... | 2.366283 | 2a10c15bc80106d9a6cdd0179174ab4a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840941 | {
"extension": "c-sharp",
"max_stars_count": "469.0",
"max_stars_repo_name": "lefb766/mono",
"max_stars_repo_path": "mcs/class/System.Web.Mvc3/Mvc/Razor/MvcVBRazorCodeGenerator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160161"
} | starcoder | namespace System.Web.Mvc.Razor {
using System.CodeDom;
using System.Web.Razor;
using System.Web.Razor.Generator;
using System.Web.Razor.Parser.SyntaxTree;
public class MvcVBRazorCodeGenerator : VBRazorCodeGenerator {
public MvcVBRazorCodeGenerator(string className, string rootNamespaceName... | 1.953475 | 0f43f254b116e89cb4b11529f56657ac |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840942 | {
"extension": "c-sharp",
"max_stars_count": "19.0",
"max_stars_repo_name": "Sporteco/EventFly",
"max_stars_repo_path": "examples/demo/Demo.Web/Startup.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160162"
} | starcoder | <reponame>Sporteco/EventFly
using Demo.Infrastructure;
using EventFly;
using EventFly.GraphQL;
using EventFly.Infrastructure.DependencyInjection;
using EventFly.Swagger;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Configuration;
usi... | 1.817882 | 279f399517560c5252f40f5d63973767 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840943 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Byndyusoft/Byndyusoft.Net.Http.ProtoBuf",
"max_stars_repo_path": "tests/Unit/ProtoBufContentTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160163"
} | starcoder | <gh_stars>0
using Byndyusoft.Net.Http.ProtoBuf.Models;
using ProtoBuf.Meta;
using System;
using System.IO;
using System.Net.Http.Headers;
using System.Net.Http.ProtoBuf;
using System.Threading.Tasks;
using Xunit;
namespace Byndyusoft.Net.Http.ProtoBuf.Unit
{
public class ProtoBufContentTests
{
private ... | 2.274848 | c7f9e0d55a1c3ddba37b240642aca2f0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840944 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "debugerr/RabbitMqAzureMetrics",
"max_stars_repo_path": "Tests/DockerIntegrationTestHelper/TestContainer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160164"
} | starcoder | <filename>Tests/DockerIntegrationTestHelper/TestContainer.cs
using Docker.DotNet;
using Docker.DotNet.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace DockerIntegrationTestHelper
{
public class TestContainer : IDisposable
{
const string... | 2.446381 | dbd82941e3f7316d765ef7e9dcf4a69f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840945 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "onepiecefreak3/commercetools-dotnet-core-sdk",
"max_stars_repo_path": "commercetools.Sdk/commercetools.Sdk.Domain/Project/UpdateActions/SetShippingRateInputTypeUpdateAction.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160165"
} | starcoder | namespace commercetools.Sdk.Domain.Project.UpdateActions
{
public class SetShippingRateInputTypeUpdateAction : UpdateAction<Project>
{
public string Action => "setShippingRateInputType";
public ShippingRateInputType ShippingRateInputType { get; set; }
}
}
| 1.500645 | ebd58aed7cb4293e7b764c56bdad8848 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840946 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Ombelfc/Mirages",
"max_stars_repo_path": "3DEngine/Shapes/Cylinder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160166"
} | starcoder | using _3DEngine.Components;
using _3DEngine.Utilities;
using System;
using System.Collections.Generic;
using System.Text;
namespace _3DEngine.Shapes
{
public class Cylinder : Mesh
{
private readonly float height = 1f;
private readonly int nbsides = 24;
// Outer shell is at radius1 + r... | 2.957067 | 2243ef87688b566d9ed986b941ec53eb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840947 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "741645596/batgame",
"max_stars_repo_path": "Assets/Scripts/LifeM/Life/SummonPet/SummonPet.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160167"
} | starcoder | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public enum PetEnemyType
{
None = 0,
Build = 1,
SOLDIER = 2,
}
/// <summary>
/// 召唤物
/// </summary>
/// <author>zhulin</author>
public class SummonPet : Role {
Int2 m_bornpos = Int2.zero;
bool isAppear = false;
PetEnemyType m_EnemyTyp... | 1.865092 | 35db8f3c68653fc60ce7fb65f7c72c27 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840948 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "merchansky-alevel/brewery",
"max_stars_repo_path": "app/brewery/Views/Admin/Partials/CreateForm.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:160168"
} | starcoder |
@{
ViewBag.Title = "Create-form";
}
<h2>Create form</h2>
@using (Html.BeginForm("Add", "Admin", FormMethod.Post))
{
<table>
<tbody>
<tr>
@Html.TextBox("Name", "Set item name:")
</tr>
<tr>
@Html.TextBox("Price", "Set item price:")
... | 2.284264 | 44ef1c94f8e8e1324a740d2f9f91e9a7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840949 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Gluschenko/Code-Base-Research",
"max_stars_repo_path": "src/CodeBase/Core/ApplicationData.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160169"
} | starcoder | using System.Runtime.Serialization;
using System.Windows;
namespace CodeBase
{
[DataContract]
public class ApplicationData
{
[DataMember]
public double WindowWidth;
[DataMember]
public double WindowHeight;
[DataMember]
public WindowState WindowState;
... | 1.893509 | 7fb1e866267f439899fa8fbb85b8a311 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840950 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "MicrosoftArchive/opengax",
"max_stars_repo_path": "GAT/Src/Templates/Items/Action/Action.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160170"
} | starcoder | #region Using Directives
using System;
using Microsoft.Practices.ComponentModel;
using Microsoft.Practices.RecipeFramework;
#endregion
namespace $rootnamespace$
{
class $ActionName$Action: Microsoft.Practices.RecipeFramework.Action
{
#region Input Properties
[Input]
publi... | 2.504831 | 1e3472dc10f395353fc2b876d0421597 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840951 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "aelbuz/MiharuScanHelper",
"max_stars_repo_path": "Miharu Scan Helper/BackEnd/Translation/TranslationConsumer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160171"
} | starcoder | using Miharu.BackEnd.Data;
using System;
namespace Miharu.BackEnd.Translation {
public interface TranslationConsumer {
void TranslationCallback (Text destination, string translation, TranslationType type);
void TranslationFailed(Exception e, TranslationType type);
}
}
| 1.504366 | 242b3e4a938e1254545459709917e0bf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840952 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "fshh/GMTK-Game-Jam-2020",
"max_stars_repo_path": "Assets/QuickSave/QuickSaveBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160172"
} | starcoder | <filename>Assets/QuickSave/QuickSaveBase.cs
using System;
using System.Collections.Generic;
using System.Linq;
using CI.QuickSave.Core.Serialisers;
using CI.QuickSave.Core.Settings;
using CI.QuickSave.Core.Storage;
using Newtonsoft.Json.Linq;
namespace CI.QuickSave
{
public abstract class QuickSaveBase
{
... | 2.897503 | 5470f6f4b4f656125b1ef7960fedc166 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840953 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "equinor/procosys-call-for-punch-out-api",
"max_stars_repo_path": "src/tests/Equinor.ProCoSys.IPO.WebApi.IntegrationTests/Participants/ParticipantsControllerTestsBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160173"
} | starcoder | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Equinor.ProCoSys.IPO.ForeignApi;
using Equinor.ProCoSys.IPO.ForeignApi.LibraryApi.FunctionalRole;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
namespace Equinor.ProCoSys.IPO.WebApi.IntegrationTests.Participants
{
... | 1.806641 | 377ba9a7407237bc2d4e553cd30721b2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840954 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "YanDias/Web-Boku-no-Hero-Academy-",
"max_stars_repo_path": "AcademyWeb/obj/Debug/netcoreapp2.1/Razor/Views/Avisos/Cadastrar.cshtml.g.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160174"
} | starcoder | <gh_stars>0
#pragma checksum "C:\Users\yanrd\OneDrive\Área de Trabalho\Faculdade 2019\WebAcademy-master\AcademyWeb\Views\Avisos\Cadastrar.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "8c8a0acf6f62f6543545d219e6148177f002f69f"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCore.... | 1.564419 | a58c6c543f2c1f96985a685cb204c17b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840955 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "benbristow/simplecaptcha",
"max_stars_repo_path": "Extensions/ServiceCollectionExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160175"
} | starcoder | <filename>Extensions/ServiceCollectionExtensions.cs
using BasicCaptcha.Contracts;
using BasicCaptcha.Enums;
using Microsoft.Extensions.DependencyInjection;
namespace BasicCaptcha.Extensions
{
public static class ServiceCollectionExtensions
{
public static IServiceCollection AddCaptcha(
thi... | 1.759735 | 0c6cafebda5f1822ea36d1bc4f81c2a0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840956 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "git-thinh/geckofx-geckofx-10.0-43407d912690",
"max_stars_repo_path": "Skybound.Gecko/Generated/nsIURILoader.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160176"
} | starcoder | // --------------------------------------------------------------------------------------------
// Version: MPL 1.1/GPL 2.0/LGPL 2.1
//
// The contents of this file are subject to the Mozilla Public License Version
// 1.1 (the "License"); you may not use this file except in compliance with
// the License. You may obta... | 2.144322 | 00b4a570bf50d1ddf6747b571f026132 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840957 | {
"extension": "c-sharp",
"max_stars_count": "23.0",
"max_stars_repo_name": "vurdalakov/usbdevices",
"max_stars_repo_path": "src/UsbDevicesViewer/Vurdalakov/WindowExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160177"
} | starcoder | <reponame>vurdalakov/usbdevices<filename>src/UsbDevicesViewer/Vurdalakov/WindowExtensions.cs<gh_stars>10-100
namespace Vurdalakov
{
using System;
using System.Runtime.InteropServices;
using System.Windows;
using System.Windows.Interop;
public static class WindowExtensions
{
private con... | 2.087111 | f1eabc267ba126f8054533cb83e6d65d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840958 | {
"extension": "c-sharp",
"max_stars_count": "864.0",
"max_stars_repo_name": "sabitertan/MobileBlazorBindings",
"max_stars_repo_path": "src/Microsoft.MobileBlazorBindings.DualScreen/Elements/TwoPaneView.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160178"
} | starcoder | <filename>src/Microsoft.MobileBlazorBindings.DualScreen/Elements/TwoPaneView.cs
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
using Microsoft.AspNetCore.Components;
using Microsoft.AspNetCore.Components.Rendering;
namespace Microsoft.MobileBlazorBindings.Elements
{
public partial cla... | 2.184063 | bd7f2931071718aef0e1632c957e48de |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840959 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "yuyaushiro/ARviz_unity",
"max_stars_repo_path": "Assets/ROSBridgeSharp/Assets/RBSocket/Message/DefaultMsgs/sensor_msgs/Imu.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160179"
} | starcoder | <reponame>yuyaushiro/ARviz_unity<gh_stars>1-10
using System;
namespace RBS.Messages.sensor_msgs
{
[System.Serializable]
public class Imu : ExtendMessage
{
public RBS.Messages.std_msgs.Header header;
public RBS.Messages.geometry_msgs.Quaternion orientation;
public double[] orientatio... | 1.53918 | b9d06a4223f2883f46de9441abb81d86 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840960 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JohnMasen/ProcessingBlock",
"max_stars_repo_path": "src/ProcessingBlock.Core/QueueEndPointReceiverBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160180"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace ProcessingBlock.Core
{
public class QueueEndPointReceiverBase<T> : IEndPointReceiver<T>
{
... | 2.314347 | 0403b00d246cef2b60e28f0c2d0982ab |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840961 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "booooooogdan/xamarin-wtquiz",
"max_stars_repo_path": "WarThunderQuiz/RecyclerViews/RecyclerViewAdapter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160181"
} | starcoder | using System;
using System.Collections.Generic;
using Android.App;
using Android.Content;
using Android.Graphics;
using Android.Views;
using AndroidX.RecyclerView.Widget;
using WarThunderQuiz.GameData;
namespace WarThunderQuiz.RecyclerViews
{
class RecyclerViewAdapter : RecyclerView.Adapter
{
public e... | 2.555296 | 45e9644e620f036ed4e96d001b5dc094 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840962 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "galich/SharpDevelop",
"max_stars_repo_path": "src/Main/Base/Project/Refactoring/EditorRefactoringContext.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160182"
} | starcoder | <filename>src/Main/Base/Project/Refactoring/EditorRefactoringContext.cs
// Copyright (c) 2014 AlphaSierraPapa for the SharpDevelop Team
//
// 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
//... | 1.893857 | c0e5349f6a08293aa74ab7ae73527b24 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840963 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BlackSparrow56/Edekka",
"max_stars_repo_path": "Assets/Scripts/Game/Player/Logic.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160183"
} | starcoder | <reponame>BlackSparrow56/Edekka<filename>Assets/Scripts/Game/Player/Logic.cs
using UnityEngine;
namespace Game.Player
{
public class Logic : MonoBehaviour
{
[SerializeField] private GameObject player;
[SerializeField] private GameObject camp;
[SerializeField] private GameObject mine;
... | 2.337346 | 7305192e399f3303287d24ef0c00e5ce |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840964 | {
"extension": "c-sharp",
"max_stars_count": "89.0",
"max_stars_repo_name": "drewnoakes/mef",
"max_stars_repo_path": "oob/src/System.Composition.Hosting/Hosting/Core/CycleBreakingExportDescriptor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160184"
} | starcoder | // -----------------------------------------------------------------------
// Copyright © Microsoft Corporation. All rights reserved.
// -----------------------------------------------------------------------
using System;
using System.Collections.Generic;
using System.Diagnostics;
namespace System.Compositio... | 2.026234 | 2fb347f4b6e271fe6caff57d910b678c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840965 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ivayloivanof/OOP-CSharp",
"max_stars_repo_path": "02.StaticMemebersAndNamespaces/Exercise/ExerciseStaticMember/ExerciseStaticMember/Items/Item.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160185"
} | starcoder | <reponame>ivayloivanof/OOP-CSharp
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ExerciseStaticMember.Items
{
abstract class Item
{
}
}
| 1.505498 | 6dd93c8b4b89d41b51a0d8a3e110411e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840966 | {
"extension": "c-sharp",
"max_stars_count": "85.0",
"max_stars_repo_name": "DavidKarlas/roslyn",
"max_stars_repo_path": "src/VisualStudio/Core/Def/Implementation/Library/FindResults/SourceListItem.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160186"
} | starcoder | <reponame>DavidKarlas/roslyn
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Threading;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Host;
using Microsoft.CodeAnalysis.Navigation... | 1.870049 | 6428496061f64a55cfd2fa28ce672064 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840967 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "blakepell/ArgusFramework",
"max_stars_repo_path": "src/Argus.Core/Network/EmailAddress.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160187"
} | starcoder | /*
* @author : <NAME>
* @initial date : 2003-04-26
* @last updated : 2021-01-31
* @copyright : Copyright (c) 2003-2021, All rights reserved.
* @license : MIT
* @website : http://www.blakepell.com
*/
using System.Text.RegularExpressions;
using Argus.Extensions;
... | 3.27808 | 61e791dc6e52ae901aeb87f8b5697154 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840968 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "FastFinTech/FFT.BTCMarkets",
"max_stars_repo_path": "src/FFT.BTCMarkets.Tests/Services.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160188"
} | starcoder | // Copyright (c) <NAME>. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace FFT.BTCMarkets.Tests
{
using System;
internal static class Services
{
static Services()
{
BTCApiClientOptions = new BTCApiClientOptions
... | 1.739108 | 31accb1046d52d5b783c0348e75ffb65 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840969 | {
"extension": "c-sharp",
"max_stars_count": "30.0",
"max_stars_repo_name": "ADefWebserver/ADefHelpDesk",
"max_stars_repo_path": "ADefHelpDeskApp/Classes/Constants.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160189"
} | starcoder | //
// ADefHelpDesk.com
// Copyright (c) 2021
// by <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, m... | 1.646631 | a1da4d079a07268b38c2947e2c955fcd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840970 | {
"extension": "c-sharp",
"max_stars_count": "20.0",
"max_stars_repo_name": "Nethereum/Nethereum.eShop",
"max_stars_repo_path": "src/Nethereum.eShop/Infrastructure/Data/Config/BuyerPostalAddressConfiguration.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160190"
} | starcoder | <filename>src/Nethereum.eShop/Infrastructure/Data/Config/BuyerPostalAddressConfiguration.cs
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using Nethereum.eShop.ApplicationCore.Entities.BuyerAggregate;
namespace Nethereum.eShop.Infrastructure.Data.Config
{
public class... | 2.045439 | 715b8b190154bea5d14713d88fba6f6d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840971 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "3PillarGlobal-Czechia/interview-app-api",
"max_stars_repo_path": "src/WebApi/End2endTests/HttpWrapper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160191"
} | starcoder | <filename>src/WebApi/End2endTests/HttpWrapper.cs
using System.Collections.Specialized;
using System.Net.Http;
using System.Threading.Tasks;
namespace End2EndTests;
public class HttpWrapper
{
private readonly HttpClient _client;
public HttpWrapper(HttpClient client)
{
_client = client;
}
... | 2.337412 | ab2a607a3f768f750b1d23fdd1c3b04d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840972 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ifs-and-whiles/net-core-integration-tests",
"max_stars_repo_path": "NetCoreIntegrationTestsSample/NetCoreIntegrationTestsSample/Startup.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160192"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Autofac;
using MassTransit;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjec... | 1.925177 | d92b73571552d0764e5a000a908e0acb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840973 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ndrmc/cats-hub",
"max_stars_repo_path": "Domain/DRMFSS.BLL/MetaModels/LetterTemplateMetaModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160193"
} | starcoder | using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Data.Objects.DataClasses;
namespace DRMFSS.BLL.MetaModels
{
public sealed class LetterTemplateMetaModel
{
[Required(ErrorMessage="Letter Template is required")]
public Int32 LetterTemplateID { get; set... | 2.227679 | 6088a2b3c5a5741cf3c34492113b9294 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840974 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "massimobonanni/AzureDurableFunctionsSuccinctly",
"max_stars_repo_path": "DurableFunctions/Entities/Alerts/TwilioActivities.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160194"
} | starcoder | <filename>DurableFunctions/Entities/Alerts/TwilioActivities.cs
using Microsoft.Azure.WebJobs;
using Microsoft.Azure.WebJobs.Extensions.DurableTask;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Text;
using Twilio.Rest.Api.V201... | 2.397801 | 965a12412f8555db027db506db570c6e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840975 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Ethan-Guest/Game-of-Life",
"max_stars_repo_path": "src/Properties/Settings.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160195"
} | starcoder | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... | 2.021643 | 4a312a5152c71565a587865a059679bf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840976 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ggris/bubbleslash",
"max_stars_repo_path": "BubbleSlash/Assets/scripts/PlayerSounds.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160196"
} | starcoder | <reponame>ggris/bubbleslash
using UnityEngine;
using System.Collections;
public class PlayerSounds : MonoBehaviour {
private AudioSource source;
public AudioClip jump_;
public AudioClip slide_;
public AudioClip attack_;
// Use this for initialization
void Start () {
source = GetComponent<AudioSource> ();
}
... | 1.896397 | fd40499c88ac1ffd8575f67083b40cd0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840977 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Prodito/dropbox-dotnet-sdk",
"max_stars_repo_path": "ChunkedUploader.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160197"
} | starcoder | <filename>ChunkedUploader.cs
using MiniJSON;
using OAuth;
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
namespace Dropbox
{
public class ChunkedUploader
{
/// <summary>
///
/// </summary>
private const int kChunkBufferSize = 4 * 1024 * 102... | 2.66918 | ce3daa9c1d5e9caeb16c705f0f15164d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840978 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "moling3650/sas.api",
"max_stars_repo_path": "sas.Infrastructure.Core/ITransaction.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160198"
} | starcoder | using Microsoft.EntityFrameworkCore.Storage;
using System.Threading.Tasks;
namespace sas.Infrastructure.Core
{
public interface ITransaction
{
IDbContextTransaction GetCurrentTransaction();
bool HasActiveTransaction { get; }
Task<IDbContextTransaction> BeginTransactionAsync();
... | 1.765825 | 3ec4937e2d13db45e92a279e87674b49 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840979 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "1909-sep30-net/nick-project2",
"max_stars_repo_path": "KitchenRestService/KitchenRestService.Data/DataSeeder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160199"
} | starcoder | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using KitchenRestService.Logic;
using Microsoft.EntityFrameworkCore;
namespace KitchenRestService.Data
{
public class DataSeeder : IDataSeeder
{
private readonly KitchenContext _context;
public DataSeeder(KitchenCon... | 2.682737 | 0f01ee28e4b9587b5e2a8b3073489665 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840980 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "radpin/MonoSAR",
"max_stars_repo_path": "MonoSAR/Views/TrainingOfficer/EditCPR.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:160200"
} | starcoder | <filename>MonoSAR/Views/TrainingOfficer/EditCPR.cshtml
@model MonoSAR.Models.Training.CPRSummaryItem
@{
ViewData["Title"] = "View";
Layout = "~/Views/Shared/_Layout.cshtml";
}
<h2>Edit</h2>
<h4>Training Summary Item</h4>
<hr />
<div class="row">
<div class="col-md-4">
<div class="alert alert-se... | 2.177788 | e31e01076f277075b62e09ab4cbc6143 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840981 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "REW-Z/SPTools",
"max_stars_repo_path": "UnitTrans/Form1.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160201"
} | starcoder | using System;
using System.Text;
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 UnitTrans
{
public partial class Form1 : Form
{
public Form... | 2.888811 | fa0ca1d2079e0c6f713103fa31a1c0cd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840982 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "78526Nasir/MedicalStoreManagement",
"max_stars_repo_path": "MedicalStoreManagement/Form1.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160202"
} | starcoder | <reponame>78526Nasir/MedicalStoreManagement<gh_stars>1-10
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 BusinessAccessLayer;
namespace MedicalSt... | 2.356442 | dedd4e40330978ebc6bf51068f530afc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840983 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "LavrentyAfanasiev/monik",
"max_stars_repo_path": "src/Monik.Service/Models/Source.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160203"
} | starcoder | <filename>src/Monik.Service/Models/Source.cs
using System;
namespace Monik.Service
{
public class Source
{
public short ID { get; set; }
public DateTime Created { get; set; }
public string Name { get; set; }
public string Description { get; set; }
public short? DefaultG... | 2.012101 | cf2c65af5b714ddf5faa57adcc6aa212 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840984 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "netcode-gamer/game.ultimaonline.io",
"max_stars_repo_path": "UltimaOnline.Data/Items/Minor Artifacts/AlchemistsBauble.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160204"
} | starcoder | using System;
using UltimaOnline;
namespace UltimaOnline.Items
{
public class AlchemistsBauble : GoldBracelet
{
public override int LabelNumber { get { return 1070638; } }
[Constructable]
public AlchemistsBauble()
{
Hue = 0x290;
SkillBonuses... | 2.310535 | 54a7574455044aedc18da00ce2d3017f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840985 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "flashwave/sharp-chat",
"max_stars_repo_path": "SharpChat.Protocol.IRC/IRCConnection.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160205"
} | starcoder | using SharpChat.Protocol.IRC.Replies;
using SharpChat.Protocol.IRC.ServerCommands;
using SharpChat.Protocol.IRC.Users;
using SharpChat.Sessions;
using SharpChat.Users;
using System;
using System.Net;
using System.Net.Sockets;
using System.Text;
namespace SharpChat.Protocol.IRC {
public class IRCConnection : IConn... | 2.415229 | 05eb56a1b69a0adc311a9d9392318809 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840986 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "cosmostoggles/cosmos-toggles",
"max_stars_repo_path": "src/Infrastructure/Cosmos.Toggles.Infra.Cosmos.Db/CosmosToggleDataContext.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160206"
} | starcoder | <gh_stars>10-100
using Azure.Cosmos;
using Cosmos.Toggles.Domain.Entities.Interfaces;
using Cosmos.Toggles.Domain.Entities.Repositories;
namespace Cosmos.Toggles.Infra.Cosmos.Db
{
public class CosmosToggleDataContext : ICosmosToggleDataContext
{
public CosmosToggleDataContext(CosmosClient cosmosClient... | 1.689149 | 0607d2ff4f5611c4fa9525da1dae9a2f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840987 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "weichch/system-text-json-jsondiffpatch",
"max_stars_repo_path": "src/SystemTextJson.JsonDiffPatch/Diffs/JsonDiffPatcher.Array.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160207"
} | starcoder | using System.Collections.Generic;
using System.Linq;
using System.Text.Json.JsonDiffPatch.Diffs;
using System.Text.Json.Nodes;
namespace System.Text.Json.JsonDiffPatch
{
static partial class JsonDiffPatcher
{
// Array diff:
// https://github.com/benjamine/jsondiffpatch/blob/master/docs/deltas.... | 2.437304 | c01562a630f870bb55b9c944a1a2e727 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840988 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "alternativa-sistemas/MariCommands",
"max_stars_repo_path": "MariCommands/Models/Core/CommandDelegate.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160208"
} | starcoder | <filename>MariCommands/Models/Core/CommandDelegate.cs<gh_stars>1-10
using System.Threading.Tasks;
namespace MariCommands
{
/// <summary>
/// A delegate that can proccess a command request.
/// </summary>
/// <param name="context">The current command context.</param>
/// <returns>A <see cref="Task" ... | 2.568986 | c24bcf85e525ee8b13b9993191715660 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840989 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Birdthulu/Legacy-Costume-Manager",
"max_stars_repo_path": "brawltools/BrawlLib/System/Windows/Controls/NumericInputBox.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160209"
} | starcoder | using System.ComponentModel;
namespace System.Windows.Forms
{
public class NumericInputBox : TextBox
{
public float _previousValue = 0.0f;
public float? _value;
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
public float Value
{
ge... | 2.779242 | c73e8d878114efd726608e0c72b3b64a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840990 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "UWBCoevolution/ParaMODA",
"max_stars_repo_path": "QuickGraph/Collections/EdgeList.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160210"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
namespace QuickGraph.Collections
{
#if !SILVERLIGHT
[Serializable]
#endif
public sealed class EdgeList<TVertex>
: List<Edge<TVertex>>
, IEdgeList<TVertex>
#if !SILVERLIGHT
, ICloneable
#endif
{
public EdgeList()... | 2.551732 | 44b0d912e850d3d66fcbcf94eb631503 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840991 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "usmanzaheerkhan/dfc-providerportal-automatedtests-master",
"max_stars_repo_path": "src/ApiTesting.Framework/Models/Venues.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160211"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ApiTesting.Framework.Models
{
public class Venues
{
public string odatacontext { get; set; }
public SearchNextpageparameters searchnextPageParameters { get; set; }
... | 1.573689 | e29eaa1a227d7b6a4d376d1b45bbcc63 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840992 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "avao/Qart",
"max_stars_repo_path": "src/Qart.Testing/Storage/DataStoreProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160212"
} | starcoder | <filename>src/Qart.Testing/Storage/DataStoreProvider.cs
using Qart.Core.DataStore;
using System.Collections.Concurrent;
namespace Qart.Testing.Storage
{
public class DataStoreProvider : IDataStoreProvider
{
private readonly ConcurrentDictionary<string, IDataStore> _dataStores;
public DataStor... | 2.500583 | e33e8304dbf967d3813d42dcd939de3a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840993 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "carlossdparaujo/MultiPacMan",
"max_stars_repo_path": "MultiPacMan/Assets/Scripts/Player/Input/InputInterpreter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160213"
} | starcoder | <reponame>carlossdparaujo/MultiPacMan
using System.Collections;
using UnityEngine;
namespace MultiPacMan.Player.Input {
public abstract class InputInterpreter : MonoBehaviour {
public abstract bool IsTurboOn ();
public abstract Vector2 GetMovementDirection ();
}
} | 1.397028 | ff7276576c2e234c8355883f67bded03 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840994 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "brianmains/Nucleo.NET",
"max_stars_repo_path": "src/Nucleo.Web/Web/Controls/HiddenFieldManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160214"
} | starcoder | using System;
using System.ComponentModel;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Collections.Generic;
namespace Nucleo.Web.Controls
{
public class HiddenFieldManager : Control, IScriptControl
{
private List<HiddenField> _hiddenFields = null;
#region " Properties "
/// <summar... | 2.506058 | dc8bb810ba4c3e0eba78ed54f4e97810 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840995 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "qaqgame/Checkmate",
"max_stars_repo_path": "Checkmate/Assets/chess/Global/Utils/Select.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160215"
} | starcoder | using Checkmate.Game.Controller;
using Checkmate.Game.Player;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using System.Xml;
using UnityEngine;
namespace Checkmate.Game.Utils
{
//筛选的接口
public interface ISelector
... | 2.534731 | c32bea0632c4aca77bac95c0dec87a72 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840996 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AelithBlanchett/RendezvousWrestling",
"max_stars_repo_path": "RendezvousWrestling/Common/Constants/Team.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160216"
} | starcoder | namespace RendezvousWrestling.Common.Constants
{
public enum Team
{
White = -1,
Blue = 0,
Red = 1,
Yellow = 2,
Orange = 3,
Pink = 4,
Purple = 5,
Green = 6,
Gray = 7,
Cyan = 8,
Brown = 9,
}
} | 2.003233 | d2bee52cd1fe1d4216deae4e75c1213b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840997 | {
"extension": "c-sharp",
"max_stars_count": "720.0",
"max_stars_repo_name": "gitter-badger/ReactiveTrader",
"max_stars_repo_path": "src/Adaptive.ReactiveTrader.Client/UI/SpotTiles/ISpotTileErrorViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160217"
} | starcoder | <reponame>gitter-badger/ReactiveTrader
using System.Windows.Input;
using Adaptive.ReactiveTrader.Shared.UI;
namespace Adaptive.ReactiveTrader.Client.UI.SpotTiles
{
public interface ISpotTileErrorViewModel : IViewModel
{
string ErrorMessage { get; }
ICommand DismissCommand { get; }
}
} | 1.117646 | 6b6d1ded45b24f1c5f967bbe31d75f9d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840998 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wenfeifei/reverse-proxy",
"max_stars_repo_path": "src/ReverseProxy/Abstractions/ClusterDiscovery/Contract/ProxyHttpClientOptions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160218"
} | starcoder | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System.Security.Authentication;
using System.Security.Cryptography.X509Certificates;
namespace Microsoft.ReverseProxy.Abstractions
{
public sealed class ProxyHttpClientOptions
{
public SslProtocols? SslProtocols { get; se... | 1.898829 | d38214ccf7f733260038541ae6021ffd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840999 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "chorobochrontochor/chchch.Unity",
"max_stars_repo_path": "Data/DataManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160219"
} | starcoder | using chchch.Debug;
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Runtime.InteropServices;
using System.Runtime.Serialization.Formatters.Binary;
using UnityEngine;
namespace chchch.Data
{
public static class Ch3DataManager
{
[DllImport("__Inter... | 2.386913 | 3b5292dd1489b1ef1250dd24fc3fa96b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841000 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "mpodreshetnikov/RpcLikeBlazor",
"max_stars_repo_path": "RpcLikeBlazor/Exceptions/ApiConventionExceptions/FewComplexParametersException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160220"
} | starcoder | <filename>RpcLikeBlazor/Exceptions/ApiConventionExceptions/FewComplexParametersException.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
namespace RpcLikeBlazor.Exceptions.ApiConventionExceptions
{
internal class FewComplexParametersException : Api... | 2.71858 | e90839fc061f6bbbce07adf2618e5aa5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841001 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Leonardo-Ferreira/squidex",
"max_stars_repo_path": "backend/tests/Squidex.Domain.Apps.Entities.Tests/Contents/TestData/FakeUrlGenerator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160221"
} | starcoder | // ==========================================================================
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex UG (haftungsbeschränkt)
// All rights reserved. Licensed under the MIT license.
// ============================... | 1.511342 | 57d6b6701a94417418ec678cdccd2ead |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841002 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "MattJamesChampion/mince-pie-rate-v2",
"max_stars_repo_path": "MincePieRateV2/MincePieRateV2.DAL/Managers/IImageManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160222"
} | starcoder | <gh_stars>1-10
using Microsoft.AspNetCore.Http;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace MincePieRateV2.DAL.Managers
{
public interface IImageManager
{
Task<Guid> AddImageAsync(IFormFile formFile);
Task<string> GetImagePathAsync... | 1.639301 | 66ba1976086011ddebc7097f95fe004c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841003 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SoulCriminal/arrays",
"max_stars_repo_path": "Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160223"
} | starcoder | using System;
namespace arrays
{
class Program
{
static void Main(string[] args)
{
//Dizi tanımlama yoları;
//1.
string [] dizi1 = {"1","2","3"};//3 elemanlı değer atamalı dizi
string [] dizi2 = new string[3]; // değer atanmamış eleman sayısı bel... | 3.681857 | 3cb7e0b5ccc22bbfa41f754873f1ba9f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841004 | {
"extension": "c-sharp",
"max_stars_count": "19.0",
"max_stars_repo_name": "dotnetcore/FlubuCore.Examples",
"max_stars_repo_path": "MVC_NET4.61/FlubuExample.Tests2/TestExamples.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160224"
} | starcoder | <gh_stars>10-100
using System.Xml;
using NUnit.Framework;
namespace FlubuExample.Tests2
{
public class TestExamples
{
[Test]
public void Test1()
{
var flName = typeof(XmlDocument).Assembly.FullName;
Assert.AreEqual(1, 1);
}
[Test]
public... | 2.024178 | 3811d762100e9578afcb2987aad1726e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841005 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "intersystems-ru/recipesearch",
"max_stars_repo_path": "RecipesSearch/RecipesSearch.WebApplication/Views/Admin/Tasks.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:160225"
} | starcoder | @{
ViewBag.Title = "Admin Control Panel";
}
@using RecipesSearch.WebApplication.ViewModels
@model TasksViewModel
<div class="row">
<div class="col-md-6 tasks">
<div>
@if (Model.TfUpdatingInProgress)
{
<div class="alert alert-success " role="alert">Tf update in p... | 2.224634 | c8866c2aad6221d1fc6386e5306af6b3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841006 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "Mark-Nawar/Cinephilia-Database-Management-Application",
"max_stars_repo_path": "Admin/MAIN_ADMINS.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160226"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace DBapplication
{
public partial class MAIN_ADMINS : Form
{
public MAIN_ADMINS()
... | 1.526362 | 9b219ab79901ee4c7531957dd1e50ef1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841007 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ryanheath/ravendb",
"max_stars_repo_path": "test/SlowTests/SlowTests/Issues/RavenDB_2812.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160227"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using FastTests;
using Raven.Client;
using Raven.Client.Documents.Indexes;
using Raven.Client.Documents.Session;
using Xunit;
namespace SlowTests.SlowTests.Issues
{
public class RavenDB_2812 : RavenTestBas... | 2.318113 | 84fe7695e3abd5be9f701801ea0b1f97 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841008 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vvellokkandi/AspNetCoreYakShop",
"max_stars_repo_path": "YakShop/YakShop.Api/Infrastructure/YakShopRules.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160228"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using YakShop.Common.Models;
namespace YakShop.Api.Infrastructure
{
public static class YakShopContextExtensions
{
public static HerdDataList GetHerdView(this YakShopContext context, int days)
{
... | 2.789224 | cb524f81dab899b953c9acb5710c7eac |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841009 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rollvolet/crm-ap",
"max_stars_repo_path": "src/Rollvolet.CRM.Business/Managers/Interfaces/ISystemTaskExecutor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160229"
} | starcoder | using System.Threading.Tasks;
namespace Rollvolet.CRM.Business.Managers.Interfaces
{
public interface ISystemTaskExecutor
{
Task RestoreVatCertificates();
}
}
| 1.405603 | 9725bd41f8822db996ff3ec99016866f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841010 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "mvandevy/Rebus-NetCore",
"max_stars_repo_path": "Rebus.Tests/Transport/FileSystem/FileSystemTransportBasicSendReceive.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160230"
} | starcoder | using Rebus.Tests.Contracts.Transports;
namespace Rebus.Tests.Transport.FileSystem
{
public class FileSystemTransportBasicSendReceive : BasicSendReceive<FileSystemTransportFactory> { }
} | 0.927595 | 0597c0c46f7edc6a326d62a011c183bd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841011 | {
"extension": "c-sharp",
"max_stars_count": "21.0",
"max_stars_repo_name": "huailiang/game_sdk",
"max_stars_repo_path": "UnityEnv/Assets/Editor/BuildEditor/Base/ProjectSetting.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160231"
} | starcoder | <reponame>huailiang/game_sdk
namespace UnityEditor.XBuild
{
public class ProjectSetting
{
public virtual void OnPostProcessBuild(BuildTarget target, string pathToBuiltProject) { }
}
}
| 1.098463 | a68c20d4ff40c5461802cfda8756b39f |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.